.login-page {
    margin: 0;
    padding: 0;
    overflow: hidden;
    height: 100vh;
}

.login-container {
    display: flex;
    height: 100vh;
    width: 100vw;
}

/* Lado Esquerdo - Vídeo e Branding */
.login-left {
    flex: 1;
    background-color: var(--primary-blue);
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 40px;
    overflow: hidden;
}

.login-branding {
    position: relative;
    z-index: 10;
    margin-bottom: 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.logo h1 {
    color: var(--white);
    font-size: 32px;
    font-weight: 700;
    margin: 0;
}

.subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    font-weight: 400;
    margin: 0;
}

.login-video-wrapper {
    flex: 1;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0, 102, 204, 0.7) 0%, 
        rgba(44, 62, 80, 0.8) 100%);
}

.video-content {
    position: relative;
    z-index: 5;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.video-content h2 {
    color: var(--white);
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 40px;
    max-width: 500px;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    color: var(--white);
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    opacity: 0.95;
}

.features-list li svg {
    flex-shrink: 0;
}

/* Lado Direito - Formulário */
.login-right {
    flex: 0 0 500px;
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 60px 50px 30px;
}

.form-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
}

.form-header {
    margin-bottom: 40px;
    text-align: center;
}

.form-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 8px;
}

.form-header p {
    font-size: 15px;
    color: var(--text-gray);
    margin: 0;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 8px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-gray);
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    background-color: var(--white);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--dark-gray);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    cursor: pointer;
    accent-color: var(--primary-blue);
}

.forgot-password {
    font-size: 14px;
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #0052A3;
}

.auth-form .btn-primary {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    margin-bottom: 20px;
}

.form-divider {
    text-align: center;
    margin: 24px 0;
    position: relative;
}

.form-divider::before,
.form-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    background-color: var(--border-gray);
}

.form-divider::before {
    left: 0;
}

.form-divider::after {
    right: 0;
}

.form-divider span {
    background-color: var(--white);
    padding: 0 16px;
    color: var(--text-gray);
    font-size: 14px;
}

.form-switch {
    text-align: center;
    font-size: 14px;
    color: var(--text-gray);
    margin: 0;
}

.form-switch a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.form-switch a:hover {
    color: #0052A3;
}

.login-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-gray);
}

.login-footer p {
    font-size: 13px;
    color: var(--text-gray);
    margin: 0;
}

/* Responsividade */
@media (max-width: 1024px) {
    .login-left {
        display: none;
    }
    
    .login-right {
        flex: 1;
        padding: 40px 30px 20px;
    }
}

@media (max-width: 480px) {
    .login-right {
        padding: 30px 20px 20px;
    }
    
    .form-container {
        padding: 0 10px;
    }
    
    .form-header h2 {
        font-size: 24px;
    }
}
