/* =====================================================================
   UPLOADIFY — Enterprise Design System
   ===================================================================== */

:root {
    --bg:           #04060d;
    --bg-2:         #0a0e1a;
    --surface:      rgba(255, 255, 255, 0.04);
    --surface-2:    rgba(255, 255, 255, 0.07);
    --border:       rgba(255, 255, 255, 0.08);
    --border-2:     rgba(255, 255, 255, 0.14);
    --text:         #e9eef7;
    --text-mute:    #8b94a8;
    --text-dim:     #5a6478;

    --primary:      #3b82f6;
    --primary-2:    #2563eb;
    --primary-3:    #1d4ed8;
    --accent:       #00d2ff;
    --teal:         #00f2c4;
    --pink:         #ff6b9d;
    --warn:         #ffb341;
    --danger:       #ff5c6c;

    --radius-sm:    8px;
    --radius:       14px;
    --radius-lg:    20px;
    --radius-xl:    28px;

    --shadow-sm:    0 1px 2px rgba(0,0,0,.4);
    --shadow:       0 8px 24px rgba(0,0,0,.45);
    --shadow-lg:    0 30px 60px rgba(0,0,0,.55);

    --grad-primary: linear-gradient(135deg, #3b82f6 0%, #00d2ff 100%);
    --grad-text:    linear-gradient(180deg, #ffffff 0%, #b8c2d4 100%);

    --easing:       cubic-bezier(.2, .9, .3, 1);
}

/* Reset / base ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body.es-page {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    /* Override OS accent color for ALL form controls site-wide */
    accent-color: #3b82f6;
}

/* Defensive button reset — prevents OS / Edge / Windows accent theme from
   leaking into our custom buttons via default focus rings & active fills */
.es-page button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: transparent;
    border: 0;
    color: inherit;
    font-family: inherit;
}
.es-page button:focus { outline: none; }

img, svg, video { display: block; max-width: 100%; }
a  { color: var(--accent); text-decoration: none; transition: color .2s var(--easing); }
a:hover { color: var(--primary-2); }

h1, h2, h3, h4, h5, h6 { margin: 0 0 .4em; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); font-weight: 800; letter-spacing: -0.015em; }
h3 { font-size: 1.05rem; }
h4 { font-size: 0.95rem; }
p  { margin: 0 0 0.8em; color: var(--text-mute); font-size: 0.92rem; }

code, pre { font-family: 'JetBrains Mono', 'SF Mono', Menlo, monospace; font-size: 13px; }

/* Backgrounds -------------------------------------------------------- */
.es-bg-glow {
    position: fixed; inset: 0; z-index: -2; pointer-events: none;
    background:
        radial-gradient(800px 500px at 18% -10%, rgba(46, 123, 255, .25), transparent 60%),
        radial-gradient(700px 600px at 92% 8%,   rgba(0, 210, 255, .18), transparent 60%),
        radial-gradient(900px 700px at 50% 110%, rgba(124, 92, 255, .12), transparent 60%),
        var(--bg);
}
.es-bg-grid {
    position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}

/* Toasts ------------------------------------------------------------- */
.es-toast {
    max-width: 1100px; margin: 24px auto 0; padding: 14px 18px;
    border-radius: var(--radius); border: 1px solid;
    backdrop-filter: blur(12px);
    font-size: 14px;
}
.es-toast ul { margin: 6px 0 0; padding-left: 20px; }
.es-toast-error   { background: rgba(255, 92, 108, .08); border-color: rgba(255,92,108,.3); color: #ffd0d6; }
.es-toast-success { background: rgba(0, 242, 196, .08); border-color: rgba(0, 242, 196, .3); color: #b8f7e6; }
.es-toast-info    { background: rgba(0, 210, 255, .08); border-color: rgba(0, 210, 255, .3); color: #cdefff; }

/* Navbar ------------------------------------------------------------- */
.es-nav {
    position: sticky; top: 0; z-index: 50;
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    background: rgba(4, 6, 13, .55);
    border-bottom: 1px solid var(--border);
}
.es-nav-inner {
    max-width: 1240px; margin: 0 auto; padding: 12px 24px;
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.es-logo {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--text); font-weight: 800; font-size: 13px; letter-spacing: 1.1px;
}
.es-logo svg { width: 22px; height: 22px; }
.es-logo-dot { color: var(--accent); }
.es-logo:hover { color: var(--text); }

.es-nav-links { display: flex; align-items: center; gap: 22px; }
.es-nav-links a {
    color: var(--text-mute); font-weight: 600; font-size: 13px;
    transition: color .15s var(--easing);
}
.es-nav-links a:hover, .es-nav-links a.is-active { color: var(--text); }
.es-nav-user {
    color: var(--text-mute); font-size: 13px; padding: 6px 12px;
    border: 1px solid var(--border); border-radius: 999px;
}
.es-nav-toggle {
    display: none; width: 40px; height: 40px; padding: 8px;
    background: transparent; border: 1px solid var(--border); border-radius: 10px; cursor: pointer;
    flex-direction: column; justify-content: space-between;
}
.es-nav-toggle span { display: block; width: 100%; height: 2px; background: var(--text); border-radius: 2px; }

/* Buttons ------------------------------------------------------------ */
.es-page .es-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    padding: 9px 16px; border-radius: 10px;
    font-family: inherit; font-weight: 700; font-size: 13px; letter-spacing: -0.005em;
    border: 1px solid transparent; cursor: pointer; text-decoration: none;
    transition: transform .15s var(--easing), box-shadow .2s var(--easing), background-color .2s var(--easing), border-color .2s var(--easing);
    white-space: nowrap; user-select: none;
    -webkit-appearance: none; appearance: none;
    background-image: none;
    outline: none;
}
.es-page .es-btn:disabled { opacity: .5; cursor: not-allowed; }
.es-page .es-btn:focus,
.es-page .es-btn:focus-visible { outline: none; }
.es-page .es-btn-primary,
.es-page .es-btn-primary:link,
.es-page .es-btn-primary:visited {
    background-color: #3b82f6 !important;
    background-image: none !important;
    color: #fff !important;
    border-color: transparent !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, .35);
}
.es-page .es-btn-primary:hover {
    background-color: #2563eb !important;
    color: #fff !important;
    box-shadow: 0 6px 18px rgba(59, 130, 246, .5);
    transform: translateY(-1px);
}
.es-page .es-btn-primary:active {
    background-color: #1d4ed8 !important;
    color: #fff !important;
    transform: translateY(0); transition-duration: .05s;
}
.es-page .es-btn-primary:focus,
.es-page .es-btn-primary:focus-visible {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, .35), 0 4px 12px rgba(59, 130, 246, .35) !important;
}
.es-btn-outline {
    background: transparent; color: var(--text); border-color: var(--border-2);
}
.es-btn-outline:hover { background: var(--surface-2); border-color: var(--text-mute); color: var(--text); }
.es-btn-ghost {
    background: var(--surface); color: var(--text); border-color: var(--border);
}
.es-btn-ghost:hover { background: var(--surface-2); color: var(--text); }
.es-btn-danger {
    background: rgba(255,92,108,.1); color: #ffb0b8; border-color: rgba(255,92,108,.3);
}
.es-btn-danger:hover { background: rgba(255,92,108,.2); color: #fff; }
.es-btn-lg     { padding: 12px 22px; font-size: 14px; border-radius: 12px; }
.es-btn-sm     { padding: 6px 10px; font-size: 11px; border-radius: 8px; }
.es-btn-block  { width: 100%; }

/* Main shell --------------------------------------------------------- */
.es-main { min-height: calc(100vh - 80px); padding-bottom: 80px; }

/* Hero --------------------------------------------------------------- */
.es-hero {
    max-width: 980px; margin: 0 auto; padding: 38px 24px 32px;
    text-align: center;
}
.es-hero-badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 12px; margin-bottom: 18px;
    border: 1px solid var(--border-2); border-radius: 999px;
    background: var(--surface); font-size: 11px; color: var(--text-mute);
    font-weight: 600; letter-spacing: 0.4px;
}
.es-pulse {
    width: 8px; height: 8px; border-radius: 50%; background: var(--teal);
    box-shadow: 0 0 0 0 rgba(0, 242, 196, .6); animation: es-pulse 2s infinite;
}
@keyframes es-pulse { 70% { box-shadow: 0 0 0 8px rgba(0, 242, 196, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 242, 196, 0); } }

.es-hero-title {
    font-size: clamp(1.9rem, 4.2vw, 3rem);
    font-weight: 800; letter-spacing: -0.02em; line-height: 1.1;
    background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
    margin-bottom: 12px;
}
.es-hero-icon-inline {
    display: inline-flex; vertical-align: middle;
    margin-right: 10px; transform: translateY(-3px);
    filter: drop-shadow(0 8px 22px rgba(59, 130, 246, .4));
    -webkit-text-fill-color: initial;
}
.es-hero-icon-inline svg { display: inline-block; }
.es-grad {
    background: var(--grad-primary); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.es-hero-sub {
    max-width: 580px; margin: 0 auto 24px; font-size: 0.92rem; color: var(--text-mute);
}

/* Upload zone -------------------------------------------------------- */
.es-upload-zone {
    max-width: 760px; margin: 0 auto;
    border-radius: var(--radius-xl);
    border: 2px dashed var(--border-2);
    background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
    padding: 6px; transition: all .25s var(--easing);
    cursor: pointer; backdrop-filter: blur(8px);
}
.es-upload-zone:hover, .es-upload-zone.is-dragging {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(0,210,255,.08), 0 30px 60px rgba(46,123,255,.2);
    transform: translateY(-2px);
}
.es-upload-inner {
    border-radius: calc(var(--radius-xl) - 6px);
    padding: 60px 30px; text-align: center;
    background: radial-gradient(circle at 50% 0%, rgba(46,123,255,.08), transparent 70%);
}
.es-upload-icon { display: flex; justify-content: center; margin-bottom: 18px; }
.es-upload-icon svg { filter: drop-shadow(0 8px 20px rgba(0,210,255,.35)); }
.es-upload-arrow { animation: es-bob 2s ease-in-out infinite; transform-origin: center; }
@keyframes es-bob { 50% { transform: translateY(-6px); } }
.es-upload-zone h2 { font-size: 1.5rem; margin-bottom: 10px; color: var(--text); }
.es-upload-zone p  { margin-bottom: 22px; }

.es-upload-zone-sm .es-upload-inner { padding: 40px 24px; }
.es-upload-progress { padding: 14px 24px; display: flex; flex-direction: column; gap: 10px; }
.es-upload-status { font-size: 13px; color: var(--text-mute); font-weight: 600; }

.es-trust-row {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
    max-width: 640px; margin: 28px auto 0;
}
.es-trust-row > div {
    display: flex; flex-direction: column; align-items: center;
    padding: 12px 8px; border: 1px solid var(--border); border-radius: 10px;
    background: var(--surface);
}
.es-trust-row strong { font-size: 1.05rem; font-weight: 800; color: var(--text); }
.es-trust-row span { font-size: 10px; color: var(--text-dim); margin-top: 2px; text-transform: uppercase; letter-spacing: 0.8px; }

/* Section heads ------------------------------------------------------ */
.es-section-head { text-align: center; max-width: 660px; margin: 0 auto 32px; }
.es-eyebrow {
    display: inline-block; padding: 3px 10px; margin-bottom: 10px;
    background: rgba(0, 210, 255, .1); color: var(--accent);
    border-radius: 999px; font-size: 10px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1.4px;
}

/* Features ----------------------------------------------------------- */
.es-features { max-width: 1100px; margin: 0 auto; padding: 50px 24px 30px; }
.es-feature-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px;
}
.es-feature-card {
    padding: 20px; border-radius: var(--radius);
    border: 1px solid var(--border); background: var(--surface);
    transition: transform .2s var(--easing), border-color .2s var(--easing);
}
.es-feature-card:hover { transform: translateY(-2px); border-color: var(--border-2); }
.es-feature-icon {
    width: 36px; height: 36px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    background: color-mix(in srgb, var(--c) 15%, transparent);
    color: var(--c); font-size: 16px; margin-bottom: 12px;
    border: 1px solid color-mix(in srgb, var(--c) 30%, transparent);
}
.es-feature-card h3 { color: var(--text); margin-bottom: 6px; font-size: 1rem; }
.es-feature-card p  { font-size: 12.5px; margin: 0; }

/* Flow steps --------------------------------------------------------- */
.es-flow { max-width: 1100px; margin: 0 auto; padding: 30px 24px; }
.es-flow-steps {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px;
    counter-reset: step;
}
.es-step {
    padding: 18px 20px; border-radius: var(--radius);
    background: var(--surface); border: 1px solid var(--border);
    position: relative;
}
.es-step-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; border-radius: 10px;
    background: var(--grad-primary); color: #fff;
    font-weight: 800; font-size: 12px; margin-bottom: 12px;
    box-shadow: 0 6px 14px rgba(46,123,255,.35);
}
.es-step h4 { color: var(--text); margin-bottom: 4px; }
.es-step p  { font-size: 12.5px; margin: 0; }

/* Code demo ---------------------------------------------------------- */
.es-code-demo { max-width: 980px; margin: 0 auto; padding: 60px 28px; }
.es-code-grid {
    background: var(--bg-2); border: 1px solid var(--border);
    border-radius: var(--radius-lg); overflow: hidden;
}
.es-code-tabs {
    display: flex; border-bottom: 1px solid var(--border);
}
.es-code-tabs button {
    padding: 14px 22px; background: transparent; border: 0;
    color: var(--text-mute); font-family: inherit; font-weight: 600;
    cursor: pointer; border-bottom: 2px solid transparent;
}
.es-code-tabs button.is-active { color: var(--text); border-bottom-color: var(--accent); }
.es-code {
    margin: 0; padding: 28px 30px; color: #cfd6e6;
    background: transparent; overflow-x: auto;
    line-height: 1.6;
}

/* CTA banner --------------------------------------------------------- */
.es-cta { max-width: 1180px; margin: 60px auto; padding: 0 28px; }
.es-cta-inner {
    padding: 70px 30px; text-align: center;
    border-radius: var(--radius-xl);
    background: radial-gradient(ellipse at 50% 0%, rgba(46,123,255,.18), transparent 70%), var(--bg-2);
    border: 1px solid var(--border-2);
}
.es-cta-inner h2 { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Auth pages --------------------------------------------------------- */
.es-auth {
    max-width: 1080px; margin: 0 auto; padding: 60px 28px;
    display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 30px;
    align-items: start;
}
.es-auth-narrow { grid-template-columns: minmax(0, 480px); justify-content: center; }
.es-auth-card {
    padding: 40px; border-radius: var(--radius-xl);
    background: var(--surface); border: 1px solid var(--border);
    backdrop-filter: blur(20px); box-shadow: var(--shadow-lg);
}
.es-auth-head { margin-bottom: 28px; }
.es-auth-head h1 { font-size: 2rem; margin-bottom: 6px; }
.es-auth-head p  { font-size: 15px; }
.es-auth-alt { text-align: center; margin-top: 18px; font-size: 14px; color: var(--text-mute); }

.es-auth-side {
    padding: 40px; border-radius: var(--radius-xl);
    background: linear-gradient(180deg, rgba(46,123,255,.08), rgba(46,123,255,.02));
    border: 1px solid var(--border-2);
}
.es-auth-side h3 { color: var(--text); margin-bottom: 18px; }
.es-auth-side ul { list-style: none; padding: 0; margin: 0 0 30px; display: flex; flex-direction: column; gap: 12px; }
.es-auth-side li { display: flex; gap: 10px; color: var(--text-mute); font-size: 14px; }
.es-auth-side li span { color: var(--teal); font-weight: 700; }
.es-quote {
    padding: 18px; border-radius: var(--radius);
    background: var(--surface-2); border: 1px solid var(--border);
}
.es-quote p { color: var(--text); font-style: italic; margin-bottom: 8px; }
.es-quote span { font-size: 12px; color: var(--text-dim); }

/* Forms -------------------------------------------------------------- */
.es-form { display: flex; flex-direction: column; gap: 16px; }
.es-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.es-form-row  { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.es-field { display: flex; flex-direction: column; gap: 8px; }
.es-field span {
    font-size: 12px; font-weight: 700; letter-spacing: 0.6px;
    text-transform: uppercase; color: var(--text-mute);
}
.es-field span strong { color: var(--accent); font-size: 14px; letter-spacing: normal; text-transform: none; }
.es-field input, .es-field select, .es-field textarea {
    padding: 13px 16px; font-family: inherit; font-size: 15px;
    background: rgba(255,255,255,.03);
    border: 1px solid var(--border-2);
    border-radius: 12px; color: var(--text);
    transition: border-color .15s var(--easing), background .15s var(--easing), box-shadow .15s var(--easing);
}
.es-field input::placeholder { color: var(--text-dim); }
.es-field input:focus, .es-field select:focus {
    outline: none; border-color: var(--primary);
    background: rgba(46,123,255,.06);
    box-shadow: 0 0 0 4px rgba(46,123,255,.15);
}

.es-field-captcha { grid-column: span 2; }

.es-checkbox {
    display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text-mute);
    cursor: pointer; user-select: none;
}
.es-checkbox input { accent-color: var(--primary); margin-top: 3px; }
.es-link { font-size: 13px; color: var(--accent); }

/* Plans page --------------------------------------------------------- */
.es-plans-hero { text-align: center; max-width: 720px; margin: 0 auto; padding: 70px 28px 30px; }
.es-plans {
    max-width: 1180px; margin: 0 auto; padding: 0 28px 60px;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px;
}
.es-plan {
    display: flex; flex-direction: column; gap: 22px;
    padding: 36px 30px; border-radius: var(--radius-xl);
    background: var(--surface); border: 1px solid var(--border);
    position: relative; transition: transform .25s var(--easing), border-color .25s var(--easing);
}
.es-plan:hover { transform: translateY(-4px); border-color: var(--border-2); }
.es-plan.is-featured {
    background: linear-gradient(180deg, rgba(46,123,255,.12), rgba(46,123,255,.02));
    border-color: rgba(46,123,255,.4);
    box-shadow: 0 30px 80px rgba(46,123,255,.18);
}
.es-plan.is-current::after {
    content: 'CURRENT'; position: absolute; top: 14px; right: 14px;
    background: rgba(0,242,196,.15); color: var(--teal);
    padding: 4px 10px; border-radius: 999px; font-size: 10px; font-weight: 800; letter-spacing: 1.2px;
}
.es-plan-flag {
    position: absolute; top: -12px; left: 24px;
    padding: 5px 12px; background: var(--grad-primary); color: #fff;
    border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: 1.2px;
    box-shadow: 0 8px 20px rgba(46,123,255,.4);
}
.es-plan h3 { font-size: 1.4rem; color: var(--text); margin-bottom: 4px; }
.es-plan-tag { font-size: 13px; color: var(--text-mute); margin-bottom: 16px; }
.es-plan-price { display: flex; align-items: baseline; gap: 6px; }
.es-plan-amount { font-size: 2.6rem; font-weight: 800; color: var(--text); letter-spacing: -0.02em; }
.es-plan-period { color: var(--text-mute); font-size: 14px; }
.es-plan-features {
    list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px;
    border-top: 1px solid var(--border); padding-top: 22px;
}
.es-plan-features li {
    color: var(--text-mute); font-size: 14px;
    padding-left: 26px; position: relative;
}
.es-plan-features li::before {
    content: ''; position: absolute; left: 0; top: 8px; width: 16px; height: 8px;
    border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal);
    transform: rotate(-45deg);
}
.es-plans-faq { max-width: 980px; margin: 0 auto; padding: 30px 28px 80px; }
.es-faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-top: 30px; }
.es-faq-grid h4 { color: var(--text); margin-bottom: 6px; }
.es-faq-grid p  { font-size: 14px; }

/* Dashboard ---------------------------------------------------------- */
.es-dash { max-width: 1280px; margin: 0 auto; padding: 50px 28px; }
.es-dash-head {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 20px;
    margin-bottom: 40px; flex-wrap: wrap;
}
.es-dash-head h1 { font-size: 2.2rem; margin-top: 8px; }
.es-dash-head p  { margin: 0; }

.es-dash-stats {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px;
    margin-bottom: 24px;
}
.es-stat {
    padding: 22px; border-radius: var(--radius-lg);
    background: var(--surface); border: 1px solid var(--border);
    display: flex; flex-direction: column; gap: 6px;
}
.es-stat-label { font-size: 12px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1.2px; font-weight: 700; }
.es-stat strong { font-size: 1.4rem; color: var(--text); font-weight: 800; }
.es-stat small  { font-size: 12px; color: var(--text-mute); }

.es-meter {
    height: 6px; background: var(--surface-2); border-radius: 999px; overflow: hidden; margin-top: 6px;
}
.es-meter span { display: block; height: 100%; background: var(--grad-primary); border-radius: 999px; transition: width .4s var(--easing); }
.es-meter-thin { height: 4px; }

.es-dash-grid {
    display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; margin-bottom: 18px;
}

.es-card {
    padding: 28px; border-radius: var(--radius-lg);
    background: var(--surface); border: 1px solid var(--border);
}
.es-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; gap: 12px; }
.es-card-head h2 { font-size: 1.2rem; margin: 0; }
.es-pill {
    padding: 4px 12px; border-radius: 999px;
    background: rgba(0,210,255,.1); color: var(--accent);
    font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
}
.es-muted { color: var(--text-mute); font-size: 14px; margin: 0 0 14px; }

.es-key {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 14px; border: 1px solid var(--border-2); border-radius: 12px;
    background: var(--bg-2); margin-bottom: 16px;
}
.es-key code {
    flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    color: var(--accent); font-size: 13px;
}
.es-snippet { margin-top: 10px; }
.es-snippet summary {
    padding: 10px 14px; cursor: pointer;
    background: var(--surface-2); border-radius: 10px;
    font-size: 13px; font-weight: 600; color: var(--text-mute);
    list-style: none;
}
.es-snippet summary::-webkit-details-marker { display: none; }
.es-snippet[open] summary { color: var(--text); }
.es-snippet pre {
    margin: 8px 0 0; padding: 14px; border-radius: 10px;
    background: var(--bg-2); border: 1px solid var(--border);
    overflow-x: auto;
}

/* Files table -------------------------------------------------------- */
.es-card-files { padding: 0; }
.es-card-files .es-card-head { padding: 24px 28px; border-bottom: 1px solid var(--border); }
.es-table-wrap { overflow-x: auto; }
.es-table { width: 100%; border-collapse: collapse; }
.es-table th, .es-table td { padding: 14px 24px; text-align: left; font-size: 14px; }
.es-table th {
    text-transform: uppercase; font-size: 11px; letter-spacing: 1px; color: var(--text-dim);
    border-bottom: 1px solid var(--border); font-weight: 700;
}
.es-table tr + tr td { border-top: 1px solid var(--border); }
.es-table tr:hover td { background: rgba(255,255,255,.02); }
.es-file-cell { display: flex; align-items: center; gap: 12px; }
.es-file-icon { font-size: 22px; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: var(--surface-2); }
.es-file-icon-lg { width: 56px; height: 56px; font-size: 30px; }
.es-file-cell strong { display: block; color: var(--text); font-weight: 600; }
.es-file-cell small  { display: block; color: var(--text-dim); font-size: 11px; }

.es-url-cell {
    display: flex; align-items: center; gap: 6px;
    background: var(--bg-2); padding: 4px 4px 4px 10px; border-radius: 8px;
    border: 1px solid var(--border); min-width: 240px;
}
.es-url-cell input {
    flex: 1; min-width: 0; padding: 6px 0; background: transparent; border: 0; outline: 0;
    color: var(--accent); font-family: 'JetBrains Mono', monospace; font-size: 12px;
}
.es-url-cell-lg input { font-size: 14px; padding: 12px 0; }

.es-empty { padding: 60px 30px; text-align: center; }
.es-empty > div { font-size: 50px; margin-bottom: 14px; }
.es-empty h3 { color: var(--text); margin-bottom: 6px; }

/* File preview ------------------------------------------------------- */
.es-preview { max-width: 900px; margin: 0 auto; padding: 60px 28px; }
.es-preview-card {
    padding: 36px; border-radius: var(--radius-xl);
    background: var(--surface); border: 1px solid var(--border);
}
.es-preview-head { display: flex; align-items: center; gap: 18px; margin-bottom: 30px; }
.es-preview-head h1 { font-size: 1.5rem; margin-bottom: 4px; word-break: break-all; }
.es-preview-head p  { margin: 0; font-size: 14px; }
.es-preview-media {
    width: 100%; max-height: 60vh; object-fit: contain;
    border-radius: var(--radius); background: #000; margin-bottom: 24px;
}
.es-preview-audio { width: 100%; margin-bottom: 24px; }
.es-preview-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.es-preview-actions .es-url-cell { flex: 1; min-width: 240px; }

/* Footer ------------------------------------------------------------- */
.es-footer { border-top: 1px solid var(--border); margin-top: 80px; padding-top: 60px; background: rgba(4,6,13,.6); }
.es-footer-inner {
    max-width: 1280px; margin: 0 auto; padding: 0 28px 40px;
    display: grid; grid-template-columns: 1.4fr 2fr; gap: 50px;
}
.es-footer-brand p { font-size: 14px; color: var(--text-mute); max-width: 260px; }
.es-logo-mini { font-weight: 800; letter-spacing: 1.4px; color: var(--text); display: block; margin-bottom: 8px; }
.es-footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.es-footer-cols h6 { color: var(--text); font-size: 12px; text-transform: uppercase; letter-spacing: 1.4px; margin-bottom: 14px; }
.es-footer-cols a { display: block; color: var(--text-mute); font-size: 14px; margin-bottom: 10px; }
.es-footer-cols a:hover { color: var(--text); }
.es-footer-bottom {
    text-align: center; padding: 20px 28px;
    border-top: 1px solid var(--border); font-size: 13px; color: var(--text-dim);
}

/* Responsive --------------------------------------------------------- */
@media (max-width: 960px) {
    .es-auth, .es-dash-grid, .es-footer-inner { grid-template-columns: 1fr; }
    .es-trust-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
    .es-nav-links { position: fixed; top: 64px; right: 0; left: 0; z-index: 60; padding: 18px 28px; flex-direction: column; align-items: stretch; gap: 14px; background: rgba(4,6,13,.95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
    .es-nav-links.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
    .es-nav-toggle { display: flex; }
    .es-form-grid, .es-field-captcha { grid-template-columns: 1fr; grid-column: span 1; }
    .es-hero { padding: 50px 18px 40px; }
    .es-hero-title { font-size: clamp(2.2rem, 9vw, 3.4rem); }
    .es-upload-inner { padding: 40px 20px; }
    .es-trust-row { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .es-auth-card, .es-card { padding: 24px; }
    .es-dash { padding: 30px 18px; }
    .es-table th, .es-table td { padding: 12px 16px; }
    .es-url-cell { min-width: 0; }
    .es-footer-cols { grid-template-columns: repeat(2, 1fr); }
    .es-cta-inner { padding: 50px 20px; }
}
@media (max-width: 480px) {
    .es-trust-row { grid-template-columns: 1fr 1fr; }
    .es-hero-badge { font-size: 11px; padding: 6px 10px; }
    .es-section-head { margin-bottom: 30px; }
}

/* ===== Hero icon ===== */
.es-hero-icon {
    margin-bottom: 14px;
    filter: drop-shadow(0 12px 28px rgba(0, 210, 255, .35));
    animation: es-bob 4s ease-in-out infinite;
}
.es-hero-icon svg { width: 56px; height: 56px; }
.es-upload-icon-sm svg { width: 38px; height: 38px; }
.es-upload-icon-sm {
    margin-bottom: 6px;
    filter: drop-shadow(0 8px 20px rgba(0, 210, 255, .25));
}

/* ===== 3-Tab Uploader ===== */
.es-uploader {
    max-width: 760px; margin: 0 auto;
    background: rgba(255,255,255,.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(14px);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,.4);
}
.es-uploader-tabs {
    display: flex; gap: 4px; padding: 8px;
    border-bottom: 1px solid var(--border);
    background: rgba(255,255,255,.02);
}
.es-uploader-tabs button {
    flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 16px; font-family: inherit; font-weight: 700; font-size: 14px;
    background: transparent; color: var(--text-mute); border: 0; border-radius: 10px;
    cursor: pointer; transition: background .2s var(--easing), color .2s var(--easing);
}
.es-uploader-tabs button:hover { color: var(--text); }
.es-uploader-tabs button.is-active {
    background: var(--surface-2); color: var(--text);
    box-shadow: inset 0 0 0 1px var(--border-2);
}
.es-uploader-tabs svg { flex-shrink: 0; }
.es-uploader-panel { padding: 0; }
.es-uploader-panel .es-upload-zone { border: 0; box-shadow: none; background: transparent; border-radius: 0; padding: 0; }
.es-uploader-panel .es-upload-zone:hover { transform: none; box-shadow: none; }
.es-upload-zone-flat .es-upload-inner { padding: 50px 30px; }
.es-upload-icon-sm { display: flex; justify-content: center; margin-bottom: 14px; }
.es-upload-icon-sm svg { filter: drop-shadow(0 8px 20px rgba(0,210,255,.35)); }

/* URL row */
.es-url-row {
    display: flex; gap: 10px; max-width: 620px; margin: 0 auto;
}
.es-url-row input {
    flex: 1; padding: 14px 18px; border-radius: 12px;
    background: rgba(255,255,255,.04); border: 1px solid var(--border-2);
    color: var(--text); font-family: inherit; font-size: 15px;
    transition: border-color .15s var(--easing), background .15s var(--easing);
}
.es-url-row input:focus {
    outline: none; border-color: var(--primary);
    background: rgba(46,123,255,.06);
    box-shadow: 0 0 0 4px rgba(46,123,255,.15);
}
.es-url-row input::placeholder { color: var(--text-dim); }

/* Bulk copy textarea */
#es-copy-input {
    width: 100%; max-width: 620px; margin: 0 auto 18px; display: block;
    padding: 16px 18px; border-radius: 14px;
    background: rgba(255,255,255,.04); border: 1px solid var(--border-2);
    color: var(--text); font-family: 'JetBrains Mono', monospace; font-size: 13px;
    resize: vertical; min-height: 120px; box-sizing: border-box;
}
#es-copy-input:focus {
    outline: none; border-color: var(--primary);
    background: rgba(46,123,255,.06);
    box-shadow: 0 0 0 4px rgba(46,123,255,.15);
}
#es-copy-input::placeholder { color: var(--text-dim); }

/* ===== Page Hero (used on Plans, Blog, Make Money) ===== */
.es-page-hero {
    text-align: center; max-width: 760px;
    margin: 0 auto; padding: 60px 24px 30px;
}
.es-page-hero h1 {
    font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1;
    background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
    margin-bottom: 12px;
}
.es-page-hero p { max-width: 540px; margin: 0 auto 18px; font-size: 0.95rem; }

/* ===== Honeypot ===== */
.es-honeypot {
    position: absolute !important; left: -9999px !important;
    width: 1px !important; height: 1px !important;
    overflow: hidden !important; opacity: 0 !important;
    pointer-events: none !important;
}
.es-tos-note {
    text-align: center; font-size: 12px; color: var(--text-dim);
    margin: 12px 0 0;
}

/* ===== Social CTA (Telegram + WhatsApp) ===== */
.es-social-cta { max-width: 980px; margin: 50px auto; padding: 0 28px; }
.es-social-card {
    padding: 50px 30px; border-radius: var(--radius-xl);
    background: linear-gradient(135deg, rgba(46,123,255,.12), rgba(0,210,255,.06));
    border: 1px solid var(--border-2);
    text-align: center; backdrop-filter: blur(14px);
}
.es-social-card h2 {
    font-size: 1.8rem; margin-bottom: 8px; color: var(--text);
    background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.es-social-card > p { margin-bottom: 28px; }
.es-social-buttons {
    display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
    margin-bottom: 22px;
}
.es-social-btn {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 16px 26px; border-radius: 14px;
    font-family: inherit; text-decoration: none;
    color: #fff; font-weight: 700; transition: transform .2s var(--easing), box-shadow .2s var(--easing);
}
.es-social-btn:hover { transform: translateY(-2px); color: #fff; }
.es-social-btn span { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.2; font-size: 12px; opacity: .85; font-weight: 500; }
.es-social-btn span strong { font-size: 16px; font-weight: 800; opacity: 1; }
.es-social-telegram { background: linear-gradient(135deg, #229ED9 0%, #1a87b8 100%); box-shadow: 0 14px 32px rgba(34,158,217,.4); }
.es-social-whatsapp { background: linear-gradient(135deg, #25D366 0%, #1eb854 100%); box-shadow: 0 14px 32px rgba(37,211,102,.4); }
.es-social-note { font-size: 13px; color: var(--text-mute); margin: 0; }

/* ===== Blog ===== */
.es-blog { max-width: 1180px; margin: 0 auto; padding: 0 28px 50px; }
.es-blog-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px;
}
.es-blog-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-lg); overflow: hidden;
    transition: transform .25s var(--easing), border-color .25s var(--easing);
}
.es-blog-card:hover { transform: translateY(-4px); border-color: var(--border-2); }
.es-blog-thumb {
    display: block; width: 100%; aspect-ratio: 16/9;
    background-size: cover; background-position: center;
    background-color: var(--surface-2);
    position: relative;
}
.es-blog-thumb-fallback {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 60px; font-weight: 800; color: rgba(255,255,255,.15);
    background: var(--grad-primary); opacity: .4;
}
.es-blog-body { padding: 24px; }
.es-blog-meta {
    display: flex; gap: 10px; font-size: 11px; text-transform: uppercase;
    letter-spacing: 1.2px; color: var(--text-dim); margin-bottom: 14px;
}
.es-blog-meta a { color: var(--accent); }
.es-blog-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.es-blog-card h3 a { color: var(--text); }
.es-blog-card h3 a:hover { color: var(--accent); }
.es-blog-card p { font-size: 14px; margin-bottom: 14px; }
.es-blog-read { font-size: 13px; font-weight: 700; color: var(--accent); }
.es-blog-empty { text-align: center; padding: 80px 20px; }
.es-blog-empty h3 { color: var(--text); margin-bottom: 8px; }

.es-blog-pagination {
    display: flex; gap: 8px; justify-content: center; margin-top: 50px;
}
.es-blog-pagination .page-numbers,
.es-blog-pagination a, .es-blog-pagination span {
    padding: 8px 14px; border-radius: 10px;
    border: 1px solid var(--border); color: var(--text-mute);
    font-weight: 600; font-size: 14px; text-decoration: none;
}
.es-blog-pagination .current { background: var(--primary); color: #fff; border-color: var(--primary); }
.es-blog-pagination a:hover { color: var(--text); border-color: var(--border-2); }

/* ===== Make Money / PPD page ===== */
.es-rate-table-wrap {
    max-width: 1080px; margin: 0 auto; padding: 0 28px;
    overflow-x: auto;
}
.es-rate-table {
    width: 100%; border-collapse: separate; border-spacing: 0;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-lg); overflow: hidden;
}
.es-rate-table th, .es-rate-table td {
    padding: 16px 20px; text-align: left; font-size: 14px;
}
.es-rate-table th {
    background: rgba(255,255,255,.03);
    text-transform: uppercase; font-size: 11px; letter-spacing: 1.2px;
    color: var(--text-dim); font-weight: 700;
}
.es-rate-table tr + tr td { border-top: 1px solid var(--border); }
.es-rate-table td:first-child { font-weight: 700; }
.es-rate-table td:nth-child(n+3) { color: var(--accent); font-weight: 700; font-family: 'JetBrains Mono', monospace; }
.es-tier { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: 1px; }
.es-tier-1 { background: rgba(46,123,255,.18); color: #4d92ff; }
.es-tier-2 { background: rgba(0,210,255,.18); color: var(--accent); }
.es-tier-3 { background: rgba(255,209,102,.18); color: var(--warn); }
.es-tier-4 { background: rgba(124,92,255,.18); color: #a896ff; }
.es-tier-5 { background: rgba(255,92,108,.18); color: #ff8b95; }

.es-faq-section { max-width: 1080px; margin: 0 auto; padding: 60px 28px; }

@media (max-width: 720px) {
    .es-uploader-tabs button { padding: 12px 8px; font-size: 12px; }
    .es-uploader-tabs button svg { display: none; }
    .es-url-row { flex-direction: column; }
    .es-rate-table th, .es-rate-table td { padding: 12px 14px; font-size: 13px; }
    .es-social-buttons { flex-direction: column; }
    .es-social-btn { width: 100%; justify-content: center; }
}

/* ====================================================================
   v7.0 — Hero with Duration Picker, Slider Pricing, Sidebar Dashboard
   ==================================================================== */

/* ===== Hero uploader card ===== */
.es-hero-uploader {
    max-width: 480px; margin: 20px auto 0;
    border-radius: 16px;
    border: 1px solid var(--border-2);
    background: rgba(10, 16, 28, .55);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    transition: border-color .2s var(--easing), box-shadow .2s var(--easing);
    cursor: default;
    box-shadow: 0 20px 60px rgba(0,0,0,.4);
    position: relative;
}
.es-hero-uploader:hover, .es-hero-uploader.is-dragging {
    border-color: rgba(59, 130, 246, .5);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, .08), 0 20px 60px rgba(59, 130, 246, .15);
}
.es-hero-uploader-inner {
    padding: 22px 24px 22px; text-align: center;
}
.es-uploader-head {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    margin-bottom: 18px;
}
.es-uploader-head h2 {
    font-size: 1rem; margin: 0; color: var(--text); font-weight: 700;
    letter-spacing: -0.005em; line-height: 1;
}
.es-uploader-head-icon {
    flex-shrink: 0;
    filter: drop-shadow(0 4px 10px rgba(59, 130, 246, .35));
}

.es-upload-chips {
    display: flex; gap: 8px; justify-content: center; flex-wrap: wrap;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    width: 100%;
}
.es-chip {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 14px; border-radius: 10px;
    background: rgba(255,255,255,.03); border: 1px solid var(--border);
    color: var(--text-mute); font-family: inherit; font-size: 12px; font-weight: 600;
    cursor: pointer;
    transition: color .15s var(--easing), border-color .15s var(--easing), background .15s var(--easing), transform .15s var(--easing);
}
.es-chip:hover {
    color: var(--text);
    border-color: rgba(0, 210, 255, .35);
    background: rgba(0, 210, 255, .06);
    transform: translateY(-1px);
}
.es-chip:active { transform: translateY(0); }
.es-chip svg { flex-shrink: 0; opacity: .7; transition: opacity .15s var(--easing); }
.es-chip:hover svg { opacity: 1; color: var(--accent); }

/* Modals */
.es-modal[hidden] { display: none !important; }
.es-modal {
    position: fixed; inset: 0; z-index: 1000;
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    animation: es-fade-in .15s var(--easing);
}
.es-modal-backdrop {
    position: absolute; inset: 0;
    background: rgba(0, 0, 0, .7); backdrop-filter: blur(8px);
}
.es-modal-card {
    position: relative; width: 100%; max-width: 480px;
    padding: 30px; border-radius: var(--radius-xl);
    background: var(--bg-2); border: 1px solid var(--border-2);
    box-shadow: 0 50px 100px rgba(0,0,0,.6);
    text-align: left;
}
.es-modal-card h3 { font-size: 1.4rem; color: var(--text); margin-bottom: 6px; }
.es-modal-close {
    position: absolute; top: 14px; right: 14px;
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--surface-2); border: 1px solid var(--border);
    color: var(--text-mute); font-size: 20px; line-height: 1; cursor: pointer;
    transition: all .15s var(--easing);
}
.es-modal-close:hover { color: var(--text); background: var(--surface); }
.es-modal-input {
    display: block; width: 100%;
    padding: 14px 16px; margin-bottom: 14px;
    background: rgba(255,255,255,.04); border: 1px solid var(--border-2);
    border-radius: 12px; color: var(--text);
    font-family: inherit; font-size: 14px; box-sizing: border-box;
}
.es-modal-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(46,123,255,.15); }
textarea.es-modal-input { font-family: 'JetBrains Mono', monospace; font-size: 12px; resize: vertical; }
.es-result-icon { font-size: 48px; margin-bottom: 10px; }

.es-upload-picker {
    position: relative;
    display: flex; flex-direction: column; align-items: stretch;
    gap: 0;
    width: 100%; max-width: 420px; margin: 0 auto;
}

/* Primary CTA — single, weighted, solid blue (matches reference) */
.es-page .es-cta-upload {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    padding: 14px 28px;
    border: 0 !important; border-radius: 12px;
    background-color: #3b82f6 !important;
    background-image: none !important;
    color: #fff !important;
    font-family: inherit; font-weight: 700; font-size: 14.5px;
    letter-spacing: 0.1px; line-height: 1;
    cursor: pointer; white-space: nowrap;
    box-shadow: 0 4px 14px rgba(59, 130, 246, .45);
    transition: background-color .15s var(--easing), transform .15s var(--easing), box-shadow .2s var(--easing);
    width: 100%;
    -webkit-appearance: none; appearance: none;
    outline: none;
}
.es-page .es-cta-upload .es-cta-icon { flex-shrink: 0; }
.es-page .es-cta-upload:hover {
    background-color: #2563eb !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(59, 130, 246, .6);
}
.es-page .es-cta-upload:active {
    background-color: #1d4ed8 !important;
    color: #fff !important;
    transform: translateY(0); transition-duration: .05s;
}
.es-page .es-cta-upload:focus,
.es-page .es-cta-upload:focus-visible {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, .4), 0 4px 14px rgba(59, 130, 246, .45) !important;
}

/* Section divider between Upload / Plans / Other methods */
.es-upload-divider {
    display: flex; align-items: center; gap: 12px;
    margin: 16px 0 10px;
    color: var(--text-dim); font-size: 10.5px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1.2px;
}
.es-upload-divider::before, .es-upload-divider::after {
    content: ''; flex: 1; height: 1px; background: var(--border);
}

/* "Choose a longer plan" toggle — secondary action */
.es-page .es-plan-toggle {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 18px;
    background-color: transparent !important;
    background-image: none !important;
    border: 1px solid rgba(255,255,255,.14) !important;
    border-radius: 10px;
    color: #8b94a8 !important;
    font-family: inherit; font-size: 13px; font-weight: 600;
    cursor: pointer; width: 100%;
    transition: color .15s var(--easing), border-color .15s var(--easing), background-color .15s var(--easing);
    -webkit-appearance: none; appearance: none;
    outline: none;
}
.es-page .es-plan-toggle:hover,
.es-page .es-plan-toggle:focus,
.es-page .es-plan-toggle:focus-visible,
.es-page .es-plan-toggle:active {
    color: #e9eef7 !important;
    border-color: #3b82f6 !important;
    background-color: rgba(59, 130, 246, .08) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, .2) !important;
}
.es-page .es-plan-toggle svg { transition: transform .2s var(--easing); }
.es-page .es-upload-picker.is-open .es-plan-toggle svg { transform: rotate(180deg); }
.es-page .es-upload-picker.is-open .es-plan-toggle {
    color: #e9eef7 !important;
    border-color: #3b82f6 !important;
    background-color: rgba(59,130,246,.08) !important;
}

/* Inline dropdown wrapper — pushes content down (replaces absolute positioning) */
.es-duration-dropdown {
    position: static !important; transform: none !important;
    width: 100% !important; max-width: 100% !important;
    margin-top: 10px;
    background: rgba(7, 13, 25, .85);
    border: 1px solid var(--border-2); border-radius: 12px;
    overflow: hidden;
    animation: es-slide-down .2s var(--easing);
}
@keyframes es-slide-down {
    from { opacity: 0; transform: translateY(-6px) !important; max-height: 0; }
    to   { opacity: 1; transform: translateY(0)    !important; max-height: 600px; }
}

/* Other upload methods — secondary buttons */
.es-method-buttons {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
    width: 100%;
}
.es-page .es-method-btn {
    display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
    padding: 12px 8px;
    background-color: transparent !important;
    background-image: none !important;
    border: 1px solid rgba(255,255,255,.14) !important;
    border-radius: 10px;
    color: #8b94a8 !important;
    font-family: inherit; font-size: 12px; font-weight: 600;
    cursor: pointer; line-height: 1.2;
    transition: color .15s var(--easing), border-color .15s var(--easing), background-color .15s var(--easing);
    -webkit-appearance: none; appearance: none;
    outline: none;
}
.es-page .es-method-btn:hover,
.es-page .es-method-btn:focus,
.es-page .es-method-btn:focus-visible,
.es-page .es-method-btn:active {
    color: #e9eef7 !important;
    border-color: #3b82f6 !important;
    background-color: rgba(59, 130, 246, .08) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, .2) !important;
}
.es-page .es-method-btn svg { opacity: .7; transition: opacity .15s var(--easing); color: inherit; }
.es-page .es-method-btn:hover svg,
.es-page .es-method-btn:focus svg,
.es-page .es-method-btn:active svg { opacity: 1; color: #3b82f6 !important; }

.es-upload-hint {
    margin: 14px 0 0; font-size: 11.5px; color: var(--text-dim); font-weight: 500;
    letter-spacing: 0.1px; text-align: center;
}

.es-duration-dropdown {
    position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%);
    width: 380px; max-width: 92vw;
    background: rgba(7, 13, 25, .96);
    border: 1px solid var(--border-2);
    border-radius: 14px;
    box-shadow:
        0 1px 0 rgba(255,255,255,.04) inset,
        0 30px 80px rgba(0,0,0,.7);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    z-index: 30;
    overflow: hidden;
    animation: es-fade-in .15s var(--easing);
}
@keyframes es-fade-in { from { opacity: 0; transform: translate(-50%, -8px); } to { opacity: 1; transform: translate(-50%, 0); } }
.es-dropdown-head {
    padding: 14px 16px; border-bottom: 1px solid var(--border);
    display: flex; flex-direction: column; gap: 2px; text-align: left;
}
.es-dropdown-head strong { color: var(--text); font-size: 13px; }
.es-dropdown-head span   { color: var(--text-dim); font-size: 11px; }
.es-dropdown-item {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; padding: 12px 16px;
    background: transparent; border: 0; text-align: left;
    font-family: inherit; cursor: pointer;
    border-bottom: 1px solid var(--border);
    transition: background .15s var(--easing);
}
.es-dropdown-item:last-of-type { border-bottom: 0; }
.es-dropdown-item:hover { background: rgba(59,130,246,.1); }
.es-dropdown-label { display: flex; flex-direction: column; gap: 2px; }
.es-dropdown-label strong { color: var(--text); font-size: 13px; }
.es-dropdown-label small  { color: var(--text-dim); font-size: 11px; }
.es-dropdown-right { display: flex; align-items: center; gap: 8px; }
.es-dropdown-price { color: var(--primary); font-weight: 700; font-family: 'JetBrains Mono', monospace; font-size: 13px; }
.es-tag {
    padding: 2px 8px; border-radius: 999px;
    font-size: 9px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase;
}
.es-tag-free { background: rgba(0,242,196,.15); color: var(--teal); }
.es-tag-save { background: rgba(59,130,246,.15); color: var(--primary); }
.es-dropdown-foot {
    display: block; padding: 12px 16px; text-align: center;
    background: rgba(255,255,255,.02); color: var(--primary);
    font-size: 12px; font-weight: 600; border-top: 1px solid var(--border);
}

/* Hero side cards (3 days free / Secure) */
.es-hero-side-cards {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
    max-width: 720px; margin: 30px auto 0;
}
.es-side-card {
    padding: 22px; border-radius: var(--radius-lg);
    background: var(--surface); border: 1px solid var(--border);
    text-align: left;
}
.es-side-icon {
    width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
    background: rgba(46,123,255,.12); border-radius: 10px; margin-bottom: 12px;
    font-size: 18px; border: 1px solid rgba(46,123,255,.25);
}
.es-side-card strong { color: var(--text); display: block; margin-bottom: 4px; font-size: 15px; }
.es-side-card p { font-size: 13px; margin-bottom: 12px; }
.es-side-pill {
    display: inline-block; padding: 4px 10px; border-radius: 999px;
    font-size: 11px; color: var(--accent); background: rgba(0,210,255,.1);
}

/* Hero "How It Works" steps */
.es-how-steps {
    display: flex; align-items: flex-start; justify-content: center; gap: 0;
    max-width: 980px; margin: 0 auto; padding: 0 24px; flex-wrap: wrap;
}
.es-how-step { flex: 1; min-width: 140px; text-align: center; padding: 8px; }
.es-how-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 22px; height: 22px; border-radius: 50%;
    background: var(--primary); color: #fff; font-weight: 800; font-size: 11px;
    margin-bottom: 8px; box-shadow: 0 4px 10px rgba(46,123,255,.35);
}
.es-how-icon {
    width: 52px; height: 52px; margin: 0 auto 10px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 20px; background: rgba(46,123,255,.08);
    border: 1.5px solid rgba(46,123,255,.3);
}
.es-how-step h4 { color: var(--text); margin-bottom: 3px; font-size: 0.95rem; }
.es-how-step p  { font-size: 12px; margin: 0; }
.es-how-dot {
    flex: 0 0 40px; height: 1px; align-self: center;
    background-image: linear-gradient(to right, var(--text-dim) 50%, transparent 0%);
    background-size: 6px 1px; background-repeat: repeat-x;
    margin-top: 50px;
}

/* "Need More Time?" CTA box */
.es-need-more {
    display: grid; grid-template-columns: auto 2fr 2fr auto; gap: 22px;
    text-align: left; align-items: center;
    padding: 22px 26px;
}
.es-need-icon {
    width: 44px; height: 44px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center; font-size: 22px;
    background: rgba(124,92,255,.15); border: 1px solid rgba(124,92,255,.3);
}
.es-need-body h3 { color: var(--text); font-size: 1.05rem; margin-bottom: 4px; background: none; -webkit-text-fill-color: initial; }
.es-need-body p { font-size: 12.5px; margin: 0; }
.es-need-features { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.es-need-features li { color: var(--text-mute); font-size: 12px; }
.es-need-cta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.es-need-from { font-size: 10px; color: var(--text-dim); }

/* ===== Pricing page (sliders) ===== */
.es-trust-pills {
    display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
    margin-top: 16px;
}
.es-trust-pills span {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px; border-radius: 999px;
    background: rgba(0, 242, 196, .08);
    border: 1px solid rgba(0, 242, 196, .2);
    color: var(--text); font-size: 12.5px; font-weight: 600;
    line-height: 1;
}
.es-trust-pills span strong {
    color: var(--teal);
    font-weight: 800;
}

.es-pricing { max-width: 1100px; margin: 0 auto; padding: 0 24px 40px; }
.es-pricing-grid {
    display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 16px;
}
.es-pricing-config {
    padding: 22px 24px; border-radius: var(--radius-lg);
    background: var(--surface); border: 1px solid var(--border);
}
.es-pricing-step + .es-pricing-step { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--border); }
.es-step-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.es-step-bullet {
    width: 24px; height: 24px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--primary); color: #fff; font-weight: 800; font-size: 12px;
}
.es-step-head h3 { margin: 0; color: var(--text); font-size: 1.05rem; }
.es-storage-custom {
    margin-left: auto; display: flex; align-items: center; gap: 6px;
    background: rgba(255,255,255,.04); border: 1px solid var(--border-2);
    border-radius: 10px; padding: 4px 12px;
    transition: border-color .15s var(--easing);
}
.es-storage-custom:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(46,123,255,.15); }
.es-storage-custom input {
    width: 80px; background: transparent; border: 0; outline: 0;
    color: var(--text); font-family: 'JetBrains Mono', monospace;
    font-size: 14px; font-weight: 600; padding: 4px 0; text-align: right;
}
.es-storage-custom input::-webkit-outer-spin-button,
.es-storage-custom input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.es-storage-unit { color: var(--text-dim); font-size: 12px; font-weight: 600; }

.es-slider-wrap { padding: 0 6px; position: relative; }
.es-slider-bubble {
    display: inline-block; padding: 4px 12px; margin-bottom: 8px;
    background: var(--surface-2); border: 1px solid var(--border-2); border-radius: 999px;
    color: var(--text); font-weight: 700; font-size: 13px;
    position: absolute;
    transform: translateX(-50%);
    bottom: 100%;
    transition: left .12s var(--easing);
    font-family: 'JetBrains Mono', monospace; letter-spacing: 0.4px;
    white-space: nowrap;
    pointer-events: none;
}
.es-slider-wrap { position: relative; padding-top: 32px; }
input[type="range"]#es-storage-slider {
    -webkit-appearance: none; appearance: none;
    width: 100%; background: transparent; margin: 0; padding: 0;
}
input[type="range"]#es-storage-slider::-webkit-slider-runnable-track {
    height: 6px; border-radius: 999px;
    background: linear-gradient(to right, var(--primary), var(--accent)) var(--track-bg, rgba(255,255,255,.06));
    background-size: var(--fill, 50%) 100%, 100% 100%; background-repeat: no-repeat;
    background-color: rgba(255,255,255,.06);
}
input[type="range"]#es-storage-slider::-moz-range-track {
    height: 6px; border-radius: 999px; background: rgba(255,255,255,.06);
}
input[type="range"]#es-storage-slider::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none;
    width: 22px; height: 22px; border-radius: 50%; margin-top: -8px;
    background: #fff; cursor: pointer;
    box-shadow: 0 0 0 5px var(--primary), 0 6px 14px rgba(46,123,255,.4);
}
input[type="range"]#es-storage-slider::-moz-range-thumb {
    width: 22px; height: 22px; border-radius: 50%; border: 0;
    background: #fff; cursor: pointer;
    box-shadow: 0 0 0 5px var(--primary), 0 6px 14px rgba(46,123,255,.4);
}
/* Slider labels — absolutely positioned via JS so the label center
   ALWAYS lines up with the thumb center (accounts for thumb radius). */
.es-slider-labels {
    position: relative;
    height: 26px;
    margin-top: 6px;
    font-size: 10.5px; color: var(--text-dim); font-weight: 600;
    letter-spacing: 0.3px;
}
.es-slider-labels span {
    position: absolute;
    top: 10px;
    transform: translateX(-50%);
    white-space: nowrap;
    font-family: 'JetBrains Mono', monospace;
}
.es-slider-labels span::before {
    content: ''; position: absolute;
    top: -10px; left: 50%; transform: translateX(-50%);
    width: 1px; height: 5px; background: rgba(255,255,255,.22);
}

.es-duration-grid {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px;
}
.es-duration-card {
    position: relative; padding: 12px 10px; border-radius: 12px;
    background: rgba(255,255,255,.02); border: 1.5px solid var(--border);
    cursor: pointer; transition: all .15s var(--easing);
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    min-height: 90px;
}
.es-duration-card:hover { border-color: var(--border-2); }
.es-duration-card.is-selected {
    border-color: var(--primary); background: rgba(46,123,255,.08);
    box-shadow: 0 8px 20px rgba(46,123,255,.2);
}
.es-duration-card > input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.es-duration-tick {
    position: absolute; top: 8px; right: 8px;
    width: 20px; height: 20px; border-radius: 50%;
    background: var(--primary); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 800;
    opacity: 0; transform: scale(0); transition: all .15s var(--easing);
}
.es-duration-card.is-selected .es-duration-tick { opacity: 1; transform: scale(1); }
.es-duration-card strong { color: var(--text); font-size: 13px; }

/* Custom days card */
.es-duration-custom {
    grid-column: span 1;
    border-style: dashed !important;
}
.es-duration-custom.is-selected { border-style: solid !important; }
.es-custom-days-input {
    display: inline-flex; align-items: center; gap: 4px;
    background: rgba(255,255,255,.04);
    border: 1px solid var(--border-2);
    border-radius: 8px;
    padding: 3px 8px;
    transition: border-color .15s var(--easing);
}
.es-duration-custom.is-selected .es-custom-days-input {
    border-color: var(--primary);
    background: rgba(59,130,246,.06);
}
.es-custom-days-input input {
    width: 40px; padding: 2px 0;
    background: transparent; border: 0; outline: 0;
    color: var(--text);
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px; font-weight: 700; text-align: center;
}
.es-custom-days-input input::-webkit-outer-spin-button,
.es-custom-days-input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.es-custom-days-input span { color: var(--text-dim); font-size: 10.5px; font-weight: 600; }
.es-duration-price { color: var(--accent); font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 13px; }
.es-duration-save {
    margin-top: 2px; padding: 1px 7px; border-radius: 999px;
    font-size: 9px; font-weight: 800; background: rgba(0,242,196,.15); color: var(--teal);
    letter-spacing: .5px;
}
.es-duration-free { background: rgba(46,123,255,.15); color: var(--primary-2); }
.es-pricing-note {
    display: flex; align-items: center; gap: 6px;
    margin-top: 12px; font-size: 12px; color: var(--text-dim);
}

.es-pricing-summary {
    align-self: start; position: sticky; top: 90px;
    padding: 22px; border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(46,123,255,.1), rgba(46,123,255,.02));
    border: 1px solid rgba(46,123,255,.3);
    backdrop-filter: blur(16px);
}
.es-summary-block { text-align: center; padding: 14px; background: var(--surface-2); border-radius: 12px; margin-bottom: 16px; }
.es-summary-amount { font-size: 1.8rem; font-weight: 800; color: var(--accent); letter-spacing: -0.02em; }
.es-summary-block span { display: block; font-size: 12px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1.2px; }
.es-pricing-summary h4 { color: var(--text); font-size: 14px; margin-bottom: 12px; }
.es-summary-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 8px 0; font-size: 13px;
}
.es-summary-row span { color: var(--text-mute); }
.es-summary-row strong { color: var(--text); font-weight: 600; }
.es-pricing-summary hr { border: 0; border-top: 1px solid var(--border); margin: 12px 0; }
.es-summary-total {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 14px;
}
.es-summary-total span { color: var(--text); font-size: 14px; font-weight: 600; }
.es-summary-total strong {
    font-size: 1.8rem; font-weight: 900; color: var(--accent);
    font-family: 'JetBrains Mono', monospace; letter-spacing: -0.02em;
}
.es-secure-note { font-size: 11px; color: var(--text-dim); text-align: center; margin: 10px 0 0; }
.es-pricing-summary h4 { font-size: 13px; margin-bottom: 8px; }

.es-feature-grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* ===== Dashboard with Sidebar ===== */
.es-dash-shell {
    max-width: 1380px; margin: 0 auto;
    display: grid; grid-template-columns: 260px 1fr; gap: 24px;
    padding: 28px;
}
.es-dash-side {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 22px 18px;
    display: flex; flex-direction: column; gap: 18px;
    align-self: start; position: sticky; top: 90px;
    max-height: calc(100vh - 110px); overflow-y: auto;
}
.es-dash-user {
    display: flex; align-items: center; gap: 12px;
    padding: 8px 6px; border-bottom: 1px solid var(--border);
    padding-bottom: 18px;
}
.es-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--grad-primary); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 18px;
    box-shadow: 0 6px 14px rgba(46,123,255,.4);
}
.es-dash-user strong { display: block; color: var(--text); font-size: 14px; }
.es-dash-user small { color: var(--text-dim); font-size: 11px; }

.es-dash-nav { display: flex; flex-direction: column; gap: 4px; }
.es-dash-nav a {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px; border-radius: 10px;
    color: var(--text-mute); font-weight: 600; font-size: 14px;
    text-decoration: none; transition: all .15s var(--easing);
}
.es-dash-nav a:hover { background: rgba(255,255,255,.04); color: var(--text); }
.es-dash-nav a.is-active {
    background: rgba(46,123,255,.12); color: var(--text);
    box-shadow: inset 0 0 0 1px rgba(46,123,255,.3);
}
.es-nav-icon { width: 24px; text-align: center; font-size: 16px; }

.es-dash-side-card {
    padding: 16px; border-radius: var(--radius);
    background: var(--surface-2); border: 1px solid var(--border);
    display: flex; flex-direction: column; gap: 6px;
}

.es-dash-main { min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.es-dash-bar {
    display: flex; justify-content: space-between; align-items: flex-start;
    flex-wrap: wrap; gap: 14px;
}
.es-dash-bar h1 { font-size: 1.8rem; margin-bottom: 4px; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.es-dash-bar p  { margin: 0; }
.es-dash-bar-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.es-stats-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px;
}
.es-stat-card { position: relative; }
.es-stat-icon {
    width: 36px; height: 36px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    background: color-mix(in srgb, var(--c) 15%, transparent);
    color: var(--c); font-size: 18px;
    border: 1px solid color-mix(in srgb, var(--c) 30%, transparent);
    margin-bottom: 12px;
}

.es-donut-wrap {
    position: relative; width: 200px; height: 200px; margin: 0 auto 20px;
}
.es-donut { width: 100%; height: 100%; transform: rotate(0deg); }
.es-donut-center {
    position: absolute; inset: 0; display: flex; flex-direction: column;
    align-items: center; justify-content: center;
}
.es-donut-center strong { font-size: 2rem; color: var(--text); font-weight: 800; }
.es-donut-center span { font-size: 12px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1px; }
.es-donut-legend { list-style: none; padding: 0; margin: 0; }
.es-donut-legend li {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 0; font-size: 13px; color: var(--text-mute);
    border-top: 1px solid var(--border);
}
.es-donut-legend li:first-child { border-top: 0; }
.es-donut-legend li strong { margin-left: auto; color: var(--text); font-weight: 700; }
.es-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }

.es-activity { list-style: none; padding: 0; margin: 0; }
.es-activity li {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 0;
    border-top: 1px solid var(--border);
}
.es-activity li:first-child { border-top: 0; }
.es-activity-icon {
    width: 32px; height: 32px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    background: var(--surface-2); font-size: 14px;
}
.es-activity-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.es-activity-text strong { color: var(--text); font-size: 14px; font-weight: 600; }
.es-activity-badge {
    align-self: flex-start;
    padding: 2px 8px; border-radius: 999px;
    background: rgba(0,210,255,.12); color: var(--accent);
    font-size: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
}
.es-activity-time { color: var(--text-dim); font-size: 12px; flex-shrink: 0; }

.es-plan-summary {
    display: flex; flex-direction: column; gap: 4px;
    margin-bottom: 18px;
}
.es-plan-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 0; border-top: 1px solid var(--border); font-size: 14px;
}
.es-plan-row:first-child { border-top: 0; }
.es-plan-row span { color: var(--text-mute); }
.es-plan-row strong { color: var(--text); font-weight: 600; }

.es-quick-actions {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px;
}
.es-quick-action {
    display: flex; flex-direction: column; gap: 6px;
    padding: 18px; border-radius: var(--radius);
    background: rgba(255,255,255,.02); border: 1px solid var(--border);
    color: var(--text); text-decoration: none;
    transition: all .15s var(--easing);
}
.es-quick-action:hover { background: rgba(46,123,255,.06); border-color: rgba(46,123,255,.4); transform: translateY(-2px); color: var(--text); }
.es-quick-action span { font-size: 22px; }
.es-quick-action strong { color: var(--text); }
.es-quick-action small { color: var(--text-dim); font-size: 12px; }

.es-row-actions { display: inline-flex; gap: 6px; }
.es-pill-ok  { background: rgba(0,242,196,.15); color: var(--teal); }
.es-pill-off { background: rgba(255,255,255,.05); color: var(--text-dim); }
.es-empty-sm { padding: 16px 0; text-align: center; color: var(--text-dim); font-size: 13px; }
.es-link-sm { font-size: 13px; }
.es-savings {
    display: inline-block; margin-left: 6px; padding: 2px 6px;
    background: rgba(0,242,196,.15); color: var(--teal);
    border-radius: 4px; font-size: 10px; font-weight: 800;
}
.es-storage-savings {
    margin: 16px 24px 24px; padding: 12px 16px; border-radius: 10px;
    background: rgba(0,242,196,.06); border: 1px solid rgba(0,242,196,.2);
    color: var(--text-mute); font-size: 13px;
}
.es-storage-savings strong { color: var(--teal); }

@media (max-width: 1080px) {
    .es-pricing-grid, .es-dash-shell { grid-template-columns: 1fr; }
    .es-dash-side { position: relative; top: 0; max-height: none; }
    .es-pricing-summary { position: relative; top: 0; }
}
@media (max-width: 720px) {
    .es-need-more { grid-template-columns: 1fr; text-align: center; gap: 18px; }
    .es-need-features { grid-template-columns: 1fr; }
    .es-need-cta { align-items: center; }
    .es-how-dot { display: none; }
    .es-hero-side-cards { grid-template-columns: 1fr; }
    .es-stats-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .es-stats-grid { grid-template-columns: 1fr; }
    .es-duration-grid { grid-template-columns: 1fr 1fr; }
    .es-dropdown-item { padding: 12px 16px; }
}

/* ====================================================================
   v7.9 — Upload queue, multi-file progress, dashboard upload buttons
   ==================================================================== */

/* Upload action button row (home + dashboard) */
.es-dash-upload-buttons {
    display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
    margin-top: 8px;
}
.es-dash-upload-buttons .es-method-btn {
    flex-direction: row !important; padding: 8px 14px !important;
    font-size: 12.5px !important; min-height: 36px;
}

/* Upload queue — FLOATING panel, always visible top-right while uploading */
.es-upload-queue {
    position: fixed;
    top: 72px; right: 18px;
    z-index: 900;
    width: 420px; max-width: calc(100vw - 36px);
    border-radius: 14px;
    background: rgba(7, 13, 25, .92);
    border: 1px solid var(--border-2);
    overflow: hidden;
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(59,130,246,.15);
    animation: es-slide-in .25s var(--easing);
}
@keyframes es-slide-in {
    from { transform: translateX(20px); opacity: 0; }
    to   { transform: translateX(0); opacity: 1; }
}
.es-queue-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    background: rgba(59,130,246,.08);
}
.es-queue-head h3 {
    margin: 0; font-size: 13px; color: var(--text); font-weight: 700;
    letter-spacing: 0.3px;
}
.es-queue-head h3 span {
    margin-left: 8px; color: var(--accent);
    font-family: 'JetBrains Mono', monospace; font-size: 12px;
}
.es-queue-close {
    background: transparent; border: 0; color: var(--text-mute);
    font-size: 22px; line-height: 1; cursor: pointer; padding: 0 4px;
    transition: color .15s var(--easing);
}
.es-queue-close:hover { color: var(--text); }

.es-queue-list { list-style: none; padding: 0; margin: 0; max-height: 360px; overflow-y: auto; }
.es-queue-item {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) auto 28px;
    grid-template-rows: auto auto;
    column-gap: 8px; row-gap: 6px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    font-size: 12px;
    align-items: center;
}
.es-queue-item:last-child { border-bottom: 0; }
.es-queue-icon { font-size: 14px; text-align: center; grid-row: 1; }
.es-queue-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; grid-row: 1; }
.es-queue-name {
    color: var(--text); font-weight: 600; font-size: 12.5px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.es-queue-meta { color: var(--text-dim); font-size: 10.5px; }
.es-queue-progress {
    grid-row: 2; grid-column: 1 / -1;
    height: 4px; border-radius: 999px;
    background: rgba(255,255,255,.06);
    overflow: hidden;
}
.es-queue-progress span {
    display: block; height: 100%; width: 0%;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    transition: width .2s var(--easing); border-radius: 999px;
}
.es-queue-status {
    color: var(--text-mute); font-size: 11px; text-align: right;
    font-weight: 600; grid-row: 1;
}
.es-queue-item.is-done .es-queue-status { color: var(--teal); }
.es-queue-item.is-error .es-queue-status { color: #ff7a85; }
.es-queue-item.is-done .es-queue-progress span { background: linear-gradient(90deg, #22d3a4, #00f2c4); }
.es-queue-err { color: #ff7a85; font-size: 11px; }

/* Per-file cancel button */
.es-queue-cancel {
    background-color: transparent !important;
    color: var(--text-dim) !important;
    border: 0 !important;
    padding: 2px 8px !important;
    font-size: 18px; line-height: 1;
    cursor: pointer;
    border-radius: 6px;
    transition: color .15s var(--easing), background-color .15s var(--easing);
}
.es-queue-cancel:hover {
    color: #ff7a85 !important;
    background-color: rgba(255, 122, 133, .1) !important;
}
.es-queue-cancel:disabled { opacity: .3; cursor: not-allowed; }
.es-queue-item.is-cancelled { opacity: .55; }
.es-queue-item.is-cancelled .es-queue-progress span { background: rgba(255,122,133,.4) !important; }

/* Copy URL button inside queue row */
.es-queue-copy {
    background-color: rgba(0,242,196,.12) !important;
    color: var(--teal) !important;
    border: 1px solid rgba(0,242,196,.25) !important;
    padding: 4px 10px; border-radius: 6px;
    font-family: inherit; font-size: 11px; font-weight: 700;
    cursor: pointer;
    transition: background-color .15s var(--easing), border-color .15s var(--easing);
}
.es-queue-copy:hover {
    background-color: rgba(0,242,196,.2) !important;
    border-color: rgba(0,242,196,.5) !important;
}

@media (max-width: 480px) {
    .es-upload-queue { top: 64px; right: 8px; left: 8px; width: auto; }
}

/* ====================================================================
   v9.0 — Upload complete, user directory, upgrade banners, etc
   ==================================================================== */

/* Register: forgot password recovery box */
.es-auth-recover {
    margin-top: 12px; padding: 12px 14px; border-radius: 10px;
    background: rgba(255, 179, 65, .08); border: 1px solid rgba(255, 179, 65, .25);
    color: var(--text); font-size: 13px;
}
.es-auth-recover a { color: var(--accent); font-weight: 600; }

/* Nav upgrade button */
.es-nav-upgrade {
    padding: 7px 12px !important;
    font-size: 12px !important;
    background-color: #3b82f6 !important;
    color: #fff !important;
}

/* Dashboard upgrade banner */
.es-upgrade-banner {
    display: grid; grid-template-columns: 48px 1fr auto; gap: 16px;
    align-items: center;
    padding: 18px 22px;
    margin-bottom: 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(59,130,246,.12), rgba(0,210,255,.06));
    border: 1px solid rgba(59,130,246,.3);
}
.es-upgrade-icon {
    width: 48px; height: 48px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    background: rgba(59,130,246,.15); border: 1px solid rgba(59,130,246,.3);
}
.es-upgrade-text { display: flex; flex-direction: column; gap: 2px; }
.es-upgrade-text strong { color: var(--text); font-size: 14px; }
.es-upgrade-text span { color: var(--text-mute); font-size: 12.5px; }

@media (max-width: 640px) {
    .es-upgrade-banner { grid-template-columns: 40px 1fr; }
    .es-upgrade-banner .es-btn { grid-column: 1 / -1; }
}

/* ===== UPLOAD COMPLETE SCREEN ===== */
.es-uploaded-wrap {
    max-width: 1100px; margin: 0 auto; padding: 40px 24px 20px;
}
.es-uploaded-hero {
    text-align: center; margin-bottom: 28px;
}
.es-uploaded-check {
    width: 64px; height: 64px; border-radius: 50%;
    background: linear-gradient(135deg, #22d3a4, #00f2c4);
    color: #fff; font-size: 32px; font-weight: 800; line-height: 64px;
    margin: 0 auto 14px;
    box-shadow: 0 10px 32px rgba(0,242,196,.35);
}
.es-uploaded-hero h1 {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
    margin-bottom: 6px;
}
.es-uploaded-hero p { color: var(--text-mute); margin: 0; }
.es-uploaded-hero p strong { color: var(--accent); font-weight: 700; }

/* MASTER LINK card — the ONE URL for all files */
.es-master-link-card {
    padding: 22px;
    margin-bottom: 22px;
    border-radius: 16px;
    background:
        radial-gradient(80% 50% at 50% 0%, rgba(59,130,246,.16), transparent 70%),
        rgba(7, 13, 25, .8);
    border: 1.5px solid rgba(59,130,246,.4);
    box-shadow: 0 20px 50px rgba(59,130,246,.18);
}
.es-master-link-head {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 14px;
}
.es-master-link-icon {
    width: 40px; height: 40px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(59,130,246,.18); border: 1px solid rgba(59,130,246,.3);
    font-size: 20px;
}
.es-master-link-head strong { color: var(--text); font-size: 14px; display: block; }
.es-master-link-head small { color: var(--text-mute); font-size: 12px; }
.es-master-link-url input { font-size: 14px !important; font-weight: 600; }
.es-master-link-preview {
    display: inline-block; margin-top: 10px;
    color: var(--accent); font-size: 12px; font-weight: 600;
    text-decoration: none;
}
.es-master-link-preview:hover { text-decoration: underline; }

.es-uploaded-list-title {
    margin: 0 0 12px;
    font-size: 12px; color: var(--text-dim);
    text-transform: uppercase; letter-spacing: 1.2px; font-weight: 700;
}
.es-uploaded-status {
    color: var(--teal); font-size: 12px; font-weight: 700;
    white-space: nowrap;
}
.es-queue-ok {
    color: var(--teal); font-weight: 700; font-size: 12px;
}

/* ====================================================================
   v9.3 — Home redesign, trust pills, stats bar, OR dividers
   ==================================================================== */

/* Hero pills under subtitle */
.es-hero-pills {
    justify-content: center; gap: 8px; margin: 18px 0 26px;
}
.es-hero-pills span {
    background: rgba(59, 130, 246, .08);
    border-color: rgba(59, 130, 246, .25);
}
.es-hero-pills span strong { color: var(--accent); }

/* Big centered cloud icon inside the uploader card */
.es-hero-cloud {
    display: flex; justify-content: center;
    margin-bottom: 14px;
    filter: drop-shadow(0 12px 30px rgba(59, 130, 246, .45));
}

/* Override the older uploader-head pattern (icon was inline beside h2) */
.es-hero-uploader h2 {
    text-align: center;
    font-size: 1.15rem;
    color: var(--text);
    margin: 0 0 14px;
    font-weight: 700;
    letter-spacing: -0.005em;
}

/* The 'or' between drag-and-drop and the button */
.es-or {
    display: flex; align-items: center; justify-content: center;
    margin: 10px 0 14px;
}
.es-or span {
    color: var(--text-dim); font-size: 11px;
    letter-spacing: 1.4px; text-transform: uppercase; font-weight: 600;
}

/* 'Or upload from' divider above the chip row */
.es-or-divider {
    display: flex; align-items: center; gap: 12px;
    margin: 20px 0 14px;
    color: var(--text-dim); font-size: 11px;
    letter-spacing: 1.2px; text-transform: uppercase; font-weight: 600;
}
.es-or-divider::before, .es-or-divider::after {
    content: ''; flex: 1; height: 1px;
    background: linear-gradient(to right, transparent, var(--border), transparent);
}

/* Bigger more decisive choose-files CTA (overrides previous in this context) */
.es-cta-upload { width: 100%; max-width: 460px; padding: 16px 28px !important; font-size: 15px !important; }

/* Plan toggle as a subtle link */
.es-plan-toggle-link {
    margin-top: 16px;
    width: auto !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: var(--text-mute) !important;
    padding: 6px 10px !important;
    font-size: 12px !important;
}
.es-plan-toggle-link:hover { color: var(--text) !important; }

/* MARKETING STATS BAR — appears below 'Need More Time?' */
.es-stats-bar {
    max-width: 1100px; margin: 30px auto 60px; padding: 0 24px;
}
.es-stats-bar-inner {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
    padding: 24px;
    border-radius: 16px;
    background:
        radial-gradient(80% 50% at 50% 0%, rgba(59,130,246,.08), transparent 70%),
        rgba(7, 13, 25, .55);
    border: 1px solid var(--border);
}
.es-stat-item {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    padding: 0 12px; text-align: center;
    border-left: 1px solid var(--border);
}
.es-stat-item:first-child { border-left: 0; }
.es-stat-item strong {
    font-size: clamp(1.2rem, 2.6vw, 1.7rem);
    color: var(--accent);
    font-weight: 800;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: -0.01em;
}
.es-stat-item span {
    color: var(--text-mute); font-size: 11px;
    text-transform: uppercase; letter-spacing: 1.4px; font-weight: 600;
}

@media (max-width: 720px) {
    .es-stats-bar-inner { grid-template-columns: 1fr 1fr; row-gap: 22px; }
    .es-stat-item:nth-child(3) { border-left: 0; }
}
@media (max-width: 420px) {
    .es-stats-bar-inner { grid-template-columns: 1fr; }
    .es-stat-item { border-left: 0; border-top: 1px solid var(--border); padding-top: 18px; }
    .es-stat-item:first-child { border-top: 0; padding-top: 0; }
}

.es-uploaded-grid {
    display: grid; grid-template-columns: 1fr 360px; gap: 18px;
    margin-bottom: 30px;
}
.es-uploaded-list, .es-uploaded-side {
    padding: 22px; border-radius: 16px;
    background: var(--surface); border: 1px solid var(--border);
}
.es-uploaded-row {
    display: grid; grid-template-columns: 28px 1fr auto; gap: 12px;
    align-items: center;
    padding: 12px 14px;
    background: rgba(255,255,255,.02); border: 1px solid var(--border);
    border-radius: 10px; margin-bottom: 8px;
}
.es-uploaded-icon { font-size: 18px; text-align: center; }
.es-uploaded-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.es-uploaded-meta strong { color: var(--text); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.es-uploaded-meta small { color: var(--text-dim); font-size: 11px; }
.es-uploaded-life {
    color: var(--text-mute); font-size: 13px; text-align: center;
    margin: 20px 0 18px;
}
.es-uploaded-life strong { color: var(--accent); }
.es-uploaded-actions {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
@media (max-width: 480px) {
    .es-uploaded-actions { grid-template-columns: 1fr; }
}

.es-uploaded-side h3 { color: var(--text); font-size: 1.05rem; margin-bottom: 8px; }
.es-uploaded-info-title {
    margin: 22px 0 10px; font-size: 12px; color: var(--text-dim);
    text-transform: uppercase; letter-spacing: 1.2px; font-weight: 700;
}
.es-uploaded-info-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 9px 0; font-size: 13px;
    border-top: 1px solid var(--border);
}
.es-uploaded-info-row:first-of-type { border-top: 0; }
.es-uploaded-info-row span { color: var(--text-mute); }
.es-uploaded-info-row strong { color: var(--text); font-weight: 600; }
.es-uploaded-warn {
    margin-top: 18px; padding: 12px 14px;
    border-radius: 10px;
    background: rgba(59,130,246,.08); border: 1px solid rgba(59,130,246,.25);
    display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start;
}
.es-uploaded-warn strong { color: var(--text); font-size: 13px; display: block; margin-bottom: 2px; }
.es-uploaded-warn p { color: var(--text-mute); font-size: 12px; margin: 0; }
.es-uploaded-warn-icon { font-size: 16px; }

@media (max-width: 880px) {
    .es-uploaded-grid { grid-template-columns: 1fr; }
}

/* Upsell section under upload-complete */
.es-uploaded-upsell {
    max-width: 1100px; margin: 0 auto 60px; padding: 0 24px;
}
.es-uploaded-upsell-card {
    padding: 36px 30px;
    border-radius: 18px;
    background:
        radial-gradient(80% 50% at 50% 0%, rgba(124,92,255,.18), transparent 70%),
        rgba(7, 13, 25, .55);
    border: 1px solid var(--border-2);
    text-align: center;
}
.es-uploaded-upsell-crown {
    width: 56px; height: 56px; margin: 0 auto 14px;
    border-radius: 50%;
    background: rgba(124,92,255,.18); border: 1px solid rgba(124,92,255,.35);
    display: flex; align-items: center; justify-content: center;
    font-size: 26px;
}
.es-uploaded-upsell-card h2 { font-size: 1.5rem; color: var(--text); margin-bottom: 6px; background: none; -webkit-text-fill-color: initial; }
.es-uploaded-upsell-card > p { color: var(--text-mute); margin: 0 0 22px; }

.es-uploaded-plans {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
    margin-bottom: 22px;
}
.es-uploaded-plan {
    position: relative;
    padding: 22px 14px 18px;
    background: rgba(255,255,255,.03); border: 1.5px solid var(--border);
    border-radius: 14px;
    display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.es-uploaded-plan.is-popular {
    background: rgba(59,130,246,.08); border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(59,130,246,.18);
}
.es-uploaded-plan-flag {
    position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
    padding: 3px 10px; background: var(--primary); color: #fff;
    border-radius: 999px; font-size: 10px; font-weight: 800; letter-spacing: .8px;
}
.es-uploaded-plan h4 { color: var(--text); margin: 0; font-size: 14px; }
.es-uploaded-plan-price {
    font-size: 1.7rem; font-weight: 800; color: var(--accent);
    font-family: 'JetBrains Mono', monospace;
}
.es-uploaded-plan small { color: var(--text-dim); font-size: 11px; margin-bottom: 8px; }
.es-uploaded-plan .es-btn { width: 100%; }
.es-uploaded-plan-save {
    margin-top: 6px; padding: 2px 8px; border-radius: 999px;
    font-size: 10px; font-weight: 800;
    background: rgba(0,242,196,.15); color: var(--teal);
}
@media (max-width: 720px) {
    .es-uploaded-plans { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
    .es-uploaded-plans { grid-template-columns: 1fr; }
}

.es-uploaded-benefits {
    display: flex; gap: 22px; justify-content: center; flex-wrap: wrap;
    margin-bottom: 16px; color: var(--text-mute); font-size: 12.5px;
}
.es-uploaded-later {
    display: inline-block;
    color: var(--text-dim); font-size: 13px; text-decoration: none;
    margin-top: 4px;
}
.es-uploaded-later:hover { color: var(--text); }

/* ===== USER DIRECTORY PAGE  /u/{username} ===== */
.es-userdir { max-width: 1180px; margin: 0 auto; padding: 50px 24px; }
.es-userdir-head {
    display: grid; grid-template-columns: 64px 1fr 380px;
    gap: 20px; align-items: center;
    padding: 24px;
    border-radius: 18px;
    background: var(--surface); border: 1px solid var(--border);
    margin-bottom: 24px;
}
.es-userdir-avatar {
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--grad-primary); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 22px;
    box-shadow: 0 8px 22px rgba(59,130,246,.4);
}
.es-userdir-meta h1 { font-size: 1.4rem; margin: 0 0 4px; color: var(--text); }
.es-userdir-meta p { color: var(--text-mute); margin: 0; font-size: 13px; }
.es-userdir-meta strong { color: var(--text); }
.es-userdir-hint { font-size: 11px; color: var(--text-dim); margin: 6px 0 0; }

.es-userdir-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}
.es-userdir-card {
    border-radius: 12px; overflow: hidden;
    background: var(--surface); border: 1px solid var(--border);
    transition: transform .15s var(--easing), border-color .15s var(--easing);
}
.es-userdir-card:hover { transform: translateY(-2px); border-color: var(--border-2); }
.es-userdir-thumb {
    aspect-ratio: 16/10;
    background: var(--bg-2);
    display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.es-userdir-thumb img { width: 100%; height: 100%; object-fit: cover; }
.es-userdir-icon { font-size: 42px; opacity: .7; }
.es-userdir-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; }
.es-userdir-body strong { color: var(--text); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.es-userdir-body small { color: var(--text-dim); font-size: 11px; }
.es-userdir-expires { color: var(--warn) !important; }
.es-userdir-actions {
    display: flex; gap: 6px; margin-top: 10px;
}
.es-userdir-actions .es-btn { flex: 1; }

@media (max-width: 720px) {
    .es-userdir-head { grid-template-columns: 1fr; }
    .es-userdir-share { width: 100%; }
}

/* Slider thumb polish — smoother for both browsers */
input[type="range"]#es-storage-slider {
    -webkit-appearance: none; appearance: none;
    width: 100%; height: 8px; padding: 0; margin: 8px 0;
    background: rgba(255,255,255,.06); border-radius: 999px;
    cursor: pointer;
    transition: background .15s var(--easing);
}
input[type="range"]#es-storage-slider::-webkit-slider-runnable-track {
    height: 8px; border-radius: 999px; background: transparent;
}
input[type="range"]#es-storage-slider::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none;
    width: 22px; height: 22px; border-radius: 50%; margin-top: -7px;
    background: #fff; cursor: grab;
    box-shadow: 0 0 0 4px #3b82f6, 0 4px 14px rgba(59, 130, 246, .55);
    transition: transform .12s var(--easing), box-shadow .12s var(--easing);
}
input[type="range"]#es-storage-slider::-webkit-slider-thumb:hover {
    transform: scale(1.08);
    box-shadow: 0 0 0 5px #3b82f6, 0 6px 18px rgba(59, 130, 246, .65);
}
input[type="range"]#es-storage-slider:active::-webkit-slider-thumb { cursor: grabbing; }
input[type="range"]#es-storage-slider::-moz-range-track {
    height: 8px; border-radius: 999px; background: rgba(255,255,255,.06);
}
input[type="range"]#es-storage-slider::-moz-range-thumb {
    width: 22px; height: 22px; border-radius: 50%; border: 0;
    background: #fff; cursor: grab;
    box-shadow: 0 0 0 4px #3b82f6, 0 4px 14px rgba(59, 130, 246, .55);
}

/* ===== Password visibility toggle ===== */
.es-pw-wrap {
    position: relative;
    display: block;
}
.es-pw-wrap .es-pw-input {
    width: 100%;
    padding-right: 42px;
}
.es-pw-toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: 0;
    padding: 6px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: color .15s ease, background .15s ease;
}
.es-pw-toggle:hover  { color: #fff; background: rgba(255,255,255,.06); }
.es-pw-toggle:focus  { outline: 2px solid rgba(59,130,246,.6); outline-offset: 1px; }
.es-pw-toggle.es-pw-toggle-active { color: #3b82f6; }

/* ===== Bank Transfer page ===== */
.es-btn-secondary {
    appearance: none; -webkit-appearance: none; accent-color: #3b82f6;
    background: rgba(255,255,255,.06); color: #fff; border: 1px solid rgba(255,255,255,.18);
    padding: 10px 18px; border-radius: 8px; font-weight: 600; cursor: pointer;
    transition: background .15s ease, border-color .15s ease;
}
.es-btn-secondary:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); }

.es-flash {
    padding: 12px 16px; border-radius: 8px; margin-bottom: 18px; font-size: 14px;
}
.es-flash-success { background: rgba(34, 211, 164, .12); border: 1px solid rgba(34, 211, 164, .35); color: #34efb8; }

.es-bank-amount {
    background: linear-gradient(135deg, rgba(59,130,246,.12), rgba(124,92,255,.12));
    border: 1px solid rgba(124,92,255,.3); border-radius: 12px;
    padding: 18px 22px; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
}
.es-bank-amount strong { font-size: 2rem; color: #fff; font-weight: 700; }
.es-bank-amount span { opacity: .72; font-size: 13px; }

.es-bank-ref {
    background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12);
    border-radius: 10px; padding: 14px 18px;
    display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.es-bank-ref code {
    background: transparent; color: #ffd166; font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace;
    font-size: 1.15rem; letter-spacing: 1px; font-weight: 600;
}

.es-bank-table {
    width: 100%; border-collapse: collapse; margin-top: 8px;
    background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.1); border-radius: 10px; overflow: hidden;
}
.es-bank-table th, .es-bank-table td {
    text-align: left; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.07);
    font-size: 14px; vertical-align: middle;
}
.es-bank-table tr:last-child th, .es-bank-table tr:last-child td { border-bottom: 0; }
.es-bank-table th { width: 200px; opacity: .68; font-weight: 500; }
.es-bank-table td { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.es-bank-table code {
    font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace;
    font-size: 14px; color: #fff;
}
.es-bank-copy {
    appearance: none; background: transparent; border: 1px solid rgba(255,255,255,.18);
    color: #cbd5e1; font-size: 11px; padding: 4px 10px; border-radius: 6px; cursor: pointer;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.es-bank-copy:hover { color: #fff; border-color: rgba(255,255,255,.35); }

.es-bank-status {
    background: rgba(34, 211, 164, .08); border: 1px solid rgba(34, 211, 164, .3);
    border-radius: 10px; padding: 18px 22px;
}
.es-bank-status strong { color: #34efb8; font-size: 16px; display: block; margin-bottom: 6px; }
.es-bank-status p { margin: 0; opacity: .8; font-size: 14px; }

@media (max-width: 720px) {
    .es-bank-table th { display: block; padding-bottom: 0; }
    .es-bank-table td { display: flex; padding-top: 4px; }
    .es-bank-table tr { display: block; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
}

/* ===== PayPal checkout ===== */
.es-paypal-btn {
    appearance: none; -webkit-appearance: none; accent-color: #ffc439;
    background: #ffc439 !important; color: #003087 !important;
    border: 1px solid #f1b800 !important; font-weight: 700;
    transition: background .15s ease, transform .05s ease, box-shadow .15s ease;
}
.es-paypal-btn:hover  { background: #ffd166 !important; box-shadow: 0 4px 14px rgba(255, 196, 57, .35); }
.es-paypal-btn:active { transform: translateY(1px); }
.es-paypal-btn svg    { color: #003087; }

.es-btn.es-btn-paypal {
    appearance: none; -webkit-appearance: none;
    background: #ffc439; color: #003087; border: 1px solid #f1b800;
    padding: 14px 20px; border-radius: 10px; font-weight: 700;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    cursor: pointer; margin-top: 8px;
}
.es-btn.es-btn-paypal:hover { background: #ffd166; }

/* ===== Legal pages (Terms, Privacy, Refund, AUP) ===== */
.es-legal { padding: 64px 24px 96px; }
.es-legal-inner { max-width: 880px; margin: 0 auto; }
.es-legal-head { text-align: center; margin-bottom: 48px; }
.es-legal-head h1 { font-size: 2.4rem; margin: 8px 0 12px; line-height: 1.15; }
.es-legal-updated { opacity: .55; font-size: 13px; }
.es-legal-body { font-size: 15px; line-height: 1.75; color: rgba(255,255,255,.86); }
.es-legal-body h2 { font-size: 1.25rem; margin: 40px 0 12px; color: #fff; }
.es-legal-body h3 { font-size: 1.05rem; margin: 22px 0 8px; color: #fff; }
.es-legal-body p, .es-legal-body ul, .es-legal-body ol { margin: 0 0 14px; }
.es-legal-body ul, .es-legal-body ol { padding-left: 22px; }
.es-legal-body li { margin: 6px 0; }
.es-legal-body a { color: #7c5cff; text-decoration: underline; text-underline-offset: 2px; }
.es-legal-body a:hover { color: #a48aff; }
.es-legal-body code {
    font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace;
    background: rgba(255,255,255,.06); padding: 2px 6px; border-radius: 4px; font-size: 13px;
}
.es-legal-body strong { color: #fff; }



