/* CSS para páginas de Login e Acesso Negado - Sistema DigiProva */

/* Estilos gerais para páginas de autenticação */
body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Card de login */
.login-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem;
    width: 100%;
    max-width: 400px;
}

/* Botão de login customizado */
.btn-login {
    background: linear-gradient(45deg, #667eea, #764ba2);
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
    background: linear-gradient(45deg, #764ba2, #667eea);
}

/* Página de acesso negado */
.acesso-negado-container {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.acesso-negado-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 3rem;
    text-align: center;
    max-width: 500px;
    width: 90%;
}

.acesso-negado-icon {
    font-size: 4rem;
    color: #ee5a24;
    margin-bottom: 1rem;
}

.acesso-negado-titulo {
    color: #2c3e50;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.acesso-negado-texto {
    color: #7f8c8d;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.btn-voltar {
    background: linear-gradient(45deg, #ee5a24, #ff6b6b);
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(238, 90, 36, 0.4);
    color: white;
    text-decoration: none;
    display: inline-block;
}

.btn-voltar:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(238, 90, 36, 0.6);
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    text-decoration: none;
}

/* Responsividade */
@media (max-width: 768px) {
    .login-card,
    .acesso-negado-card {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .acesso-negado-titulo {
        font-size: 1.5rem;
    }
    
    .acesso-negado-icon {
        font-size: 3rem;
    }
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-card,
.acesso-negado-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Efeitos de foco nos inputs */
.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* Estilo para labels */
.form-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

/* Estilo para o título do sistema */
.sistema-titulo {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Estilo para subtítulos */
.sistema-subtitulo {
    color: #7f8c8d;
    font-weight: 400;
    margin-bottom: 2rem;
    text-align: center;
}

/* Estilo para ID do computador */
.computer-id {
    background: #e9ecef;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-family: monospace;
    font-size: 0.9rem;
    word-break: break-all;
    margin: 1rem 0;
    border: 1px solid #ced4da;
}