/* ─── DubFlow shared design tokens + components ─── */
/* Loaded globally from _Host.cshtml for all app pages (auth, dashboard, etc.) */
/* Landing page (landing.css) also references these same tokens. */

:root {
  --bg: #ececee;
  --panel: #f7f7f8;
  --ink: #1b1b1f;
  --gray: #9a9aa2;
  --gray-light: #c9c9cf;
  --accent: #ff4b2b;
  --accent-soft: #ff7a5c;
  --radius-xl: 36px;
  --radius-lg: 24px;
  --shadow-card: 0 18px 40px rgba(27,27,31,.08), 0 2px 6px rgba(27,27,31,.05);
  --shadow-deep: 0 30px 60px rgba(27,27,31,.16);
}

/* ── page reset ── */
.app-page, .app-page * { box-sizing: border-box }
.app-page {
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
}
.app-page a { text-decoration: none; color: inherit }

/* ── shared container ── */
.app-container { max-width: 1180px; margin: 0 auto; padding: 0 28px }

/* ── buttons ── */
.app-btn {
  display: inline-block; border: none; cursor: pointer;
  font-family: 'Poppins', inherit; border-radius: 999px;
  font-size: 14px; font-weight: 500; transition: .25s; text-align: center
}
.app-btn-dark {
  background: #16161a; color: #fff; padding: 14px 26px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 12px 26px rgba(22,22,26,.35)
}
.app-btn-dark:hover { transform: translateY(-2px) }
.app-btn-ghost {
  background: #fff; color: #4a4a52; padding: 10px 18px; font-size: 12.5px;
  box-shadow: var(--shadow-card)
}
.app-btn-ghost:hover { transform: translateY(-2px) }
/* Anchor-color reset in .app-page has higher specificity (0,1,1) than the button classes (0,1,0).
   These overrides win at (0,2,1) so <a class="app-btn-dark"> links stay legible. */
.app-page a.app-btn-dark { color: #fff }
.app-page a.app-btn-ghost { color: #4a4a52 }
/* Same fix for the dark pill button used as a download link (e.g. Video Edits
   "Download edited video"): without this the label inherits the dark anchor
   color and renders nearly invisible on the dark button (looks half-painted). */
.app-page a.np-submit { color: #fff }

/* ── logo ── */
.app-logo {
  display: flex; align-items: center; gap: 9px;
  font-weight: 600; font-size: 19px; color: var(--ink)
}
.app-logo-mark {
  width: 26px; height: 26px; border-radius: 50%; background: #16161a;
  position: relative; flex: none
}
.app-logo-mark::after {
  content: ''; position: absolute; inset: 6px 6px 6px 13px;
  border-radius: 0 12px 12px 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft))
}

/* ── pill-tag ── */
.app-pill-tag {
  display: inline-flex; align-items: center; gap: 8px; background: #fff;
  border-radius: 999px; padding: 8px 18px; font-size: 12.5px; color: var(--accent);
  box-shadow: var(--shadow-card)
}
.app-pill-tag::before { content: '✦'; font-size: 11px }

/* ── topbar ── */
.app-topbar-wrap {
  position: sticky; top: 18px; z-index: 50;
  display: flex; justify-content: center; padding: 18px 16px 0
}
.app-topbar {
  width: min(1080px, 96vw); display: flex; align-items: center;
  justify-content: space-between; gap: 14px; background: #fff;
  border-radius: 999px; padding: 10px 14px 10px 24px;
  box-shadow: 0 14px 34px rgba(27,27,31,.14); position: relative
}
.app-logo { margin-right: 6px; white-space: nowrap }
/* nowrap + reserved underline space keeps every item on one vertically-centered baseline */
.app-top-links { display: flex; align-items: center; flex-wrap: nowrap; gap: 18px; font-size: 13.5px; color: #54545c }
.app-top-links a {
  text-decoration: none; color: inherit; white-space: nowrap; line-height: 1;
  border-bottom: 1.5px solid transparent; padding-bottom: 2px
}
.app-top-links a.active { color: var(--accent); border-bottom-color: var(--accent) }
.app-top-links a:hover { color: var(--ink) }
.app-top-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0 }
.app-plan-pill {
  background: var(--panel); border-radius: 999px; white-space: nowrap;
  padding: 8px 14px; font-size: 12px; color: #6d6d75
}
.app-plan-pill b { color: var(--accent); font-weight: 500 }
.app-avatar {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600;
  box-shadow: 0 10px 20px rgba(255,75,43,.3); cursor: pointer
}
.app-logout-btn {
  background: none; border: none; cursor: pointer; white-space: nowrap;
  font-family: 'Poppins', sans-serif; font-size: 12.5px; color: #8a8a92; padding: 4px 8px
}
.app-logout-btn:hover { color: var(--ink) }
/* hamburger — hidden on desktop, shown when the pill can't fit the links */
.app-burger {
  display: none; background: none; border: none; cursor: pointer;
  font-size: 22px; line-height: 1; color: #54545c; padding: 2px 8px
}
@media (max-width: 980px) {
  .app-burger { display: block }
  .app-plan-pill { display: none }
  .app-top-links { display: none }
  .app-top-links.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
    position: absolute; top: calc(100% + 12px); left: 0; right: 0;
    background: #fff; border-radius: 20px; padding: 20px 24px;
    box-shadow: 0 14px 34px rgba(27,27,31,.14)
  }
  .app-top-links a.active { border-bottom-color: transparent }
}

/* ── app body (fallback container for pages that don't use .app-container) ── */
.app-body { max-width: 1180px; margin: 0 auto; padding: 100px 28px 60px }

/* ── auth card ── */
.auth-wrap {
  min-height: 100vh; display: flex; align-items: center;
  justify-content: center; padding: 24px;
  background: var(--bg);
  background-image:
    radial-gradient(700px 380px at 85% 8%, rgba(255,75,43,.14), transparent 60%),
    radial-gradient(600px 400px at 8% 92%, rgba(150,150,160,.18), transparent 60%)
}
.back-home-pill {
  position: fixed; top: 24px; left: 28px; background: #fff;
  border-radius: 999px; padding: 11px 20px;
  font-size: 13px; color: #54545c; box-shadow: var(--shadow-card);
  text-decoration: none; z-index: 10
}
.back-home-pill:hover { color: var(--ink) }
.auth-card {
  width: min(980px, 100%); min-height: 600px; border-radius: var(--radius-xl);
  overflow: hidden; display: grid; grid-template-columns: 1fr 1fr;
  background: #fff; box-shadow: var(--shadow-deep)
}
.auth-brand {
  position: relative; padding: 54px 48px; color: #e8e8ec;
  display: flex; flex-direction: column;
  background:
    radial-gradient(420px 320px at 85% 88%, rgba(255,75,43,.75), transparent 62%),
    radial-gradient(520px 380px at -10% -10%, #3a3a42, transparent 70%),
    linear-gradient(150deg, #26262c, #131316 65%)
}
.auth-brand .brand-logo {
  display: flex; align-items: center; gap: 9px;
  font-weight: 600; font-size: 20px; color: #fff
}
.brand-logo-mark {
  width: 28px; height: 28px; border-radius: 50%; background: #fff;
  position: relative; flex: none
}
.brand-logo-mark::after {
  content: ''; position: absolute; inset: 6px 6px 6px 14px;
  border-radius: 0 12px 12px 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft))
}
.auth-brand h2 {
  font-size: 38px; font-weight: 500; line-height: 1.18; color: #d8d8de;
  margin: auto 0 14px; letter-spacing: -.5px
}
.auth-brand h2 b { font-weight: 500; color: #fff }
.auth-brand .tagline { font-size: 13.5px; color: #9a9aa2; line-height: 1.8; margin-bottom: 34px }
.stage-pills { display: flex; flex-wrap: wrap; gap: 10px }
.stage-pills span {
  border: 1px solid rgba(255,255,255,.16); border-radius: 999px;
  padding: 8px 16px; font-size: 12px; color: #b9b9c0
}
.stage-pills span.hot {
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  border-color: transparent; color: #fff; box-shadow: 0 10px 22px rgba(255,75,43,.35)
}
.auth-form-side {
  padding: 64px 56px; display: flex; flex-direction: column;
  justify-content: center; background: var(--panel)
}
.auth-form-side h1 {
  font-size: 34px; font-weight: 500; color: #54545c; margin: 22px 0 6px; letter-spacing: -.5px
}
.auth-form-side .sub { font-size: 13.5px; color: #8a8a92; margin-bottom: 34px }
.form-field { margin-bottom: 18px }
.form-field label { display: block; font-size: 12.5px; font-weight: 500; color: #6d6d75; margin-bottom: 8px }
.form-field input {
  width: 100%; background: #fff; border: 1.5px solid transparent; border-radius: 16px;
  padding: 14px 18px; font-family: 'Poppins', sans-serif; font-size: 14px; color: var(--ink);
  outline: none; box-shadow: var(--shadow-card); transition: .2s
}
.form-field input:focus { border-color: var(--accent) }
.form-field input::placeholder { color: #b9b9c0 }
.form-row-between {
  display: flex; justify-content: space-between; align-items: center; margin: 4px 0 26px
}
.remember-me { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #8a8a92 }
.remember-me input { accent-color: var(--accent) }
.forgot-link { font-size: 12.5px; color: var(--accent); text-decoration: none }
.auth-submit {
  width: 100%; background: #16161a; color: #fff; padding: 16px;
  border: none; border-radius: 999px; font-family: 'Poppins', sans-serif;
  font-size: 14.5px; font-weight: 500; cursor: pointer; transition: .25s;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 12px 26px rgba(22,22,26,.35)
}
.auth-submit:hover { transform: translateY(-2px) }
.auth-submit:disabled { opacity: .6; cursor: not-allowed; transform: none }
.auth-divider {
  display: flex; align-items: center; gap: 14px; margin: 26px 0; font-size: 12px; color: #b9b9c0
}
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: #e1e1e6 }
.auth-signup-line { text-align: center; font-size: 13px; color: #8a8a92 }
.auth-signup-line a { color: var(--accent); font-weight: 500; text-decoration: none }
.legal-consent { text-align: center; font-size: 11.5px; color: #b0b0b8; margin-top: 14px; line-height: 1.7 }
.legal-consent a { color: #9a9aa2; text-decoration: underline; text-underline-offset: 3px }
.auth-error {
  background: #fdebe9; border-radius: 12px; padding: 12px 16px;
  font-size: 13px; color: #c0392b; margin-bottom: 16px
}

/* ── dashboard ── */
.page-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin: 54px 0 30px; flex-wrap: wrap; gap: 18px
}
.page-head h1 {
  font-size: clamp(34px, 4vw, 52px); font-weight: 400; color: #9a9aa2;
  line-height: 1.1; letter-spacing: -.5px; border: none; outline: none
}
.page-head h1 b { font-weight: 500; color: #7c7c84 }
.page-head .sub { font-size: 13.5px; color: #8a8a92; margin-top: 10px }
.stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 26px
}
.stat-card {
  background: var(--panel); border-radius: var(--radius-lg);
  padding: 26px 30px; box-shadow: var(--shadow-card)
}
.stat-lbl { font-size: 12.5px; color: #8a8a92 }
.stat-val { font-size: 34px; font-weight: 600; margin-top: 6px }
.stat-val small { font-size: 13px; color: #9a9aa2; font-weight: 400 }
.stat-meter {
  height: 8px; border-radius: 999px; background: #e4e4e8; margin-top: 16px; overflow: hidden
}
.stat-meter i {
  display: block; height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft))
}
.stat-note { font-size: 11.5px; color: #9a9aa2; margin-top: 10px }
.active-job {
  border-radius: var(--radius-lg); padding: 30px 34px; margin-bottom: 26px; color: #cfcfd6;
  background: linear-gradient(150deg, #3a3a40, #1d1d22); box-shadow: var(--shadow-deep)
}
.aj-top {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px
}
.aj-title { font-size: 19px; font-weight: 500; color: #fff }
.aj-live {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); margin-right: 10px; animation: aj-pulse 1.4s infinite
}
@keyframes aj-pulse { 50% { opacity: .35 } }
.aj-msg { font-size: 12.5px; color: #9a9aa2; margin-top: 4px }
.aj-stages { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px }
.aj-stages span {
  border: 1px solid rgba(255,255,255,.14); border-radius: 999px;
  padding: 8px 16px; font-size: 12px; color: #85858d
}
.aj-stages span.done { color: #cfcfd6; border-color: rgba(255,255,255,.3) }
.aj-stages span.done::before { content: '✓ '; color: var(--accent-soft) }
.aj-stages span.now {
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  border-color: transparent; color: #fff; box-shadow: 0 10px 22px rgba(255,75,43,.35)
}
.aj-bar {
  height: 6px; border-radius: 999px; background: rgba(255,255,255,.1);
  margin-top: 22px; overflow: hidden
}
.aj-bar i {
  display: block; height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft))
}
.sec-label { font-size: 13px; color: #8a8a92; margin: 34px 0 16px }
.proj-row {
  display: grid; grid-template-columns: 1.6fr 1fr .8fr .9fr auto;
  gap: 18px; align-items: center; background: var(--panel);
  border-radius: var(--radius-lg); padding: 24px 30px; margin-bottom: 14px;
  box-shadow: var(--shadow-card); transition: .25s
}
.proj-row:hover { transform: translateY(-2px); box-shadow: var(--shadow-deep) }
.proj-name { font-size: 15.5px; font-weight: 500 }
.proj-name small {
  display: block; font-size: 11.5px; color: #9a9aa2;
  font-weight: 400; margin-top: 3px
}
.lang-pill {
  background: #fff; border-radius: 999px; padding: 7px 14px;
  font-size: 12px; color: #6d6d75; box-shadow: var(--shadow-card);
  white-space: nowrap
}
.lang-pill b { color: var(--accent); font-weight: 500 }
.proj-len { font-size: 12.5px; color: #8a8a92 }
.status-pill {
  border-radius: 999px; padding: 7px 16px; font-size: 12px; font-weight: 500;
  white-space: nowrap
}
.status-pill.ok { background: #e7f3ec; color: #2c7a4b }
.status-pill.fail { background: #fdebe9; color: #c0392b }
.status-pill.run { background: #fff1ec; color: var(--accent) }
.status-pill.review { background: #fff8e6; color: #b07d00 }
.proj-actions { display: flex; gap: 8px; flex-wrap: wrap }
.proj-empty {
  background: var(--panel); border-radius: var(--radius-lg);
  padding: 60px 30px; text-align: center;
  box-shadow: var(--shadow-card); color: #8a8a92; font-size: 14px
}
.dash-footer {
  padding: 60px 0 30px; text-align: center; font-size: 12.5px; color: #9a9aa2
}

/* ── new project page ── */
.back-link { font-size: 13px; color: #8a8a92; text-decoration: none }
.back-link:hover { color: var(--ink) }
.np-h1 {
  font-size: clamp(32px,4vw,48px); font-weight: 400; color: #9a9aa2;
  letter-spacing: -.5px; margin-top: 14px; border: none; outline: none
}
.np-h1 b { font-weight: 500; color: #7c7c84 }
.quota-note { font-size: 12.5px; color: #8a8a92; margin-top: 10px }
.quota-note b { color: var(--accent); font-weight: 500 }
.form-card {
  background: var(--panel); border-radius: var(--radius-xl);
  padding: 44px; box-shadow: var(--shadow-card)
}
.np-input {
  width: 100%; background: #fff; border: 1.5px solid transparent; border-radius: 16px;
  padding: 14px 18px; font-family: 'Poppins', sans-serif; font-size: 14px; color: var(--ink);
  outline: none; box-shadow: var(--shadow-card); transition: .2s
}
.np-input:focus { border-color: var(--accent) }
.np-input::placeholder { color: #b9b9c0 }
.lang-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: end }
.lang-select-wrap { position: relative }
.lang-select-wrap select {
  width: 100%; appearance: none; background: #fff; border: 1.5px solid transparent;
  border-radius: 16px; padding: 14px 44px 14px 18px; font-family: 'Poppins', sans-serif;
  font-size: 14px; color: var(--ink); outline: none; box-shadow: var(--shadow-card);
  cursor: pointer; transition: .2s
}
.lang-select-wrap select:focus { border-color: var(--accent) }
.lang-select-wrap::after {
  content: '▾'; position: absolute; right: 18px; bottom: 15px; color: #9a9aa2; pointer-events: none
}
.swap-btn {
  width: 44px; height: 44px; border-radius: 50%; background: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-card); color: var(--accent); font-size: 17px;
  margin-bottom: 3px; flex: none; user-select: none
}
.dropzone {
  border: 2px dashed #cfcfd6; border-radius: var(--radius-lg); background: #fff;
  padding: 46px 30px; text-align: center; transition: .25s; cursor: pointer;
  margin-bottom: 14px; position: relative; display: block
}
.dropzone:hover, .dropzone.dz-over { border-color: var(--accent) }
.dz-icon {
  width: 62px; height: 62px; border-radius: 20px; margin: 0 auto 18px;
  color: #fff; font-size: 26px;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 26px rgba(255,75,43,.35)
}
.dropzone h3 { font-size: 16.5px; font-weight: 500; color: #54545c; border: none; outline: none }
.dz-selected h3 { color: var(--ink) }
.dropzone p { font-size: 12.5px; color: #9a9aa2; margin-top: 6px }
.dropzone p b { color: var(--accent); font-weight: 500 }
.dz-meta { font-size: 11.5px; color: #b9b9c0; margin-top: 14px }
.srt-row {
  display: flex; align-items: center; justify-content: space-between; background: #fff;
  border-radius: 16px; padding: 16px 20px; box-shadow: var(--shadow-card); margin-bottom: 8px
}
.srt-left { display: flex; align-items: center; gap: 14px }
.srt-ico {
  width: 40px; height: 40px; border-radius: 12px; background: var(--panel);
  display: flex; align-items: center; justify-content: center; font-size: 17px; flex: none
}
.srt-text .t { font-size: 13.5px; font-weight: 500; color: #54545c }
.srt-text .s { font-size: 11.5px; color: #9a9aa2; margin-top: 2px }
.np-hint { font-size: 11.5px; color: #9a9aa2; margin: 0 4px 30px }
.np-submit {
  display: block; width: 100%; background: #16161a; color: #fff; padding: 17px;
  font-size: 15px; font-family: 'Poppins', sans-serif; font-weight: 500; border: none;
  border-radius: 999px; cursor: pointer; transition: .25s;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 12px 26px rgba(22,22,26,.35)
}
.np-submit:hover:not(:disabled) { transform: translateY(-2px) }
.np-submit:disabled { opacity: .5; cursor: not-allowed; transform: none }
.np-submit-note { text-align: center; font-size: 11.5px; color: #9a9aa2; margin-top: 14px }
.np-progress { margin: 0 0 22px }
.np-progress-bar {
  height: 8px; border-radius: 999px; background: #e4e4e8; overflow: hidden; margin-bottom: 8px
}
.np-progress-bar i {
  display: block; height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft)); transition: width .3s
}
.np-progress-text { font-size: 12px; color: #8a8a92; text-align: center }

/* ── project detail ── */
.pd-page-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin: 46px 0 24px; flex-wrap: wrap; gap: 16px
}
.pd-h1 {
  font-size: clamp(26px,3vw,38px); font-weight: 500; color: #54545c;
  letter-spacing: -.5px; margin-top: 12px; max-width: 760px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  border: none; outline: none
}
.pd-meta {
  display: flex; gap: 10px; align-items: center; margin-top: 12px; flex-wrap: wrap
}
.pd-meta .dim { font-size: 12px; color: #9a9aa2 }
.btn-cancel {
  background: #fdebe9; color: #c0392b; border: none; border-radius: 999px;
  padding: 12px 22px; font-family: 'Poppins', sans-serif; font-size: 13px;
  font-weight: 500; cursor: pointer; transition: .25s
}
.btn-cancel:hover { transform: translateY(-2px) }
.tracker-msg {
  display: flex; align-items: center; gap: 10px; margin-top: 20px; font-size: 12.5px; color: #9a9aa2
}
.spin {
  width: 14px; height: 14px; flex: none; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.18); border-top-color: var(--accent-soft);
  animation: spin-rot 1s linear infinite
}
@keyframes spin-rot { to { transform: rotate(360deg) } }
.seg-head {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px
}
.seg-head h2 { font-size: 24px; font-weight: 500; color: #7c7c84; letter-spacing: -.3px }
.seg-head .dim { font-size: 12px; color: #9a9aa2 }
.seg {
  display: grid;
  grid-template-columns: 46px 110px 1.1fr 1.3fr 170px 110px auto;
  gap: 16px; align-items: center; background: var(--panel);
  border-radius: 20px; padding: 18px 24px; margin-bottom: 10px;
  box-shadow: var(--shadow-card)
}
.seg .s-idx { font-size: 12px; color: #9a9aa2 }
.seg .s-time { font-size: 11.5px; color: #8a8a92; line-height: 1.6 }
.seg .s-src { font-size: 13px; color: #8a8a92; line-height: 1.6 }
.seg .s-tgt textarea {
  width: 100%; background: #fff; border: 1.5px solid transparent; border-radius: 14px;
  padding: 11px 14px; font-family: 'Poppins', sans-serif; font-size: 13px;
  color: var(--ink); outline: none; resize: none; box-shadow: var(--shadow-card);
  line-height: 1.55; min-height: 58px
}
.seg .s-tgt textarea:focus { border-color: var(--accent) }
.seg.edited .s-tgt textarea { border-color: #f3c9be }
.s-select { position: relative }
.s-select select {
  width: 100%; appearance: none; background: #fff; border: none; border-radius: 999px;
  padding: 9px 30px 9px 14px; font-family: 'Poppins', sans-serif; font-size: 11.5px;
  color: #54545c; outline: none; box-shadow: var(--shadow-card); cursor: pointer
}
.s-select::after {
  content: '▾'; position: absolute; right: 12px; top: 8px;
  color: #9a9aa2; font-size: 11px; pointer-events: none
}
.fit {
  justify-self: start; border-radius: 999px; padding: 6px 12px;
  font-size: 11px; font-weight: 500
}
.fit.ok { background: #e7f3ec; color: #2c7a4b }
.fit.warn { background: #fff1ec; color: var(--accent) }
.seg-actions { display: flex; gap: 6px }
.icon-btn {
  width: 36px; height: 36px; border-radius: 50%; background: #fff; border: none;
  display: flex; align-items: center; justify-content: center; font-size: 13px;
  color: #54545c; box-shadow: var(--shadow-card); cursor: pointer; transition: .2s;
  font-family: 'Poppins', sans-serif
}
.icon-btn:hover { transform: translateY(-2px); color: var(--accent) }
.icon-btn:disabled { opacity: .4; cursor: not-allowed; transform: none }
.seg-empty {
  background: var(--panel); border-radius: var(--radius-lg);
  padding: 60px 30px; text-align: center; box-shadow: var(--shadow-card);
  color: #8a8a92; font-size: 14px; margin-bottom: 10px
}
.pd-footer { padding: 50px 0 26px; text-align: center; font-size: 12.5px; color: #9a9aa2 }

@media (max-width: 900px) {
  .auth-card { grid-template-columns: 1fr }
  .auth-brand { display: none }
  .auth-form-side { padding: 48px 32px }
  .stats-grid { grid-template-columns: 1fr }
  .proj-row { grid-template-columns: 1fr; gap: 10px }
  .app-top-links { display: none }
  .seg { grid-template-columns: 1fr; gap: 10px }
}
@media (max-width: 760px) {
  .lang-row { grid-template-columns: 1fr }
  .swap-btn { display: none }
  .form-card { padding: 30px 22px }
}
