/**
 * WPCrypto Authentication Pages Styles
 * Consistent with register and login page design - No extra background layers
 */

.wpcrypto-auth-wrapper {
    /* Color Variables */
    --wpcrypto-primary: #667eea;
    --wpcrypto-primary-dark: #5a6fd8;
    --wpcrypto-primary-light: #8b9df0;
    --wpcrypto-secondary: #764ba2;
    --wpcrypto-accent: #f093fb;
    
    /* Neutral Colors */
    --wpcrypto-white: #ffffff;
    --wpcrypto-gray-50: #f8fafc;
    --wpcrypto-gray-100: #f1f5f9;
    --wpcrypto-gray-200: #e2e8f0;
    --wpcrypto-gray-300: #cbd5e1;
    --wpcrypto-gray-400: #94a3b8;
    --wpcrypto-gray-500: #64748b;
    --wpcrypto-gray-600: #475569;
    --wpcrypto-gray-700: #334155;
    --wpcrypto-gray-800: #1e293b;
    --wpcrypto-gray-900: #0f172a;
    
    /* Status Colors */
    --wpcrypto-success: #10b981;
    --wpcrypto-success-light: #d1fae5;
    --wpcrypto-error: #ef4444;
    --wpcrypto-error-light: #fee2e2;
    --wpcrypto-warning: #f59e0b;
    --wpcrypto-warning-light: #fef3c7;
    --wpcrypto-info: #3b82f6;
    --wpcrypto-info-light: #dbeafe;
    
    /* Spacing Scale */
    --wpcrypto-space-1: 0.25rem;
    --wpcrypto-space-2: 0.5rem;
    --wpcrypto-space-3: 0.75rem;
    --wpcrypto-space-4: 1rem;
    --wpcrypto-space-5: 1.25rem;
    --wpcrypto-space-6: 1.5rem;
    --wpcrypto-space-8: 2rem;
    --wpcrypto-space-10: 2.5rem;
    --wpcrypto-space-12: 3rem;
    --wpcrypto-space-16: 4rem;
    --wpcrypto-space-20: 5rem;
    
    /* Border Radius - Max 12px */
    --wpcrypto-radius-sm: 0.375rem;
    --wpcrypto-radius-md: 0.5rem;
    --wpcrypto-radius-lg: 0.75rem;
    --wpcrypto-radius-xl: 0.75rem;
    
    /* Shadows */
    --wpcrypto-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --wpcrypto-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --wpcrypto-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --wpcrypto-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

/* Main Wrapper - No background layers */
.wpcrypto-auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 99%;
    padding: 0 3px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Main Container - Single container only */
.wpcrypto-auth-container {
    width: 99%;
    max-width: 28rem;
    background: var(--wpcrypto-white);
    border-radius: var(--wpcrypto-radius-xl);
    box-shadow: var(--wpcrypto-shadow-xl);
    padding: var(--wpcrypto-space-6);
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.wpcrypto-auth-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--wpcrypto-primary), var(--wpcrypto-secondary));
    z-index: 1;
}

/* Header Section */
.wpcrypto-auth-container .wpcrypto-header {
    text-align: center;
    margin-bottom: var(--wpcrypto-space-8);
    position: relative;
    z-index: 2;
}

.wpcrypto-header .brand-logo {
    margin-bottom: var(--wpcrypto-space-6);
}

.wpcrypto-header .brand-logo img {
    max-height: 3rem;
    width: auto;
    height: auto;
}

.wpcrypto-header .brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--wpcrypto-gray-800);
    letter-spacing: -0.025em;
    margin: 0;
    padding: 0;
    line-height: 1.2;
}

.wpcrypto-header .header-content {
    margin-top: var(--wpcrypto-space-3);
}

.wpcrypto-header .main-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--wpcrypto-gray-900);
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin: 0 0 var(--wpcrypto-space-2) 0;
    padding: 0;
}

.wpcrypto-header .subtitle {
    font-size: 1rem;
    color: var(--wpcrypto-gray-600);
    line-height: 1.5;
    max-width: 24rem;
    margin: 0 auto;
    padding: 0;
}

/* Messages Section */
.wpcrypto-auth-container .messages-section {
    margin-bottom: var(--wpcrypto-space-6);
}

.wpcrypto-auth-container .message-container {
    display: flex;
    align-items: flex-start;
    gap: var(--wpcrypto-space-3);
    padding: var(--wpcrypto-space-4);
    border-radius: var(--wpcrypto-radius-lg);
    border: 1px solid;
    margin-bottom: var(--wpcrypto-space-4);
    animation: wpcrypto-slideInDown 0.3s ease-out;
    box-sizing: border-box;
}

.wpcrypto-auth-container .error-container {
    background-color: var(--wpcrypto-error-light);
    border-color: var(--wpcrypto-error);
    color: var(--wpcrypto-error);
}

.wpcrypto-auth-container .success-container {
    background-color: var(--wpcrypto-success-light);
    border-color: var(--wpcrypto-success);
    color: var(--wpcrypto-success);
}

.wpcrypto-auth-container .message-icon {
    flex-shrink: 0;
    margin-top: var(--wpcrypto-space-1);
}

.wpcrypto-auth-container .message-content {
    flex: 1;
}

.wpcrypto-auth-container .message-text {
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.5;
    margin: 0;
    padding: 0;
}

/* Step Indicator */
.wpcrypto-auth-container .step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--wpcrypto-space-8);
    padding: 0;
}

.wpcrypto-auth-container .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--wpcrypto-space-2);
    min-width: 4rem;
}

.wpcrypto-auth-container .step-number {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    border: 2px solid var(--wpcrypto-gray-300);
    color: var(--wpcrypto-gray-500);
    background: var(--wpcrypto-white);
    transition: all 0.2s ease;
}

.wpcrypto-auth-container .step-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--wpcrypto-gray-500);
    text-align: center;
}

.wpcrypto-auth-container .step.active .step-number {
    background: var(--wpcrypto-primary);
    border-color: var(--wpcrypto-primary);
    color: var(--wpcrypto-white);
}

.wpcrypto-auth-container .step.active .step-label {
    color: var(--wpcrypto-primary);
    font-weight: 600;
}

.wpcrypto-auth-container .step.completed .step-number {
    background: var(--wpcrypto-success);
    border-color: var(--wpcrypto-success);
    color: var(--wpcrypto-white);
}

.wpcrypto-auth-container .step.completed .step-label {
    color: var(--wpcrypto-success);
}

.wpcrypto-auth-container .step-line {
    flex: 1;
    height: 2px;
    background: var(--wpcrypto-gray-200);
    margin: 0 var(--wpcrypto-space-2);
    min-width: 2rem;
}

/* Form Styles */
.wpcrypto-auth-container .auth-form {
    margin-bottom: var(--wpcrypto-space-6);
}

.wpcrypto-auth-container .form-step {
    animation: wpcrypto-fadeIn 0.3s ease-out;
}

.wpcrypto-auth-container .form-fields {
    display: flex;
    flex-direction: column;
    gap: var(--wpcrypto-space-6);
    margin-bottom: var(--wpcrypto-space-6);
}

/* Field Groups */
.wpcrypto-auth-container .field-group {
    display: flex;
    flex-direction: column;
    gap: var(--wpcrypto-space-2);
}

.wpcrypto-auth-container .field-label {
    display: flex;
    align-items: center;
    gap: var(--wpcrypto-space-2);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--wpcrypto-gray-700);
    margin: 0;
    padding: 0;
}

.wpcrypto-auth-container .label-required {
    color: var(--wpcrypto-error);
    font-weight: 500;
}

/* Input Wrapper */
.wpcrypto-auth-container .input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.wpcrypto-auth-container .input-icon {
    position: absolute;
    left: var(--wpcrypto-space-3);
    color: var(--wpcrypto-gray-400);
    z-index: 2;
    pointer-events: none;
}

/* Form Inputs */
.wpcrypto-auth-container .form-input {
    width: 100%;
    padding: var(--wpcrypto-space-3) var(--wpcrypto-space-12) var(--wpcrypto-space-3) var(--wpcrypto-space-12);
    font-size: 1rem;
    color: var(--wpcrypto-gray-800);
    background-color: var(--wpcrypto-white);
    border: 2px solid var(--wpcrypto-gray-200);
    border-radius: var(--wpcrypto-radius-lg);
    transition: all 0.2s ease-in-out;
    outline: none;
    box-sizing: border-box;
    margin: 0;
}

.wpcrypto-auth-container .form-input:focus {
    border-color: var(--wpcrypto-primary);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.wpcrypto-auth-container .form-input:hover:not(:focus) {
    border-color: var(--wpcrypto-gray-300);
}

.wpcrypto-auth-container .form-input::placeholder {
    color: var(--wpcrypto-gray-400);
}

.wpcrypto-auth-container .form-input:invalid:not(:focus):not(:placeholder-shown) {
    border-color: var(--wpcrypto-error);
}

.wpcrypto-auth-container .form-input.error {
    border-color: var(--wpcrypto-error);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.wpcrypto-auth-container .code-input {
    text-align: center;
    font-size: 1.5rem;
    letter-spacing: 0.3em;
    font-weight: bold;
    padding: var(--wpcrypto-space-4) var(--wpcrypto-space-6);
}

/* Password Toggle Button */
.wpcrypto-auth-container .password-toggle {
    position: absolute;
    right: var(--wpcrypto-space-3);
    background: none;
    border: none;
    color: var(--wpcrypto-gray-400);
    cursor: pointer;
    padding: var(--wpcrypto-space-2);
    border-radius: var(--wpcrypto-radius-sm);
    transition: color 0.2s ease;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wpcrypto-auth-container .password-toggle:hover {
    color: var(--wpcrypto-gray-600);
}

.wpcrypto-auth-container .password-toggle:focus {
    outline: 2px solid var(--wpcrypto-primary);
    outline-offset: 2px;
}

/* Field Hints */
.wpcrypto-auth-container .field-hint {
    font-size: 0.75rem;
    color: var(--wpcrypto-gray-500);
    line-height: 1.4;
    margin: 0;
    padding: 0;
}

/* Password Strength Indicator */
.wpcrypto-auth-container .password-strength {
    display: flex;
    flex-direction: column;
    gap: var(--wpcrypto-space-2);
    margin-top: var(--wpcrypto-space-1);
}

.wpcrypto-auth-container .strength-bar {
    height: 4px;
    background-color: var(--wpcrypto-gray-200);
    border-radius: 2px;
    overflow: hidden;
}

.wpcrypto-auth-container .strength-fill {
    height: 100%;
    width: 0%;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.wpcrypto-auth-container .strength-fill.weak {
    width: 25%;
    background-color: var(--wpcrypto-error);
}

.wpcrypto-auth-container .strength-fill.fair {
    width: 50%;
    background-color: var(--wpcrypto-warning);
}

.wpcrypto-auth-container .strength-fill.good {
    width: 75%;
    background-color: var(--wpcrypto-primary);
}

.wpcrypto-auth-container .strength-fill.strong {
    width: 100%;
    background-color: var(--wpcrypto-success);
}

.wpcrypto-auth-container .strength-text {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--wpcrypto-gray-500);
    margin: 0;
    padding: 0;
}

.wpcrypto-auth-container .strength-text.weak {
    color: var(--wpcrypto-error);
}

.wpcrypto-auth-container .strength-text.fair {
    color: var(--wpcrypto-warning);
}

.wpcrypto-auth-container .strength-text.good {
    color: var(--wpcrypto-primary);
}

.wpcrypto-auth-container .strength-text.strong {
    color: var(--wpcrypto-success);
}

/* Password Requirements */
.wpcrypto-auth-container .password-requirements {
    display: flex;
    flex-direction: column;
    gap: var(--wpcrypto-space-1);
    margin-top: var(--wpcrypto-space-3);
}

.wpcrypto-auth-container .requirement {
    display: flex;
    align-items: center;
    gap: var(--wpcrypto-space-2);
    font-size: 0.75rem;
    color: var(--wpcrypto-gray-400);
    transition: color 0.2s ease;
}

.wpcrypto-auth-container .requirement.met {
    color: var(--wpcrypto-success);
}

.wpcrypto-auth-container .req-icon {
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
}

.wpcrypto-auth-container .requirement:not(.met) .req-icon {
    opacity: 0.3;
}

.wpcrypto-auth-container .requirement span {
    margin: 0;
    padding: 0;
}

/* Password Match */
.wpcrypto-auth-container .password-match {
    font-size: 0.75rem;
    font-weight: 500;
    padding: var(--wpcrypto-space-2);
    border-radius: var(--wpcrypto-radius-sm);
    margin-top: var(--wpcrypto-space-1);
    text-align: center;
}

.wpcrypto-auth-container .password-match.match {
    background: var(--wpcrypto-success-light);
    color: var(--wpcrypto-success);
}

.wpcrypto-auth-container .password-match.no-match {
    background: var(--wpcrypto-error-light);
    color: var(--wpcrypto-error);
}

/* Submit Section */
.wpcrypto-auth-container .submit-section {
    margin-bottom: var(--wpcrypto-space-6);
}

.wpcrypto-auth-container .submit-btn {
    width: 100%;
    min-height: 3rem;
    background: linear-gradient(135deg, var(--wpcrypto-primary) 0%, var(--wpcrypto-secondary) 100%);
    border: none;
    border-radius: var(--wpcrypto-radius-lg);
    color: var(--wpcrypto-white);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--wpcrypto-shadow-lg);
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wpcrypto-auth-container .submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--wpcrypto-shadow-xl);
}

.wpcrypto-auth-container .submit-btn:active:not(:disabled) {
    transform: translateY(0);
}

.wpcrypto-auth-container .submit-btn:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.wpcrypto-auth-container .submit-btn:focus {
    outline: 2px solid var(--wpcrypto-primary);
    outline-offset: 2px;
}

.wpcrypto-auth-container .btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--wpcrypto-space-2);
    padding: var(--wpcrypto-space-3) var(--wpcrypto-space-4);
}

.wpcrypto-auth-container .btn-icon {
    transition: transform 0.2s ease;
}

.wpcrypto-auth-container .submit-btn:hover:not(:disabled) .btn-icon {
    transform: translateX(2px);
}

.wpcrypto-auth-container .btn-text {
    margin: 0;
    padding: 0;
}

.wpcrypto-auth-container .btn-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--wpcrypto-space-3);
    padding: var(--wpcrypto-space-3) var(--wpcrypto-space-4);
}

.wpcrypto-auth-container .loading-spinner {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid var(--wpcrypto-white);
    border-radius: 50%;
    border-top-color: transparent;
    animation: wpcrypto-spin 0.8s linear infinite;
}

/* Resend Section */
.wpcrypto-auth-container .resend-section {
    text-align: center;
    margin: var(--wpcrypto-space-6) 0;
    padding: var(--wpcrypto-space-4);
    background: var(--wpcrypto-gray-50);
    border-radius: var(--wpcrypto-radius-lg);
    border: 1px solid var(--wpcrypto-gray-200);
    box-sizing: border-box;
}

.wpcrypto-auth-container .resend-text {
    margin: 0 0 var(--wpcrypto-space-3) 0;
    color: var(--wpcrypto-gray-600);
    font-size: 0.875rem;
}

.wpcrypto-auth-container .resend-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--wpcrypto-space-2);
    background: none;
    border: none;
    color: var(--wpcrypto-primary);
    text-decoration: underline;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    padding: var(--wpcrypto-space-2);
    border-radius: var(--wpcrypto-radius-sm);
    transition: all 0.2s ease;
}

.wpcrypto-auth-container .resend-btn:hover {
    color: var(--wpcrypto-primary-dark);
    background: rgba(102, 126, 234, 0.1);
}

.wpcrypto-auth-container .resend-btn:focus {
    outline: 2px solid var(--wpcrypto-primary);
    outline-offset: 2px;
}

.wpcrypto-auth-container .countdown-text {
    font-size: 0.875rem;
    color: var(--wpcrypto-gray-500);
    margin: 0;
}

/* Success State */
.wpcrypto-auth-container .verified-success {
    text-align: center;
    padding: var(--wpcrypto-space-8);
    background: var(--wpcrypto-success-light);
    border-radius: var(--wpcrypto-radius-xl);
    border: 2px solid var(--wpcrypto-success);
    margin: var(--wpcrypto-space-4) 0;
    box-sizing: border-box;
}

.wpcrypto-auth-container .success-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto var(--wpcrypto-space-4);
    color: var(--wpcrypto-success);
    background: var(--wpcrypto-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--wpcrypto-shadow-lg);
}

.wpcrypto-auth-container .success-title {
    color: var(--wpcrypto-success);
    margin: 0 0 var(--wpcrypto-space-3) 0;
    font-size: 1.25rem;
    font-weight: 700;
}

.wpcrypto-auth-container .success-message {
    color: var(--wpcrypto-success);
    margin: 0 0 var(--wpcrypto-space-6) 0;
    font-size: 1rem;
}

/* Error State */
.wpcrypto-auth-container .error-state {
    text-align: center;
    padding: var(--wpcrypto-space-8);
    box-sizing: border-box;
}

.wpcrypto-auth-container .error-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto var(--wpcrypto-space-4);
    color: var(--wpcrypto-error);
    display: flex;
    align-items: center;
    justify-content: center;
}

.wpcrypto-auth-container .error-title {
    margin: 0 0 var(--wpcrypto-space-3) 0;
    color: var(--wpcrypto-gray-800);
    font-size: 1.5rem;
    font-weight: 600;
}

.wpcrypto-auth-container .error-message {
    color: var(--wpcrypto-gray-600);
    margin-bottom: var(--wpcrypto-space-6);
    line-height: 1.6;
    font-size: 1rem;
}

/* Footer Elements */
.wpcrypto-auth-container .form-footer {
    text-align: center;
    padding-top: var(--wpcrypto-space-6);
    border-top: 1px solid var(--wpcrypto-gray-200);
    margin-top: var(--wpcrypto-space-6);
}

.wpcrypto-auth-container .footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--wpcrypto-space-4);
    margin-bottom: var(--wpcrypto-space-6);
    flex-wrap: wrap;
    font-size: 0.875rem;
}

.wpcrypto-auth-container .link-primary,
.wpcrypto-auth-container .link-secondary {
    display: flex;
    align-items: center;
    gap: var(--wpcrypto-space-2);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    padding: var(--wpcrypto-space-1) var(--wpcrypto-space-2);
    border-radius: var(--wpcrypto-radius-sm);
}

.wpcrypto-auth-container .link-primary {
    color: var(--wpcrypto-primary);
}

.wpcrypto-auth-container .link-primary:hover {
    color: var(--wpcrypto-primary-dark);
    background: rgba(102, 126, 234, 0.1);
}

.wpcrypto-auth-container .link-secondary {
    color: var(--wpcrypto-gray-600);
}

.wpcrypto-auth-container .link-secondary:hover {
    color: var(--wpcrypto-gray-800);
    background: var(--wpcrypto-gray-100);
}

.wpcrypto-auth-container .link-primary:focus,
.wpcrypto-auth-container .link-secondary:focus {
    outline: 2px solid var(--wpcrypto-primary);
    outline-offset: 2px;
}

.wpcrypto-auth-container .link-separator {
    color: var(--wpcrypto-gray-300);
    font-weight: 300;
}

/* Animations */
@keyframes wpcrypto-slideInDown {
    from {
        opacity: 0;
        transform: translateY(-1rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes wpcrypto-fadeIn {
    from {
        opacity: 0;
        transform: translateY(0.5rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes wpcrypto-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Breakpoints */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 36rem) {
    .wpcrypto-auth-wrapper {
        width: 100%;
        padding: 0 var(--wpcrypto-space-3);
    }
    
    .wpcrypto-auth-container {
        padding: var(--wpcrypto-space-8);
        width: 100%;
    }
    
    .wpcrypto-header .main-title {
        font-size: 2.25rem;
    }
    
    .wpcrypto-header .subtitle {
        font-size: 1.125rem;
    }
    
    .wpcrypto-auth-container .footer-links {
        gap: var(--wpcrypto-space-6);
    }
    
    .wpcrypto-auth-container .password-requirements {
        flex-direction: row;
        gap: var(--wpcrypto-space-4);
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 48rem) {
    .wpcrypto-auth-container {
        max-width: 32rem;
        padding: var(--wpcrypto-space-10);
    }
    
    .wpcrypto-auth-container .form-fields {
        gap: var(--wpcrypto-space-8);
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 62rem) {
    .wpcrypto-auth-wrapper {
        padding: 0 var(--wpcrypto-space-4);
    }
    
    .wpcrypto-auth-container {
        max-width: 36rem;
        padding: var(--wpcrypto-space-12);
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 35.99rem) {
    .wpcrypto-auth-wrapper {
        padding: 0 3px;
        min-height: 100vh;
        align-items: flex-start;
        width: 99%;
    }
    
    .wpcrypto-auth-container {
        margin-top: var(--wpcrypto-space-4);
        margin-bottom: var(--wpcrypto-space-4);
        padding: var(--wpcrypto-space-3);
        max-width: none;
        width: 99%;
    }
    
    .wpcrypto-header .main-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .wpcrypto-header .subtitle {
        font-size: 0.875rem;
    }
    
    .wpcrypto-auth-container .form-input {
        font-size: 1rem;
        padding: var(--wpcrypto-space-4) var(--wpcrypto-space-12);
    }
    
    .wpcrypto-auth-container .form-fields {
        gap: var(--wpcrypto-space-5);
    }
    
    .wpcrypto-auth-container .password-requirements {
        gap: var(--wpcrypto-space-2);
    }
    
    .wpcrypto-auth-container .footer-links {
        flex-direction: column;
        gap: var(--wpcrypto-space-3);
    }
    
    .wpcrypto-auth-container .link-separator {
        display: none;
    }
    
    .wpcrypto-auth-container .step-indicator {
        padding: 0;
    }
    
    .wpcrypto-auth-container .step {
        min-width: 3rem;
    }
    
    .wpcrypto-auth-container .step-number {
        width: 2rem;
        height: 2rem;
    }
    
    .wpcrypto-auth-container .step-line {
        min-width: 1rem;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .wpcrypto-auth-container .form-input,
    .wpcrypto-auth-container .submit-btn {
        min-height: 2.75rem;
    }
    
    .wpcrypto-auth-container .submit-btn:hover {
        transform: none;
    }
    
    .wpcrypto-auth-container .resend-btn {
        padding: var(--wpcrypto-space-3);
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .wpcrypto-auth-wrapper {
        --wpcrypto-gray-200: #000000;
        --wpcrypto-gray-300: #000000;
        --wpcrypto-primary: #0000ff;
        --wpcrypto-success: #008000;
        --wpcrypto-error: #ff0000;
    }
    
    .wpcrypto-auth-container .form-input {
        border-width: 3px;
    }
    
    .wpcrypto-auth-container .submit-btn {
        border: 3px solid var(--wpcrypto-white);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .wpcrypto-auth-container *,
    .wpcrypto-auth-container *::before,
    .wpcrypto-auth-container *::after {
        animation-duration: 0.01ms;
        animation-iteration-count: 1;
        transition-duration: 0.01ms;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .wpcrypto-auth-wrapper {
        --wpcrypto-white: #1e293b;
        --wpcrypto-gray-50: #0f172a;
        --wpcrypto-gray-100: #1e293b;
        --wpcrypto-gray-200: #334155;
        --wpcrypto-gray-300: #475569;
        --wpcrypto-gray-400: #64748b;
        --wpcrypto-gray-500: #94a3b8;
        --wpcrypto-gray-600: #cbd5e1;
        --wpcrypto-gray-700: #e2e8f0;
        --wpcrypto-gray-800: #f1f5f9;
        --wpcrypto-gray-900: #f8fafc;
        --wpcrypto-success-light: rgba(16, 185, 129, 0.1);
        --wpcrypto-error-light: rgba(239, 68, 68, 0.1);
        --wpcrypto-warning-light: rgba(245, 158, 11, 0.1);
        --wpcrypto-info-light: rgba(59, 130, 246, 0.1);
    }
}