/* Ai PhotoFlow - Sign In (login.html), My Account (account.html), Browser Uploader & Web Checkout */

/* ---------- Executive Split Studio Login Page (login.html) ---------- */
.auth-stage {
  position: relative;
  min-height: calc(100vh - 60px);
  margin-top: calc(var(--header-height, 80px) * -1);
  padding: calc(var(--header-height, 80px) + 2.75rem) 0 4.5rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 68% 52% at 22% 8%, rgba(0, 194, 255, 0.14), transparent 68%),
    radial-gradient(ellipse 52% 46% at 82% 88%, rgba(245, 158, 11, 0.1), transparent 70%);
}
.auth-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 15%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 15%, transparent 80%);
  pointer-events: none;
}
.auth-shell {
  position: relative;
  z-index: 1;
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(14, 20, 34, 0.94), rgba(8, 12, 22, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: 0 34px 85px -24px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(56, 189, 248, 0.12) inset;
  animation: apfSoftRise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Left Studio Showcase Panel */
.auth-brand-panel {
  padding: 2.75rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  background:
    radial-gradient(ellipse 90% 60% at 10% 0%, rgba(0, 194, 255, 0.14), transparent 70%),
    radial-gradient(ellipse 80% 55% at 95% 100%, rgba(245, 158, 11, 0.1), transparent 70%),
    linear-gradient(180deg, rgba(16, 24, 42, 0.82), rgba(9, 13, 24, 0.95));
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.auth-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}
.auth-brand-badge img {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 20px rgba(0, 194, 255, 0.22);
}
.auth-brand-badge strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
}
.auth-brand-badge span {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  color: #7dd3fc;
  letter-spacing: 0.03em;
}
.auth-brand-title {
  font-size: clamp(1.65rem, 2.4vw, 2.1rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0 0 0.85rem;
}
.auth-brand-desc {
  font-size: 0.93rem;
  line-height: 1.6;
  color: #94a3b8;
  margin: 0 0 1.75rem;
}
.auth-feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.auth-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}
.auth-fi {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.auth-fi-rose { background: rgba(244, 63, 94, 0.14); border-color: rgba(244, 63, 94, 0.3); }
.auth-fi-gold { background: rgba(245, 158, 11, 0.14); border-color: rgba(245, 158, 11, 0.32); }
.auth-fi-cyan { background: rgba(0, 194, 255, 0.14); border-color: rgba(0, 194, 255, 0.32); }
.auth-fi-emerald { background: rgba(16, 185, 129, 0.14); border-color: rgba(16, 185, 129, 0.3); }
.auth-feature-list strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 0.12rem;
}
.auth-feature-list small {
  display: block;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #94a3b8;
}
.auth-brand-foot {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: #94a3b8;
}
.auth-brand-foot a {
  color: #38bdf8;
  font-weight: 700;
  text-decoration: none;
}
.auth-brand-foot a:hover {
  text-decoration: underline;
}

/* Right Form Panel */
.auth-form-panel {
  padding: 2.75rem 2.5rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(8, 12, 22, 0.75);
}
.auth-form-head {
  margin-bottom: 1.5rem;
}
.auth-kicker-pill {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #7dd3fc;
  background: rgba(0, 194, 255, 0.11);
  border: 1px solid rgba(0, 194, 255, 0.28);
  padding: 0.24rem 0.68rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}
.auth-form-head h1 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.025em;
  margin: 0 0 0.4rem;
  line-height: 1.15;
}
.auth-form-head p {
  margin: 0;
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.5;
}
.auth-tabs {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  padding: 5px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  margin-bottom: 1.5rem !important;
}
.auth-tabs .modal-tab-btn {
  border-radius: 9px;
  padding: 0.65rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #94a3b8;
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: all 0.2s ease;
}
.auth-tabs .modal-tab-btn:hover {
  color: #fff;
}
.auth-tabs .modal-tab-btn.active {
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
  color: #fff;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.36);
}
.auth-field {
  margin-bottom: 1rem;
}
.auth-field .form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #cbd5e1;
  margin-bottom: 0.45rem;
}
.auth-input-wrap {
  position: relative;
}
.auth-input-ico {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  pointer-events: none;
}
.auth-input-wrap .form-input {
  padding-left: 42px;
}
.auth-form-panel .form-input {
  width: 100%;
  height: 48px;
  border-radius: 12px;
  background: rgba(6, 10, 18, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 0.94rem;
  padding: 0 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.auth-form-panel .form-input:focus {
  outline: none;
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(0, 194, 255, 0.16);
}
.auth-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.auth-submit-btn {
  width: 100%;
  height: 50px;
  min-height: 50px;
  border-radius: 12px;
  font-size: 0.96rem;
  font-weight: 800;
  margin-top: 0.35rem;
  justify-content: center;
}
.auth-signup-note {
  margin-top: 0.8rem;
  text-align: center;
  font-size: 0.8rem;
  color: #94a3b8;
}
.auth-panel-foot {
  margin-top: 1.5rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.84rem;
  color: #94a3b8;
}
.auth-panel-foot a {
  color: #fbbf24;
  font-weight: 700;
  text-decoration: none;
}
.auth-panel-foot a:hover {
  text-decoration: underline;
}

@media (max-width: 920px) {
  .auth-stage {
    margin-top: -64px;
    padding: calc(64px + 1.5rem) 0 3rem;
  }
  .auth-shell {
    grid-template-columns: minmax(0, 1fr);
    border-radius: 20px;
  }
  .auth-form-panel {
    order: 1;
    padding: 2rem 1.4rem 1.75rem;
  }
  .auth-brand-panel {
    order: 2;
    padding: 1.85rem 1.4rem;
    border-right: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
}
@media (max-width: 540px) {
  .auth-field-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .auth-form-head h1 {
    font-size: 1.5rem;
  }
}

/* ---------- sign in: email + 6-digit code ---------- */
#acct-signin [hidden] { display: none !important; }
.acct-kick { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-cyan, #00c2ff); margin-bottom: 6px; }
.acct-lead { color: var(--text-secondary, #94a3b8); font-size: .92rem; line-height: 1.55; margin: 0 0 1.1rem; }
.acct-lead strong { color: #fff; }
.acct-otp { display: flex; gap: 9px; margin: .25rem 0 1rem; }
.acct-otp input { flex: 1; min-width: 0; height: 56px; border-radius: 13px; border: 1px solid var(--border-medium, rgba(255,255,255,.16)); background: #0b0f17; color: #fff; text-align: center; font-size: 1.5rem; font-weight: 800; font-family: inherit; outline: none; }
.acct-otp input:focus { border-color: var(--accent-cyan, #00c2ff); box-shadow: 0 0 0 3px rgba(0,194,255,.18); }
.acct-msg { min-height: 1.2rem; margin-top: .75rem; font-size: .86rem; font-weight: 600; text-align: center; }
.acct-msg.is-err { color: #fca5a5; }
.acct-msg.is-ok { color: #6ee7b7; }
.acct-safe { display: flex; gap: 8px; margin-top: 1rem; padding: 10px 12px; border-radius: 11px; font-size: .8rem; color: #a7f3d0; background: rgba(16,185,129,.07); border: 1px solid rgba(16,185,129,.25); }
.acct-links { margin-top: .9rem; text-align: center; font-size: .82rem; color: var(--text-muted, #64748b); }
.acct-link { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: #38bdf8; cursor: pointer; }
.acct-link:disabled { color: var(--text-muted, #64748b); cursor: default; }
.acct-spin { display: inline-block; width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(255,255,255,.3); border-top-color: #fff; animation: acctspin .8s linear infinite; vertical-align: -2px; }
@keyframes acctspin { to { transform: rotate(360deg); } }

/* ---------- My Account layout (clean, spacious, aligned) ---------- */
.acx { display: flex; min-height: calc(100vh - 68px); background: #06090f; color: #f8fafc; max-width: 1440px; margin: 0 auto; }
.acx-side { width: 256px; flex-shrink: 0; padding: 24px 16px; background: #090d16; border-right: 1px solid rgba(255,255,255,.07); display: flex; flex-direction: column; gap: 5px; position: sticky; top: 68px; align-self: flex-start; min-height: calc(100vh - 68px); }
.acx-prof { text-align: center; padding: 6px 8px 18px; margin-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.07); }
.acx-big { width: 60px; height: 60px; margin: 0 auto 10px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 800; color: #fff; background: linear-gradient(135deg, #00c2ff, #0284c7); box-shadow: 0 8px 24px rgba(0,194,255,.25); }
.acx-prof b { display: block; font-size: 15px; color: #fff; letter-spacing: -.01em; }
.acx-prof > span { display: block; font-size: 12px; color: #94a3b8; word-break: break-all; margin-top: 2px; }
.acx-plan { display: inline-block; margin-top: 9px; padding: 3px 10px; border-radius: 999px; font-size: 10.5px; font-weight: 800; letter-spacing: .04em; background: rgba(56,189,248,.14); color: #7dd3fc; border: 1px solid rgba(56,189,248,.28); }
.acx-plan.p-studio, .acx-plan.p-vip_lifetime { background: rgba(245,158,11,.14); color: #fcd34d; border-color: rgba(245,158,11,.35); }
.acx-it { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 11px; color: #cbd5e1; font-weight: 600; font-size: 13.5px; text-decoration: none; border: 1px solid transparent; transition: background .15s, border-color .15s, color .15s; }
.acx-it i { font-style: normal; width: 26px; height: 26px; border-radius: 8px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.04); font-size: 14px; flex-shrink: 0; }
.acx-it em { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: rgba(255,255,255,.07); color: #cbd5e1; }
.acx-it:hover { background: rgba(255,255,255,.04); color: #fff; text-decoration: none; }
.acx-it.on { background: rgba(0,194,255,.12); border-color: rgba(0,194,255,.35); color: #fff; }
.acx-it.on i { background: rgba(0,194,255,.22); }
.acx-it.out { color: #fca5a5; margin-top: 4px; }
.acx-sec { font-size: 10px; font-weight: 800; letter-spacing: .1em; color: #64748b; margin: 14px 10px 4px; text-transform: uppercase; }

.acx-main { flex: 1; min-width: 0; padding: 28px 36px 64px; max-width: 1140px; }
.acx-loading { display: flex; gap: 10px; align-items: center; color: #94a3b8; padding: 36px 4px; font-size: .95rem; }
.acx-empty { padding: 32px 24px; text-align: center; color: #94a3b8; border: 1px dashed rgba(255,255,255,.12); border-radius: 14px; font-size: .92rem; line-height: 1.6; }
.acx-empty.is-err { color: #fca5a5; border-color: rgba(239,68,68,.3); }

/* Page Header */
.acx-hello { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.acx-hello h1 { margin: 0; font-size: 1.55rem; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.acx-hello p { margin: 4px 0 0; color: #94a3b8; font-size: .9rem; }
.acx-hello-acts { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* Buttons */
.acx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 10px 16px; border-radius: 10px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); color: #f8fafc; font: inherit; font-weight: 700; font-size: 13.5px; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, transform .12s; }
.acx-btn:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.24); text-decoration: none; }
.acx-btn.sm { padding: 7px 12px; font-size: 12.5px; border-radius: 9px; }
.acx-btn.xs { padding: 5px 10px; font-size: 12px; border-radius: 8px; }
.acx-btn.bp { border: 0; background: linear-gradient(135deg, #0ea5e9, #0284c7); color: #fff; box-shadow: 0 6px 18px rgba(2,132,199,.28); }
.acx-btn.bp:hover { background: linear-gradient(135deg, #38bdf8, #0284c7); }
.acx-btn.gold { border: 1px solid rgba(245,158,11,.45); background: linear-gradient(135deg, rgba(245,158,11,.2), rgba(217,119,6,.12)); color: #fde68a; }
.acx-btn.gold:hover { background: rgba(245,158,11,.26); }
.acx-btn.wa { border: 0; background: #16a34a; color: #fff; }
.acx-btn.wa:hover { background: #15803d; }
.acx-btn.danger { border: 1px solid rgba(239,68,68,.35); background: rgba(239,68,68,.1); color: #fca5a5; }
.acx-btn.danger:hover { background: rgba(239,68,68,.2); }
.acx-btn:disabled { opacity: .5; cursor: not-allowed; }

/* Plan Hero Card */
.acx-hero { display: flex; align-items: stretch; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 22px 24px; border-radius: 18px; background: linear-gradient(135deg, #0e1626, #0a0f1a); border: 1px solid rgba(56,189,248,.24); }
.acx-hero .hl { flex: 1; min-width: 260px; display: flex; flex-direction: column; justify-content: center; }
.acx-hero .k { font-size: 11px; font-weight: 800; letter-spacing: .1em; color: #7dd3fc; text-transform: uppercase; }
.acx-hero .t { font-size: 1.75rem; font-weight: 800; margin: 4px 0 6px; color: #fff; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.acx-hero .t small { font-size: 11.5px; font-weight: 800; padding: 3px 10px; border-radius: 999px; letter-spacing: .03em; }
.acx-hero .t small.ok { background: rgba(16,185,129,.16); color: #6ee7b7; border: 1px solid rgba(16,185,129,.3); }
.acx-hero .t small.bad { background: rgba(239,68,68,.16); color: #fca5a5; border: 1px solid rgba(239,68,68,.3); }
.acx-hero .s { color: #cbd5e1; font-size: 13.5px; line-height: 1.5; }
.acx-hero .bar, .acx-lk .bar, .acx-gc .bar { height: 6px; border-radius: 9px; background: rgba(255,255,255,.08); overflow: hidden; }
.acx-hero .bar { margin-top: 12px; width: 280px; max-width: 100%; }
.acx-hero .bar i, .acx-lk .bar i, .acx-gc .bar i { display: block; height: 100%; border-radius: 9px; background: linear-gradient(90deg, #38bdf8, #0284c7); }
.acx-hero-right { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; gap: 12px; }
.acx-hero .mini { display: flex; gap: 12px; flex-wrap: wrap; }
.acx-hero .mn { display: flex; gap: 11px; align-items: center; padding: 12px 16px; border-radius: 14px; background: rgba(6,9,15,.72); border: 1px solid rgba(255,255,255,.1); min-width: 148px; }
.acx-hero .mn i { font-style: normal; width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.05); font-size: 16px; }
.acx-hero .mn b { display: block; font-size: 1.35rem; color: #fff; line-height: 1.15; }
.acx-hero .mn span { font-size: 10px; font-weight: 800; letter-spacing: .08em; color: #64748b; }

/* License Key Strip */
.acx-keybar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 14px; padding: 13px 18px; border-radius: 14px; background: #0b111d; border: 1px solid rgba(255,255,255,.08); }
.acx-keybar-l { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.acx-keybar-l span { font-size: 11px; font-weight: 800; letter-spacing: .08em; color: #94a3b8; text-transform: uppercase; }
.acx-keybar-l code { font-family: "JetBrains Mono", monospace; font-size: 14px; font-weight: 700; color: #7dd3fc; letter-spacing: .06em; background: rgba(56,189,248,.08); padding: 4px 10px; border-radius: 8px; border: 1px solid rgba(56,189,248,.22); }
.acx-keybar-r { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.acx-warn { margin-top: 14px; padding: 14px 16px; border-radius: 12px; background: rgba(239,68,68,.09); border: 1px solid rgba(239,68,68,.32); color: #fecaca; font-size: .9rem; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* Clean 4-col Stat Tiles */
.acx-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.acx-tl { display: flex; gap: 13px; align-items: center; padding: 16px 18px; border-radius: 15px; border: 1px solid rgba(255,255,255,.08); background: #0b101b; color: #fff; text-decoration: none; transition: border-color .15s, transform .12s; }
a.acx-tl:hover { border-color: rgba(56,189,248,.38); transform: translateY(-1px); text-decoration: none; }
.acx-tl i { font-style: normal; width: 42px; height: 42px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.acx-tl span { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .07em; color: #94a3b8; }
.acx-tl b { display: block; font-size: 1.5rem; margin-top: 2px; color: #fff; line-height: 1.15; }
.c1 i { background: rgba(56,189,248,.16); }
.c2 i { background: rgba(244,63,94,.16); }
.c3 i { background: rgba(16,185,129,.16); }
.c4 i { background: rgba(245,158,11,.16); }
.c5 i { background: rgba(148,163,184,.14); }

/* Cards & Quick Actions */
.acx-tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.acx-tc, .acx-card { padding: 20px; border-radius: 16px; background: #0b101b; border: 1px solid rgba(255,255,255,.08); }
.acx-card { margin-top: 16px; }
.acx-ct { display: flex; align-items: center; justify-content: space-between; font-size: 11.5px; font-weight: 800; letter-spacing: .09em; margin-bottom: 14px; color: #cbd5e1; text-transform: uppercase; }
.acx-ct a { font-size: 12.5px; letter-spacing: 0; text-transform: none; color: #38bdf8; text-decoration: none; font-weight: 700; }
.acx-tr { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.07); background: rgba(255,255,255,.02); margin-bottom: 10px; color: #f1f5f9; font: inherit; font-weight: 600; font-size: 14px; text-align: left; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s; }
.acx-tr:last-child { margin-bottom: 0; }
.acx-tr:hover:not(.as) { background: rgba(255,255,255,.05); border-color: rgba(56,189,248,.3); text-decoration: none; }
.acx-tr.as { cursor: default; }
.acx-tr i { font-style: normal; width: 34px; height: 34px; border-radius: 9px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 16px; }
.acx-tr > div { flex: 1; min-width: 0; }
.acx-tr small { display: block; font-weight: 500; color: #94a3b8; font-size: 12px; margin-top: 2px; }
.acx-tr .chev { margin-left: auto; color: #64748b; font-size: 18px; }
.acx-tr .parts { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.acx-tr .parts em { font-size: 12px; color: #64748b; }
.acx-note { font-size: .88rem; color: #94a3b8; line-height: 1.6; padding: 4px 2px; }

/* Pills & Link Rows */
.acx-pill { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 10.5px; font-weight: 800; letter-spacing: .02em; }
.acx-pill.ok { background: rgba(16,185,129,.15); color: #6ee7b7; }
.acx-pill.sb { background: rgba(56,189,248,.15); color: #7dd3fc; }
.acx-pill.q { background: rgba(245,158,11,.15); color: #fcd34d; }
.acx-pill.bad { background: rgba(239,68,68,.15); color: #fca5a5; }
.acx-pill.off { background: rgba(245,158,11,.12); color: #fde68a; }
.acx-lk { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 13px; border: 1px solid rgba(255,255,255,.07); background: rgba(255,255,255,.02); margin-bottom: 10px; }
.acx-lk:last-child { margin-bottom: 0; }
.acx-lk img, .acx-lk .acx-noimg { width: 88px; height: 60px; border-radius: 9px; object-fit: cover; flex-shrink: 0; }
.acx-lk .tx { min-width: 0; flex: 1; }
.acx-lk .tx b { display: block; font-size: 14.5px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acx-lk .tx small { display: block; color: #94a3b8; font-size: 12px; margin: 2px 0 6px; }
.acx-lk .prog { width: 160px; flex-shrink: 0; }
.acx-lk .prog span, .acx-gc .prog span { font-size: 12px; color: #cbd5e1; font-weight: 700; }
.acx-lk .prog .bar { margin-top: 6px; }
.acx-lk .acts { display: flex; gap: 8px; flex-shrink: 0; }
.acx-noimg { display: flex; align-items: center; justify-content: center; background: #111827; color: #475569; font-size: 22px; }

/* Client Links Grid */
.acx-flt { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; align-items: center; }
.acx-ch { padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); background: transparent; color: #cbd5e1; font: inherit; font-weight: 700; font-size: 12.5px; cursor: pointer; }
.acx-ch b { color: #64748b; margin-left: 4px; }
.acx-ch.on { background: #e2e8f0; color: #05070a; border-color: #e2e8f0; }
.acx-ch.on b { color: #475569; }
.acx-srch { margin-left: auto; padding: 9px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.14); background: #0b101b; color: #fff; font: inherit; font-size: 13.5px; width: 250px; max-width: 100%; }
.acx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.acx-gc { border-radius: 16px; overflow: hidden; background: #0b101b; border: 1px solid rgba(255,255,255,.08); display: flex; flex-direction: column; }
.acx-gc .cv { position: relative; display: block; height: 164px; }
.acx-gc .cv img, .acx-gc .cv .acx-noimg { width: 100%; height: 100%; object-fit: cover; }
.acx-gc .cv .tl-l, .acx-gc .cv .tl-r { position: absolute; top: 10px; }
.acx-gc .cv .tl-l { left: 10px; } .acx-gc .cv .tl-r { right: 10px; }
.acx-gc .cv .acx-pill { background-color: rgba(5,7,10,.8); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(6px); }
.acx-gc .bd { padding: 15px; flex: 1; display: flex; flex-direction: column; }
.acx-gc .bd b { font-size: 15px; color: #fff; }
.acx-gc .bd small { display: block; color: #94a3b8; font-size: 12px; margin: 3px 0 10px; }
.acx-gc .bar { margin-top: 6px; }
.acx-gc .row { display: flex; gap: 8px; margin-top: auto; padding-top: 12px; }
.acx-gc .row .bp { margin-left: auto; }

/* Single Link Details */
.acx-back { display: inline-flex; color: #94a3b8; font-weight: 700; font-size: 13px; text-decoration: none; margin-bottom: 12px; }
.acx-back:hover { color: #fff; }
.acx-dhead { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; padding: 18px 20px; border-radius: 16px; background: linear-gradient(135deg, #0e1626, #0a0f1a); border: 1px solid rgba(56,189,248,.25); }
.acx-dhead > img, .acx-dhead > .acx-noimg { width: 104px; height: 74px; border-radius: 11px; object-fit: cover; }
.acx-dhead .tx { flex: 1; min-width: 220px; }
.acx-dhead h1 { margin: 0; font-size: 1.35rem; color: #fff; }
.acx-dhead p { margin: 3px 0 8px; color: #94a3b8; font-size: .86rem; }
.acx-dhead .lk { width: 430px; max-width: 100%; display: flex; flex-direction: column; gap: 8px; }
.acx-dhead .url { padding: 9px 11px; border-radius: 9px; background: #06090f; border: 1px solid rgba(255,255,255,.12); color: #7dd3fc; font-family: "JetBrains Mono", monospace; font-size: 12px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.acx-dhead .row { display: flex; gap: 7px; flex-wrap: wrap; }
.acx-filter { display: flex; flex-direction: column; gap: 10px; margin: 18px 0 14px; padding: 12px 14px; border-radius: 14px; background: #0b101b; border: 1px solid rgba(255,255,255,.08); }
.acx-seg { display: inline-flex; align-self: flex-start; flex-wrap: wrap; padding: 4px; gap: 2px; border-radius: 11px; background: #06080d; border: 1px solid rgba(255,255,255,.08); }
.acx-seg button { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 8px; border: 0; background: transparent; color: #94a3b8; font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.acx-seg button em { font-style: normal; font-size: 11px; font-weight: 800; padding: 1px 7px; border-radius: 999px; background: rgba(255,255,255,.08); }
.acx-seg button.on { color: #fff; }
.acx-seg .s-all.on { background: #0284c7; } .acx-seg .s-sel.on { background: #e11d48; }
.acx-seg .s-rej.on { background: #475569; } .acx-seg .s-new.on { background: #d97706; }
.acx-seg button.on em { background: rgba(255,255,255,.22); color: #fff; }
.acx-fdiv { height: 1px; background: rgba(255,255,255,.08); }
.acx-ftabs { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.acx-ftabs .lbl { font-size: 10.5px; font-weight: 800; letter-spacing: .08em; color: #64748b; margin-right: 4px; }
.acx-ftabs button { padding: 7px 11px; border-radius: 9px; border: 1px solid rgba(255,255,255,.1); background: #0a0e16; color: #cbd5e1; font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.acx-ftabs button em { font-style: normal; color: #64748b; font-weight: 800; font-size: 11px; }
.acx-ftabs button.on { background: rgba(0,194,255,.14); border-color: rgba(56,189,248,.6); color: #fff; }
.acx-fg { margin-bottom: 18px; }
.acx-fh { display: flex; align-items: center; gap: 10px; padding: 9px 12px; margin-bottom: 10px; border-radius: 11px; background: #0b101b; border: 1px solid rgba(255,255,255,.08); }
.acx-fh .ic { width: 28px; height: 28px; border-radius: 8px; display: flex; align-items: center; justify-content: center; background: rgba(245,158,11,.16); }
.acx-fh b { color: #fff; } .acx-fh small { color: #64748b; font-size: 12px; } .acx-fh .acx-btn { margin-left: auto; }
.acx-ph-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.acx-ph { position: relative; border-radius: 11px; overflow: hidden; border: 1.5px solid rgba(255,255,255,.08); background: #070a10; }
.acx-ph img, .acx-ph .acx-noimg { display: block; width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.acx-ph.s { border-color: #f43f5e; } .acx-ph.r { opacity: .55; }
.acx-ph .bd { position: absolute; top: 6px; left: 6px; padding: 2px 6px; border-radius: 999px; font-size: 10.5px; background: rgba(0,0,0,.6); }
.acx-ph.s .bd { background: #e11d48; }
.acx-ph .m { display: flex; justify-content: space-between; gap: 6px; padding: 6px 8px; font-size: 11px; color: #94a3b8; }
.acx-ph .m span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.acx-ph .m a { color: #7dd3fc; text-decoration: none; font-weight: 800; }
.acx-ph .note { padding: 0 8px 7px; font-size: 10.5px; color: #fde68a; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* Profile / Billing / Tables */
.acx-kv { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 2px; border-bottom: 1px solid rgba(255,255,255,.06); font-size: .92rem; }
.acx-kv:last-of-type { border-bottom: 0; }
.acx-kv span { color: #94a3b8; } .acx-kv b { color: #fff; text-align: right; }
.acx-small { font-size: .84rem; color: #94a3b8; margin: 12px 0 0; line-height: 1.55; }
.acx-tw { overflow-x: auto; }
.acx-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.acx-table th { text-align: left; font-size: 11px; letter-spacing: .06em; color: #64748b; padding: 8px 10px; text-transform: uppercase; }
.acx-table td { padding: 11px 10px; border-top: 1px solid rgba(255,255,255,.06); color: #e2e8f0; }
.mono { font-family: "JetBrains Mono", monospace; font-size: .84em; }
.acx-dev { display: flex; gap: 12px; align-items: center; padding: 12px 4px; border-bottom: 1px solid rgba(255,255,255,.06); }
.acx-dev:last-child { border-bottom: 0; }
.acx-dev i { font-style: normal; font-size: 22px; } .acx-dev small { display: block; color: #94a3b8; font-size: .8rem; }
.acx-code { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; margin-bottom: 10px; border-radius: 13px; border: 1px dashed rgba(245,158,11,.5); background: rgba(245,158,11,.06); font-size: 1.25rem; font-weight: 800; color: #fde68a; flex-wrap: wrap; }
.acx-os { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-decoration: none; color: #fff; }
.acx-os:hover { border-color: rgba(56,189,248,.4); text-decoration: none; }
.acx-os i { font-style: normal; font-size: 30px; } .acx-os small { color: #94a3b8; margin-bottom: 8px; }
.acx-toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 99999; padding: 10px 18px; border-radius: 12px; background: #0f172a; border: 1px solid rgba(56,189,248,.5); color: #e0f2fe; font-weight: 700; font-size: .9rem; box-shadow: 0 10px 30px rgba(0,0,0,.55); transition: opacity .3s; }
.acx-toast.out { opacity: 0; }

/* Billing Plan Upgrade Grid */
.acx-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 14px; }
.acx-pcard { padding: 20px; border-radius: 15px; background: #080c14; border: 1px solid rgba(255,255,255,.1); display: flex; flex-direction: column; }
.acx-pcard.studio { border-color: rgba(245,158,11,.4); background: linear-gradient(155deg, rgba(245,158,11,.06), #080c14 55%); }
.acx-pcard h4 { margin: 0 0 4px; font-size: 1.05rem; color: #fff; display: flex; align-items: center; gap: 8px; }
.acx-pcard .pr { font-size: 1.7rem; font-weight: 800; color: #fff; margin: 6px 0 10px; }
.acx-pcard .pr small { font-size: .85rem; color: #94a3b8; font-weight: 500; }
.acx-pcard ul { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-direction: column; gap: 7px; font-size: 13px; color: #cbd5e1; }
.acx-pcard .acx-btn { margin-top: auto; width: 100%; }

/* Browser Photo Uploader (#upload) */
.acx-up-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
.acx-up-field label { display: block; font-size: 12px; font-weight: 700; color: #94a3b8; margin-bottom: 6px; }
.acx-up-field input, .acx-up-field select { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,.14); background: #06090f; color: #fff; font: inherit; font-size: 14px; outline: none; }
.acx-up-field input:focus, .acx-up-field select:focus { border-color: #38bdf8; }
.acx-up-pin { display: flex; gap: 8px; }
.acx-up-modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.acx-up-mode { padding: 14px 16px; border-radius: 13px; border: 1.5px solid rgba(255,255,255,.1); background: #070b12; cursor: pointer; text-align: left; color: #f8fafc; font: inherit; transition: border-color .15s, background .15s; }
.acx-up-mode:hover { border-color: rgba(56,189,248,.4); }
.acx-up-mode.on { border-color: #38bdf8; background: rgba(56,189,248,.09); }
.acx-up-mode.on.full { border-color: #f59e0b; background: rgba(245,158,11,.09); }
.acx-up-mode b { display: flex; align-items: center; gap: 8px; font-size: 14px; margin-bottom: 4px; }
.acx-up-mode small { display: block; font-size: 12px; color: #94a3b8; line-height: 1.45; }
.acx-drop { border: 2px dashed rgba(56,189,248,.35); border-radius: 15px; padding: 28px 20px; text-align: center; background: rgba(56,189,248,.03); transition: background .15s, border-color .15s; }
.acx-drop.drag { border-color: #38bdf8; background: rgba(56,189,248,.1); }
.acx-drop h4 { margin: 8px 0 4px; color: #fff; font-size: 1rem; }
.acx-drop p { margin: 0 0 14px; color: #94a3b8; font-size: 13px; }
.acx-drop-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.acx-up-files { margin-top: 14px; padding: 12px 14px; border-radius: 11px; background: #070b12; border: 1px solid rgba(255,255,255,.08); display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13.5px; }
.acx-up-prog { margin-top: 16px; padding: 16px; border-radius: 13px; background: #070b12; border: 1px solid rgba(56,189,248,.28); }
.acx-up-bar { height: 8px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; margin: 10px 0 6px; }
.acx-up-bar i { display: block; height: 100%; background: linear-gradient(90deg, #38bdf8, #10b981); transition: width .2s; }
.acx-up-done { padding: 22px; border-radius: 15px; background: linear-gradient(135deg, rgba(16,185,129,.1), #0b101b 60%); border: 1px solid rgba(16,185,129,.35); text-align: center; }
.acx-up-done h3 { margin: 6px 0 6px; color: #fff; font-size: 1.25rem; }

/* ---------- Connected Razorpay Checkout Modal (pricing.html + account.html) ---------- */
.apf-co-overlay { position: fixed; inset: 0; z-index: 99990; background: rgba(2,6,14,.78); backdrop-filter: blur(8px); display: none; align-items: center; justify-content: center; padding: 18px; overflow-y: auto; }
.apf-co-overlay.open { display: flex; }
.apf-co-box { position: relative; width: 100%; max-width: 500px; background: #0c1220; border: 1px solid rgba(56,189,248,.32); border-radius: 20px; padding: 26px 24px 22px; color: #f8fafc; box-shadow: 0 24px 70px rgba(0,0,0,.65); margin: auto; }
.apf-co-close { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border-radius: 9px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.05); color: #cbd5e1; font-size: 15px; cursor: pointer; }
.apf-co-close:hover { background: rgba(255,255,255,.12); color: #fff; }
.apf-co-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #38bdf8; margin-bottom: 4px; }
.apf-co-head h3 { margin: 0 0 4px; font-size: 1.4rem; color: #fff; }
.apf-co-head p { margin: 0 0 14px; font-size: 13px; color: #94a3b8; }
.apf-co-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.apf-co-seg { display: inline-flex; padding: 3px; border-radius: 10px; background: #06090f; border: 1px solid rgba(255,255,255,.1); }
.apf-co-seg button { border: 0; background: transparent; color: #94a3b8; font: inherit; font-size: 12px; font-weight: 700; padding: 6px 11px; border-radius: 7px; cursor: pointer; }
.apf-co-seg button.on { background: #0284c7; color: #fff; }
.apf-co-summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; background: #070b13; border: 1px solid rgba(255,255,255,.08); margin-bottom: 12px; }
.apf-co-summary span { font-size: 13.5px; font-weight: 700; color: #e2e8f0; display: block; }
.apf-co-disc { display: block; font-size: 11.5px; color: #6ee7b7; margin-top: 2px; }
.apf-co-price { font-size: 1.35rem; color: #fff; white-space: nowrap; }
.apf-co-price s { font-size: .9rem; color: #64748b; margin-right: 4px; }
.apf-co-sync { padding: 10px 12px; border-radius: 10px; background: rgba(16,185,129,.1); border: 1px solid rgba(16,185,129,.3); color: #a7f3d0; font-size: 12.5px; margin-bottom: 12px; }
.apf-co-login-hint { padding: 9px 12px; border-radius: 10px; background: rgba(56,189,248,.07); border: 1px solid rgba(56,189,248,.22); color: #cbd5e1; font-size: 12.5px; margin-bottom: 12px; }
.apf-co-login-hint a { color: #38bdf8; font-weight: 700; text-decoration: none; }
.apf-co-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 10px; }
.apf-co-box label { display: block; font-size: 11.5px; font-weight: 700; color: #94a3b8; margin-bottom: 4px; }
.apf-co-box label small { font-weight: 500; color: #64748b; }
.apf-co-box input { width: 100%; padding: 9px 11px; border-radius: 9px; border: 1px solid rgba(255,255,255,.14); background: #06090f; color: #fff; font: inherit; font-size: 13.5px; outline: none; }
.apf-co-box input:focus { border-color: #38bdf8; }
.apf-co-box input[readonly] { opacity: .75; cursor: not-allowed; }
.apf-co-field { margin-bottom: 10px; }
.apf-co-coupon { display: flex; gap: 8px; margin-bottom: 10px; }
.apf-co-coupon button { padding: 0 14px; border-radius: 9px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); color: #fff; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.apf-co-msg { min-height: 18px; font-size: 12.5px; font-weight: 600; margin-bottom: 8px; text-align: center; }
.apf-co-msg.err { color: #fca5a5; } .apf-co-msg.ok { color: #6ee7b7; }
.apf-co-submit { width: 100%; padding: 12px 16px; border: 0; border-radius: 11px; background: linear-gradient(135deg, #0ea5e9, #0284c7); color: #fff; font: inherit; font-size: 14.5px; font-weight: 800; cursor: pointer; box-shadow: 0 8px 22px rgba(2,132,199,.32); }
.apf-co-submit:disabled { opacity: .6; cursor: not-allowed; }
.apf-co-trust { text-align: center; font-size: 11.5px; color: #64748b; margin-top: 10px; }
.apf-co-done { text-align: center; padding: 6px 0; }
.apf-co-ok-ico { width: 54px; height: 54px; margin: 0 auto 12px; border-radius: 50%; background: rgba(16,185,129,.16); border: 1.5px solid #10b981; color: #34d399; font-size: 26px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.apf-co-done h3 { margin: 0 0 8px; font-size: 1.35rem; color: #fff; }
.apf-co-done p { margin: 0 0 14px; font-size: 13.5px; color: #94a3b8; line-height: 1.55; }
.apf-co-key { padding: 12px; border-radius: 12px; background: #06090f; border: 1px dashed rgba(56,189,248,.45); margin-bottom: 14px; }
.apf-co-key span { display: block; font-size: 10px; font-weight: 800; letter-spacing: .1em; color: #7dd3fc; margin-bottom: 4px; }
.apf-co-key strong { display: block; font-family: "JetBrains Mono", monospace; font-size: 1.05rem; color: #fff; margin-bottom: 8px; letter-spacing: .06em; }
.apf-co-key button { padding: 6px 14px; border-radius: 8px; border: 0; background: #0284c7; color: #fff; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.apf-co-dl-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.apf-co-dl { padding: 10px; border-radius: 10px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); color: #fff; text-decoration: none; font-size: 13px; font-weight: 700; }
.apf-co-dl:hover { background: rgba(255,255,255,.1); }

/* ---------- phones & tablets ---------- */
@media (max-width: 980px) {
  .acx { flex-direction: column; }
  .acx-side { position: static; width: auto; min-height: 0; flex-direction: row; flex-wrap: nowrap; overflow-x: auto; padding: 10px 12px; gap: 6px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .acx-prof, .acx-sec { display: none; }
  .acx-it { flex-shrink: 0; padding: 8px 12px; }
  .acx-main { padding: 20px 16px 52px; }
  .acx-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .acx-tools, .acx-plans, .acx-up-grid, .acx-up-modes { grid-template-columns: 1fr; }
  .acx-hero-right { align-items: stretch; width: 100%; }
  .acx-hero .mini { width: 100%; }
  .acx-hero .mn { flex: 1; min-width: 0; }
  .acx-lk { flex-wrap: wrap; } .acx-lk .prog { width: 100%; } .acx-lk .acts { width: 100%; }
}
@media (max-width: 540px) {
  .acx-hero .t { font-size: 1.4rem; }
  .acx-tl { padding: 14px; } .acx-tl b { font-size: 1.3rem; }
  .acx-srch { margin-left: 0; width: 100%; }
  .acx-grid, .apf-co-grid, .apf-co-dl-row { grid-template-columns: 1fr; }
}
