/* 
 * AUTHENTICATION PAGES STYLES (Login & Register)
 * ========================================================================== */

.auth-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
    position: relative;
}

.auth-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(67, 97, 238, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 209, 102, 0.1) 0%, transparent 50%);
    z-index: 0;
}

/* Auth Container */
.auth-container {
    max-width: 1200px;
    margin: var(--space-xl) auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    padding: 0 var(--space-md);
    position: relative;
    z-index: 1;
}

/* Auth Card */
.auth-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    padding: var(--space-2xl);
    position: relative;
    overflow: hidden;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
}

/* Auth Header */
.auth-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.auth-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.logo-icon {
    font-size: 2.5rem;
    display: block;
}

.logo-text {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-title {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: var(--space-sm);
    font-weight: 700;
}

.auth-subtitle {
    color: var(--gray);
    font-size: 1.125rem;
    margin: 0;
    max-width: 400px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Registration Progress */
.registration-progress {
    margin-bottom: var(--space-2xl);
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 1;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--light-color);
    z-index: -1;
}

.progress-steps .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    min-width: 80px;
}

.progress-steps .step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light-color);
    color: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    border: 2px solid var(--light-color);
    transition: all var(--transition-normal);
}

.progress-steps .step.active .step-number {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(67, 97, 238, 0.3);
}

.progress-steps .step-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray);
    text-align: center;
    transition: color var(--transition-normal);
}

.progress-steps .step.active .step-label {
    color: var(--primary-color);
    font-weight: 600;
}

.progress-bar {
    height: 6px;
    background: var(--light-color);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--radius-full);
    transition: width 0.5s ease;
}

/* Form Steps */
.form-step {
    display: none;
    animation: fadeIn 0.5s ease-out;
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-header {
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--light-color);
}

.step-title {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: var(--space-xs);
}

.step-subtitle {
    color: var(--gray);
    font-size: 1rem;
    margin: 0;
}

/* Form Grid */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: 600;
    color: var(--dark-color);
    font-size: 0.95rem;
}

.form-label .required {
    color: var(--danger-color);
    margin-left: 2px;
}

.form-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xs);
}

.forgot-link {
    font-size: 0.875rem;
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.forgot-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Input Groups */
.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
    font-size: 1.125rem;
    z-index: 1;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 3rem;
    border: 2px solid var(--light-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: all var(--transition-fast);
    background: var(--white);
    line-height: 1.5;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

.form-control.error {
    border-color: var(--danger-color);
}

.form-control.captcha-input {
    padding-left: 1rem;
    margin-top: var(--space-sm);
}

.input-action {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray);
    font-size: 1.125rem;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--transition-fast);
    z-index: 1;
}

.input-action:hover {
    color: var(--primary-color);
}

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray);
    font-size: 1.125rem;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--transition-fast);
    z-index: 1;
}

.password-toggle:hover {
    color: var(--primary-color);
}

.eye-icon {
    display: block;
    line-height: 1;
}

/* Form Help & Feedback */
.form-help {
    font-size: 0.875rem;
    color: var(--gray);
    margin-top: var(--space-xs);
    line-height: 1.4;
}

.form-feedback {
    font-size: 0.875rem;
    margin-top: var(--space-xs);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
}

.form-feedback.success {
    background: rgba(40, 167, 69, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(40, 167, 69, 0.2);
}

.form-feedback.error {
    background: rgba(220, 53, 69, 0.1);
    color: var(--danger-color);
    border: 1px solid rgba(220, 53, 69, 0.2);
}

.form-feedback.info {
    background: rgba(23, 162, 184, 0.1);
    color: #17a2b8;
    border: 1px solid rgba(23, 162, 184, 0.2);
}

/* Password Strength */
.password-strength {
    margin-top: var(--space-xs);
}

.strength-bar {
    height: 4px;
    background: #ff4444;
    border-radius: var(--radius-full);
    width: 0%;
    transition: all var(--transition-normal);
}

.strength-text {
    font-size: 0.75rem;
    color: var(--gray);
    margin-top: var(--space-xs);
    display: flex;
    justify-content: space-between;
}

.strength-text span {
    font-weight: 600;
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xl);
    padding: var(--space-md);
    background: var(--light-color);
    border-radius: var(--radius-md);
}

.form-check {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.form-check-input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form-check-label {
    font-size: 0.875rem;
    color: var(--gray-dark);
    cursor: pointer;
    user-select: none;
}

.form-check-label a {
    color: var(--primary-color);
    text-decoration: none;
}

.form-check-label a:hover {
    text-decoration: underline;
}

.form-security {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.security-icon {
    font-size: 1rem;
}

.security-text {
    font-size: 0.75rem;
    color: var(--success-color);
    font-weight: 500;
}

/* Buttons */
.btn-block {
    display: block;
    width: 100%;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.875rem 1.5rem;
    border: 2px solid var(--light-color);
    background: var(--white);
    color: var(--dark-color);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.btn-social:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-google {
    border-color: #db4437;
    color: #db4437;
}

.btn-google:hover {
    background: rgba(219, 68, 55, 0.1);
}

.btn-facebook {
    border-color: #4267B2;
    color: #4267B2;
}

.btn-facebook:hover {
    background: rgba(66, 103, 178, 0.1);
}

.social-icon {
    font-weight: 700;
    font-size: 1.125rem;
}

/* Social Login */
.social-login {
    margin: var(--space-xl) 0;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: var(--space-lg) 0;
    color: var(--gray);
    font-size: 0.875rem;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--light-color);
}

.divider span {
    padding: 0 var(--space-md);
}

.social-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

/* Step Actions */
.step-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--light-color);
}

/* Review Section */
.review-section {
    margin-bottom: var(--space-xl);
}

.review-card {
    background: var(--light-color);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-md);
}

.review-card:last-child {
    margin-bottom: 0;
}

.review-title {
    font-size: 1.125rem;
    color: var(--dark-color);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.review-content {
    padding: var(--space-xs) 0;
}

.review-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-sm);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.review-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.review-label {
    font-weight: 600;
    color: var(--gray);
    font-size: 0.875rem;
    min-width: 120px;
}

.review-value {
    color: var(--dark-color);
    text-align: right;
    flex: 1;
    word-break: break-word;
}

/* Terms Section */
.terms-section {
    background: var(--light-color);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.terms-section .form-check {
    margin-bottom: var(--space-md);
}

.terms-section .form-check:last-child {
    margin-bottom: 0;
}

/* CAPTCHA Section */
.captcha-section {
    background: var(--light-color);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.captcha-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    border: 2px solid var(--light-color);
}

.captcha-text {
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--dark-color);
    user-select: none;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.captcha-refresh {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1.25rem;
    cursor: pointer;
    padding: var(--space-xs);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.captcha-refresh:hover {
    background: rgba(67, 97, 238, 0.1);
    transform: rotate(90deg);
}

/* Auth Footer */
.auth-footer {
    text-align: center;
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--light-color);
}

.auth-link-text {
    color: var(--gray);
    margin: var(--space-sm) 0;
    font-size: 0.95rem;
}

.auth-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition-fast);
}

.auth-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Side Panel */
.auth-side-panel {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    color: var(--white);
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.auth-side-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 0% 100%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.side-content {
    position: relative;
    z-index: 1;
}

.side-icon {
    font-size: 4rem;
    text-align: center;
    margin-bottom: var(--space-xl);
    opacity: 0.8;
}

.side-title {
    color: var(--white);
    margin-bottom: var(--space-xl);
    font-size: 1.75rem;
    text-align: center;
}

/* Side Benefits */
.side-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-2xl);
}

.side-benefits li {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.side-benefits li:last-child {
    border-bottom: none;
}

.benefit-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    opacity: 0.8;
}

.benefit-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Benefits List for Register */
.benefits-list {
    margin: 0 0 var(--space-2xl);
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.benefit-item:last-child {
    border-bottom: none;
}

.benefit-item .benefit-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.benefit-content h4 {
    color: var(--white);
    margin: 0 0 var(--space-xs);
    font-size: 1.125rem;
}

.benefit-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.5;
}

/* Side Stats */
.side-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
    text-align: center;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Side Testimonial */
.side-testimonial {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
}

.testimonial-content p {
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-md);
    line-height: 1.5;
    position: relative;
}

.testimonial-content p::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: -5px;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.3);
    font-family: Georgia, serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    flex-shrink: 0;
}

.author-info h5 {
    color: var(--white);
    margin: 0 0 2px;
    font-size: 1rem;
}

.author-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    margin: 0;
}

/* Security Notice & Assurance */
.security-notice,
.security-assurance {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: var(--space-lg);
    max-width: 1200px;
    margin: 0 auto var(--space-xl);
    position: relative;
    z-index: 1;
}

.notice-content,
.assurance-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
}

.notice-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.notice-text {
    color: var(--gray-dark);
    margin: 0;
    font-size: 0.95rem;
    text-align: center;
}

.assurance-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0 var(--space-lg);
    border-right: 1px solid var(--light-color);
}

.assurance-item:last-child {
    border-right: none;
}

.assurance-icon {
    font-size: 1.125rem;
    opacity: 0.7;
}

.assurance-text {
    color: var(--gray);
    font-size: 0.875rem;
    font-weight: 500;
}

/* Spinner */
.btn-spinner {
    display: inline-block;
    animation: spin 1s linear infinite;
}

.hidden {
    display: none !important;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Alerts */
.alert {
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
    border-left: 4px solid;
}

.alert-danger {
    background: rgba(220, 53, 69, 0.1);
    border-color: var(--danger-color);
    color: var(--danger-color);
}

/* RESPONSIVE DESIGN */
@media (max-width: 1200px) {
    .auth-container {
        max-width: 1000px;
        padding: 0 var(--space-lg);
    }
    
    .auth-card {
        padding: var(--space-xl);
    }
    
    .auth-title {
        font-size: 2.2rem;
    }
    
    .side-title {
        font-size: 1.5rem;
    }
    
    .benefit-content h4 {
        font-size: 1rem;
    }
}

@media (max-width: 992px) {
    .auth-container {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        margin: var(--space-lg) auto;
    }
    
    .auth-side-panel {
        order: -1;
    }
    
    .auth-title {
        font-size: 2rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .social-buttons {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }
    
    .side-stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .assurance-content {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .assurance-item {
        border-right: none;
        border-bottom: 1px solid var(--light-color);
        padding: var(--space-sm) 0;
        width: 100%;
        justify-content: center;
    }
    
    .assurance-item:last-child {
        border-bottom: none;
    }
}

@media (max-width: 768px) {
    .auth-page {
        padding: var(--space-sm);
    }
    
    .auth-container {
        padding: 0;
        margin: var(--space-sm) auto;
    }
    
    .auth-card,
    .auth-side-panel,
    .security-notice,
    .security-assurance {
        padding: var(--space-lg);
        border-radius: var(--radius-lg);
    }
    
    .auth-title {
        font-size: 1.75rem;
    }
    
    .auth-subtitle {
        font-size: 1rem;
    }
    
    .logo-text {
        font-size: 1.25rem;
    }
    
    .logo-icon {
        font-size: 2rem;
    }
    
    .progress-steps .step {
        min-width: 60px;
    }
    
    .progress-steps .step-number {
        width: 36px;
        height: 36px;
        font-size: 0.875rem;
    }
    
    .progress-steps .step-label {
        font-size: 0.75rem;
    }
    
    .step-title {
        font-size: 1.375rem;
    }
    
    .form-control {
        padding: 0.75rem 1rem 0.75rem 2.75rem;
        font-size: 0.95rem;
    }
    
    .input-icon {
        left: 0.75rem;
        font-size: 1rem;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-md);
    }
    
    .form-security {
        align-self: flex-start;
    }
    
    .step-actions {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .step-actions .btn {
        width: 100%;
        text-align: center;
    }
    
    .side-icon {
        font-size: 3rem;
    }
    
    .side-title {
        font-size: 1.375rem;
        margin-bottom: var(--space-lg);
    }
    
    .side-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-sm);
    }
    
    .stat-number {
        font-size: 1.25rem;
    }
    
    .benefit-item {
        padding: var(--space-sm) 0;
    }
    
    .testimonial-content p {
        font-size: 0.95rem;
    }
    
    .author-avatar {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .notice-content,
    .assurance-content {
        flex-direction: column;
        text-align: center;
        gap: var(--space-sm);
    }
    
    .notice-icon {
        font-size: 1.25rem;
    }
    
    .notice-text {
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .auth-page {
        padding: var(--space-xs);
    }
    
    .auth-card,
    .auth-side-panel {
        padding: var(--space-md);
    }
    
    .auth-title {
        font-size: 1.5rem;
    }
    
    .auth-subtitle {
        font-size: 0.95rem;
    }
    
    .progress-steps .step {
        min-width: 50px;
    }
    
    .progress-steps .step-number {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
        margin-bottom: var(--space-xs);
    }
    
    .progress-steps .step-label {
        font-size: 0.7rem;
    }
    
    .step-title {
        font-size: 1.25rem;
    }
    
    .step-subtitle {
        font-size: 0.875rem;
    }
    
    .form-control {
        padding: 0.75rem 1rem 0.75rem 2.5rem;
        font-size: 0.95rem;
    }
    
    .input-icon {
        left: 0.75rem;
        font-size: 0.875rem;
    }
    
    .form-label {
        font-size: 0.875rem;
    }
    
    .form-help {
        font-size: 0.75rem;
    }
    
    .form-check-label {
        font-size: 0.75rem;
    }
    
    .btn-lg {
        padding: 0.875rem 1rem;
        font-size: 1rem;
    }
    
    .side-icon {
        font-size: 2.5rem;
        margin-bottom: var(--space-lg);
    }
    
    .side-title {
        font-size: 1.25rem;
    }
    
    .benefit-text {
        font-size: 0.875rem;
    }
    
    .benefit-content h4 {
        font-size: 0.95rem;
    }
    
    .benefit-content p {
        font-size: 0.75rem;
    }
    
    .side-stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .stat-item {
        padding: var(--space-sm);
    }
    
    .stat-number {
        font-size: 1rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .testimonial-content {
        padding: var(--space-md);
    }
    
    .testimonial-content p {
        font-size: 0.875rem;
    }
    
    .author-avatar {
        width: 36px;
        height: 36px;
        font-size: 0.875rem;
    }
    
    .author-info h5 {
        font-size: 0.875rem;
    }
    
    .author-info p {
        font-size: 0.7rem;
    }
    
    .security-notice,
    .security-assurance {
        padding: var(--space-md);
    }
    
    .notice-text {
        font-size: 0.75rem;
    }
    
    .assurance-text {
        font-size: 0.75rem;
    }
    
    /* Adjust form actions for very small screens */
    .review-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }
    
    .review-label {
        min-width: auto;
        font-size: 0.75rem;
    }
    
    .review-value {
        text-align: left;
        font-size: 0.875rem;
    }
    
    /* CAPTCHA adjustments */
    .captcha-text {
        font-size: 1.25rem;
        letter-spacing: 1px;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .auth-page {
        background: linear-gradient(135deg, var(--dark-color) 0%, #1a1d23 100%);
    }
    
    .auth-card {
        background: rgba(255, 255, 255, 0.05);
    }
    
    .form-control {
        background: rgba(255, 255, 255, 0.05);
        border-color: rgba(255, 255, 255, 0.1);
        color: var(--white);
    }
    
    .form-control:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
    }
    
    .form-check-label {
        color: rgba(255, 255, 255, 0.8);
    }
    
    .form-help {
        color: rgba(255, 255, 255, 0.6);
    }
    
    .auth-subtitle {
        color: rgba(255, 255, 255, 0.7);
    }
    
    .form-options {
        background: rgba(255, 255, 255, 0.05);
    }
    
    .review-card {
        background: rgba(255, 255, 255, 0.05);
    }
    
    .review-label {
        color: rgba(255, 255, 255, 0.7);
    }
    
    .review-value {
        color: rgba(255, 255, 255, 0.9);
    }
    
    .terms-section,
    .captcha-section {
        background: rgba(255, 255, 255, 0.05);
    }
    
    .captcha-box {
        background: rgba(255, 255, 255, 0.05);
        border-color: rgba(255, 255, 255, 0.1);
    }
    
    .security-notice,
    .security-assurance {
        background: rgba(255, 255, 255, 0.05);
    }
    
    .notice-text {
        color: rgba(255, 255, 255, 0.7);
    }
    
    .assurance-text {
        color: rgba(255, 255, 255, 0.7);
    }
    
    .btn-social {
        background: rgba(255, 255, 255, 0.05);
        border-color: rgba(255, 255, 255, 0.1);
        color: rgba(255, 255, 255, 0.9);
    }
}

/* Print Styles */
@media print {
    .auth-side-panel,
    .security-notice,
    .security-assurance,
    .social-login,
    .password-toggle,
    .input-action {
        display: none !important;
    }
    
    .auth-container {
        grid-template-columns: 1fr;
        max-width: 800px;
    }
    
    .auth-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .btn,
    .captcha-section {
        display: none !important;
    }
    
    .auth-footer {
        margin-top: var(--space-2xl);
    }
}