body {
    overflow-x: hidden;
}

.auth-left {
    flex: 1.2;
    padding: 60px 48px;
    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 60%);
    animation: pulse 15s ease-in-out infinite;
}

.brand-logo {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    animation: float 3s ease-in-out infinite;
}

.brand-logo i {
    font-size: 36px;
}

.auth-brand h1 {
    font-size: 36px;
    margin-bottom: 16px;
    line-height: 1.2;
}

.auth-brand p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.auth-features {
    gap: 12px;
}

.dc-profile .dc-social a:hover {
    opacity: 1 !important;
    transform: scale(1.1);
}

.feature-item {
    gap: 16px;
    font-size: 15px;
    padding: 12px 16px;
    border-radius: 12px;
    backdrop-filter: blur(5px);
}

.feature-item i {
    font-size: 20px;
    width: 24px;
}

.auth-right {
    padding: 40px 48px;
    align-items: flex-start;
    background: white;
}

.auth-form-wrapper {
    max-width: 380px;
}

.auth-form-wrapper h2 {
    margin-bottom: 6px;
}

.auth-subtitle {
    margin-bottom: 20px;
}

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

.form-label {
    margin-bottom: 6px;
}

.input-group i.input-icon {
    left: 16px;
    font-size: 18px;
}

.input-group .form-control:focus ~ i.input-icon {
    color: #667eea;
}

.form-control {
    padding: 12px 44px 12px 44px;
}

.form-control:focus {
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.checkbox-label {
    font-size: 14px;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #667eea;
}

.btn-primary {
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-primary:hover {
    box-shadow: 0 10px 20px -5px rgba(102, 126, 234, 0.4);
}

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

.auth-footer {
    margin-top: 20px;
    padding-top: 16px;
}

.auth-footer p {
    margin-bottom: 12px;
}

.auth-footer a {
    font-weight: 600;
    transition: color 0.2s;
}

.auth-footer a:hover {
    color: #764ba2;
}

.forgot-link {
    font-size: 14px;
    transition: color 0.2s;
}

.forgot-link:hover {
    color: #764ba2;
}

.input-group .toggle-password {
    z-index: 10;
}

.alert {
    padding: 14px 16px;
    border-radius: 12px;
    gap: 12px;
    animation: shake 0.5s ease-out;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.alert-dismiss {
    opacity: 0;
    transform: translateY(-10px);
}

@media (max-width: 1200px) {
    .dc-top-fixed {
        right: 15px;
    }
    .dc-top-fixed > div:first-child {
        width: 120px !important;
        height: 120px !important;
    }
}

@media (max-width: 900px) {
    .auth-container {
        flex-direction: column;
        max-width: 480px;
    }

    .auth-left {
        padding: 40px 32px;
    }

    .auth-brand h1 {
        font-size: 28px;
    }

    .auth-right {
        padding: 40px 32px;
    }

    .dc-top-fixed {
        display: none !important;
    }

    .dc-profile-center {
        margin: 4px 0 12px !important;
        padding: 12px !important;
    }
    .dc-profile-center > div:first-child {
        width: 90px !important;
        height: 90px !important;
        margin-bottom: 10px !important;
    }
}

@media (max-width: 480px) {
    .brand-logo {
        width: 64px;
        height: 64px;
    }

    .brand-logo i {
        font-size: 28px;
    }

    .dc-profile-center {
        margin: 4px 0 8px !important;
        padding: 10px !important;
    }
    .dc-profile-center > div:first-child {
        width: 70px !important;
        height: 70px !important;
        margin-bottom: 8px !important;
    }
}

.is-invalid {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
}

.is-invalid + .input-icon {
    color: #ef4444 !important;
}

.input-hint.error {
    color: #ef4444 !important;
    font-weight: 500;
}
