/* 
    Portal BI - Página de Login
    Estilos específicos para autenticação
*/

.login-page {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1e 50%, #16213e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.login-container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    height: 90vh;
    background: transparent;
    gap: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.login-box {
    flex: 1;
    background: #1a2332;
    border-right: 1px solid rgba(0, 86, 179, 0.2);
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-info {
    flex: 1;
    background: linear-gradient(135deg, #0056b3 0%, #003d82 100%);
    padding: 60px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.login-logo {
    width: 120px;
    max-width: 100%;
    display: block;
    margin: 0 auto 15px;
}

.logo-large {
    font-size: 64px;
    color: #0056b3;
    margin-bottom: 15px;
}

.login-header h1 {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    color: #ffffff;
}

.login-header p {
    font-size: 14px;
    color: #b8bfd6;
    margin: 5px 0 0 0;
}

.login-form {
    width: 100%;
}

.form-label {
    color: #ffffff;
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-label i {
    color: #0056b3;
}

.form-control {
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(0, 86, 179, 0.3) !important;
    color: #ffffff !important;
    padding: 12px 15px;
    border-radius: 6px;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.form-control:focus {
    background: rgba(0, 0, 0, 0.4) !important;
    border-color: #0056b3 !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 86, 179, 0.25) !important;
    color: #ffffff !important;
}

.form-control::placeholder {
    color: rgba(184, 191, 214, 0.6) !important;
}

.form-check {
    margin-bottom: 25px;
}

.form-check-input {
    background: rgba(0, 86, 179, 0.2) !important;
    border: 1px solid rgba(0, 86, 179, 0.4) !important;
    width: 18px;
    height: 18px;
    margin-top: 3px;
    cursor: pointer;
    accent-color: #0056b3;
}

.form-check-input:checked {
    background: #0056b3 !important;
    border-color: #0056b3 !important;
}

.form-check-label {
    color: #b8bfd6;
    font-size: 14px;
    cursor: pointer;
    margin-left: 8px;
}

.btn-login {
    background: linear-gradient(135deg, #0056b3 0%, #003d82 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-login:hover {
    background: linear-gradient(135deg, #003d82 0%, #002650 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 86, 179, 0.3);
    color: white;
}

.btn-login:active {
    transform: translateY(0);
}

.alert {
    background: rgba(220, 53, 69, 0.1) !important;
    border: 1px solid rgba(220, 53, 69, 0.3) !important;
    color: #ff6b6b !important;
    border-radius: 6px;
    padding: 12px 15px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-warning {
    background: rgba(255, 193, 7, 0.1) !important;
    border-color: rgba(255, 193, 7, 0.3) !important;
    color: #ffc107 !important;
}

.btn-close {
    filter: invert(1) !important;
}

.test-credentials {
    background: rgba(0, 86, 179, 0.1) !important;
    border: 1px solid rgba(0, 86, 179, 0.3) !important;
    border-radius: 6px;
    padding: 15px;
}

.test-credentials small {
    color: #b8bfd6;
    line-height: 1.6;
}

.info-content {
    color: white;
    text-align: center;
}

.info-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.info-content .lead {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.features-list {
    list-style: none;
    padding: 0;
    text-align: left;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
}

.features-list i {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.6);
    width: 30px;
    text-align: center;
}

@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
        height: auto;
        max-width: 100%;
    }
    
    .login-box {
        border-right: none;
        border-bottom: 1px solid rgba(0, 86, 179, 0.2);
        padding: 40px 30px;
    }
    
    .login-info {
        padding: 40px 30px;
        min-height: 300px;
    }
    
    .login-header {
        margin-bottom: 30px;
    }
    
    .logo-large {
        font-size: 48px;
    }
    
    .login-header h1 {
        font-size: 24px;
    }
    
    .info-content h2 {
        font-size: 24px;
    }
    
    .features-list li {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .login-box {
        padding: 30px 20px;
    }
    
    .login-info {
        padding: 30px 20px;
    }
    
    .login-header {
        margin-bottom: 20px;
    }
    
    .form-control {
        margin-bottom: 15px;
        font-size: 16px;
    }
    
    .form-label {
        font-size: 13px;
    }
    
    .btn-login {
        padding: 10px 20px;
        font-size: 14px;
    }
}
