/* === ULTRA-PREMIUM SELLER LOGIN STYLES === */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Sora:wght@700;800;900&display=swap");

/* Root Variables - Unique SRL Prefix */
:root {
    --srl-primary-orange: #ff7a00;
    --srl-orange-light: #ff9533;
    --srl-orange-dark: #e66a00;
    --srl-orange-glow: rgba(255, 122, 0, 0.4);
    --srl-white: #ffffff;
    --srl-cream: #f5e7da;
    --srl-dark: #0d0d0d;
    --srl-dark-light: #1a1a1a;
    --srl-dark-medium: #222222;
    --srl-dark-card: #181818;
    --srl-success: #10b981;
    --srl-error: #ef4444;
    --srl-gradient-primary: linear-gradient(135deg, #ff7a00, #ff9533);
    --srl-gradient-secondary: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    --srl-gradient-glass: linear-gradient(135deg, rgba(255, 122, 0, 0.08), rgba(255, 149, 51, 0.04));
    --srl-gradient-card: linear-gradient(145deg, rgba(24, 24, 24, 0.95), rgba(34, 34, 34, 0.85));
    --srl-gradient-mesh: radial-gradient(circle at 20% 50%, rgba(255, 122, 0, 0.12) 0%, transparent 50%),
                         radial-gradient(circle at 80% 80%, rgba(255, 149, 51, 0.08) 0%, transparent 50%);
    --srl-shadow-primary: 0 25px 80px rgba(255, 122, 0, 0.35);
    --srl-shadow-secondary: 0 15px 50px rgba(0, 0, 0, 0.6);
    --srl-shadow-card: 0 20px 60px rgba(0, 0, 0, 0.4);
    --srl-shadow-intense: 0 35px 120px rgba(255, 122, 0, 0.5);
    --srl-blur-glass: blur(25px);
    --srl-border-radius: 20px;
    --srl-transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --srl-transition-fast: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Wrapper */
.srl-page-wrapper {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0a0a, #1a1a1a, #0f0f0f);
    color: var(--srl-white);
    font-family: "Inter", sans-serif;
    overflow-x: hidden;
    display: flex;
    align-items: center;
    padding: clamp(40px, 8vh, 80px) 0;
}

/* Advanced Particle System */
.srl-particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.srl-particle-layer {
    position: absolute;
    width: 100%;
    height: 100%;
}

.srl-particles-orange .srl-particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, var(--srl-primary-orange), transparent);
    opacity: 0.3;
    animation: srlFloatOrbit linear infinite;
}

.srl-particles-white .srl-particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, var(--srl-cream), transparent);
    opacity: 0.25;
    animation: srlFloatOrbit linear infinite reverse;
}

.srl-particles-glow .srl-glow-orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 122, 0, 0.15), transparent);
    filter: blur(60px);
    animation: srlPulse 5s ease-in-out infinite;
}

/* Particle Definitions */
.srl-particles-orange .srl-particle-1 { width: 3px; height: 3px; left: 10%; top: 20%; animation-duration: 22s; }
.srl-particles-orange .srl-particle-2 { width: 5px; height: 5px; left: 80%; top: 25%; animation-duration: 26s; animation-delay: -4s; }
.srl-particles-orange .srl-particle-3 { width: 2px; height: 2px; left: 50%; top: 60%; animation-duration: 20s; animation-delay: -8s; }
.srl-particles-orange .srl-particle-4 { width: 4px; height: 4px; left: 30%; top: 80%; animation-duration: 24s; animation-delay: -12s; }
.srl-particles-orange .srl-particle-5 { width: 3px; height: 3px; left: 90%; top: 50%; animation-duration: 18s; animation-delay: -16s; }
.srl-particles-orange .srl-particle-6 { width: 6px; height: 6px; left: 20%; top: 45%; animation-duration: 28s; animation-delay: -3s; }

.srl-particles-white .srl-particle-1 { width: 2px; height: 2px; left: 25%; top: 35%; animation-duration: 24s; animation-delay: -2s; }
.srl-particles-white .srl-particle-2 { width: 4px; height: 4px; left: 75%; top: 15%; animation-duration: 20s; animation-delay: -6s; }
.srl-particles-white .srl-particle-3 { width: 3px; height: 3px; left: 45%; top: 70%; animation-duration: 26s; animation-delay: -10s; }
.srl-particles-white .srl-particle-4 { width: 5px; height: 5px; left: 85%; top: 75%; animation-duration: 22s; animation-delay: -14s; }

.srl-particles-glow .srl-glow-1 { width: 350px; height: 350px; left: 20%; top: 30%; }
.srl-particles-glow .srl-glow-2 { width: 450px; height: 450px; left: 75%; top: 60%; animation-delay: -3s; }

/* Gradient Overlay */
.srl-gradient-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--srl-gradient-mesh),
                radial-gradient(circle at 50% 50%, rgba(255, 122, 0, 0.05), transparent);
    pointer-events: none;
    z-index: 1;
    animation: srlGradientShift 15s ease-in-out infinite;
}

/* Container */
.srl-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(15px, 3vw, 20px);
}

/* Content Wrapper */
.srl-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 8vw, 80px);
    align-items: center;
    min-height: clamp(600px, 80vh, 800px);
}

/* ======================== LEFT SIDE - BRANDING ======================== */

.srl-branding-section {
    padding: clamp(30px, 5vw, 50px);
}

.srl-branding-content {
    max-width: 600px;
}

.srl-brand-icon {
    width: clamp(80px, 15vw, 120px);
    height: clamp(80px, 15vw, 120px);
    background: var(--srl-gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    /* margin-left: auto; */
    /* margin-right: auto; */
    box-shadow: var(--srl-shadow-intense);
    animation: srlFloat 3s ease-in-out infinite;
}

.srl-brand-icon i {
    font-size: clamp(2.5rem, 7vw, 4rem);
    color: var(--srl-white);
}

.srl-brand-title {
    font-size: clamp(2.2rem, 5vw + 1rem, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--srl-white);
}

.srl-highlight {
    background: var(--srl-gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: srlShimmer 3s ease-in-out infinite;
}

.srl-brand-subtitle {
    font-size: clamp(1rem, 2vw + 0.5rem, 1.25rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: clamp(40px, 7vh, 60px);
}

/* Stats Grid */
.srl-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(20px, 4vw, 30px);
    margin-bottom: clamp(40px, 7vh, 60px);
}

.srl-stat-box {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: clamp(20px, 4vw, 30px);
    background: rgba(24, 24, 24, 0.6);
    backdrop-filter: var(--srl-blur-glass);
    border-radius: 18px;
    border: 2px solid rgba(255, 122, 0, 0.2);
    transition: var(--srl-transition);
}

.srl-stat-box:hover {
    transform: translateY(-8px);
    border-color: var(--srl-primary-orange);
    box-shadow: var(--srl-shadow-primary);
}

.srl-stat-icon {
    width: clamp(50px, 8vw, 65px);
    height: clamp(50px, 8vw, 65px);
    background: var(--srl-gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--srl-white);
    flex-shrink: 0;
}

.srl-stat-content {
    display: flex;
    flex-direction: column;
}

.srl-stat-number {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 900;
    background: var(--srl-gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 5px;
}

.srl-stat-label {
    font-size: clamp(0.75rem, 1.5vw, 0.85rem);
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Features List */
.srl-features-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.srl-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: clamp(0.95rem, 1.8vw, 1.05rem);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.srl-feature-item i {
    color: var(--srl-primary-orange);
    font-size: 1.2em;
    flex-shrink: 0;
}

/* ======================== RIGHT SIDE - LOGIN FORM ======================== */

.srl-form-section {
    padding: clamp(20px, 4vw, 30px);
}

.srl-form-card {
    border-radius: 25px;
    overflow: hidden;
    border: 2px solid rgba(255, 122, 0, 0.2);
    max-width: 550px;
    margin: 0 auto;
}

.srl-glass-morphism {
    background: var(--srl-gradient-card);
    backdrop-filter: var(--srl-blur-glass);
    box-shadow: var(--srl-shadow-card);
}

/* Card Header */
.srl-card-header {
    background: var(--srl-gradient-primary);
    padding: clamp(25px, 6vh, 50px) clamp(15px, 4vw, 40px);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.srl-card-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: srlRotate 20s linear infinite;
}

.srl-header-icon {
    width: clamp(70px, 12vw, 90px);
    height: clamp(70px, 12vw, 90px);
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
    animation: srlBounce 2s ease-in-out infinite;
}

.srl-header-icon i {
    font-size: clamp(2rem, 5vw, 2.8rem);
    color: var(--srl-white);
}

.srl-card-title {
    font-size: clamp(1.8rem, 4vw + 0.5rem, 2.5rem);
    font-weight: 800;
    color: var(--srl-white);
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.srl-card-subtitle {
    font-size: clamp(0.9rem, 1.8vw + 0.3rem, 1rem);
    color: rgba(255, 255, 255, 0.95);
    position: relative;
    z-index: 2;
}

/* Card Body */
.srl-card-body {
    padding: clamp(35px, 6vh, 50px) clamp(25px, 4vw, 40px);
}

/* Alerts */
.srl-alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    font-size: 0.95rem;
    font-weight: 500;
}

.srl-alert i {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.srl-alert-danger {
    background: rgba(239, 68, 68, 0.1);
    border: 2px solid rgba(239, 68, 68, 0.4);
    color: #ff6b6b;
}

.srl-alert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 2px solid rgba(16, 185, 129, 0.4);
    color: #10b981;
}

/* Form */
.srl-form {
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 4vh, 25px);
}

.srl-form-group {
    position: relative;
}

.srl-form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: clamp(0.9rem, 1.6vw + 0.3rem, 1rem);
    font-weight: 700;
    color: var(--srl-white);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.srl-form-label i {
    color: var(--srl-primary-orange);
    font-size: 1em;
}

.srl-required {
    color: var(--srl-primary-orange);
    margin-left: 3px;
}

/* Input Wrapper */
.srl-input-wrapper {
    position: relative;
}

.srl-input-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--srl-gradient-primary);
    transition: width 0.4s ease;
    border-radius: 0 0 12px 12px;
}

.srl-input-wrapper.focused .srl-input-border {
    width: 100%;
}

/* Form Input */
.srl-form-input {
    width: 100%;
    padding: clamp(14px, 2.5vh, 18px) clamp(18px, 3vw, 22px);
    background: rgba(24, 24, 24, 0.8);
    border: 2px solid rgba(255, 122, 0, 0.25);
    border-radius: 12px;
    color: var(--srl-white);
    font-size: clamp(0.95rem, 1.8vw, 1.05rem);
    font-weight: 500;
    font-family: "Inter", sans-serif;
    transition: var(--srl-transition);
}

.srl-form-input:focus {
    outline: none;
    border-color: var(--srl-primary-orange);
    box-shadow: 0 0 30px rgba(255, 122, 0, 0.4), 0 5px 25px rgba(0, 0, 0, 0.3);
    background: rgba(24, 24, 24, 1);
    transform: translateY(-2px);
}

.srl-form-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.srl-form-input.srl-invalid {
    border-color: var(--srl-error);
    animation: srlShake 0.3s ease-in-out;
}

/* Password Wrapper */
.srl-password-wrapper {
    position: relative;
}

.srl-password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 122, 0, 0.1);
    border: 2px solid rgba(255, 122, 0, 0.3);
    border-radius: 8px;
    color: var(--srl-primary-orange);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--srl-transition-fast);
    z-index: 3;
}

.srl-password-toggle:hover {
    background: rgba(255, 122, 0, 0.2);
    border-color: var(--srl-primary-orange);
    transform: translateY(-50%) scale(1.05);
}

.srl-password-toggle i {
    font-size: 1rem;
}

/* Error Message */
.srl-error-message {
    display: block;
    margin-top: 8px;
    font-size: 0.85rem;
    color: var(--srl-error);
    font-weight: 500;
    animation: srlFadeIn 0.3s ease;
}

/* Form Row */
.srl-form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

/* Checkbox */
.srl-checkbox-wrapper {
    display: flex;
    align-items: center;
}

.srl-checkbox {
    display: none;
}

.srl-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    margin: 0;
}

.srl-checkbox-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border: 2px solid rgba(255, 122, 0, 0.5);
    border-radius: 6px;
    background: rgba(24, 24, 24, 0.8);
    transition: var(--srl-transition-fast);
    flex-shrink: 0;
}

.srl-checkbox-box i {
    color: transparent;
    font-size: 0.7rem;
    transition: var(--srl-transition-fast);
}

.srl-checkbox:checked + .srl-checkbox-label .srl-checkbox-box {
    background: var(--srl-gradient-primary);
    border-color: var(--srl-primary-orange);
}

.srl-checkbox:checked + .srl-checkbox-label .srl-checkbox-box i {
    color: var(--srl-white);
}

.srl-checkbox-text {
    font-size: clamp(0.9rem, 1.6vw, 0.95rem);
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Forgot Link */
.srl-forgot-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: clamp(0.9rem, 1.6vw, 0.95rem);
    color: var(--srl-primary-orange);
    text-decoration: none;
    font-weight: 600;
    transition: var(--srl-transition-fast);
    position: relative;
}

.srl-forgot-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--srl-gradient-primary);
    transition: width 0.3s ease;
}

.srl-forgot-link:hover {
    color: var(--srl-orange-light);
}

.srl-forgot-link:hover::after {
    width: 100%;
}

/* Form Actions */
.srl-form-actions {
    margin-top: clamp(10px, 3vh, 15px);
}

.srl-btn-primary {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(10px, 3vh, 20px) clamp(25px, 6vw, 28px);
    background: var(--srl-gradient-primary);
    color: var(--srl-white);
    border: none;
    border-radius: 14px;
    font-size: clamp(1rem, 2vw, 1.15rem);
    font-weight: 700;
    cursor: pointer;
    transition: var(--srl-transition);
    overflow: hidden;
    box-shadow: var(--srl-shadow-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.srl-btn-primary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 40px 120px rgba(255, 122, 0, 0.5);
}

.srl-btn-primary:active {
    transform: translateY(-2px) scale(0.98);
}

.srl-btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.srl-btn-text {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.srl-btn-text i {
    font-size: 1.2em;
}

.srl-btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: srlShine 3s ease-in-out infinite;
}

/* Card Footer */
.srl-card-footer {
    padding: clamp(20px, 4vh, 30px) clamp(25px, 4vw, 40px);
    background: rgba(24, 24, 24, 0.5);
    border-top: 1px solid rgba(255, 122, 0, 0.2);
    text-align: center;
}

.srl-footer-text {
    font-size: clamp(0.9rem, 1.7vw, 1rem);
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.srl-footer-link {
    color: var(--srl-primary-orange);
    text-decoration: none;
    font-weight: 700;
    transition: var(--srl-transition-fast);
    position: relative;
}

.srl-footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--srl-gradient-primary);
    transition: width 0.3s ease;
}

.srl-footer-link:hover {
    color: var(--srl-orange-light);
}

.srl-footer-link:hover::after {
    width: 100%;
}

/* Help Card */
.srl-help-card {
    margin-top: clamp(25px, 5vh, 35px);
    padding: clamp(20px, 4vw, 30px);
    border-radius: 18px;
    border: 2px solid rgba(255, 122, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    transition: var(--srl-transition);
}

.srl-help-card:hover {
    border-color: var(--srl-primary-orange);
    box-shadow: var(--srl-shadow-primary);
    transform: translateY(-5px);
}

.srl-help-icon {
    width: clamp(50px, 8vw, 65px);
    height: clamp(50px, 8vw, 65px);
    background: var(--srl-gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--srl-white);
    flex-shrink: 0;
}

.srl-help-content {
    flex: 1;
    text-align: left;
}

.srl-help-title {
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 700;
    color: var(--srl-white);
    margin-bottom: 5px;
}

.srl-help-text {
    font-size: clamp(0.85rem, 1.5vw, 0.9rem);
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 10px;
}

.srl-help-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: clamp(0.9rem, 1.6vw, 1rem);
    color: var(--srl-primary-orange);
    text-decoration: none;
    font-weight: 600;
    transition: var(--srl-transition-fast);
}

.srl-help-link:hover {
    color: var(--srl-orange-light);
}

/* Keyframe Animations */
@keyframes srlFloatOrbit {
    0% { transform: rotate(0deg) translateX(100px) rotate(0deg); opacity: 0.3; }
    50% { opacity: 0.7; }
    100% { transform: rotate(360deg) translateX(100px) rotate(-360deg); opacity: 0.3; }
}

@keyframes srlPulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.15); }
}

@keyframes srlRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes srlFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes srlFadeOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-10px); }
}

@keyframes srlGlowPulse {
    0%, 100% { box-shadow: 0 0 30px var(--srl-orange-glow); }
    50% { box-shadow: 0 0 50px rgba(255, 122, 0, 0.7); }
}

@keyframes srlShimmer {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2); }
}

@keyframes srlBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes srlFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-15px) scale(1.05); }
}

@keyframes srlShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

@keyframes srlShine {
    0% { left: -100%; }
    50%, 100% { left: 200%; }
}

@keyframes srlGradientShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* ======================== RESPONSIVE BREAKPOINTS ======================== */

/* Large Tablets and Small Desktops (1024px - 1200px) */
@media screen and (max-width: 1200px) {
    .srl-content-wrapper {
        gap: clamp(30px, 6vw, 60px);
    }
}

/* Tablets (768px - 1024px) */
@media screen and (max-width: 1024px) {
    .srl-content-wrapper {
        grid-template-columns: 1fr;
        gap: clamp(40px, 7vh, 60px);
    }
    
    .srl-branding-section {
        text-align: center;
        order: 2;
    }
    
    .srl-branding-content {
        max-width: 100%;
    }
    
    .srl-brand-icon {
        margin-left: auto;
        margin-right: auto;
    }
    
    .srl-stats-grid {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .srl-features-list {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .srl-form-section {
        order: 1;
    }
}

/* Mobile Landscape (640px - 768px) */
@media screen and (max-width: 768px) {
    .srl-page-wrapper {
        padding: clamp(30px, 6vh, 60px) 0;
    }
    
    .srl-container {
        padding: 0 20px;
    }
    
    .srl-stats-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
    }
    
    .srl-card-header {
        padding: clamp(30px, 5vh, 40px) clamp(20px, 3vw, 30px);
    }
    
    .srl-card-body {
        padding: clamp(30px, 5vh, 40px) clamp(20px, 3vw, 30px);
    }
    
    .srl-form-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

/* Mobile Portrait (480px - 640px) */
@media screen and (max-width: 640px) {
    .srl-page-wrapper {
        padding: clamp(25px, 5vh, 50px) 0;
    }
    
    .srl-container {
        padding: 0 15px;
    }
    
    .srl-branding-section {
        padding: clamp(20px, 4vw, 30px);
    }
    
    .srl-form-section {
        padding: clamp(15px, 3vw, 25px);
    }
    
    .srl-help-card {
        flex-direction: column;
        text-align: center;
    }
    
    .srl-help-content {
        text-align: center;
    }
}

/* Small Mobile (< 480px) */
@media screen and (max-width: 480px) {
    .srl-page-wrapper {
        padding: 20px 0;
    }
    
    .srl-card-header {
        padding: 25px 15px;
    }
    
    .srl-card-body {
        padding: 25px 15px;
    }
    
    .srl-card-footer {
        padding: 20px 15px;
    }
    
    .srl-stat-box {
        flex-direction: column;
        text-align: center;
    }
    
    .srl-password-toggle {
        width: 35px;
        height: 35px;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .srl-stat-box:hover,
    .srl-btn-primary:hover,
    .srl-help-card:hover {
        transform: none;
    }
    
    .srl-stat-box:active {
        transform: scale(0.98);
    }
    
    .srl-btn-primary:active {
        transform: scale(0.97);
    }
    
    .srl-form-input {
        min-height: 48px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .srl-btn-primary {
        min-height: 56px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Custom Scrollbar */
.srl-page-wrapper::-webkit-scrollbar {
    width: 10px;
}

.srl-page-wrapper::-webkit-scrollbar-track {
    background: var(--srl-dark);
}

.srl-page-wrapper::-webkit-scrollbar-thumb {
    background: var(--srl-gradient-primary);
    border-radius: 5px;
}

.srl-page-wrapper::-webkit-scrollbar-thumb:hover {
    background: var(--srl-orange-light);
}

/* Selection */
::selection {
    background: var(--srl-primary-orange);
    color: var(--srl-white);
}

::-moz-selection {
    background: var(--srl-primary-orange);
    color: var(--srl-white);
}

/* Focus Styles */
.srl-form-input:focus-visible,
.srl-btn-primary:focus-visible,
.srl-password-toggle:focus-visible,
.srl-checkbox:focus-visible + .srl-checkbox-label .srl-checkbox-box {
    outline: 3px solid var(--srl-primary-orange);
    outline-offset: 3px;
}

/* Print Styles */
@media print {
    .srl-particles-container,
    .srl-gradient-overlay,
    .srl-branding-section,
    .srl-help-card {
        display: none !important;
    }
    
    .srl-page-wrapper {
        background: white !important;
        color: black !important;
    }
    
    .srl-content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .srl-form-card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
}

/* Ultra-wide screens */
@media screen and (min-width: 1600px) {
    .srl-container {
        max-width: 1600px;
    }
}

/* Accessibility - High Contrast */
@media (prefers-contrast: high) {
    .srl-form-input,
    .srl-password-toggle {
        border-width: 3px;
    }
    
    .srl-btn-primary {
        border: 2px solid var(--srl-white);
    }
}

/* Reduced Transparency */
@media (prefers-reduced-transparency: reduce) {
    .srl-glass-morphism {
        backdrop-filter: none;
    }
    
    .srl-form-input {
        background: rgba(24, 24, 24, 1);
    }
}