
.auth-container-modern {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.auth-left {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.auth-left::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.auth-left-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 500px;
}

.auth-logo-large {
    max-width: 250px;
    margin-bottom: 2rem;
    filter: brightness(0) invert(1);
}

.auth-left-content h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--white);
}

.auth-left-content > p {
    font-size: 1.125rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.auth-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.auth-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.auth-feature svg {
    flex-shrink: 0;
    color: var(--white);
}

.auth-feature span {
    font-weight: 500;
}

.auth-right {
    background-color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.auth-box-modern {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 480px;
}

.auth-header-modern {
    margin-bottom: 2rem;
}

.auth-header-modern h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.auth-header-modern p {
    color: var(--text-light);
}

.auth-form-modern {
    margin-bottom: 2rem;
}

.form-group-modern {
    margin-bottom: 1.5rem;
}

.form-group-modern label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon > svg:first-child {
    position: absolute;
    left: 1rem;
    color: var(--text-light);
    pointer-events: none;
}

.form-control-modern {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Bricolage Grotesque', sans-serif;
}

.form-control-modern:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(245, 168, 0, 0.15);
}

.password-toggle {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: var(--primary-color);
}

.btn-modern-primary {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'Bricolage Grotesque', sans-serif;
}

.btn-modern-primary:hover {
    transform: translateY(-2px);
     box-shadow: 0 10px 25px rgba(245, 168, 0, 0.35);
}

.btn-modern-primary:active {
    transform: translateY(0);
}

.auth-footer-modern {
    text-align: center;
}

.auth-footer-modern p {
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.auth-footer-modern a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.auth-footer-modern a:hover {
    color: var(--primary-dark);
}

.alert {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.alert svg {
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 968px) {
    .auth-container-modern {
        grid-template-columns: 1fr;
    }
    
    .auth-left {
        display: none;
    }
    
    .auth-right {
        padding: 1rem;
    }
    
    .auth-box-modern {
        padding: 2rem 1.5rem;
    }
    
    .auth-header-modern h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .auth-box-modern {
        padding: 1.5rem 1rem;
    }
    
    .auth-header-modern h2 {
        font-size: 1.5rem;
    }
    
    .form-control-modern {
        padding: 0.875rem 0.875rem 0.875rem 2.75rem;
        font-size: 0.95rem;
    }
    
    .btn-modern-primary {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
}
