/* Enterprise SaaS Authentication - Professional Grade */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.w-14 {
    width: 10.25rem !important;
}
.w-12 {
    width: 10.25rem !important;
}
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%) !important;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1.6;
    position: relative;
    color: #1e293b;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%) !important;
    pointer-events: none;
    z-index: -1;
}

.login-container {
    width: 100%;
    max-width: 400px;
}

.login-card {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    border: none;
    position: relative;
    backdrop-filter: none;
}

.login-header {
    text-align: center;
    margin-bottom: 32px;
}

.logo {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.login-header h1 {
    color: #1a1f36;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.login-header p {
    color: #8792a2;
    font-size: 15px;
    font-weight: 400;
    margin-bottom: 16px;
}

/* Removed redundant social proof and urgency banner styles */

/* Enterprise Value Banner for Register */
.enterprise-value-banner {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 2px solid #bfdbfe;
    border-radius: 16px;
    padding: 24px 28px;
    margin-top: 20px;
    box-shadow: 
        0 8px 25px rgba(59, 130, 246, 0.15),
        0 4px 12px rgba(59, 130, 246, 0.08);
    position: relative;
    overflow: hidden;
}

.enterprise-value-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #10b981, #8b5cf6);
}

/* Enterprise Features */
.enterprise-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
    padding: 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
    color: #475569;
    padding: 8px 0;
}

.value-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #0ea5e9, #3b82f6, #8b5cf6);
}

.value-banner-content {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.value-banner-content div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.value-banner-content strong {
    color: #0c4a6e;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.025em;
}

.value-banner-content span {
    color: #0369a1;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.025em;
}

/* Removed redundant value props, highlight, and testimonial styles */

/* Password Requirements */
.password-requirements {
    margin-top: 16px;
    padding: 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.requirements-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.requirements-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.security-note {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #166534;
}

/* Compact Password Requirements (fallback) */
.password-requirements-compact {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    padding: 12px;
    background: #f8f9ff;
    border-radius: 6px;
    border: 1px solid #e8ecff;
}

.password-requirements-compact .requirement-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 500;
    color: #6b7385;
    transition: all 0.3s ease;
    padding: 4px 0;
    min-height: 20px;
}

.password-requirements-compact .requirement-item.valid {
    color: #34a853;
    font-weight: 600;
}

.password-requirements-compact .requirement-item.valid svg {
    color: #34a853;
    transform: scale(1.1);
}

.password-requirements-compact .requirement-item:not(.valid) svg {
    opacity: 0.5;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* Input Groups with Floating Labels */
.input-group {
    position: relative;
    margin-bottom: 24px;
}

/* Focus Management for Accessibility */
.input-group input:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

.submit-btn:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

.social-btn:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

.password-toggle:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .urgency-banner {
        animation: none;
    }
    
    .btn-loader svg {
        animation: none;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .auth-card {
        border: 2px solid #000;
    }
    
    .input-group input {
        border: 2px solid #000;
    }
    
    .input-group input:focus {
        border-color: #000;
        outline-color: #000;
    }
    
    .submit-btn {
        background: #000;
        color: #fff;
        border: 2px solid #000;
    }
    
    .social-btn {
        border: 2px solid #000;
    }
}

.input-group:has(.password-requirements) {
    margin-bottom: 32px;
}

.input-group input,
.form-input {
    width: 100%;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 16px 16px 16px 16px;
    color: #1f2937;
    font-size: 16px;
    font-weight: 400;
    outline: none;
    transition: all 0.2s ease;
    font-family: inherit;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    min-height: 56px;
}

.input-group input:focus,
.form-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    background: #ffffff;
}

.input-group input::placeholder {
    color: transparent;
}

.input-group label {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 16px;
    font-weight: 500;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
    padding: 0 4px;
}

.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label {
    top: 0;
    font-size: 13px;
    font-weight: 600;
    color: #3b82f6;
    transform: translateY(-50%);
    letter-spacing: 0.025em;
}

.input-group input:not(:focus):not(:placeholder-shown) + label {
    color: #64748b;
}

/* Custom Border Animation */
.input-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #3b82f6;
    transition: width 0.3s ease;
}

.input-group input:focus ~ .input-border {
    width: 100%;
}

/* Password Toggle */
.input-group:has(.password-toggle) input {
    padding-right: 42px;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #8792a2;
    padding: 6px;
    border-radius: 4px;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-toggle:hover {
    color: #3b82f6;
}

/* Password Requirements */

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.password-requirements {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    padding: 20px;
    background: #f8f9ff;
    border-radius: 8px;
    border: 1px solid #e8ecff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    animation: slideInUp 0.4s ease-out;
}

.password-requirements::before {
    content: 'Password Requirements';
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #6b7385;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e3e8ee;
    text-align: center;
    width: 100%;
}

.password-requirements-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
    width: 100%;
}

.requirement-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
    font-size: 13px;
    font-weight: 500;
    color: #6b7385;
    transition: all 0.3s ease;
    padding: 8px 0;
    position: relative;
    min-height: 32px;
    justify-content: flex-start;
}

/* Step-specific password requirements styling */
.step-content .password-requirements {
    margin-top: 0;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f2ff 100%);
    border: 1px solid #e8ecff;
}

.step-content .password-requirements::before {
    content: 'Your password must include:';
    color: #3b82f6;
    font-weight: 600;
    border-bottom-color: #e8ecff;
}

.requirement-item svg {
    width: 16px;
    height: 16px;
    color: #d1d9e0;
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.requirement-item.valid {
    color: #34a853;
    font-weight: 600;
}

.requirement-item.valid svg {
    color: #34a853;
    transform: scale(1.15);
}

.requirement-item:not(.valid) svg {
    opacity: 0.5;
}

.requirement-item.valid svg {
    opacity: 1;
}

.requirement-item span {
    position: relative;
    z-index: 1;
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 16px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #6b7385;
    font-weight: 500;
}

.checkbox-container input[type="checkbox"] {
    opacity: 0;
    position: absolute;
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 1.5px solid #d1d9e0;
    border-radius: 4px;
    margin-right: 10px;
    position: relative;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    color: transparent;
}

.checkbox-container:hover .checkmark {
    border-color: #3b82f6;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.1);
}

.checkbox-container input[type="checkbox"]:checked + .checkmark {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
}

.forgot-link {
    color: #3b82f6;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.forgot-link:hover {
    color: #2563eb;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    background: #3b82f6;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 16px 24px;
    cursor: pointer;
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    position: relative;
    margin-bottom: 24px;
    transition: all 0.2s ease;
    overflow: hidden;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    letter-spacing: 0;
    text-transform: none;
}

.submit-btn:hover:not(:disabled) {
    background: #2563eb;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.submit-btn:active {
    background: #1d4ed8;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.submit-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-text {
    transition: opacity 0.2s ease;
}

.btn-loader {
    position: absolute;
    opacity: 0;
    transition: opacity 0.2s ease;
    color: #ffffff;
}

.submit-btn.loading .btn-text {
    opacity: 0;
}

.submit-btn.loading .btn-loader {
    opacity: 1;
}

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

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e3e8ee;
}

.divider span {
    background: transparent;
    color: #8792a2;
    padding: 0 16px;
    font-size: 13px;
    font-weight: 500;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Social Login Section */
.social-login-section {
    margin-bottom: 32px;
}

.social-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.social-btn {
    flex: 1;
    background: #ffffff;
    color: #475569;
    border: 2px solid #f1f5f9;
    border-radius: 12px;
    padding: 16px 20px;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 52px;
    text-decoration: none;
    width: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    letter-spacing: 0.025em;
}

.social-btn:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.social-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Signup/Login Link */
.signup-link {
    text-align: center;
    font-size: 14px;
    color: #8792a2;
}

.signup-link a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.signup-link a:hover {
    color: #2563eb;
    text-decoration: underline;
}

/* Error States */
.error-message {
    color: #f56565;
    font-size: 12px;
    font-weight: 500;
    margin-top: 6px;
    opacity: 0;
    transform: translateY(-4px);
    transition: all 0.2s ease;
}

.error-message.show {
    opacity: 1;
    transform: translateY(0);
}

.input-group.error input {
    border-color: #f56565;
    background: #fef5f5;
}

.input-group.error input:focus {
    border-color: #f56565;
}

.input-group.error label {
    color: #f56565;
}

.input-group.error .input-border {
    background: #f56565;
}

/* Success Message */
.success-message {
    display: none;
    text-align: center;
    padding: 32px 20px;
    opacity: 0;
    transform: translateY(16px);
    transition: all 0.3s ease;
}

.success-message.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.success-icon {
    margin: 0 auto 16px;
    animation: successPop 0.5s ease-out;
}

@keyframes successPop {
    0% { transform: scale(0); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.success-message h3 {
    color: #1a1f36;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.success-message p {
    color: #8792a2;
    font-size: 14px;
}

/* Terms Section */
.terms-section {
    margin-top: 24px;
    padding: 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    text-align: center;
}

.terms-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.terms-content {
    font-size: 12px;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 12px;
}

.terms-content a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
}

.terms-content a:hover {
    text-decoration: underline;
}

.compliance-note {
    font-size: 11px;
    font-weight: 600;
    color: #10b981;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 8px 12px;
    display: inline-block;
}

/* Terms and Privacy (fallback) */
.terms-text {
    font-size: 11px;
    color: #8792a2;
    text-align: center;
    margin-top: 20px;
    line-height: 1.4;
}

.terms-text a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.terms-text a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.terms-text a:hover {
    color: #2563eb;
    text-decoration: underline;
}


/* Urgency Indicator */
.urgency-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 12px;
    padding: 10px 18px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.08) 0%, rgba(220, 38, 38, 0.05) 100%);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 10px;
    font-size: 13px;
    color: #dc2626;
    font-weight: 600;
    animation: urgencyPulse 2s infinite;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.1);
    transition: all 0.3s ease;
}

.urgency-indicator:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.15);
}

.urgency-icon {
    color: #dc2626;
    flex-shrink: 0;
    filter: drop-shadow(0 1px 2px rgba(220, 38, 38, 0.3));
}

@keyframes urgencyPulse {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1);
    }
    50% { 
        opacity: 0.8; 
        transform: scale(1.02);
    }
}

/* Benefit Highlight */
.benefit-highlight {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    padding: 8px 16px;
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.1);
    border-radius: 8px;
    font-size: 14px;
    color: #059669;
    font-weight: 500;
}

/* Platform Selection Banner */
.platform-selection-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    padding: 12px 20px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    font-size: 14px;
    color: #1e40af;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
}

.platform-selection-banner .platform-icon {
    color: #3b82f6;
    flex-shrink: 0;
}

.platform-selection-banner strong {
    color: #1e40af;
    font-weight: 700;
}

.benefit-icon {
    color: #10b981;
    flex-shrink: 0;
}

/* CTA Link Styling */
.cta-link {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    color: white !important;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    display: inline-block;
    margin-left: 8px;
}

.cta-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    color: white !important;
    text-decoration: none;
}

/* Signin CTA Link Styling */
.signin-cta-link {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    color: white !important;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    display: inline-block;
    margin-left: 8px;
}

.signin-cta-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    color: white !important;
    text-decoration: none;
}

/* Gradient Text Link Styling */
.gradient-text-link {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    display: inline-block;
    margin-left: 8px;
}

.gradient-text-link:hover {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transform: translateY(-1px);
}

/* Blue Text Link Styling */
.blue-text-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
    display: inline-block;
    margin-left: 8px;
}

.blue-text-link:hover {
    color: #2563eb;
    text-decoration: underline;
}

/* Comprehensive Responsive Design */
/* Ultra-wide Displays (1920px+) */
@media (min-width: 1920px) {
    body {
        background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%) !important;
    }
    
    body::before {
        background: 
            radial-gradient(ellipse at 25% 25%, rgba(99, 91, 255, 0.04) 0%, transparent 85%),
            radial-gradient(ellipse at 75% 75%, rgba(16, 185, 129, 0.04) 0%, transparent 85%),
            radial-gradient(ellipse at 25% 75%, rgba(59, 130, 246, 0.03) 0%, transparent 85%),
            radial-gradient(ellipse at 75% 25%, rgba(139, 92, 246, 0.03) 0%, transparent 85%);
    }
}

/* Enterprise Desktop Displays (1400px+) */
@media (min-width: 1400px) {
    body {
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%) !important;
    }
    
    body::before {
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%) !important;
    }
    
    .auth-container {
        max-width: 480px;
    }
    
    .auth-card {
        padding: 64px 56px;
        border-radius: 24px;
    }
    
    .auth-header h1 {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }
    
    .auth-header p {
        font-size: 18px;
        margin-bottom: 28px;
    }
    
    .input-group input {
        padding: 24px 22px 14px 22px;
        font-size: 17px;
        min-height: 64px;
    }
    
    .submit-btn {
        padding: 22px 32px;
        min-height: 68px;
        font-size: 17px;
    }
    
    .enterprise-trust-section {
        margin-top: 32px;
        padding-top: 32px;
    }
    
    .trust-indicators {
        gap: 24px;
    }
    
    .trust-item {
        font-size: 14px;
        padding: 8px 16px;
    }
}

/* Large Screens (1200px - 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
    .auth-container {
        max-width: 420px;
    }
}

/* Desktop (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .auth-container {
        max-width: 400px;
    }
}

/* Enterprise Tablet Landscape (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    body {
        padding: 32px;
    }
    
    .auth-container {
        max-width: 420px;
    }
    
    .auth-card {
        padding: 48px 40px;
        border-radius: 20px;
    }
    
    .auth-header h1 {
        font-size: 2rem;
        margin-bottom: 16px;
    }
    
    .auth-header p {
        font-size: 16px;
        margin-bottom: 24px;
    }
    
    .input-group input {
        padding: 20px 18px 10px 18px;
        font-size: 16px;
        min-height: 60px;
    }
    
    .submit-btn {
        padding: 18px 26px;
        min-height: 62px;
        font-size: 16px;
    }
    
    .enterprise-features {
        padding: 24px;
    }
    
    .feature-item {
        font-size: 15px;
        padding: 10px 0;
    }
    
    .enterprise-password-requirements {
        padding: 24px;
    }
    
    .requirements-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
}

/* Tablet Portrait (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    body {
        padding: 0;
    }
    
    .auth-container {
        max-width: 100%;
        padding: 32px 24px;
    }
    
    .auth-header h1 {
        font-size: 1.625rem;
        line-height: 1.2;
    }
    
    .auth-header p {
        font-size: 15px;
        line-height: 1.4;
    }
    
    .submit-btn {
        padding: 15px 20px;
        min-height: 50px;
        font-size: 16px;
    }
    
    .auth-link {
        font-size: 15px;
    }
    
    .terms-text {
        font-size: 12px;
        line-height: 1.4;
    }
}

/* Mobile Large (481px - 575px) */
@media (min-width: 481px) and (max-width: 575px) {
    body {
        padding: 0;
    }
    
    .auth-container {
        max-width: 100%;
        padding: 24px 20px;
    }
    
    .auth-header h1 {
        font-size: 1.5rem;
        line-height: 1.2;
    }
    
    .auth-header p {
        font-size: 15px;
        line-height: 1.4;
    }
    
    .submit-btn {
        padding: 14px 18px;
        min-height: 48px;
        font-size: 15px;
    }
    
    .input-group input {
        padding: 14px 12px 6px 12px;
        font-size: 15px;
    }
    
    .auth-link {
        font-size: 14px;
    }
    
    .terms-text {
        font-size: 11px;
        line-height: 1.4;
    }
}

/* Mobile Small (320px - 480px) */
@media (max-width: 480px) {
    body {
        padding: 0;
    }
    
    .auth-container {
        max-width: 100%;
        padding: 16px;
    }
    
    .auth-header {
        margin-bottom: 40px;
        padding-top: 16px;
    }
    
    .auth-header h1 {
        font-size: 1.75rem;
        margin-bottom: 8px;
        line-height: 1.3;
        color: #1e293b;
    }
    
    .auth-header p {
        font-size: 15px;
        margin-bottom: 0;
        line-height: 1.5;
    }
    
    /* Mobile-specific improvements */
    .recent-activity {
        margin-top: 12px;
    }
    
    .activity-indicator {
        font-size: 11px;
    }
    
    .social-proof {
        margin-top: 16px;
    }
    
    .avatar-group {
        gap: -6px;
    }
    
    .avatar {
        width: 28px;
        height: 28px;
        font-size: 11px;
        margin-left: -6px;
    }
    
    .proof-text {
        font-size: 12px;
    }
    
    .login-help-text,
    .register-help-text {
        font-size: 11px;
        padding: 10px;
        margin-top: 10px;
    }
    
    /* Enhanced mobile banners */
    .urgency-banner {
        font-size: 12px;
        padding: 10px 12px;
        margin-top: 12px;
    }
    
    .value-banner {
        padding: 12px;
        margin-top: 12px;
    }
    
    .value-banner-content {
        gap: 8px;
    }
    
    .value-banner-content strong {
        font-size: 13px;
    }
    
    .value-banner-content span {
        font-size: 11px;
    }
    
    .value-props {
        padding: 12px;
        margin-top: 12px;
        gap: 6px;
    }
    
    .value-prop {
        font-size: 12px;
        gap: 6px;
    }
    
    .progress-indicator {
        margin: 20px 0;
        gap: 4px;
        padding: 0 10px;
    }
    
    .step {
        flex: 1;
        min-width: 0;
    }
    
    .step-number {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .step-label {
        font-size: 9px;
        margin-top: 4px;
    }
    
    .trust-indicators {
        margin-top: 16px;
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .trust-item {
        font-size: 11px;
        white-space: nowrap;
        padding: 4px 0;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 24px;
    }
    
    .social-buttons {
        flex-direction: column;
        margin-bottom: 20px;
    }
    
    .social-btn {
        padding: 12px 16px;
        min-height: 48px;
        font-size: 14px;
    }
    
    .input-group {
        margin-bottom: 20px;
    }
    
    .input-group input {
        padding: 16px;
        font-size: 16px;
        background: #ffffff;
        border: 1px solid #d1d5db;
        border-radius: 8px;
        min-height: 56px;
    }
    
    .input-group label {
        font-size: 16px;
    }
    
    .input-group input:focus + label,
    .input-group input:not(:placeholder-shown) + label {
        font-size: 12px;
    }
    
    .password-toggle {
        min-width: 48px;
        min-height: 48px;
        padding: 16px;
    }
    
    .submit-btn {
        padding: 16px 24px;
        min-height: 56px;
        font-size: 16px;
        margin-bottom: 24px;
    }
    
    .auth-link {
        font-size: 14px;
    }
    
    .terms-text {
        font-size: 11px;
        margin-top: 16px;
        line-height: 1.4;
    }
    
    .password-requirements {
        padding: 12px;
        margin-top: 12px;
        grid-template-columns: 1fr;
        gap: 6px;
    }
    
    .requirement-item {
        font-size: 12px;
        padding: 4px 0;
        white-space: nowrap;
    }
    
    .error-message,
    .success-message {
        font-size: 11px;
        margin-top: 4px;
    }
}

/* Extra Small Mobile (max-width: 320px) */
@media (max-width: 320px) {
    body {
        padding: 0;
    }
    
    .auth-container {
        padding: 16px 12px;
    }
    
    .auth-header h1 {
        font-size: 1.25rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .auth-header p {
        font-size: 13px;
        line-height: 1.4;
    }
    
    .social-proof {
        padding: 8px;
    }
    
    .user-count {
        font-size: 12px;
        white-space: nowrap;
    }
    
    .trust-badge {
        font-size: 11px;
        white-space: nowrap;
    }
    
    .urgency-banner {
        font-size: 11px;
        padding: 6px 8px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .submit-btn {
        padding: 12px 14px;
        min-height: 46px;
        font-size: 14px;
    }
    
    .input-group input {
        padding: 12px 10px 4px 10px;
        font-size: 14px;
    }
    
    .input-group label {
        font-size: 14px;
    }
    
    .auth-link {
        font-size: 13px;
    }
    
    .terms-text {
        font-size: 10px;
        line-height: 1.3;
    }
    
    .trust-item {
        font-size: 11px;
        white-space: nowrap;
    }
    
    .requirement-item {
        font-size: 11px;
        white-space: nowrap;
    }
    
    .value-highlight {
        padding: 12px;
        margin-top: 12px;
    }
    
    .value-highlight-content {
        gap: 8px;
    }
    
    .value-highlight-content strong {
        font-size: 13px;
    }
    
    .value-highlight-content span {
        font-size: 11px;
    }
    
    .testimonial {
        padding: 12px;
        margin-top: 16px;
    }
    
    .testimonial-text {
        font-size: 13px;
    }
    
    .author-name {
        font-size: 12px;
    }
    
    .author-title {
        font-size: 11px;
    }
    
    .password-requirements-compact {
        padding: 8px;
        gap: 6px;
    }
    
    .password-requirements-compact .requirement-item {
        font-size: 10px;
        gap: 4px;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .submit-btn {
        min-height: 56px;
        padding: 20px 24px;
        font-size: 16px;
    }
    
    .social-btn {
        min-height: 56px;
        padding: 18px 20px;
        font-size: 15px;
    }
    
    .password-toggle {
        min-width: 52px;
        min-height: 52px;
        padding: 16px;
    }
    
    .checkbox-container {
        min-height: 52px;
        padding: 14px 0;
        font-size: 15px;
    }
    
    .forgot-link {
        min-height: 52px;
        display: flex;
        align-items: center;
        padding: 14px 0;
        font-size: 15px;
    }
    
    .input-group input {
        min-height: 56px;
        padding: 20px 16px 8px 16px;
        font-size: 16px;
    }
    
    .input-group label {
        font-size: 16px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .trust-item {
        font-size: 13px;
        padding: 6px 0;
    }
    
    .step-btn {
        min-height: 56px;
        padding: 18px 24px;
        font-size: 16px;
    }
    
    .urgency-banner,
    .value-banner {
        padding: 16px;
        margin-top: 16px;
    }
    
    .value-props {
        padding: 16px;
        margin-top: 16px;
    }
    
    /* Touch-specific improvements */
    .avatar {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .login-help-text,
    .register-help-text {
        padding: 16px;
        font-size: 14px;
    }
    
    .activity-indicator {
        font-size: 14px;
    }
    
    .proof-text {
        font-size: 14px;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .auth-card {
        box-shadow: 0 2px 3px rgba(0, 0, 0, 0.01), 0 5px 10px rgba(0, 0, 0, 0.04);
    }
    
    .input-group input {
        border-width: 0.5px;
    }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    body {
        padding: 0;
    }
    
    .auth-container {
        padding: 12px 16px;
    }
    
    .auth-header {
        margin-bottom: 20px;
    }
    
    .auth-header h1 {
        font-size: 1.375rem;
        margin-bottom: 6px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .auth-header p {
        font-size: 13px;
        margin-bottom: 10px;
        line-height: 1.3;
    }
    
    .social-proof {
        padding: 8px;
        margin-top: 10px;
    }
    
    .user-count {
        font-size: 12px;
        white-space: nowrap;
    }
    
    .trust-badge {
        font-size: 11px;
        white-space: nowrap;
    }
    
    .urgency-banner {
        font-size: 11px;
        padding: 6px 8px;
        margin-top: 10px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .input-group {
        margin-bottom: 16px;
    }
    
    .form-options {
        margin-bottom: 16px;
    }
    
    .submit-btn {
        margin-bottom: 16px;
        padding: 12px 16px;
        min-height: 44px;
        font-size: 14px;
    }
    
    .auth-link {
        font-size: 13px;
    }
    
    .terms-text {
        font-size: 10px;
        line-height: 1.3;
    }
    
    .trust-item {
        font-size: 11px;
        white-space: nowrap;
    }
}

/* Print Styles */
@media print {
    .modern-saas-auth {
        background: white !important;
    }
    
    .social-buttons,
    .social-proof,
    .urgency-banner,
    .trust-indicators {
        display: none;
    }
}

/* Override existing styles for auth pages */
.modern-saas-auth {

    min-height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    position: relative !important;
}


.modern-saas-auth .flex {
    display: block !important;
}

.modern-saas-auth .min-h-screen {
    min-height: auto !important;
}

/* Removed problematic CSS rule */

/* Removed problematic CSS rule */

/* Removed problematic CSS rule */

.modern-saas-auth .h-screen {
    height: auto !important;
}

.modern-saas-auth .p-12 {
    padding: 0 !important;
}

/* Removed problematic CSS rule */

.modern-saas-auth .flex-1 {
    flex: none !important;
}

.modern-saas-auth .place-self-stretch {
    display: none !important;
}

.modern-saas-auth .hidden {
    display: none !important;
}

/* Removed problematic CSS rule */

/* Professional Auth Container */
.auth-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Ensure main divs take full width */
.modern-saas-auth,
.modern-saas-auth > div {
    width: 100% !important;
    max-width: 100% !important;
}

/* Legal Pages Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: 
        radial-gradient(ellipse at 0% 0%, rgba(59, 130, 246, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse at 100% 0%, rgba(16, 185, 129, 0.06) 0%, transparent 70%),
        radial-gradient(ellipse at 0% 100%, rgba(139, 92, 246, 0.04) 0%, transparent 70%),
        radial-gradient(ellipse at 100% 100%, rgba(99, 91, 255, 0.03) 0%, transparent 70%),
        radial-gradient(ellipse at 50% 0%, rgba(59, 130, 246, 0.02) 0%, transparent 80%),
        radial-gradient(ellipse at 0% 50%, rgba(16, 185, 129, 0.02) 0%, transparent 80%),
        radial-gradient(ellipse at 100% 50%, rgba(139, 92, 246, 0.02) 0%, transparent 80%),
        linear-gradient(135deg, #f8fafc 0%, #f1f5f9 30%, #e2e8f0 100%);
    min-height: 100vh;
    margin: 0;
    padding: 0;
    color: #1e293b;
}

.legal-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.legal-card {
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
    position: relative;
    width: 100%;
}

.legal-header {
    text-align: center;
    margin-bottom: 48px;
    padding-top: 20px;
}

.legal-logo {
    margin-bottom: 32px;
    display: flex;
    justify-content: center;
}

.legal-header h1 {
    color: #1e293b;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
    line-height: 1.3;
    text-align: center;
}

.legal-header p {
    color: #64748b;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 0;
    line-height: 1.5;
    text-align: center;
}

.legal-content {
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
    color: #374151;
}

.legal-section {
    margin-bottom: 32px;
}

.legal-section h2 {
    color: #1e293b;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    line-height: 1.4;
}

.legal-section p {
    margin-bottom: 16px;
    font-size: 16px;
    color: #4b5563;
}

.legal-section ul {
    margin: 16px 0;
    padding-left: 24px;
}

.legal-section li {
    margin-bottom: 8px;
    font-size: 16px;
    color: #4b5563;
}

.legal-footer {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid #e5e7eb;
    text-align: center;
}

.legal-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.legal-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.legal-link:hover {
    color: #2563eb;
    background: #f8fafc;
    border-color: #e2e8f0;
    text-decoration: none;
}


/* Legal Pages Background - Mobile Only (1-768px) */
@media (max-width: 768px) {
    .modern-saas-auth {
        background: 
            radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.15) 0%, transparent 50%),
            radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.1) 0%, transparent 50%),
            linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
    }
}

/* Desktop - No background for .modern-saas-auth */
@media (min-width: 769px) {
    .modern-saas-auth {
        background: none;
    }
}

@media (max-width: 768px) {
    .legal-container {
        padding: 16px;
    }
    
    .legal-header h1 {
        font-size: 2rem;
    }
    
    .legal-section h2 {
        font-size: 1.25rem;
    }
    
    .legal-links {
        flex-direction: column;
        gap: 16px;
    }
    
    .legal-link {
        display: inline-block;
        width: 100%;
        text-align: center;
    }
}

.auth-card {
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
    position: relative;
    width: 100%;
}

.auth-header {
    text-align: center;
    margin-bottom: 48px;
    padding-top: 20px;
}

.auth-logo {
    margin-bottom: 32px;
    display: flex;
    justify-content: center;
}

.auth-header h1 {
    color: #1e293b;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
    line-height: 1.3;
    text-align: center;
}

.auth-header p {
    color: #64748b;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 0;
    line-height: 1.5;
    text-align: center;
}

.auth-link {
    text-align: center;
    font-size: 14px;
    color: #8792a2;
}

.auth-link a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.auth-link a:hover {
    color: #2563eb;
    text-decoration: underline;
}

/* Progress Indicator */
.progress-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 32px 0;
    padding: 0 24px;
    position: relative;
}

.progress-indicator::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    right: 50%;
    height: 2px;
    background: linear-gradient(90deg, #e2e8f0, #cbd5e1);
    z-index: 0;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.4;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.step.active {
    opacity: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.step.active .step-number {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    box-shadow: 
        0 8px 20px rgba(59, 130, 246, 0.3),
        0 4px 12px rgba(59, 130, 246, 0.15);
    transform: scale(1.1);
}

.step.completed .step-number {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 
        0 8px 20px rgba(16, 185, 129, 0.3),
        0 4px 12px rgba(16, 185, 129, 0.15);
}

.step-label {
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.step.active .step-label {
    color: #3b82f6;
    font-weight: 700;
}

.step.completed .step-label {
    color: #10b981;
    font-weight: 700;
}

/* Security Badge */
.security-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #bbf7d0;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #166534;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.1);
}

/* Trust Section */
.trust-section {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

/* Trust Indicators */
.trust-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    white-space: nowrap;
    padding: 6px 12px;
    background: rgba(248, 250, 252, 0.8);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

/* Compliance Badges */
.compliance-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.compliance-badge {
    padding: 4px 12px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #cbd5e1;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Recent Activity Indicator */
.recent-activity {
    margin-top: 16px;
    text-align: center;
}

.activity-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    color: #6b7385;
}

.activity-dot {
    width: 8px;
    height: 8px;
    background: #34a853;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* Social Proof */
.social-proof {
    margin-top: 20px;
    text-align: center;
}

.user-avatars {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.avatar-group {
    display: flex;
    align-items: center;
    gap: -8px;
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 12px;
    border: 2px solid white;
    margin-left: -8px;
    position: relative;
    z-index: 1;
}

.avatar:first-child {
    margin-left: 0;
}

.proof-text {
    font-size: 13px;
    color: #6b7385;
}

.proof-text strong {
    color: #1a1f36;
    font-weight: 600;
}

/* Urgency Banner */
.urgency-banner {
    background: linear-gradient(135deg, #fff5f5 0%, #fed7d7 100%);
    border: 2px solid #fecaca;
    border-radius: 16px;
    padding: 16px 20px;
    margin-top: 20px;
    text-align: center;
    animation: pulse 2s infinite;
    box-shadow: 
        0 8px 25px rgba(239, 68, 68, 0.15),
        0 4px 12px rgba(239, 68, 68, 0.08);
    position: relative;
    overflow: hidden;
}

.urgency-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #ef4444, #f97316, #eab308);
}

.urgency-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    color: #dc2626;
    position: relative;
    z-index: 1;
}

.urgency-content strong {
    font-weight: 700;
    letter-spacing: 0.025em;
}

/* Security Status */
.security-status {
    margin: 16px 0;
    text-align: center;
}

.security-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #bbf7d0;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #166534;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.1);
}

/* Help Text */
.login-help-text,
.register-help-text {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 12px;
    background: #f8f9ff;
    border-radius: 6px;
    font-size: 12px;
    color: #6b7385;
    text-align: center;
}

.help-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.help-link:hover {
    text-decoration: underline;
}

/* Skip Link for Accessibility */

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Restructured Layout Classes */
.value-section {
    margin-bottom: 24px;
}

.registration-form {
    margin-bottom: 32px;
}

.auth-footer {
    margin-top: 32px;
    text-align: center;
}

.auth-footer .auth-link {
    margin-bottom: 24px;
}

.terms-section {
    margin-top: 24px;
    text-align: center;
}

/* Enhanced Error and Success Messages */
.error-message {
    color: #f56565;
    font-size: 12px;
    font-weight: 500;
    margin-top: 6px;
    opacity: 0;
    transform: translateY(-4px);
    transition: all 0.2s ease;
}

.error-message.show {
    opacity: 1;
    transform: translateY(0);
}

.success-message {
    color: #34a853;
    font-size: 12px;
    font-weight: 500;
    margin-top: 6px;
    opacity: 0;
    transform: translateY(-4px);
    transition: all 0.2s ease;
}

.success-message.show {
    opacity: 1;
    transform: translateY(0);
}

.input-group.error input {
    border-color: #f56565;
    background: #fef5f5;
}

.input-group.error input:focus {
    border-color: #f56565;
    outline-color: #f56565;
}

.input-group.error label {
    color: #f56565;
}

.input-group.error .input-border {
    background: #f56565;
}

.input-group.success input {
    border-color: #34a853;
    background: #f0f9f0;
}

.input-group.success input:focus {
    border-color: #34a853;
    outline-color: #34a853;
}

.input-group.success label {
    color: #34a853;
}

.input-group.success .input-border {
    background: #34a853;
}

/* Step-based form styling */
.step-content {
    min-height: 200px;
}

.step-input {
    width: 100%;
    background: #ffffff;
    border: 1px solid #e3e8ee;
    border-radius: 8px;
    padding: 16px 14px 8px 14px;
    color: #1a1f36;
    font-size: 16px;
    font-weight: 400;
    outline: none;
    transition: all 0.2s ease;
    font-family: inherit;
    min-height: 52px;
}

.step-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.step-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 28px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 56px;
    border: none;
    font-family: inherit;
    letter-spacing: 0.025em;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.step-btn:not(.secondary):not(.primary) {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff;
    box-shadow: 
        0 10px 25px rgba(99, 91, 255, 0.25),
        0 4px 12px rgba(59, 130, 246, 0.15);
}

.step-btn:not(.secondary):not(.primary):hover:not(:disabled) {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-3px);
    box-shadow: 
        0 20px 40px rgba(99, 91, 255, 0.35),
        0 8px 20px rgba(99, 91, 255, 0.25);
}

.step-btn.secondary {
    background: #ffffff;
    color: #64748b;
    border: 2px solid #f1f5f9;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.step-btn.secondary:hover {
    background: #f8fafc;
    color: #475569;
    border-color: #e2e8f0;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.step-btn.primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    box-shadow: 
        0 10px 25px rgba(16, 185, 129, 0.25),
        0 4px 12px rgba(16, 185, 129, 0.15);
}

.step-btn.primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-3px);
    box-shadow: 
        0 20px 40px rgba(16, 185, 129, 0.35),
        0 8px 20px rgba(16, 185, 129, 0.25);
}

.step-btn:disabled {
    background: #a2a7b5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    color: #ffffff;
}

.step-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.step-actions .step-btn {
    flex: 1;
}

/* Progress indicator improvements */
.progress-indicator .step.completed .step-number {
    background: #34a853;
    color: white;
}

.progress-indicator .step.completed .step-label {
    color: #34a853;
}

/* Mobile responsive for step form */
@media (max-width: 480px) {
    .step-content {
        min-height: 150px;
    }
    
    .step-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .step-actions .step-btn {
        width: 100%;
    }
    
    .password-requirements {
        padding: 16px;
        margin-bottom: 16px;
    }
    
    .password-requirements::before {
        font-size: 12px;
        margin-bottom: 12px;
        padding-bottom: 8px;
    }
    
    .password-requirements-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .requirement-item {
        font-size: 12px;
        padding: 6px 0;
        min-height: 28px;
        gap: 8px;
    }
    
    .requirement-item svg {
        width: 14px;
        height: 14px;
    }
}