
/* ============================================================
   FieldShot — dispatch console
   Palette: slate ink, field teal, survey yellow, cool mist
   Type: Barlow Condensed (display) / Inter (body) / IBM Plex Mono (data)
   ============================================================ */

:root {
  --ink: #131c24;
  --ink-2: #33454f;
  --ink-3: #6a7c85;
  --mist: #e9eef0;
  --mist-2: #f4f7f8;
  --panel: #ffffff;
  --line: #d3dcdf;
  --line-soft: #e7ecee;
  --teal: #0e5c55;
  --teal-deep: #093c38;
  --teal-tint: #e2efed;
  --signal: #f2b705;
  --signal-tint: #fdf3d6;
  --alert: #b23a2b;
  --alert-tint: #fae9e6;
  --ok: #1f7a4d;
  --ok-tint: #e3f2ea;

  --r-sm: 4px;
  --r: 8px;
  --r-lg: 14px;
  --shadow: 0 1px 2px rgba(19, 28, 36, .06), 0 8px 24px -12px rgba(19, 28, 36, .18);
  --shadow-lg: 0 24px 60px -24px rgba(19, 28, 36, .35);

  --display: "Barlow Condensed", "Oswald", "Arial Narrow", sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font-family: var(--body);
  background: var(--mist);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; letter-spacing: .01em; margin: 0; line-height: 1.1; }
h1 { font-size: 40px; }
h2 { font-size: 27px; }
h3 { font-size: 21px; }
h4 { font-size: 17px; }
p { margin: 0 0 12px; }
a { color: var(--teal); }

.mono { font-family: var(--mono); font-size: .86em; letter-spacing: -.01em; }
.eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-3);
}
.muted { color: var(--ink-3); }
.small { font-size: 13px; }
.tiny { font-size: 12px; }
.center { text-align: center; }
.right { text-align: right; }
.nowrap { white-space: nowrap; }
.hidden { display: none !important; }
.stack > * + * { margin-top: 12px; }
.row { display: flex; gap: 12px; align-items: center; }
.row.wrap { flex-wrap: wrap; }
.spread { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.grow { flex: 1; }

/* ---------- buttons ---------- */

.btn {
  font-family: var(--body); font-size: 14px; font-weight: 600;
  border: 1px solid var(--teal); background: var(--teal); color: #fff;
  padding: 10px 18px; border-radius: var(--r); cursor: pointer;
  transition: transform .08s ease, background .15s ease, box-shadow .15s ease;
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; line-height: 1.2;
}
.btn:hover { background: var(--teal-deep); border-color: var(--teal-deep); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn.ghost { background: transparent; color: var(--teal); }
.btn.ghost:hover { background: var(--teal-tint); }
.btn.quiet { background: var(--panel); color: var(--ink-2); border-color: var(--line); }
.btn.quiet:hover { background: var(--mist-2); border-color: var(--ink-3); }
.btn.danger { background: var(--alert); border-color: var(--alert); }
.btn.danger:hover { background: #94301f; border-color: #94301f; }
.btn.signal { background: var(--signal); border-color: var(--signal); color: var(--ink); }
.btn.signal:hover { background: #dda503; border-color: #dda503; }
.btn.sm { padding: 6px 12px; font-size: 13px; }
.btn.block { width: 100%; justify-content: center; }
.btn.lg { padding: 13px 26px; font-size: 15px; }

:where(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--signal); outline-offset: 2px;
}

/* ---------- forms ---------- */

label.field { display: block; margin-bottom: 14px; }
label.field > span {
  display: block; font-size: 12px; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: 5px;
}
input[type=text], input[type=email], input[type=password], input[type=tel],
input[type=number], select, textarea {
  width: 100%; font-family: var(--body); font-size: 14px; color: var(--ink);
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r);
  padding: 10px 12px; transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-tint); outline: none;
}
textarea { min-height: 82px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #9dabb2; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.grid3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 0 14px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 14px; }

.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: 14px; margin-bottom: 10px; }
.check input { margin-top: 3px; accent-color: var(--teal); width: 16px; height: 16px; }

.radio-card {
  display: flex; gap: 11px; align-items: flex-start; cursor: pointer;
  border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; background: var(--panel);
  transition: border-color .15s ease, background .15s ease;
}
.radio-card:hover { border-color: var(--teal); }
.radio-card input { margin-top: 3px; accent-color: var(--teal); }
.radio-card.on { border-color: var(--teal); background: var(--teal-tint); }
.radio-card b { display: block; font-size: 14px; }
.radio-card small { color: var(--ink-3); }

.toggle-btn {
  border: 1px solid var(--line); background: var(--panel); border-radius: 999px;
  padding: 8px 16px; font-size: 13px; font-weight: 600; cursor: pointer; color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 8px;
}
.toggle-btn .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.toggle-btn.on { border-color: var(--teal); background: var(--teal-tint); color: var(--teal-deep); }
.toggle-btn.on .dot { background: var(--teal); }

/* ---------- surfaces ---------- */

.panel {
  background: var(--panel); border: 1px solid var(--line-soft);
  border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 22px;
}
.panel + .panel { margin-top: 18px; }
.panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 16px; }
.divider { height: 1px; background: var(--line-soft); margin: 18px 0; }
.dashed { border-top: 1px dashed var(--line); margin: 16px 0; }

.badge {
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 9px; border-radius: var(--r-sm); border: 1px solid var(--line);
  background: var(--mist-2); color: var(--ink-2); display: inline-block; white-space: nowrap;
}
.badge.teal { background: var(--teal-tint); border-color: #bcd9d5; color: var(--teal-deep); }
.badge.signal { background: var(--signal-tint); border-color: #ecd28a; color: #7a5c00; }
.badge.ok { background: var(--ok-tint); border-color: #b8ddc8; color: var(--ok); }
.badge.alert { background: var(--alert-tint); border-color: #ecc3bc; color: var(--alert); }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.stat {
  background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--r);
  padding: 14px 16px; border-left: 3px solid var(--teal);
}
.stat .n { font-family: var(--display); font-size: 30px; font-weight: 600; line-height: 1; }
.stat .l { font-size: 12px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; margin-top: 6px; }
.stat.warn { border-left-color: var(--signal); }
.stat.alert { border-left-color: var(--alert); }

/* ---------- signature: the field ticket ---------- */

.ticket {
  display: grid; grid-template-columns: 92px 1fr; background: var(--panel);
  border: 1px solid var(--line-soft); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow); margin-bottom: 14px;
}
.ticket-rail {
  background: var(--teal-deep); color: #cfe4e1; padding: 14px 10px;
  display: flex; flex-direction: column; justify-content: space-between; align-items: center;
  border-right: 2px dashed rgba(255, 255, 255, .28); text-align: center;
}
.ticket-rail .ref { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: #fff; word-break: break-all; }
.ticket-rail .pics { font-family: var(--display); font-size: 30px; color: var(--signal); line-height: 1; margin-top: 8px; }
.ticket-rail .pics span { display: block; font-family: var(--mono); font-size: 9px; letter-spacing: .12em; color: #9dbcb7; }
.ticket-body { padding: 16px 18px; }
.ticket.pending .ticket-rail { background: #6b5400; }
.ticket.done .ticket-rail { background: #14503a; }
.ticket.alert .ticket-rail { background: #7c281b; }
.ticket-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: var(--ink-2); margin-top: 8px; }
.ticket-meta b { font-weight: 600; color: var(--ink); }
.ticket-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

/* ---------- tables ---------- */

table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data th {
  text-align: left; font-family: var(--mono); font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-3); font-weight: 500;
  padding: 8px 10px; border-bottom: 1px solid var(--line);
}
table.data td { padding: 11px 10px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
table.data tr:last-child td { border-bottom: none; }
.table-wrap { overflow-x: auto; }

/* ---------- app shell ---------- */

.topbar {
  background: var(--ink); color: #fff; padding: 0 24px;
  display: flex; align-items: center; gap: 20px; height: 60px;
  position: sticky; top: 0; z-index: 40;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand .mark {
  width: 26px; height: 26px; border-radius: 5px; background: var(--signal);
  display: grid; place-items: center; color: var(--ink); font-family: var(--display);
  font-weight: 700; font-size: 17px;
}
.brand .name { font-family: var(--display); font-size: 22px; font-weight: 600; letter-spacing: .02em; }
.brand .role {
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--signal); border: 1px solid rgba(242, 183, 5, .4); padding: 2px 7px; border-radius: 3px;
}
.topbar .spacer { flex: 1; }
.topbar-user { font-size: 13px; color: #b9c6cd; display: flex; align-items: center; gap: 12px; }
.topbar-user b { color: #fff; font-weight: 600; }
.icon-btn {
  background: rgba(255, 255, 255, .08); border: none; color: #fff; width: 34px; height: 34px;
  border-radius: 8px; cursor: pointer; position: relative; font-size: 15px;
}
.icon-btn:hover { background: rgba(255, 255, 255, .18); }
.icon-btn .pip {
  position: absolute; top: 5px; right: 5px; width: 8px; height: 8px;
  border-radius: 50%; background: var(--signal);
}

.tabbar {
  background: var(--panel); border-bottom: 1px solid var(--line);
  padding: 0 24px; display: flex; gap: 4px; overflow-x: auto; position: static;
}
/* Agent/client/admin tabs scroll normally with the page; they do not overlay content. */
.tabbar { position: static; }
.tabbar button {
  background: none; border: none; border-bottom: 2px solid transparent; cursor: pointer;
  padding: 14px 14px 11px; font-size: 14px; font-weight: 600; color: var(--ink-3);
  white-space: nowrap; font-family: var(--body);
}
.tabbar button:hover { color: var(--ink); }
.tabbar button.on { color: var(--teal-deep); border-bottom-color: var(--teal); }
.tabbar button .count {
  font-family: var(--mono); font-size: 10px; background: var(--signal); color: var(--ink);
  padding: 1px 6px; border-radius: 999px; margin-left: 6px;
}

.page { max-width: 1140px; margin: 0 auto; padding: 26px 24px 80px; }
.page-head { margin-bottom: 20px; }
.page-head h2 { margin-bottom: 4px; }

/* ---------- empty / notice ---------- */

.empty {
  border: 1px dashed var(--line); border-radius: var(--r-lg); padding: 44px 24px;
  text-align: center; color: var(--ink-3); background: var(--mist-2);
}
.empty h4 { color: var(--ink-2); margin-bottom: 6px; }
.notice { border-radius: var(--r); padding: 13px 16px; font-size: 14px; border: 1px solid var(--line); background: var(--mist-2); }
.notice.info { background: var(--teal-tint); border-color: #bcd9d5; color: var(--teal-deep); }
.notice.warn { background: var(--signal-tint); border-color: #ecd28a; color: #6d5300; }
.notice.bad { background: var(--alert-tint); border-color: #ecc3bc; color: var(--alert); }
.notice.good { background: var(--ok-tint); border-color: #b8ddc8; color: var(--ok); }

/* ---------- modal ---------- */

.modal-back {
  position: fixed; inset: 0; background: rgba(19, 28, 36, .55); backdrop-filter: blur(2px);
  display: grid; place-items: center; padding: 20px; z-index: 100;
}
.modal {
  background: var(--panel); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  width: min(720px, 100%); max-height: 88vh; overflow: auto;
}
.modal.wide { width: min(1000px, 100%); }
.modal-head { padding: 20px 24px 14px; border-bottom: 1px solid var(--line-soft); display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.modal-body { padding: 22px 24px; }
.modal-foot { padding: 14px 24px 20px; display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.x-btn { background: none; border: none; font-size: 22px; line-height: 1; cursor: pointer; color: var(--ink-3); padding: 0 4px; }

/* ---------- toast ---------- */

#toasts { position: fixed; bottom: 20px; right: 20px; display: flex; flex-direction: column; gap: 8px; z-index: 200; }
.toast {
  background: var(--ink); color: #fff; padding: 12px 16px; border-radius: var(--r);
  font-size: 14px; box-shadow: var(--shadow-lg); max-width: 380px;
  border-left: 3px solid var(--signal); animation: slide .2s ease;
}
.toast.good { border-left-color: #4ade80; }
.toast.bad { border-left-color: #f87171; }
@keyframes slide { from { opacity: 0; transform: translateX(16px); } }

/* ---------- photo grids ---------- */

.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.photo-slot {
  border: 1px dashed var(--line); border-radius: var(--r); background: var(--mist-2);
  aspect-ratio: 4 / 3; display: grid; place-items: center; position: relative; overflow: hidden;
  cursor: pointer; text-align: center; padding: 10px;
}
.photo-slot:hover { border-color: var(--teal); background: var(--teal-tint); }
.photo-slot img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.photo-slot .n {
  position: absolute; top: 6px; left: 6px; background: var(--ink); color: #fff;
  font-family: var(--mono); font-size: 10px; padding: 2px 6px; border-radius: 3px; z-index: 2;
}
.photo-slot .hint { font-size: 12px; color: var(--ink-3); line-height: 1.35; }
.photo-slot.filled { border-style: solid; border-color: var(--teal); }
.shot-list { list-style: none; padding: 0; margin: 0; counter-reset: shot; }
.shot-list li {
  counter-increment: shot; font-size: 13px; color: var(--ink-2);
  padding: 6px 0 6px 30px; position: relative; border-bottom: 1px solid var(--line-soft);
}
.shot-list li:last-child { border-bottom: none; }
.shot-list li::before {
  content: counter(shot); position: absolute; left: 0; top: 6px; font-family: var(--mono);
  font-size: 11px; width: 20px; height: 20px; border-radius: 4px; background: var(--mist);
  color: var(--ink-2); display: grid; place-items: center;
}

/* ---------- product cards ---------- */

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 14px; }
.product {
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; background: var(--panel);
  cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease, transform .1s ease;
  display: flex; flex-direction: column;
}
.product:hover { border-color: var(--teal); transform: translateY(-2px); box-shadow: var(--shadow); }
.product.on { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-tint); }
.product .price { font-family: var(--display); font-size: 32px; font-weight: 600; line-height: 1; }
.product .price small { font-family: var(--mono); font-size: 11px; color: var(--ink-3); letter-spacing: .08em; }
.product .desc { font-size: 13px; color: var(--ink-2); margin: 10px 0 12px; flex: 1; }

/* ---------- steps ---------- */

.steps { display: flex; gap: 6px; margin-bottom: 22px; flex-wrap: wrap; }
.steps .s {
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-3); padding: 7px 12px; border-radius: 999px; background: var(--panel);
  border: 1px solid var(--line-soft);
}
.steps .s.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.steps .s.done { background: var(--teal-tint); color: var(--teal-deep); border-color: #bcd9d5; }

/* ---------- landing ---------- */

.landing-hero {
  background: var(--ink); color: #fff; padding: 0; position: relative; overflow: hidden;
}
.hero-inner {
  max-width: 1140px; margin: 0 auto; padding: 74px 24px 84px;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}
.hero-copy h1 { font-size: clamp(44px, 6vw, 72px); color: #fff; letter-spacing: -.01em; }
.hero-copy h1 em { font-style: normal; color: var(--signal); }
.hero-copy p.lede { font-size: 17px; color: #b9c6cd; max-width: 46ch; margin: 18px 0 26px; }
.hero-copy .eyebrow { color: var(--signal); }

/* the radius diagram — the one bold element on the page */
.radar { position: relative; aspect-ratio: 1; max-width: 380px; margin-left: auto; }
.radar .ring {
  position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16);
}
.radar .ring.r2 { inset: 13%; border-style: dashed; border-color: rgba(242, 183, 5, .45); }
.radar .ring.r3 { inset: 30%; }
.radar .ring.r4 { inset: 46%; }
.radar .pin {
  position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--signal);
  transform: translate(-50%, -50%); box-shadow: 0 0 0 4px rgba(242, 183, 5, .2);
}
.radar .pin.house {
  width: 20px; height: 20px; background: #fff; left: 50%; top: 50%;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, .14);
}
.radar .pin.far { background: #6a7c85; box-shadow: 0 0 0 4px rgba(106, 124, 133, .18); }
.radar .tag {
  position: absolute; font-family: var(--mono); font-size: 10px; letter-spacing: .1em;
  text-transform: uppercase; color: #b9c6cd; transform: translate(-50%, -50%);
  background: rgba(19, 28, 36, .85); padding: 2px 6px; border-radius: 3px; white-space: nowrap;
}
@media (prefers-reduced-motion: no-preference) {
  .radar .sweep {
    position: absolute; inset: 0; border-radius: 50%;
    background: conic-gradient(from 0deg, rgba(242, 183, 5, .22), rgba(242, 183, 5, 0) 55%);
    animation: spin 7s linear infinite;
  }
}
@keyframes spin { to { transform: rotate(360deg); } }

.strip { background: var(--teal-deep); color: #cfe4e1; }
.strip-inner {
  max-width: 1140px; margin: 0 auto; padding: 16px 24px; display: flex; gap: 30px;
  flex-wrap: wrap; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
}
.strip-inner b { color: var(--signal); }

.section { max-width: 1140px; margin: 0 auto; padding: 60px 24px; }
.flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.flow .step { border-top: 2px solid var(--ink); padding-top: 14px; }
.flow .step .k { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--teal); }
.flow .step h4 { margin: 6px 0 6px; }
.flow .step p { font-size: 14px; color: var(--ink-2); margin: 0; }

.auth-wrap { max-width: 470px; margin: 0 auto; }
.role-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; background: var(--mist); padding: 5px; border-radius: var(--r); margin-bottom: 20px; }
.role-tabs button {
  border: none; background: none; padding: 9px 8px; border-radius: var(--r-sm); cursor: pointer;
  font-size: 13px; font-weight: 600; color: var(--ink-3); font-family: var(--body);
}
.role-tabs button.on { background: var(--panel); color: var(--ink); box-shadow: var(--shadow); }

footer.site { background: var(--ink); color: #7d8f98; padding: 30px 24px; font-size: 13px; }
footer.site .inner { max-width: 1140px; margin: 0 auto; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 34px; padding: 48px 20px 56px; }
  .radar { margin: 0 auto; }
  .grid2, .grid3, .grid4 { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 14px; }
  .page { padding: 18px 14px 70px; }
  .panel { padding: 16px; }
  .topbar { padding: 0 14px; gap: 12px; }
  .topbar-user .who { display: none; }
  .tabbar { padding: 0 8px; }
  .ticket { grid-template-columns: 68px 1fr; }
  .ticket-body { padding: 13px; }
  h1 { font-size: 32px; }
  h2 { font-size: 23px; }
  .modal-foot { flex-direction: column-reverse; }
  .modal-foot .btn { width: 100%; justify-content: center; }
}

@media print {
  .topbar, .tabbar, .ticket-actions, .btn { display: none !important; }
}


/* FieldShot integrated photo requirements guide */
.photo-guidelines-container {
  margin: 28px 0;
  padding: 26px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  background: rgba(255,255,255,.025);
}
.guidelines-kicker {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .14em;
  font-weight: 800;
  opacity: .65;
  margin-bottom: 7px;
}
.guidelines-header h2 {
  margin: 0 0 6px;
  font-size: 24px;
}
.guidelines-header p {
  margin: 0 0 20px;
  opacity: .72;
}
.photo-guidelines-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.photo-guide-card {
  position: relative;
  overflow: hidden;
  padding: 14px;
  border-radius: 15px;
  border: 1px solid rgba(255,255,255,.09);
  background: rgba(0,0,0,.14);
}
.photo-guide-number {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  min-width: 34px;
  padding: 7px 8px;
  border-radius: 999px;
  text-align: center;
  font-size: 12px;
  font-weight: 900;
  background: rgba(0,0,0,.72);
  border: 1px solid rgba(255,255,255,.14);
}
.photo-guide-placeholder {
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  border: 1px dashed rgba(255,255,255,.18);
  background: linear-gradient(135deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
  text-align: center;
}
.photo-guide-placeholder span {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .08em;
}
.photo-guide-placeholder small {
  margin-top: 6px;
  opacity: .55;
}
.photo-guide-card h3 {
  margin: 13px 0 5px;
}
.photo-guide-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  opacity: .68;
}
@media (max-width: 900px) {
  .photo-guidelines-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .photo-guidelines-container { padding: 17px; }
  .photo-guidelines-grid { grid-template-columns: 1fr; }
}


/* Wallet withdrawal flow explanation */
.wallet-flow {
  border: 1px solid rgba(255,255,255,.10);
}
.withdraw-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.withdraw-steps > div {
  padding: 13px;
  border-radius: 12px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.07);
}
.withdraw-steps b {
  display: block;
  margin-bottom: 6px;
}
.withdraw-steps span {
  display: block;
  font-size: 12px;
  line-height: 1.45;
  opacity: .65;
}
.wallet-note {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255,255,255,.035);
  font-size: 12px;
  line-height: 1.5;
  opacity: .78;
}
@media (max-width: 850px) {
  .withdraw-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .withdraw-steps { grid-template-columns: 1fr; }
}
/* =========================================================
   FIELDSHOT — PREMIUM WALLET UI
   ========================================================= */

.wallet-flow {
  border: 1px solid #e4e9e9;
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbfb 100%);
  box-shadow: 0 8px 30px rgba(24, 45, 49, 0.06);
  overflow: hidden;
}

.wallet-flow h4 {
  font-size: 17px;
  margin-bottom: 16px;
}

.withdraw-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.withdraw-steps > div {
  position: relative;
  padding: 18px;
  min-height: 105px;
  border: 1px solid #e5ebeb;
  border-radius: 14px;
  background: #ffffff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.withdraw-steps > div:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(24, 45, 49, 0.08);
}

.withdraw-steps > div::before {
  content: "";
  display: block;
  width: 28px;
  height: 4px;
  border-radius: 10px;
  background: #16a394;
  margin-bottom: 14px;
}

.withdraw-steps b {
  display: block;
  font-size: 14px;
  margin-bottom: 7px;
  color: #18282c;
}

.withdraw-steps span {
  display: block;
  font-size: 12px;
  line-height: 1.55;
  color: #748184;
}

.wallet-note {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #dcefed;
  background: #f1faf8;
  color: #31565a;
  font-size: 12px;
  line-height: 1.55;
}


/* =========================================================
   WALLET STAT CARDS
   ========================================================= */

.stat-grid {
  gap: 16px;
}

.stat-grid .stat {
  position: relative;
  border: 1px solid #e3e9e9;
  border-radius: 16px;
  background: #ffffff;
  padding: 20px;
  box-shadow: 0 6px 22px rgba(24, 45, 49, 0.045);
  overflow: hidden;
}

.stat-grid .stat::after {
  content: "";
  position: absolute;
  right: -22px;
  top: -22px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #f0f8f7;
}

.stat-grid .stat .n {
  position: relative;
  z-index: 1;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.stat-grid .stat .l {
  position: relative;
  z-index: 1;
  margin-top: 5px;
  color: #7a878a;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .5px;
}


/* =========================================================
   WALLET PANELS
   ========================================================= */

#view .panel {
  border-radius: 16px;
  border-color: #e4e9e9;
}

#view .panel h4 {
  color: #17272b;
}


/* =========================================================
   WITHDRAWAL FORM
   ========================================================= */

#wAmount,
#wMethod,
#wDest {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #dce4e4;
  border-radius: 10px;
  background: #fbfcfc;
  transition: border-color .2s ease, box-shadow .2s ease;
}

#wAmount:focus,
#wMethod:focus,
#wDest:focus {
  outline: none;
  border-color: #16a394;
  box-shadow: 0 0 0 3px rgba(22, 163, 148, 0.10);
  background: #ffffff;
}

#wGo {
  min-height: 46px;
  border-radius: 10px;
  font-weight: 700;
  letter-spacing: .1px;
  transition: transform .2s ease, box-shadow .2s ease;
}

#wGo:not(:disabled):hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(22, 163, 148, 0.18);
}

#wGo:disabled {
  opacity: .55;
  cursor: not-allowed;
}


/* =========================================================
   WITHDRAWAL HISTORY
   ========================================================= */

#view .data {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
}

#view .data th {
  padding: 10px 12px;
  color: #7b8789;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .7px;
  background: #f8fafa;
  border-bottom: 1px solid #e7eded;
}

#view .data td {
  padding: 13px 12px;
  border-bottom: 1px solid #edf1f1;
  vertical-align: middle;
}

#view .data tbody tr:last-child td {
  border-bottom: 0;
}

#view .data tbody tr:hover {
  background: #fafcfc;
}


/* =========================================================
   STATUS BADGES
   ========================================================= */

#view .badge {
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .4px;
}


/* =========================================================
   EMPTY HISTORY
   ========================================================= */

#view .empty {
  border: 1px dashed #d8e1e1;
  border-radius: 12px;
  padding: 28px 18px;
  text-align: center;
  background: #fafcfc;
}


/* =========================================================
   WALLET MOBILE
   ========================================================= */

@media (max-width: 900px) {

  .withdraw-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 600px) {

  .withdraw-steps {
    grid-template-columns: 1fr;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }

  #view .grid2 {
    grid-template-columns: 1fr;
  }

}
/* =========================================================
   FIELDSHOT WALLET — FINAL ALIGNMENT FIX
   ========================================================= */

/* Main wallet layout */

.wallet-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 18px;
  align-items: start;
  margin-top: 18px;
}

/* Request card */

.wallet-request-card {
  min-width: 0;
  padding: 22px;
}

/* History card */

.wallet-history-card {
  min-width: 0;
  padding: 22px;
}

/* Balance badge */

.wallet-balance {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 11px;
  border-radius: 999px;
  background: #eef8f6;
  border: 1px solid #d8ece9;
  color: #126f68;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

/* Form spacing */

.wallet-request-card .field {
  margin-bottom: 15px;
}

.wallet-request-card .field > span {
  display: block;
  margin-bottom: 7px;
}

/* Private payment notice */

.wallet-private-note {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 17px 0;
  padding: 13px 14px;
  border: 1px solid #e1e9e9;
  border-radius: 12px;
  background: #f8fafa;
}

.wallet-private-note > span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 8px;
  background: #edf7f5;
  font-size: 14px;
}

.wallet-private-note b {
  display: block;
  margin: 0;
  font-size: 12px;
  color: #26383b;
}

.wallet-private-note p {
  margin: 3px 0 0;
  font-size: 11px;
  line-height: 1.45;
  color: #7b898b;
}

/* Withdrawal button */

.wallet-withdraw-btn {
  width: 100%;
  min-height: 48px;
  border-radius: 11px;
}

/* Disabled message */

.wallet-disabled-message {
  margin: 9px 0 0;
  text-align: center;
}

/* =========================================================
   HISTORY
   ========================================================= */

.wallet-history {
  display: flex;
  flex-direction: column;
}

.wallet-history-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
  padding: 12px 0;
  border-bottom: 1px solid #edf1f1;
}

.wallet-history-row:last-child {
  border-bottom: 0;
}

.wallet-history-row > div:first-child {
  min-width: 0;
}

.wallet-history-row > div:first-child b {
  display: block;
  font-size: 16px;
  line-height: 1.25;
  white-space: nowrap;
}

.wallet-history-row > div:first-child span {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: #7b898b;
}

.wallet-history-row .right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  flex-shrink: 0;
}

.wallet-history-row .right small {
  font-size: 10px;
  color: #899496;
  white-space: nowrap;
}

/* =========================================================
   HISTORY HEADER
   ========================================================= */

.wallet-history-card .spread {
  align-items: center;
}

.wallet-history-card .spread h4 {
  margin: 0;
}

.wallet-history-card .spread p {
  margin: 4px 0 0;
}

/* =========================================================
   ZERO HISTORY
   ========================================================= */

.wallet-empty {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.wallet-empty-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 12px;
  border-radius: 14px;
  background: #eef7f5;
  color: #137f76;
  font-size: 20px;
  font-weight: 700;
}

.wallet-empty b {
  font-size: 13px;
}

.wallet-empty span {
  margin-top: 5px;
  color: #8a9698;
  font-size: 11px;
}

/* =========================================================
   TOP WALLET STATS
   ========================================================= */

.wallet-stats {
  margin-bottom: 18px;
}

.wallet-stats .stat {
  min-width: 0;
}

/* =========================================================
   BETTER DESKTOP WIDTH
   ========================================================= */

@media (min-width: 1100px) {

  .wallet-main-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  }

}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 850px) {

  .wallet-main-grid {
    grid-template-columns: 1fr;
  }

  .wallet-history-card {
    width: auto;
  }

  .withdraw-steps {
    grid-template-columns: repeat(2, 1fr);
  }

}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

  .wallet-flow {
    padding: 17px;
  }

  .wallet-request-card,
  .wallet-history-card {
    padding: 17px;
  }

  .withdraw-steps {
    grid-template-columns: 1fr;
  }

  .wallet-history-row {
    gap: 10px;
  }

}
/* =========================================================
   FIELDSHOT PREMIUM WALLET
   Topbar is NOT affected
   ========================================================= */

.wallet-page {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 28px 0 40px;
}

.wallet-page-head {
  margin-bottom: 18px;
}

.wallet-page-head h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.wallet-page-head p {
  margin: 7px 0 0;
  color: #718287;
  font-size: 13px;
}

/* PROCESS */

.wallet-process {
  background: #fff;
  border: 1px solid #e3ebeb;
  border-radius: 18px;
  padding: 26px 28px 18px;
  box-shadow: 0 8px 30px rgba(24, 55, 58, .05);
}

.wallet-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.wallet-step {
  display: flex;
  gap: 14px;
  min-width: 0;
}

.wallet-step-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border: 1px solid #8ccbc7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #08756f;
  background: #f2fbfa;
  font-size: 18px;
  font-weight: 700;
}

.wallet-step b {
  display: block;
  color: #17252d;
  font-size: 14px;
  margin: 1px 0 7px;
}

.wallet-step span {
  display: block;
  color: #748388;
  font-size: 11px;
  line-height: 1.55;
  max-width: 190px;
}

.wallet-important {
  margin-top: 24px;
  padding: 12px 15px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-radius: 10px;
  background: #f2faf9;
  border: 1px solid #d8ecea;
  color: #42676a;
  font-size: 11px;
  line-height: 1.55;
}

.wallet-important b {
  color: #175b59;
}

.wallet-info-icon {
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 1px solid #15827b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #15827b;
  font-weight: 700;
}

/* STATS */

.wallet-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fff;
  border: 1px solid #e3ebeb;
  border-radius: 15px;
  margin-top: 18px;
  overflow: hidden;
  box-shadow: 0 7px 24px rgba(24, 55, 58, .04);
}

.wallet-stat {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px 20px;
  border-right: 1px solid #e8eeee;
}

.wallet-stat:last-child {
  border-right: 0;
}

.wallet-stat-icon {
  width: 43px;
  height: 43px;
  border-radius: 12px;
  background: #eaf6f3;
  color: #08766f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.wallet-stat-icon.blue {
  background: #edf5ff;
  color: #3579bd;
}

.wallet-stat-icon.orange {
  background: #fff7e8;
  color: #dc8b16;
}

.wallet-stat span {
  display: block;
  color: #758489;
  font-size: 11px;
  margin-bottom: 3px;
}

.wallet-stat strong {
  display: block;
  color: #08756f;
  font-size: 22px;
  line-height: 1.2;
}

/* MAIN CONTENT */

.wallet-content {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  gap: 18px;
  margin-top: 18px;
  align-items: start;
}

.wallet-right {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.wallet-card {
  background: #fff;
  border: 1px solid #e3ebeb;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(24, 55, 58, .045);
  overflow: hidden;
}

.request-card {
  padding: 22px 24px;
}

.history-card,
.payout-card {
  padding: 20px;
}

.wallet-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wallet-card-head h3 {
  margin: 0;
  color: #086f69;
  font-size: 16px;
  font-weight: 700;
}

.available-label {
  margin-left: auto;
  color: #66777c;
  font-size: 11px;
}

.available-label b {
  color: #08756f;
}

.wallet-divider {
  height: 1px;
  border-top: 1px dashed #dbe4e4;
  margin: 14px 0 18px;
}

/* FORM */

.wallet-field {
  display: block;
  margin-bottom: 16px;
}

.wallet-field > span {
  display: block;
  color: #28383e;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 7px;
}

.wallet-field input,
.wallet-field select {
  width: 100%;
  height: 49px;
  box-sizing: border-box;
  border: 1px solid #d6e0e1;
  border-radius: 10px;
  background: #fff;
  color: #26353a;
  font-size: 13px;
  padding: 0 14px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.wallet-field input:focus,
.wallet-field select:focus {
  border-color: #15958d;
  box-shadow: 0 0 0 3px rgba(21,149,141,.08);
}

.amount-input {
  display: flex;
  height: 49px;
  border: 1px solid #d6e0e1;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.amount-input > span {
  width: 43px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f8f8;
  border-right: 1px solid #e0e7e7;
  color: #617176;
  font-size: 14px;
}

.amount-input input {
  height: 100%;
  border: 0;
  border-radius: 0;
  flex: 1;
  min-width: 0;
}

.amount-input input:focus {
  box-shadow: none;
}

/* PROTECTED PAYOUT */

.wallet-protected {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px;
  margin: 5px 0 15px;
  border: 1px solid #c8e0df;
  border-radius: 10px;
  background: #f5fbfa;
}

.protected-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  background: #e3f3f1;
  color: #08756f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.protected-text {
  min-width: 0;
  flex: 1;
}

.protected-text b {
  display: block;
  color: #214246;
  font-size: 12px;
  margin-bottom: 4px;
}

.protected-text span {
  display: block;
  color: #738488;
  font-size: 10px;
  line-height: 1.45;
}

.wallet-manage-btn,
.wallet-update-btn,
.wallet-view-btn {
  border: 1px solid #b9d6d5;
  background: #fff;
  color: #08716b;
  border-radius: 8px;
  padding: 8px 11px;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.wallet-manage-btn:hover,
.wallet-update-btn:hover,
.wallet-view-btn:hover {
  background: #f1f9f8;
}

.wallet-submit {
  width: 100%;
  height: 47px;
  border: 0;
  border-radius: 9px;
  background: #08766f;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.wallet-submit:hover {
  background: #06645e;
}

.wallet-submit:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.wallet-submit-note {
  margin-top: 10px;
  color: #75858a;
  font-size: 10px;
}

/* HISTORY */

.history-card .wallet-card-head {
  padding-bottom: 14px;
  border-bottom: 1px dashed #dbe4e4;
}

.wallet-view-btn {
  margin-left: auto;
  padding: 7px 12px;
}

.wallet-history {
  border: 1px solid #e0e8e8;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 10px;
}

.wallet-history-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 15px;
  min-height: 65px;
  padding: 10px 13px;
  border-bottom: 1px solid #e5ebeb;
}

.wallet-history-item:last-child {
  border-bottom: 0;
}

.history-left b {
  display: block;
  color: #18262c;
  font-size: 14px;
}

.history-left span {
  display: block;
  margin-top: 3px;
  color: #65767b;
  font-size: 10px;
}

.history-middle {
  display: flex;
  justify-content: center;
}

.history-status {
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .3px;
}

.history-status.pending {
  background: #fff4d9;
  color: #a66c00;
}

.history-status.paid {
  background: #e5f5eb;
  color: #28764d;
}

.history-status.rejected {
  background: #fde9e9;
  color: #bd3d3d;
}

.history-right {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #7a898d;
  font-size: 10px;
  white-space: nowrap;
}

.history-right b {
  color: #65777b;
  font-size: 19px;
  font-weight: 400;
}

.wallet-empty {
  padding: 35px 10px;
  text-align: center;
  color: #89979a;
  font-size: 11px;
}

/* PAYOUT DETAILS */

.payout-card .wallet-card-head h3 {
  margin-right: 0;
}

.private-badge {
  background: #edf4f3;
  color: #46696a;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 9px;
  font-weight: 700;
}

.payout-box {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
  padding: 16px;
  border: 1px solid #c6dfde;
  border-radius: 10px;
  background: #f5fbfa;
}

.payout-lock {
  width: 45px;
  height: 45px;
  min-width: 45px;
  border-radius: 50%;
  background: #e2f2f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #08756f;
  font-size: 22px;
}

.payout-box > div:last-child {
  min-width: 0;
}

.payout-box b {
  display: block;
  color: #1e4448;
  font-size: 11px;
}

.payout-box span {
  display: block;
  margin-top: 4px;
  color: #728488;
  font-size: 10px;
}

.wallet-update-btn {
  margin-top: 9px;
  padding: 7px 11px;
}

.payout-footer {
  margin-top: 11px;
  color: #7c898c;
  font-size: 10px;
}

/* TIP */

.wallet-tip {
  display: flex;
  align-items: center;
  min-height: 46px;
  margin-top: 18px;
  padding: 0 15px;
  border: 1px solid #dedcf5;
  border-radius: 12px;
  background: #fafaff;
  color: #65707d;
  font-size: 10px;
}

.wallet-tip > span {
  margin-right: 8px;
  color: #7d74d8;
  font-size: 17px;
}

.wallet-tip b {
  color: #39465a;
}

/* TABLET */

@media (max-width: 900px) {

  .wallet-page {
    padding: 20px 14px 30px;
  }

  .wallet-process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .wallet-content {
    grid-template-columns: 1fr;
  }

}

/* MOBILE */

@media (max-width: 600px) {

  .wallet-process {
    padding: 18px;
  }

  .wallet-process-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .wallet-stats {
    grid-template-columns: 1fr;
  }

  .wallet-stat {
    border-right: 0;
    border-bottom: 1px solid #e8eeee;
  }

  .wallet-stat:last-child {
    border-bottom: 0;
  }

  .wallet-content {
    grid-template-columns: 1fr;
  }

  .wallet-protected {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .wallet-manage-btn {
    margin-left: 55px;
  }

  .wallet-history-item {
    grid-template-columns: 1fr auto;
  }

  .history-middle {
    grid-column: 2;
    grid-row: 1;
  }

  .history-right {
    grid-column: 1 / -1;
    justify-content: space-between;
    border-top: 1px solid #edf1f1;
    padding-top: 7px;
  }

}

/* =========================================================
   WALLET FINAL CLEAN LAYOUT
   ========================================================= */

.wallet-page {
  max-width: 1160px;
  margin: 0 auto;
  padding: 28px 0 40px;
}

.wallet-page-head h2 {
  margin: 0;
  color: #17262b;
  font-size: 30px;
}

.wallet-page-head p {
  margin: 6px 0 20px;
  color: #748489;
  font-size: 13px;
}

/* Keep only two main cards */

.wallet-content {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 18px;
  align-items: start;
  margin-top: 18px;
}

/* Card */

.wallet-card {
  background: #fff;
  border: 1px solid #e1e9e9;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(20, 50, 52, .05);
}

.request-card {
  padding: 22px 24px;
}

.history-card {
  padding: 22px;
}

/* Header */

.wallet-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wallet-card-head h3 {
  margin: 0;
  color: #08756f;
  font-size: 16px;
}

.available-label {
  margin-left: auto;
  color: #748489;
  font-size: 11px;
}

.available-label b {
  color: #08756f;
}

/* Inputs */

.wallet-field {
  display: block;
  margin-bottom: 16px;
}

.wallet-field > span {
  display: block;
  margin-bottom: 7px;
  color: #26383d;
  font-size: 11px;
  font-weight: 700;
}

.wallet-field input,
.wallet-field select {
  width: 100%;
  height: 48px;
  box-sizing: border-box;
  border: 1px solid #d5e0e1;
  border-radius: 10px;
  background: #fff;
  color: #26383d;
  padding: 0 13px;
  font-size: 13px;
}

.wallet-field input:focus,
.wallet-field select:focus {
  outline: none;
  border-color: #087f78;
  box-shadow: 0 0 0 3px rgba(8,127,120,.08);
}

/* Amount */

.amount-input {
  display: flex;
  height: 48px;
  border: 1px solid #d5e0e1;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.amount-input > span {
  width: 43px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f8f8;
  border-right: 1px solid #e1e7e7;
  color: #63757a;
}

.amount-input input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  border-radius: 0;
  padding-left: 13px;
}

.amount-input input:focus {
  box-shadow: none;
}

/* Protected payout */

.wallet-protected {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 18px 0 15px;
  padding: 14px;
  border: 1px solid #c8dfdd;
  border-radius: 10px;
  background: #f3faf9;
}

.protected-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e1f2ef;
  color: #08756f;
}

.protected-text {
  flex: 1;
  min-width: 0;
}

.protected-text b {
  display: block;
  color: #214448;
  font-size: 12px;
}

.protected-text span {
  display: block;
  margin-top: 3px;
  color: #738488;
  font-size: 10px;
}

.wallet-manage-btn {
  flex-shrink: 0;
  padding: 9px 12px;
  border: 1px solid #acd2cf;
  border-radius: 8px;
  background: #fff;
  color: #08756f;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}

.wallet-manage-btn:hover {
  background: #edf8f6;
}

/* Main green button */

.wallet-submit {
  width: 100%;
  height: 47px;
  border: 0;
  border-radius: 9px;
  background: #08756f;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.wallet-submit:hover {
  background: #06655f;
}

.wallet-submit:disabled {
  background: #9dbab8;
  cursor: not-allowed;
  opacity: 1;
}

.wallet-submit-note {
  margin-top: 10px;
  color: #77878b;
  font-size: 10px;
  line-height: 1.5;
}

/* History */

.history-card .wallet-card-head {
  padding-bottom: 14px;
  border-bottom: 1px dashed #dce5e5;
}

.wallet-view-btn {
  margin-left: auto;
  padding: 7px 11px;
  border: 1px solid #cbdcdc;
  border-radius: 8px;
  background: #fff;
  color: #08756f;
  font-size: 10px;
  font-weight: 700;
}

.wallet-history {
  margin-top: 12px;
  border: 1px solid #e1e8e8;
  border-radius: 10px;
  overflow: hidden;
}

.wallet-history-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 14px;
  min-height: 65px;
  padding: 10px 13px;
  border-bottom: 1px solid #e7eded;
}

.wallet-history-item:last-child {
  border-bottom: 0;
}

.history-left b {
  display: block;
  color: #18272d;
  font-size: 14px;
}

.history-left span {
  display: block;
  margin-top: 3px;
  color: #738388;
  font-size: 10px;
}

.history-status {
  padding: 5px 9px;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 800;
}

.history-status.pending {
  background: #fff3d7;
  color: #a36b00;
}

.history-status.paid {
  background: #e5f5eb;
  color: #28764d;
}

.history-status.rejected {
  background: #fde8e8;
  color: #bd3d3d;
}

.history-right {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #7c898d;
  font-size: 10px;
  white-space: nowrap;
}

.history-right b {
  color: #607276;
  font-size: 18px;
  font-weight: 400;
}

/* Mobile */

@media (max-width: 850px) {
  .wallet-content {
    grid-template-columns: 1fr;
  }

  .wallet-process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .wallet-page {
    padding: 20px 14px 30px;
  }

  .wallet-process-grid {
    grid-template-columns: 1fr;
  }

  .wallet-stats {
    grid-template-columns: 1fr;
  }

  .wallet-protected {
    flex-wrap: wrap;
  }

  .wallet-manage-btn {
    margin-left: 55px;
  }

  .wallet-history-item {
    grid-template-columns: 1fr auto;
  }

  .history-middle {
    grid-column: 2;
  }

  .history-right {
    grid-column: 1 / -1;
  }
}
/* =========================================================
   PREMIUM PHOTO UPLOAD
   ========================================================= */

.upload-instructions {
  margin-bottom: 16px;
  color: #718287;
  font-size: 12px;
}

.premium-upload-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 16px;
}

.premium-photo-slot {
  display: block;
  cursor: pointer;
  min-width: 0;
}

.photo-preview {
  position: relative;
  height: 150px;
  overflow: hidden;
  border: 1px solid #dbe5e5;
  border-radius: 12px;
  background: #f4f8f8;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}

.premium-photo-slot:hover .photo-preview {
  border-color: #08756f;
  box-shadow: 0 5px 18px rgba(8,117,111,.12);
  transform: translateY(-1px);
}

.photo-preview img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8b999d;
  font-size: 12px;
}

.photo-number {
  position: absolute;
  top: 8px;
  left: 8px;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #16242a;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.sample-badge,
.uploaded-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 5px 7px;
  border-radius: 5px;
  background: rgba(20,32,37,.9);
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .4px;
}

.uploaded-badge {
  background: #08756f;
}

.photo-add-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 9px 8px;
  background: linear-gradient(transparent, rgba(0,0,0,.72));
  color: #fff;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  opacity: 0;
  transition: opacity .2s;
}

.premium-photo-slot:hover .photo-add-overlay {
  opacity: 1;
}

.photo-slot-label {
  padding: 9px 2px 2px;
  color: #26383d;
  font-size: 12px;
}

.photo-slot-label b {
  font-weight: 700;
}

.premium-photo-slot input[type="file"] {
  display: none;
}

@media (max-width: 900px) {
  .premium-upload-grid {
    grid-template-columns: repeat(3, minmax(140px, 1fr));
  }
}

@media (max-width: 650px) {
  .premium-upload-grid {
    grid-template-columns: repeat(2, minmax(130px, 1fr));
  }

  .photo-preview {
    height: 135px;
  }
}

@media (max-width: 430px) {
  .premium-upload-grid {
    grid-template-columns: 1fr;
  }

  .photo-preview {
    height: 190px;
  }
}

/* =========================================================
   FINAL WALLET UI OVERRIDE
   ========================================================= */

.wallet-content{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) minmax(420px,1fr) !important;
  gap:22px !important;
  align-items:stretch !important;
}

.request-card,
.history-card{
  min-width:0 !important;
  box-sizing:border-box !important;
}

.request-card{
  padding:22px !important;
}

.history-card{
  padding:22px !important;
  overflow:hidden !important;
}

/* Amount */
.amount-input{
  width:100% !important;
  height:52px !important;
  display:grid !important;
  grid-template-columns:46px minmax(0,1fr) 52px !important;
  align-items:center !important;
  border:1px solid #d7e2e2 !important;
  border-radius:11px !important;
  background:#fff !important;
  overflow:hidden !important;
  box-sizing:border-box !important;
}

.amount-input > span{
  height:100% !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:0 !important;
  margin:0 !important;
  background:#fafcfc !important;
  color:#718489 !important;
  font-size:13px !important;
  font-weight:700 !important;
}

.amount-input input{
  width:100% !important;
  min-width:0 !important;
  height:100% !important;
  border:0 !important;
  outline:0 !important;
  box-shadow:none !important;
  border-radius:0 !important;
  padding:0 12px !important;
  margin:0 !important;
  font-size:15px !important;
  background:#fff !important;
  box-sizing:border-box !important;
}

.amount-input input::-webkit-inner-spin-button,
.amount-input input::-webkit-outer-spin-button{
  -webkit-appearance:none !important;
  margin:0 !important;
}

.amount-input input[type=number]{
  appearance:textfield !important;
  -moz-appearance:textfield !important;
}

.amount-input > span:last-child{
  border-left:1px solid #edf1f1 !important;
  font-size:10px !important;
  letter-spacing:.5px !important;
}

/* Payment method */
.wallet-field select{
  width:100% !important;
  height:52px !important;
  border:1px solid #d7e2e2 !important;
  border-radius:11px !important;
  padding:0 13px !important;
  background:#fff !important;
  box-sizing:border-box !important;
}

/* History */
.history-card .wallet-card-head{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
}

.history-card .wallet-history{
  width:100% !important;
  margin-top:14px !important;
  overflow:hidden !important;
}

.history-card .wallet-history-item{
  width:100% !important;
  min-width:0 !important;
  display:grid !important;
  grid-template-columns:40px minmax(0,1fr) auto !important;
  gap:12px !important;
  align-items:center !important;
  padding:17px 2px !important;
  box-sizing:border-box !important;
  border-top:1px solid #e8eeee !important;
}

.history-card .history-left,
.history-card .history-middle,
.history-card .history-right{
  min-width:0 !important;
}

.history-card .history-left b{
  display:block !important;
  font-size:16px !important;
  color:#21373d !important;
  line-height:1.2 !important;
}

.history-card .history-left span{
  display:block !important;
  max-width:190px !important;
  margin-top:5px !important;
  color:#809398 !important;
  font-size:11px !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}

.history-card .history-middle{
  display:flex !important;
  justify-content:flex-start !important;
}

.history-card .history-right{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:8px !important;
  color:#819297 !important;
  font-size:10px !important;
  white-space:nowrap !important;
}

.history-card .history-right b{
  font-size:18px !important;
  color:#a1afb1 !important;
}

.history-card .history-status{
  padding:5px 9px !important;
  font-size:9px !important;
  white-space:nowrap !important;
}

/* Better empty/history card proportions */
.history-card{
  min-height:250px !important;
}

.wallet-empty{
  padding:45px 15px !important;
  text-align:center !important;
}

/* Add payment method button */
.pay-add,
.wallet-manage-btn{
  cursor:pointer !important;
  transition:all .15s ease !important;
}

.pay-add:hover,
.wallet-manage-btn:hover{
  transform:translateY(-1px) !important;
}

/* Responsive */
@media(max-width:1050px){
  .wallet-content{
    grid-template-columns:1fr !important;
  }

  .history-card{
    min-height:auto !important;
  }
}

@media(max-width:600px){
  .request-grid{
    grid-template-columns:1fr !important;
  }

  .history-card .wallet-history-item{
    grid-template-columns:34px minmax(0,1fr) !important;
  }

  .history-card .history-right{
    grid-column:2 !important;
    justify-content:flex-start !important;
  }
}


/* =========================================================
   WITHDRAWAL HISTORY - CLEAN FINAL DESIGN
   ========================================================= */

.history-card{
  height:auto !important;
  min-height:0 !important;
  align-self:start !important;
  padding:24px !important;
  overflow:hidden !important;
}

.history-card .wallet-card-head{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  padding-bottom:15px !important;
  border-bottom:1px dashed #dce7e6 !important;
}

.history-card .wallet-card-head h3{
  margin:0 !important;
  white-space:nowrap !important;
}

.history-card .wallet-view-btn{
  white-space:nowrap !important;
  font-size:12px !important;
}

/* History list */
.history-card .wallet-history{
  margin:0 !important;
  padding:0 !important;
  width:100% !important;
}

/* Individual transaction */
.history-card .wallet-history-item{
  width:100% !important;
  min-height:78px !important;
  display:grid !important;
  grid-template-columns:minmax(0,1fr) auto !important;
  grid-template-rows:auto auto !important;
  column-gap:18px !important;
  row-gap:5px !important;
  align-items:center !important;
  padding:17px 0 !important;
  margin:0 !important;
  border-top:1px solid #edf2f1 !important;
  box-sizing:border-box !important;
}

.history-card .wallet-history-item:first-child{
  border-top:0 !important;
}

/* Left side */
.history-card .history-left{
  grid-column:1 !important;
  grid-row:1 / span 2 !important;
  min-width:0 !important;
}

.history-card .history-left b{
  display:block !important;
  margin:0 !important;
  color:#20363c !important;
  font-size:17px !important;
  font-weight:800 !important;
  line-height:1.2 !important;
}

.history-card .history-left span{
  display:block !important;
  width:100% !important;
  max-width:260px !important;
  margin-top:7px !important;
  color:#84969a !important;
  font-size:12px !important;
  line-height:1.3 !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}

/* Status */
.history-card .history-middle{
  grid-column:2 !important;
  grid-row:1 !important;
  min-width:0 !important;
  display:flex !important;
  justify-content:flex-end !important;
  align-items:center !important;
}

.history-card .history-status{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-width:65px !important;
  height:29px !important;
  padding:0 10px !important;
  border-radius:999px !important;
  font-size:9px !important;
  font-weight:900 !important;
  letter-spacing:.7px !important;
  white-space:nowrap !important;
}

/* Date */
.history-card .history-right{
  grid-column:2 !important;
  grid-row:2 !important;
  min-width:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:0 !important;
  color:#8a999c !important;
  font-size:11px !important;
  line-height:1.2 !important;
  white-space:nowrap !important;
}

.history-card .history-right b{
  display:none !important;
}

/* Empty history */
.history-card .wallet-empty{
  padding:38px 10px !important;
  text-align:center !important;
  color:#84969a !important;
}

/* Remove timeline remnants */
.history-card .history-timeline,
.history-card .history-timeline-dot{
  display:none !important;
}

/* Prevent the card from stretching */
.wallet-content{
  align-items:start !important;
}

.request-card{
  align-self:start !important;
}

/* Desktop */
@media(min-width:1051px){
  .history-card{
    width:100% !important;
  }
}

/* Tablet / mobile */
@media(max-width:1050px){
  .history-card{
    width:100% !important;
  }

  .history-card .history-left span{
    max-width:400px !important;
  }
}

@media(max-width:520px){
  .history-card{
    padding:18px !important;
  }

  .history-card .wallet-history-item{
    column-gap:10px !important;
  }

  .history-card .history-left b{
    font-size:15px !important;
  }

  .history-card .history-left span{
    font-size:11px !important;
    max-width:170px !important;
  }

  .history-card .history-status{
    min-width:58px !important;
    height:26px !important;
    font-size:8px !important;
  }

  .history-card .history-right{
    font-size:10px !important;
  }
}



/* FIELDShot PREMIUM WITHDRAWAL HISTORY */

.history-card{
  align-self:start !important;
  height:auto !important;
  min-height:0 !important;
  padding:22px !important;
  overflow:hidden !important;
}

.history-card .wallet-card-head{
  padding-bottom:15px !important;
  border-bottom:1px dashed #dce7e6 !important;
}

.premium-history{
  width:100% !important;
  margin-top:12px !important;
  border:1px solid #e1eaea !important;
  border-radius:15px !important;
  overflow:hidden !important;
  background:#fff !important;
}

.premium-history-row{
  min-height:88px !important;
  width:100% !important;
  display:grid !important;
  grid-template-columns:40px minmax(0,1fr) auto !important;
  gap:13px !important;
  align-items:center !important;
  padding:15px 14px !important;
  border-top:1px solid #edf1f1 !important;
  box-sizing:border-box !important;
  transition:background .15s ease !important;
}

.premium-history-row:first-child{
  border-top:0 !important;
}

.premium-history-row:hover{
  background:#fbfdfd !important;
}

.premium-history-icon{
  width:36px !important;
  height:36px !important;
  border-radius:11px !important;
  display:grid !important;
  place-items:center !important;
  font-size:15px !important;
  font-weight:900 !important;
}

.premium-history-icon.paid{
  background:#e6f5ee !important;
  color:#2a8a65 !important;
  border:1px solid #bce1cf !important;
}

.premium-history-icon.pending{
  background:#fff3d8 !important;
  color:#a06d15 !important;
  border:1px solid #efd18b !important;
}

.premium-history-icon.rejected{
  background:#fde9e9 !important;
  color:#b95353 !important;
  border:1px solid #efc1c1 !important;
}

.premium-history-main{
  min-width:0 !important;
}

.premium-history-amount{
  color:#20363c !important;
  font-size:16px !important;
  font-weight:900 !important;
  line-height:1.2 !important;
}

.premium-history-method{
  margin-top:5px !important;
  color:#72878d !important;
  font-size:11.5px !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}

.premium-history-date{
  margin-top:4px !important;
  color:#9aa8ab !important;
  font-size:10.5px !important;
}

.premium-history-side{
  display:flex !important;
  align-items:center !important;
  gap:12px !important;
}

.premium-history-status{
  min-width:65px !important;
  height:27px !important;
  padding:0 9px !important;
  border-radius:999px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  box-sizing:border-box !important;
  font-size:8.5px !important;
  font-weight:900 !important;
  letter-spacing:.65px !important;
  white-space:nowrap !important;
}

.premium-history-status.pending{
  background:#fff3d8 !important;
  color:#9a6b15 !important;
  border:1px solid #efd18b !important;
}

.premium-history-status.paid{
  background:#e4f5ed !important;
  color:#27815e !important;
  border:1px solid #b9dfcd !important;
}

.premium-history-status.rejected{
  background:#fde8e8 !important;
  color:#b95353 !important;
  border:1px solid #efc1c1 !important;
}

.premium-history-arrow{
  color:#a2afb2 !important;
  font-size:21px !important;
  line-height:1 !important;
}

.premium-history-empty{
  padding:38px 18px !important;
  text-align:center !important;
}

.premium-empty-icon{
  width:40px !important;
  height:40px !important;
  margin:0 auto 9px !important;
  border-radius:50% !important;
  display:grid !important;
  place-items:center !important;
  background:#eef7f5 !important;
  color:#08766c !important;
}

.premium-history-empty b{
  display:block !important;
  color:#526a70 !important;
  font-size:12px !important;
}

.premium-history-empty span{
  display:block !important;
  margin-top:5px !important;
  color:#87979b !important;
  font-size:10.5px !important;
}

@media(max-width:600px){
  .premium-history-row{
    grid-template-columns:38px minmax(0,1fr) !important;
  }

  .premium-history-side{
    grid-column:2 !important;
    justify-content:space-between !important;
  }

  .premium-history-arrow{
    display:none !important;
  }
}


/* =========================================================
   FIELDShot PREMIUM ACCOUNT PAGE
   ========================================================= */

.premium-account-page{
  width:100%;
  max-width:1180px;
  margin:0 auto;
  padding:8px 0 42px;
  box-sizing:border-box;
}

.premium-account-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:24px;
}

.premium-eyebrow{
  color:#08766c;
  font-size:10px;
  font-weight:900;
  letter-spacing:1.7px;
  margin-bottom:7px;
}

.premium-account-head h2{
  margin:0;
  color:#172a30;
  font-size:30px;
  line-height:1.05;
  letter-spacing:-.7px;
}

.premium-account-head p{
  margin:8px 0 0;
  color:#7d9095;
  font-size:13px;
}

.premium-account-status{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:155px;
  padding:10px 14px;
  border:1px solid #dfe9e7;
  border-radius:13px;
  background:#fff;
  box-shadow:0 8px 25px rgba(23,42,48,.04);
}

.premium-status-dot{
  width:9px;
  height:9px;
  border-radius:50%;
  background:#38a87b;
  box-shadow:0 0 0 4px #e7f6ef;
}

.premium-account-status b{
  display:block;
  color:#284047;
  font-size:12px;
}

.premium-account-status span{
  display:block;
  color:#91a0a4;
  font-size:10px;
  margin-top:2px;
}

.account-status-warning .premium-status-dot{
  background:#d18a22;
  box-shadow:0 0 0 4px #fff2dc;
}

.premium-account-top-grid{
  display:grid;
  grid-template-columns:minmax(0,2fr) minmax(270px,.82fr);
  gap:20px;
  align-items:start;
}

.premium-settings-grid{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(320px,.75fr);
  gap:20px;
  align-items:start;
}

.premium-account-side{
  display:grid;
  gap:20px;
}

.premium-account-card{
  background:#fff;
  border:1px solid #e1e9e8;
  border-radius:17px;
  box-shadow:0 12px 32px rgba(30,52,57,.055);
  box-sizing:border-box;
}

.profile-card,
.payout-card,
.security-card{
  padding:22px;
}

.status-card{
  padding:20px;
}

.quick-card{
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding:17px;
  background:linear-gradient(135deg,#fbfffe,#f5faf9);
}

.quick-card b{
  display:block;
  color:#2b464c;
  font-size:11.5px;
}

.quick-card p{
  margin:5px 0 0;
  color:#87999d;
  font-size:10.5px;
  line-height:1.55;
}

.premium-quick-icon{
  width:32px;
  height:32px;
  flex:0 0 32px;
  display:grid;
  place-items:center;
  border-radius:10px;
  background:#e8f5f2;
  color:#08766c;
  font-size:11px;
}

.premium-card-head{
  display:flex;
  align-items:center;
  gap:12px;
}

.premium-card-head.compact{
  align-items:flex-start;
}

.premium-card-icon{
  width:39px;
  height:39px;
  flex:0 0 39px;
  display:grid;
  place-items:center;
  border-radius:12px;
  background:#edf7f5;
  color:#08766c;
  font-size:16px;
  font-weight:900;
}

.profile-icon{
  background:#eaf6f4;
}

.status-icon{
  background:#e8f5ef;
  color:#2d916b;
}

.payout-icon{
  background:#eef5fb;
  color:#4e7897;
}

.security-icon{
  background:#f3f1fb;
  color:#6d63a0;
}

.criteria-icon{
  background:#edf7f5;
}

.premium-card-head h3{
  margin:0;
  color:#21383f;
  font-size:15px;
  letter-spacing:-.1px;
}

.premium-card-head p{
  margin:4px 0 0;
  color:#899ba0;
  font-size:10.5px;
  line-height:1.4;
}

.premium-divider{
  height:1px;
  margin:18px 0;
  background:#e9eeee;
}

.premium-form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}

.premium-full{
  grid-column:1 / -1;
}

.premium-field{
  display:block;
  min-width:0;
}

.premium-field span{
  display:block;
  margin-bottom:6px;
  color:#73878d;
  font-size:9.5px;
  font-weight:900;
  letter-spacing:.8px;
  text-transform:uppercase;
}

.premium-field input,
.premium-field select{
  width:100%;
  height:45px;
  padding:0 13px;
  border:1px solid #dce6e5;
  border-radius:10px;
  outline:none;
  background:#fbfdfd;
  color:#263c42;
  font-family:inherit;
  font-size:12px;
  box-sizing:border-box;
  transition:border-color .15s ease,box-shadow .15s ease,background .15s ease;
}

.premium-field input::placeholder{
  color:#aab8bb;
}

.premium-field input:focus,
.premium-field select:focus{
  border-color:#6bb8ae;
  background:#fff;
  box-shadow:0 0 0 3px rgba(8,118,108,.08);
}

.premium-card-actions{
  display:flex;
  justify-content:flex-end;
  margin-top:18px;
  padding-top:16px;
  border-top:1px solid #edf1f1;
}

.premium-primary-btn,
.premium-secondary-btn{
  min-height:41px;
  padding:0 19px;
  border-radius:10px;
  border:0;
  font-family:inherit;
  font-size:11px;
  font-weight:900;
  cursor:pointer;
  transition:transform .15s ease,box-shadow .15s ease,background .15s ease;
}

.premium-primary-btn{
  background:#08766c;
  color:#fff;
  box-shadow:0 7px 18px rgba(8,118,108,.18);
}

.premium-primary-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 9px 22px rgba(8,118,108,.24);
}

.premium-secondary-btn{
  background:#f4f8f8;
  color:#496067;
  border:1px solid #dce6e5;
}

.premium-secondary-btn:hover{
  background:#edf6f4;
}

.premium-status-box{
  display:flex;
  align-items:center;
  gap:11px;
  padding:13px;
  border:1px solid #dcebe5;
  border-radius:12px;
  background:#f7fcfa;
}

.premium-big-check{
  width:30px;
  height:30px;
  display:grid;
  place-items:center;
  flex:0 0 30px;
  border-radius:9px;
  background:#e0f3ea;
  color:#2b936b;
  font-weight:900;
}

.premium-status-box b{
  display:block;
  color:#315048;
  font-size:11px;
}

.premium-status-box span{
  display:block;
  color:#8a9c9d;
  font-size:9.5px;
  margin-top:3px;
}

.premium-mini-list{
  margin-top:15px;
}

.premium-mini-list > div{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 0;
  border-bottom:1px solid #edf1f1;
}

.premium-mini-list > div:last-child{
  border-bottom:0;
}

.premium-mini-list span{
  color:#87999d;
  font-size:10px;
}

.premium-mini-list b{
  color:#40565c;
  font-size:10px;
  text-align:right;
  text-transform:capitalize;
}

.premium-section-label{
  margin:26px 0 10px;
  padding-left:2px;
}

.premium-section-label span{
  color:#809196;
  font-size:9px;
  font-weight:900;
  letter-spacing:1.3px;
}

.premium-title-line{
  display:flex;
  align-items:center;
  gap:8px;
}

.premium-private-badge{
  padding:4px 7px;
  border-radius:999px;
  background:#f1f6f5;
  color:#65817f;
  border:1px solid #dbe7e5;
  font-size:7.5px;
  font-weight:900;
  letter-spacing:.8px;
}

.premium-payout-preview{
  display:flex;
  align-items:center;
  gap:11px;
  padding:12px;
  margin-bottom:15px;
  border:1px dashed #cddfdd;
  border-radius:12px;
  background:#fbfefd;
}

.premium-payout-icon{
  width:34px;
  height:34px;
  flex:0 0 34px;
  display:grid;
  place-items:center;
  border-radius:10px;
  background:#edf7f5;
  color:#08766c;
  font-weight:900;
}

.premium-payout-preview b{
  display:block;
  color:#405960;
  font-size:11px;
}

.premium-payout-preview span{
  display:block;
  margin-top:3px;
  color:#899b9f;
  font-size:9.5px;
}

.premium-payout-preview.has-payout{
  border-style:solid;
  background:#f8fcfb;
}

.payout-form-grid{
  grid-template-columns:1fr 1fr;
}

.premium-security-strip{
  display:flex;
  gap:10px;
  align-items:flex-start;
  margin-top:15px;
  padding:11px 12px;
  border:1px solid #e2eceb;
  border-radius:11px;
  background:#f7faf9;
}

.premium-security-strip > span{
  color:#08766c;
  font-size:14px;
}

.premium-security-strip b{
  display:block;
  color:#50666b;
  font-size:9.5px;
}

.premium-security-strip p{
  margin:3px 0 0;
  color:#8c9c9f;
  font-size:8.5px;
}

.premium-password-note{
  display:flex;
  gap:10px;
  margin-top:15px;
  padding:12px;
  border:1px solid #e5e1f0;
  border-radius:11px;
  background:#faf9fd;
}

.premium-lock{
  width:29px;
  height:29px;
  flex:0 0 29px;
  display:grid;
  place-items:center;
  border-radius:9px;
  background:#eeebf8;
  color:#7065a0;
  font-size:11px;
  font-weight:900;
}

.premium-password-note b{
  display:block;
  color:#57516f;
  font-size:9.5px;
}

.premium-password-note p{
  margin:3px 0 0;
  color:#92909f;
  font-size:8.5px;
  line-height:1.4;
}

.premium-criteria{
  margin-top:20px;
  padding:20px;
}

.premium-criteria-box{
  display:flex;
  align-items:flex-start;
  gap:11px;
  padding:15px;
  border:1px solid #e1e9e8;
  border-radius:12px;
  background:#fafcfc;
  color:#62767b;
  font-size:10.5px;
  line-height:1.65;
}

.criteria-check{
  width:27px;
  height:27px;
  flex:0 0 27px;
  display:grid;
  place-items:center;
  border-radius:8px;
  background:#e5f4f0;
  color:#08766c;
  font-weight:900;
}

@media(max-width:950px){
  .premium-account-top-grid,
  .premium-settings-grid{
    grid-template-columns:1fr;
  }

  .premium-account-side{
    grid-template-columns:1fr 1fr;
  }
}

@media(max-width:650px){
  .premium-account-page{
    padding:5px 0 30px;
  }

  .premium-account-head{
    align-items:flex-start;
    flex-direction:column;
  }

  .premium-account-status{
    width:100%;
    box-sizing:border-box;
  }

  .premium-account-side{
    grid-template-columns:1fr;
  }

  .premium-form-grid,
  .payout-form-grid{
    grid-template-columns:1fr;
  }

  .premium-full{
    grid-column:auto;
  }

  .profile-card,
  .payout-card,
  .security-card,
  .premium-criteria{
    padding:17px;
  }

  .premium-card-actions{
    justify-content:stretch;
  }

  .premium-primary-btn,
  .premium-secondary-btn{
    width:100%;
  }
}

/* =========================================================
   FIELDShot — PREMIUM ACCOUNT PAGE
   VISUAL ONLY — NO JS/API CHANGES
   ========================================================= */

.account-head{
  margin-bottom:22px !important;
}

.account-head h2{
  font-size:30px !important;
  letter-spacing:-.7px !important;
  color:#172c32 !important;
  margin:0 !important;
}

.account-head p{
  margin-top:7px !important;
  color:#819398 !important;
  font-size:12px !important;
}

/* Main layout */
.account-grid{
  display:grid !important;
  grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr) !important;
  gap:20px !important;
  align-items:start !important;
}

/* All account cards */
.account-card{
  background:#fff !important;
  border:1px solid #e2eaea !important;
  border-radius:18px !important;
  box-shadow:0 12px 32px rgba(25,48,54,.055) !important;
  overflow:hidden !important;
  transition:box-shadow .18s ease,transform .18s ease !important;
}

.account-card:hover{
  box-shadow:0 16px 38px rgba(25,48,54,.075) !important;
}

/* Card internal spacing */
.account-profile,
.account-grid > .account-card:not(.payout-card),
.payout-card,
.criteria-card{
  padding:21px !important;
}

/* Header inside cards */
.account-card-head{
  display:flex !important;
  align-items:center !important;
  gap:12px !important;
}

.account-card-head h3{
  margin:0 !important;
  color:#20383e !important;
  font-size:15px !important;
  letter-spacing:-.15px !important;
}

.account-card-head p{
  margin:4px 0 0 !important;
  color:#8a9a9e !important;
  font-size:10.5px !important;
  line-height:1.45 !important;
}

.account-icon{
  width:40px !important;
  height:40px !important;
  flex:0 0 40px !important;
  display:grid !important;
  place-items:center !important;
  border-radius:12px !important;
  background:#eaf7f4 !important;
  color:#08766c !important;
  font-size:16px !important;
  font-weight:900 !important;
}

.payout-icon{
  background:#eef5fb !important;
  color:#4b7695 !important;
}

/* Dividers */
.account-divider{
  height:1px !important;
  margin:18px 0 !important;
  background:#e9eeee !important;
}

/* Forms */
.account-form-grid{
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  gap:14px !important;
}

.account-full{
  grid-column:1 / -1 !important;
}

.field{
  display:block !important;
  min-width:0 !important;
}

.field > span{
  display:block !important;
  margin-bottom:6px !important;
  color:#71858a !important;
  font-size:9px !important;
  font-weight:900 !important;
  letter-spacing:.75px !important;
  text-transform:uppercase !important;
}

.field input,
.field select{
  width:100% !important;
  height:45px !important;
  box-sizing:border-box !important;
  border:1px solid #dce6e5 !important;
  border-radius:10px !important;
  background:#fbfdfd !important;
  color:#263c42 !important;
  padding:0 13px !important;
  outline:none !important;
  font-family:inherit !important;
  font-size:12px !important;
  transition:border-color .15s ease,box-shadow .15s ease,background .15s ease !important;
}

.field input::placeholder{
  color:#aab8bb !important;
}

.field input:focus,
.field select:focus{
  border-color:#68b4aa !important;
  background:#fff !important;
  box-shadow:0 0 0 3px rgba(8,118,108,.08) !important;
}

/* Buttons */
.account-actions{
  display:flex !important;
  justify-content:flex-end !important;
  margin-top:18px !important;
  padding-top:16px !important;
  border-top:1px solid #edf1f1 !important;
}

.account-primary{
  min-height:41px !important;
  padding:0 19px !important;
  border:0 !important;
  border-radius:10px !important;
  background:#08766c !important;
  color:#fff !important;
  font-size:11px !important;
  font-weight:900 !important;
  box-shadow:0 7px 18px rgba(8,118,108,.17) !important;
  cursor:pointer !important;
  transition:transform .15s ease,box-shadow .15s ease,background .15s ease !important;
}

.account-primary:hover{
  background:#075f58 !important;
  transform:translateY(-1px) !important;
  box-shadow:0 10px 23px rgba(8,118,108,.22) !important;
}

.account-primary:disabled{
  opacity:.55 !important;
  transform:none !important;
  cursor:not-allowed !important;
}

.account-secondary{
  min-height:40px !important;
  padding:0 17px !important;
  border:1px solid #dce6e5 !important;
  border-radius:10px !important;
  background:#f7faf9 !important;
  color:#50666c !important;
  font-size:11px !important;
  font-weight:900 !important;
  cursor:pointer !important;
}

.account-secondary:hover{
  background:#edf6f4 !important;
  color:#08766c !important;
}

/* Security */
.security-note{
  display:flex !important;
  align-items:flex-start !important;
  gap:10px !important;
  margin-top:15px !important;
  padding:12px !important;
  border:1px solid #e5e2f0 !important;
  border-radius:11px !important;
  background:#faf9fd !important;
}

.security-dot{
  width:28px !important;
  height:28px !important;
  flex:0 0 28px !important;
  display:grid !important;
  place-items:center !important;
  border-radius:9px !important;
  background:#eeebf8 !important;
}

.security-note b{
  display:block !important;
  color:#5b5572 !important;
  font-size:9.5px !important;
}

.security-note p{
  margin:3px 0 0 !important;
  color:#92909f !important;
  font-size:8.5px !important;
  line-height:1.4 !important;
}

/* Payout */
.account-title-row{
  display:flex !important;
  align-items:center !important;
  gap:8px !important;
}

.private-badge{
  padding:4px 7px !important;
  border-radius:999px !important;
  background:#f0f6f4 !important;
  border:1px solid #dce8e5 !important;
  color:#66817e !important;
  font-size:7.5px !important;
  font-weight:900 !important;
  letter-spacing:.8px !important;
}

.payout-security{
  display:flex !important;
  align-items:flex-start !important;
  gap:10px !important;
  margin-bottom:16px !important;
  padding:12px !important;
  border:1px solid #dcebe7 !important;
  border-radius:12px !important;
  background:#f7fcfa !important;
}

.payout-lock{
  width:31px !important;
  height:31px !important;
  flex:0 0 31px !important;
  display:grid !important;
  place-items:center !important;
  border-radius:9px !important;
  background:#e2f3ed !important;
  color:#08766c !important;
  font-weight:900 !important;
}

.payout-security b{
  display:block !important;
  color:#41605a !important;
  font-size:10px !important;
}

.payout-security p{
  margin:3px 0 0 !important;
  color:#879b98 !important;
  font-size:8.5px !important;
  line-height:1.45 !important;
}

.payout-fields{
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  gap:14px !important;
}

.payout-help{
  margin-top:9px !important;
  color:#92a0a3 !important;
  font-size:9px !important;
}

/* Criteria */
.criteria-card{
  grid-column:1 / -1 !important;
  margin-top:0 !important;
}

.criteria-box{
  padding:15px !important;
  border:1px solid #e1e9e8 !important;
  border-radius:12px !important;
  background:#fafcfc !important;
  color:#64777c !important;
  font-size:10.5px !important;
  line-height:1.65 !important;
  position:relative !important;
}

.criteria-box::before{
  content:'✓' !important;
  width:27px !important;
  height:27px !important;
  display:inline-grid !important;
  place-items:center !important;
  float:left !important;
  margin:0 10px 4px 0 !important;
  border-radius:8px !important;
  background:#e5f4f0 !important;
  color:#08766c !important;
  font-weight:900 !important;
}

/* Profile card gets slightly stronger visual hierarchy */
.account-profile{
  position:relative !important;
}

.account-profile::after{
  content:'' !important;
  position:absolute !important;
  top:0 !important;
  left:0 !important;
  right:0 !important;
  height:3px !important;
  background:#08766c !important;
}

/* Payout card accent */
.payout-card{
  position:relative !important;
}

.payout-card::after{
  content:'' !important;
  position:absolute !important;
  top:0 !important;
  left:0 !important;
  right:0 !important;
  height:3px !important;
  background:#5b8ca8 !important;
}

/* Better spacing for security card */
.account-grid > .account-card:nth-child(2){
  min-height:100% !important;
}

/* Mobile */
@media(max-width:950px){
  .account-grid{
    grid-template-columns:1fr !important;
  }

  .criteria-card{
    grid-column:auto !important;
  }
}

@media(max-width:650px){
  .account-head h2{
    font-size:26px !important;
  }

  .account-form-grid,
  .payout-fields{
    grid-template-columns:1fr !important;
  }

  .account-full{
    grid-column:auto !important;
  }

  .account-profile,
  .account-grid > .account-card:not(.payout-card),
  .payout-card,
  .criteria-card{
    padding:17px !important;
  }

  .account-actions{
    justify-content:stretch !important;
  }

  .account-primary,
  .account-secondary{
    width:100% !important;
  }
}


/* =====================================================
   ACCOUNT — FINAL CLEAN PAYMENT LAYOUT
   ===================================================== */

.account-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr) !important;
  grid-template-areas:
    "profile payout"
    "security payout" !important;
  gap: 20px !important;
  align-items: stretch !important;
}

.account-profile {
  grid-area: profile !important;
}

.security-card {
  grid-area: security !important;
}

.payout-card {
  grid-area: payout !important;
  display: flex !important;
  flex-direction: column !important;
  box-sizing: border-box !important;
  height: auto !important;
  min-height: 100% !important;
  overflow: hidden !important;
}

.payout-card > .account-actions {
  margin-top: auto !important;
  width: 100% !important;
  flex-shrink: 0 !important;
  box-sizing: border-box !important;
  padding: 20px 0 0 !important;
  display: flex !important;
  justify-content: flex-end !important;
  position: static !important;
}

.payout-card > .account-actions > #savePayout {
  position: static !important;
  display: inline-flex !important;
  margin: 0 !important;
  transform: none !important;
}

/* Payment content */
.payout-card .payout-fields {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 13px !important;
}

.payout-card .bank-fields {
  margin-top: 17px !important;
}

/* Desktop */
@media (min-width: 951px) {
  .account-profile,
  .payout-card {
    min-height: 650px !important;
  }

  .security-card {
    min-height: 220px !important;
  }
}

/* Smaller screens */
@media (max-width: 950px) {
  .account-grid {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "profile"
      "payout"
      "security" !important;
  }

  .account-profile,
  .payout-card,
  .security-card {
    grid-area: auto !important;
    min-height: 0 !important;
  }
}

@media (max-width: 650px) {
  .payout-card .payout-fields,
  .security-fields {
    grid-template-columns: 1fr !important;
  }

  .payout-card > .account-actions {
    justify-content: stretch !important;
  }

  .payout-card > .account-actions > #savePayout {
    width: 100% !important;
  }
}


/* FINAL FIX — keep payment button directly below payment fields */
.account-grid > .payout-card {
  height: auto !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
}

.account-grid > .payout-card > .account-actions {
  margin-top: 18px !important;
  padding-top: 16px !important;
  padding-bottom: 0 !important;
  width: 100% !important;
  display: flex !important;
  justify-content: flex-end !important;
  position: static !important;
}

.account-grid > .payout-card > .account-actions > #savePayout {
  position: static !important;
  margin: 0 !important;
  transform: none !important;
}


/* Premium payment section headings */
.payment-section-title {
  margin: 18px 0 12px !important;
  padding: 0 !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  letter-spacing: -0.01em !important;
  color: #17323a !important;
}

.payment-method-fields:first-child .payment-section-title {
  margin-top: 16px !important;
}

/* Keep labels lighter than section headings */
.payment-method-fields .field > span {
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: .08em !important;
  color: #71878d !important;
  text-transform: uppercase !important;
}

