
:root{
  --bg: #f6f6f7;
  --surface: #ffffff;
  --surface-2: #f1f1f2;
  --surface-dark: #0b0b0d;
  --text: #0a0a0a;
  --text-invert: #ffffff;
  --muted: #6b7280;
  --border: #e5e7eb;
  --black: #000000;
  --white: #ffffff;
  --primary: #111111;
  --primary-hover: #2a2a2a;
  --soft-black: #18181b;
  --success: #16a34a;
  --warning: #705225;
  --danger: #755143;
  --info: #705225;

  /* Backward compatibility variables mapping */
  --bg-soft: var(--surface-2);
  --card: var(--surface);
  --line: var(--border);
  --line-2: var(--border);
  --light: var(--muted);
  --blue: var(--primary);
  --blue-2: var(--primary-hover);
  --indigo: var(--primary);
  --purple: var(--primary);
  --cyan: var(--muted);
  --green: var(--success);
  --amber: var(--warning);
  --orange: var(--warning);
  --red: var(--danger);
  --grad: linear-gradient(135deg, var(--black) 0%, var(--primary-hover) 100%);
  --grad-soft: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
  --shadow: 0 12px 34px rgba(0,0,0,.05);
  --shadow-sm: 0 4px 12px rgba(0,0,0,.03);
  --radius: 16px;
  --radius-sm: 12px;
  --font: 'Inter',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  --title: var(--font);
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:var(--font);background:var(--bg);color:var(--text);font-size:13px;line-height:1.5;-webkit-font-smoothing:antialiased;overflow-x:hidden}
a{text-decoration:none;color:inherit}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0;background:transparent}img{max-width:100%;display:block}.hide{display:none!important}

.top-note{height:30px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:center;color:#66748a;font-size:11px;gap:8px;position:sticky;top:0;z-index:50}.top-note b{color:var(--blue)}
.app-header{height:54px;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border-bottom:1px solid var(--line);position:sticky;top:30px;z-index:50;display:flex;align-items:center}.header-inner{width:100%;padding:0 28px;display:grid;grid-template-columns:180px minmax(240px,1fr) auto;gap:20px;align-items:center}.brand{display:flex;align-items:center;gap:9px;min-width:0}.brand-mark{width:32px;height:32px;border-radius:10px;background:var(--grad);display:grid;place-items:center;color:#fff;box-shadow:0 10px 20px rgba(166, 124, 60, .22)}.brand-title{font-family:var(--title);font-size:15px;font-weight:900;line-height:1;color:#171612}.brand-title span{display:inline-block;background:var(--grad);color:#fff;border-radius:5px;padding:2px 4px;font-size:10px;margin-left:2px}.brand-sub{font-size:8px;color:#777064;font-weight:800;letter-spacing:1.6px;margin-top:2px}.search{height:36px;border:1px solid var(--line);background:#f7f1e8;border-radius:999px;display:flex;align-items:center;gap:8px;padding:0 13px;max-width:520px}.search input{border:0;background:transparent;outline:0;width:100%;color:#4c473f;font-size:12.5px}.search kbd{border:1px solid #f7f1e8;border-bottom-width:2px;background:#fff;border-radius:7px;font-size:11px;padding:1px 7px;color:#777064}.top-nav{display:flex;align-items:center;gap:4px;justify-content:flex-end}.top-nav a,.language{height:34px;padding:0 10px;border-radius:10px;display:inline-flex;align-items:center;gap:6px;color:#4c473f;font-weight:650;font-size:12.5px}.top-nav a:hover,.top-nav a.active{background:#f7f1e8;color:var(--blue)}.auth-actions{display:flex;align-items:center;gap:8px;margin-left:4px}.btn{height:34px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:10px;padding:0 14px;font-weight:750;font-size:12.5px;white-space:nowrap;border:1px solid transparent;transition:.16s}.btn-sm{height:30px;padding:0 11px;font-size:12px}.btn-lg{height:42px;padding:0 18px}.btn-primary{background:var(--grad);color:#fff;box-shadow:0 8px 18px rgba(166, 124, 60, .22)}.btn-primary:hover{transform:translateY(-1px)}.btn-ghost{background:#fff;color:#4c473f;border-color:var(--line)}.btn-soft{background:#f7f1e8;color:var(--blue);border-color:#f7f1e8}.btn-danger{background:#f3ece6;color:#755143;border-color:#dfd0c5}.btn-success{background:#eef6f1;color:#2f7d55;border-color:#bbf7d0}.btn-warning{background:#fbf6ec;color:#a67c3c;border-color:#e8dcc8}.btn.block{width:100%}

.page{min-height:calc(100vh - 84px)}.container{max-width:1500px;margin:0 auto;padding:22px 28px 34px}.shell{display:grid;grid-template-columns:226px minmax(0,1fr) 292px;gap:20px;align-items:start}.shell.no-right{grid-template-columns:226px minmax(0,1fr)}.shell.wide-left{grid-template-columns:246px minmax(0,1fr) 292px}.sidebar{position:sticky;top:104px;display:flex;flex-direction:column;gap:14px}.side-card,.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-sm)}.side-card{padding:15px}.side-title{font-size:11px;text-transform:uppercase;letter-spacing:.5px;color:#9b9285;font-weight:800;margin:0 0 9px 2px}.side-nav{display:flex;flex-direction:column;gap:4px}.side-nav a{height:38px;border-radius:11px;padding:0 11px;display:flex;align-items:center;gap:9px;color:#25324a;font-weight:650;font-size:12.5px}.side-nav a .count{margin-left:auto;border-radius:999px;background:#f7f1e8;color:var(--blue);min-width:20px;height:18px;display:inline-flex;align-items:center;justify-content:center;font-size:10px;font-weight:800}.side-nav a:hover,.side-nav a.active{background:#f7f1e8;color:var(--blue)}.side-nav a.active{box-shadow:inset 3px 0 0 var(--blue);font-weight:800}.side-nav .danger{color:#755143}.profile-mini{text-align:center;padding:18px}.avatar{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;margin:0 auto 9px;background:linear-gradient(135deg,#171612,#705225);color:#fff;font-weight:900;box-shadow:0 10px 22px rgba(166, 124, 60, .22)}.profile-mini h4{font-size:14px}.profile-mini p{color:var(--muted);font-size:11px}.balance-box{margin-top:12px;padding:12px;border-radius:13px;background:#f7f1e8;border:1px solid var(--line)}.balance-box span{display:block;color:#777064;font-size:11px}.balance-box strong{display:block;color:var(--blue);font-family:var(--title);font-size:19px}.main{min-width:0;display:flex;flex-direction:column;gap:18px}.right-rail{position:sticky;top:104px;display:flex;flex-direction:column;gap:14px;min-width:0}

.hero{background:var(--grad-soft);border:1px solid #f7f1e8;border-radius:24px;box-shadow:var(--shadow);padding:24px 28px;position:relative;overflow:hidden;min-height:148px;display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:18px;align-items:center}.hero:after{content:"";position:absolute;right:70px;top:-60px;width:260px;height:260px;border-radius:50%;background:radial-gradient(circle,rgba(166, 124, 60, .16),rgba(166, 124, 60, 0) 68%)}.hero .copy{position:relative;z-index:1}.eyebrow{display:inline-flex;align-items:center;gap:7px;height:24px;border:1px solid #f7f1e8;border-radius:999px;background:#fff;color:var(--blue);font-size:10.5px;font-weight:900;text-transform:uppercase;letter-spacing:.6px;padding:0 9px;margin-bottom:10px}.hero h1{font-family:var(--title);font-size:31px;line-height:1.06;letter-spacing:-.7px;color:#705225;margin-bottom:8px}.hero h1 span{color:var(--blue)}.hero p{color:#52627a;max-width:620px;font-size:13px}.hero-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:17px}.hero-art{position:relative;z-index:1;min-height:118px}.glass-orb{width:130px;height:130px;border-radius:38px;background:linear-gradient(135deg,#fff,#f7f1e8);border:1px solid #f7f1e8;box-shadow:0 22px 38px rgba(166, 124, 60, .17);display:grid;place-items:center;color:var(--blue);margin-left:auto}.float-card{position:absolute;background:rgba(255,255,255,.86);border:1px solid #f7f1e8;border-radius:15px;box-shadow:0 14px 24px rgba(166, 124, 60, .12);padding:9px 11px;color:#4c473f;font-weight:800;font-size:11px}.float-card.a{right:120px;top:5px}.float-card.b{right:10px;bottom:4px}.float-card.c{right:150px;bottom:18px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:2px 0 10px}.section-head h2,.card h3{font-size:15px;color:#171612;font-weight:850;display:flex;align-items:center;gap:7px}.section-head p,.card p{color:var(--muted);font-size:12px}.card{padding:17px}.grid{display:grid;gap:14px}.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-6{grid-template-columns:repeat(6,minmax(0,1fr))}.auto-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:14px}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:12px}.stat{background:#fff;border:1px solid var(--line);border-radius:17px;padding:14px;box-shadow:var(--shadow-sm);display:flex;align-items:center;gap:11px;min-height:76px}.stat-icon{width:36px;height:36px;border-radius:12px;display:grid;place-items:center;flex:0 0 auto}.stat-icon.blue{background:#f8f3e9;color:#705225}.stat-icon.purple{background:#f6f0e5;color:#80663e}.stat-icon.green{background:#eef6f1;color:#2f7d55}.stat-icon.orange{background:#fbf6ec;color:#a67c3c}.stat-icon.cyan{background:#f7f1e8;color:#a67c3c}.stat-icon.amber{background:#f7f1e8;color:#a67c3c}.stat span{display:block;color:#777064;font-size:11px;font-weight:650}.stat strong{display:block;font-size:17px;line-height:1.15;font-weight:900;color:#171612}.stat small{display:block;color:#9b9285;font-size:10px;margin-top:1px}.pill-row{display:flex;flex-wrap:wrap;gap:8px}.pill{height:30px;border:1px solid var(--line);border-radius:999px;background:#fff;padding:0 12px;display:inline-flex;align-items:center;gap:6px;color:#625c53;font-weight:700;font-size:12px}.pill.active{background:var(--blue);color:#fff;border-color:var(--blue)}.tag{display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:999px;background:#f7f1e8;color:#705225;font-size:10.5px;font-weight:800}.tag.green{background:#eef6f1;color:#2f7d55}.tag.orange{background:#fbf6ec;color:#a67c3c}.tag.red{background:#f3ece6;color:#755143}.tag.purple{background:#f6f0e5;color:#80663e}.tag.gray{background:#f3efe7;color:#777064}.status{display:inline-flex;align-items:center;gap:5px;height:24px;padding:0 9px;border-radius:999px;font-size:11px;font-weight:800}.status.success{background:#eef6f1;color:#2f7d55}.status.pending{background:#fbf6ec;color:#705225}.status.running{background:#f8f3e9;color:#705225}.status.cancel{background:#f3ece6;color:#755143}.status.warn{background:#f7f1e8;color:#705225}

.product-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:10px;box-shadow:var(--shadow-sm);display:flex;flex-direction:column;gap:9px;min-width:0}.product-img{height:112px;border-radius:14px;background:linear-gradient(135deg,#f1e7d3,#f4eee3);position:relative;overflow:hidden;display:grid;place-items:center;color:var(--blue)}.product-img:before{content:"";position:absolute;inset:20px;border-radius:18px;border:1px dashed rgba(166, 124, 60, .25)}.product-title{font-weight:850;font-size:12.8px;color:#171612;line-height:1.35}.product-sub{font-size:11px;color:#777064}.price-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.price{font-weight:950;color:#705225;font-family:var(--title);font-size:15px}.seller-line{display:flex;align-items:center;justify-content:space-between;color:#777064;font-size:11px}.mini-avatar{width:22px;height:22px;border-radius:50%;background:var(--grad);display:inline-grid;place-items:center;color:#fff;font-weight:900;font-size:9px}.seller-name{display:inline-flex;align-items:center;gap:6px;font-weight:750;color:#4c473f}.rating{color:#a67c3c;font-weight:850}

.table-card{overflow:hidden}.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:15px;background:#fff}.table{width:100%;border-collapse:collapse;min-width:760px}.table th{background:#f7f1e8;border-bottom:1px solid var(--line);color:#66748a;text-align:left;font-size:10.5px;text-transform:uppercase;letter-spacing:.4px;font-weight:900;padding:10px 12px;white-space:nowrap}.table td{border-bottom:1px solid #f7f1e8;padding:10px 12px;color:#4c473f;font-size:12px;vertical-align:middle}.table tr:last-child td{border-bottom:0}.table tr:hover td{background:#f7f1e8}.tool-bar{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) auto;gap:10px;align-items:end}.field label{display:block;color:#4c473f;font-size:11.5px;font-weight:800;margin-bottom:5px}.input,.select,.textarea{width:100%;height:36px;border:1px solid var(--line);border-radius:11px;background:#f7f1e8;outline:0;padding:0 11px;color:#172033;font-size:12.5px}.textarea{height:auto;min-height:92px;padding:10px 11px;resize:vertical}.input:focus,.select:focus,.textarea:focus{border-color:#e8dcc8;box-shadow:0 0 0 3px rgba(166, 124, 60, .08)}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.form-grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.form-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-top:13px}.tabs{display:flex;gap:7px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding-bottom:10px;margin-bottom:14px}.tab-btn{height:30px;border-radius:10px;border:1px solid var(--line);background:#fff;color:#625c53;font-size:12px;font-weight:800;padding:0 10px}.tab-btn.active{background:var(--blue);border-color:var(--blue);color:#fff}.progress{height:7px;background:#eef2f7;border-radius:999px;overflow:hidden}.progress span{display:block;height:100%;background:var(--grad);border-radius:inherit}.timeline{display:flex;flex-direction:column;gap:10px}.time-item{display:grid;grid-template-columns:26px 1fr;gap:8px}.time-dot{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#f7f1e8;color:var(--blue)}.time-item strong{font-size:12px}.time-item p{font-size:11px;color:#777064}.quick-list{display:flex;flex-direction:column;gap:8px}.quick-item{padding:10px;border:1px solid var(--line);border-radius:13px;background:#fff;display:flex;align-items:center;gap:9px;justify-content:space-between}.quick-item-left{display:flex;align-items:center;gap:9px;min-width:0}.quick-item h4{font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.quick-item p{font-size:10.5px;color:#777064}.icon-tile{width:32px;height:32px;border-radius:11px;display:grid;place-items:center;background:#f7f1e8;color:var(--blue);flex:0 0 auto}.mini-chart{height:138px;border:1px solid var(--line);border-radius:16px;background:linear-gradient(180deg,#fff,#f7f1e8);position:relative;overflow:hidden;display:flex;align-items:end;gap:7px;padding:14px}.bar{flex:1;border-radius:8px 8px 0 0;background:linear-gradient(180deg,#705225,#d0bd99);min-height:16px}.line-chart{height:130px;border-radius:15px;background:linear-gradient(180deg,#fff,#f7f1e8);border:1px solid var(--line);position:relative;overflow:hidden}.line-chart svg{position:absolute;inset:0;width:100%;height:100%}.donut{width:142px;height:142px;border-radius:50%;background:conic-gradient(#705225 0 38%,#80663e 38% 66%,#2f7d55 66% 82%,#a67c3c 82% 100%);display:grid;place-items:center;margin:auto}.donut:after{content:"70%";width:82px;height:82px;background:#fff;border-radius:50%;display:grid;place-items:center;font-weight:950;color:#705225;font-family:var(--title)}

.auth-page{display:grid;grid-template-columns:minmax(0,1fr) 470px;gap:22px;max-width:1180px;margin:0 auto;padding:26px}.auth-brand{min-height:570px;border-radius:28px;background:var(--grad-soft);border:1px solid #f7f1e8;padding:42px;position:relative;overflow:hidden;box-shadow:var(--shadow);display:flex;flex-direction:column;justify-content:space-between}.auth-brand h1{font-family:var(--title);font-size:34px;color:#705225;line-height:1.05}.auth-brand p{color:#52627a;max-width:560px}.auth-visual{height:220px;position:relative}.auth-card{background:#fff;border:1px solid var(--line);border-radius:23px;padding:28px;box-shadow:var(--shadow)}.auth-card h2{font-family:var(--title);font-size:25px;margin-bottom:6px}.social-row{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:12px 0}.divider{display:flex;align-items:center;gap:10px;color:#9b9285;font-size:11px;margin:13px 0}.divider:before,.divider:after{content:"";height:1px;background:var(--line);flex:1}.check-row{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#777064;font-size:12px;margin:12px 0}.check-row label{display:flex;align-items:center;gap:7px}.auth-compare{grid-template-columns:1fr 1fr;max-width:1260px}

.seller-layout{display:grid;grid-template-columns:250px minmax(0,1fr) 292px;gap:20px;align-items:start}.seller-panel{display:none}.seller-panel.active{display:flex;flex-direction:column;gap:18px}.seller-side-brand{display:flex;gap:10px;align-items:center;margin-bottom:12px;padding-bottom:12px;border-bottom:1px solid var(--line)}.seller-side-brand strong{font-family:var(--title);font-weight:900}.seller-side-brand span{font-size:10px;color:#777064;font-weight:800;letter-spacing:1.2px}.seller-nav a{height:36px}.badge-dot{width:8px;height:8px;border-radius:50%;background:#2f7d55;display:inline-block}.wide-card{grid-column:1/-1}.empty{padding:26px;border:1px dashed #d8d0c4;border-radius:16px;text-align:center;color:#777064;background:#fbf8f1}.toast{position:fixed;right:20px;bottom:20px;z-index:1000;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);border-left:4px solid var(--blue);border-radius:14px;padding:12px 14px;display:flex;align-items:center;gap:9px;font-weight:750;animation:toastIn .2s ease}@keyframes toastIn{from{transform:translateY(10px);opacity:0}}

@media(max-width:1280px){.shell,.shell.wide-left,.seller-layout{grid-template-columns:220px minmax(0,1fr)}.right-rail,.seller-layout>.right-rail{position:static;grid-column:2}.grid-6{grid-template-columns:repeat(3,1fr)}.grid-5{grid-template-columns:repeat(3,1fr)}.hero{grid-template-columns:1fr}.hero-art{display:none}.tool-bar{grid-template-columns:repeat(2,1fr)}}
@media(max-width:920px){.header-inner{grid-template-columns:1fr;gap:8px;padding:8px 16px}.app-header{height:auto}.top-nav{justify-content:flex-start;overflow:auto}.search{max-width:none}.container{padding:16px}.shell,.shell.no-right,.shell.wide-left,.seller-layout{grid-template-columns:1fr}.sidebar,.right-rail{position:static}.side-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.grid-4,.grid-5,.grid-6,.grid-3,.grid-2,.form-grid,.form-grid-3{grid-template-columns:1fr}.auth-page,.auth-compare{grid-template-columns:1fr;padding:16px}.tool-bar{grid-template-columns:1fr}.hero{padding:20px}.hero h1{font-size:25px}}
@media(max-width:520px){.side-nav{grid-template-columns:1fr}.auth-actions{display:none}.top-note{font-size:10px}.container{padding:12px}.card{padding:14px}.stat{min-height:auto}.table{min-width:680px}}

/* Wallet Deposit Upgrade + Footer Content Pages */
.site-footer{background:#fff;border-top:1px solid var(--line);margin-top:18px}.footer-inner{max-width:1500px;margin:0 auto;padding:34px 28px 30px;display:grid;grid-template-columns:1.35fr repeat(3,1fr) 1.45fr;gap:34px}.footer-brand .brand-title{font-size:20px;margin-bottom:12px}.footer-brand p{color:#52627a;font-size:13px;line-height:1.65}.footer-col{display:flex;flex-direction:column;gap:10px}.footer-col h4{font-size:13px;font-weight:900;color:#171612;letter-spacing:.3px;margin-bottom:4px}.footer-col a{color:#52627a;font-size:13px}.footer-col a:hover{color:var(--blue)}.payment-list{display:flex;flex-wrap:wrap;gap:8px}.payment-list span{height:30px;border:1px solid var(--line);border-radius:8px;background:#f7f1e8;padding:0 12px;display:inline-flex;align-items:center;font-weight:850;color:#25324a;font-size:11px}.footer-bottom{max-width:1500px;margin:0 auto;border-top:1px solid var(--line);padding:14px 28px 22px;color:#9b9285;font-size:12px}.deposit-layout{display:grid;grid-template-columns:238px minmax(0,1fr);gap:16px;align-items:start}.deposit-menu{position:sticky;top:104px}.deposit-nav{display:flex;flex-direction:column;gap:7px;margin-top:12px}.deposit-nav-btn{height:38px;border:1px solid var(--line);background:#fff;border-radius:12px;padding:0 11px;display:flex;align-items:center;gap:9px;color:#4c473f;font-weight:800;font-size:12px;text-align:left}.deposit-nav-btn:hover,.deposit-nav-btn.active{background:#f7f1e8;color:var(--blue);border-color:#f7f1e8;box-shadow:inset 3px 0 0 var(--blue)}.deposit-safe-box{margin-top:14px;padding:12px;border:1px solid #f7f1e8;border-radius:14px;background:linear-gradient(135deg,#f7f1e8,#f7f1e8)}.deposit-safe-box strong{display:flex;align-items:center;gap:7px;color:#705225;font-size:12.5px}.deposit-safe-box p{margin-top:6px;color:#52627a;font-size:11.5px}.deposit-main{min-height:420px}.deposit-panel{display:none}.deposit-panel.active{display:block;animation:fadePanel .18s ease}@keyframes fadePanel{from{opacity:.4;transform:translateY(4px)}to{opacity:1;transform:none}}.deposit-split{display:grid;grid-template-columns:minmax(0,1.05fr) 310px;gap:16px}.deposit-form{background:#f7f1e8;border:1px solid var(--line);border-radius:16px;padding:16px}.qr-preview{border:1px solid var(--line);border-radius:16px;padding:14px;background:#fff}.qr-box{height:210px;border-radius:18px;border:1px dashed #e8dcc8;background:linear-gradient(135deg,#fff,#f7f1e8);display:grid;place-items:center;color:var(--blue);margin-bottom:12px}.payment-method-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}.pay-method{height:38px;border:1px solid var(--line);border-radius:12px;background:#f7f1e8;color:#4c473f;font-weight:850;font-size:12px}.pay-method:hover,.pay-method.active{background:var(--grad);color:#fff;border-color:transparent}.pay-card{min-height:150px}.pay-card .icon-tile{margin-bottom:10px}.bank-box{min-height:78px}.content-layout{display:grid;grid-template-columns:minmax(0,1fr) 318px;gap:16px;align-items:start}.content-main-card{min-height:430px}.content-side-card{position:sticky;top:104px}.content-form{background:#f7f1e8;border:1px solid var(--line);border-radius:16px;padding:16px}.content-form .field+.field{margin-top:10px}.content-side-card a.quick-item:hover{border-color:#e8dcc8;background:#f7f1e8}@media(max-width:1280px){.footer-inner{grid-template-columns:repeat(3,1fr)}.footer-brand{grid-column:1/-1}.footer-col.footer-pay{grid-column:1/-1;margin-top:10px}.deposit-layout,.deposit-split,.content-layout{grid-template-columns:1fr}.deposit-menu,.content-side-card{position:static}.deposit-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){.footer-inner{grid-template-columns:1fr;padding:24px 16px}.footer-brand,.footer-col,.footer-col.footer-pay{grid-column:auto}.footer-bottom{padding-left:16px;padding-right:16px}.deposit-nav,.payment-method-grid{grid-template-columns:1fr}.deposit-layout{gap:12px}}

/* GC MMO-inspired Home Upgrade + compact Wallet Dashboard + 3D polish */
.gc-home{display:flex;flex-direction:column;gap:28px}.hero-3d,.card-3d{transform-style:preserve-3d;position:relative}.hero-3d:before,.card-3d:before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:linear-gradient(135deg,rgba(255,255,255,.82),rgba(255,255,255,0) 40%);z-index:0}.card-3d>*{position:relative;z-index:1}.card-3d{box-shadow:0 18px 42px rgba(23, 22, 18, .075),0 2px 0 rgba(255,255,255,.9) inset;transition:transform .22s ease,box-shadow .22s ease}.card-3d:hover{transform:translateY(-3px);box-shadow:0 26px 58px rgba(166, 124, 60, .12),0 2px 0 rgba(255,255,255,.95) inset}.btn-3d{box-shadow:0 10px 22px rgba(166, 124, 60, .18),0 1px 0 rgba(255,255,255,.55) inset}.gc-hero{min-height:430px;border:1px solid #f7f1e8;border-radius:32px;background:radial-gradient(circle at 76% 18%,rgba(166, 124, 60, .22),transparent 36%),radial-gradient(circle at 12% 86%,rgba(166, 124, 60, .16),transparent 34%),linear-gradient(135deg,#fff 0%,#f7f1e8 48%,#f7f1e8 100%);box-shadow:0 28px 76px rgba(23, 22, 18, .08);display:grid;grid-template-columns:minmax(0,1.15fr) 420px;gap:28px;align-items:center;padding:42px;overflow:hidden}.gc-hero-copy h1{font-family:var(--title);font-size:48px;line-height:1.02;letter-spacing:-1.4px;color:#171612;max-width:790px}.gc-hero-copy h1 span{color:var(--blue)}.gc-hero-copy p{font-size:15px;color:#52627a;max-width:760px;margin-top:16px;line-height:1.75}.gc-trust-strip{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}.gc-trust-strip span{height:34px;border:1px solid #f7f1e8;border-radius:999px;background:rgba(255,255,255,.82);display:inline-flex;align-items:center;gap:7px;padding:0 13px;color:#32445f;font-size:12px;font-weight:850;box-shadow:0 8px 18px rgba(23, 22, 18, .045)}.gc-hero-card{min-height:320px;border-radius:30px;border:1px solid #f7f1e8;background:linear-gradient(160deg,#fff,#f7f1e8);padding:24px;box-shadow:0 30px 70px rgba(166, 124, 60, .15);display:flex;flex-direction:column;justify-content:space-between;overflow:hidden}.gc-hero-card:after{content:"";position:absolute;width:220px;height:220px;border-radius:50%;background:linear-gradient(135deg,rgba(166, 124, 60, .16),rgba(166, 124, 60, .08));right:-60px;top:-70px}.exchange-top{display:flex;align-items:center;justify-content:space-between;color:#4c473f;font-size:12px;font-weight:900}.exchange-top b{height:26px;border-radius:999px;background:#2f7d55;color:#fff;display:inline-flex;align-items:center;padding:0 10px;font-size:10px}.exchange-orb{width:132px;height:132px;border-radius:36px;margin:6px auto 0;background:var(--grad);color:#fff;display:grid;place-items:center;box-shadow:0 25px 55px rgba(166, 124, 60, .25);transform:rotate(-8deg)}.exchange-stack{display:grid;gap:10px}.exchange-stack div{border:1px solid #f7f1e8;background:rgba(255,255,255,.78);border-radius:16px;padding:12px;display:flex;justify-content:space-between;gap:10px}.exchange-stack strong{font-size:13px;color:#171612}.exchange-stack span{font-size:11px;color:#777064}.gc-flow-section{display:flex;flex-direction:column;gap:16px}.gc-flow-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.flow-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:20px;min-height:185px}.flow-card>span{display:inline-flex;width:34px;height:25px;border-radius:999px;background:#f7f1e8;color:var(--blue);align-items:center;justify-content:center;font-weight:950;font-size:11px;margin-bottom:14px}.flow-card h3{font-size:18px;margin:10px 0 6px}.flow-card p{color:#777064;font-size:13px;line-height:1.6}.gc-home-stats .stat{min-height:118px}.gc-category-grid .category-card{background:linear-gradient(180deg,#fff,#f7f1e8);border:1px solid var(--line);border-radius:22px;padding:20px}.category-card h3{font-size:17px;margin:12px 0 6px}.category-card p{color:#777064;font-size:13px;line-height:1.55}.category-card a{display:inline-flex;align-items:center;gap:6px;margin-top:12px;font-weight:900;color:var(--blue);font-size:12px}.gc-shop-product{align-items:start}.seller-trust-row{display:grid;grid-template-columns:48px 34px minmax(0,1fr) auto;gap:10px;align-items:center;padding:12px;border:1px solid var(--line);border-radius:16px;background:#fff}.trust-score{height:42px;border-radius:14px;background:linear-gradient(135deg,#f7f1e8,#f7f1e8);color:#705225;display:grid;place-items:center;font-weight:950}.gc-mini-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}.gc-mini-products .product-card{min-height:auto}.gc-seller-cta{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:24px;align-items:center;padding:34px;border-radius:30px;border:1px solid #f7f1e8;background:radial-gradient(circle at 82% 25%,rgba(166, 124, 60, .2),transparent 32%),linear-gradient(135deg,#f7f1e8,#f7f1e8);box-shadow:0 24px 68px rgba(23, 22, 18, .07)}.gc-seller-cta h2{font-family:var(--title);font-size:34px;color:#171612}.gc-seller-cta p{color:#52627a;max-width:720px;margin-top:8px;line-height:1.7}.seller-workspace-card{border:1px solid #f7f1e8;border-radius:24px;background:#fff;padding:18px}.seller-work-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.seller-work-head span{height:24px;border-radius:999px;background:#2f7d55;color:#fff;font-size:10px;font-weight:900;display:inline-flex;align-items:center;padding:0 9px}.pill.active{background:var(--grad);color:#fff;border-color:transparent}.wallet-dashboard-shell{grid-template-columns:250px minmax(0,1fr) 286px!important;align-items:start}.wallet-main-panel{gap:16px}.dashboard-compact-head{border:1px solid #f7f1e8;border-radius:24px;background:linear-gradient(135deg,#fff,#f7f1e8);padding:22px;display:flex;align-items:center;justify-content:space-between;gap:18px}.dashboard-compact-head h1{font-family:var(--title);font-size:30px;color:#171612;margin-top:4px}.dashboard-compact-head p{color:#777064;font-size:13px;line-height:1.6;max-width:740px}.compact-actions{display:flex;gap:9px;flex-wrap:wrap;justify-content:flex-end}.wallet-stat-row{grid-template-columns:repeat(6,minmax(132px,1fr));gap:10px}.wallet-stat-row .stat{min-height:92px}.wallet-compact-grid{display:grid;grid-template-columns:236px minmax(0,1fr);gap:16px;align-items:start}.wallet-mini-nav{padding:16px}.wallet-mini-nav h3{display:flex;align-items:center;gap:7px}.wallet-mini-nav>p{font-size:12px;color:#777064;margin-top:4px}.deposit-nav.compact{display:flex;flex-direction:column;gap:7px;margin-top:12px}.wallet-deposit-box{min-height:520px}.wallet-feature-row .card{min-height:130px}.wallet-right .card{border-radius:20px}.deposit-panel .section-head h2{font-size:20px}.deposit-form,.qr-preview,.content-form{box-shadow:0 14px 32px rgba(23, 22, 18, .045)}.pay-method{box-shadow:0 8px 16px rgba(23, 22, 18, .035)}
@media(max-width:1280px){.gc-hero,.gc-seller-cta{grid-template-columns:1fr}.gc-hero-card{max-width:520px}.gc-flow-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.wallet-dashboard-shell{grid-template-columns:220px minmax(0,1fr)!important}.wallet-dashboard-shell>.right-rail{grid-column:2}.wallet-stat-row{grid-template-columns:repeat(3,minmax(0,1fr))}.wallet-compact-grid{grid-template-columns:1fr}.deposit-nav.compact{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:920px){.gc-hero{padding:24px;min-height:auto}.gc-hero-copy h1{font-size:32px}.gc-flow-grid,.gc-mini-products{grid-template-columns:1fr}.gc-seller-cta h2{font-size:28px}.wallet-dashboard-shell{grid-template-columns:1fr!important}.wallet-dashboard-shell>.right-rail{grid-column:auto}.dashboard-compact-head{flex-direction:column;align-items:flex-start}.wallet-stat-row{grid-template-columns:1fr}.deposit-nav.compact{grid-template-columns:1fr}}

/* ==========================================================================
   FORCE GCMMO STYLE UPGRADE - Black & White Fintech Dashboard Override
   ========================================================================== */
.force-top-note {
  background: var(--surface-dark) !important;
  color: var(--text-invert) !important;
  border-bottom: 0 !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .1) !important;
}
.force-top-note b { color: var(--text-invert) !important; }
.app-header {
  background: rgba(255, 255, 255, .96) !important;
  box-shadow: 0 14px 36px rgba(0, 0, 0, .04) !important;
}
.brand-mark {
  transform: rotate(-4deg);
  background: var(--black) !important;
  box-shadow: 0 12px 25px rgba(0, 0, 0, .15) !important;
}
.brand-title { font-size: 16px !important; color: var(--black) !important; }
.brand-sub { color: var(--muted) !important; letter-spacing: 1px !important; }

body .gc-home {
  gap: 30px !important;
}
body .gc-hero {
  min-height: 460px !important;
  border: 1px solid var(--border) !important;
  border-radius: 28px !important;
  background: linear-gradient(135deg, var(--surface-dark) 0%, var(--black) 100%) !important;
  box-shadow: 0 28px 76px rgba(0, 0, 0, .12) !important;
  color: var(--text-invert) !important;
  padding: 42px !important;
}
body .gc-hero:before {
  background: linear-gradient(135deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, 0) 46%) !important;
}
body .gc-hero-copy h1 {
  color: var(--text-invert) !important;
  font-size: clamp(34px, 4vw, 54px) !important;
  letter-spacing: -1.2px !important;
  max-width: 820px !important;
}
body .gc-hero-copy h1 span {
  background: linear-gradient(135deg, var(--white), var(--muted));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}
body .gc-hero-copy p {
  color: var(--muted) !important;
  font-size: 14.5px !important;
  max-width: 740px !important;
}
body .gc-trust-strip span {
  background: rgba(255, 255, 255, .08) !important;
  color: var(--text-invert) !important;
  border-color: rgba(255, 255, 255, .12) !important;
  backdrop-filter: blur(12px);
}
body .gc-hero-card {
  background: var(--surface) !important;
  transform: perspective(1000px) rotateY(-6deg) rotateX(3deg) !important;
  box-shadow: 0 35px 75px rgba(0, 0, 0, .1) !important;
  border-radius: 24px !important;
  border-color: var(--border) !important;
}
body .exchange-orb {
  width: 130px !important;
  height: 130px !important;
  border-radius: 32px !important;
  background: var(--black) !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, .2) !important;
}
body .gc-flow-grid .flow-card,
body .gc-category-grid .category-card,
body .product-card,
body .seller-trust-row,
body .gc-seller-cta,
body .stat,
body .card-3d,
body .card {
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  border-color: var(--border) !important;
}
body .gc-flow-grid .flow-card:hover,
body .gc-category-grid .category-card:hover,
body .product-card:hover,
body .seller-trust-row:hover,
body .stat:hover,
body .card-3d:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, .06) !important;
  border-color: var(--black) !important;
}
body .gc-seller-cta {
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%) !important;
  border-radius: 28px !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .05) !important;
}
body .gc-seller-cta h2 { font-size: 32px !important; color: var(--text) !important; }

/* Wallet must behave like Thông tin tài khoản */
body .wallet-dashboard-shell {
  grid-template-columns: 226px minmax(0,1fr) 292px !important;
  gap: 20px !important;
}
body .wallet-dashboard-shell .sidebar,
body .wallet-dashboard-shell .right-rail {
  top: 104px !important;
}
body .wallet-main-panel {
  max-width: none !important;
  overflow: hidden;
}
body .dashboard-compact-head {
  min-height: 120px !important;
  padding: 16px 20px !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, var(--surface), var(--surface-2)) !important;
  border: 1px solid var(--border) !important;
}
body .dashboard-compact-head h1 {
  font-size: 24px !important;
  color: var(--text) !important;
}
body .wallet-stat-row {
  grid-template-columns: repeat(3,minmax(0,1fr)) !important;
}
body .wallet-stat-row .stat {
  min-height: 80px !important;
}
body .wallet-compact-grid {
  grid-template-columns: 220px minmax(0,1fr) !important;
}
body .wallet-mini-nav,
body .wallet-deposit-box,
body .wallet-right .card {
  border-radius: 16px !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .04) !important;
}
body .deposit-nav-btn {
  height: 38px !important;
  border-radius: 10px !important;
}
body .deposit-nav-btn.active,
body .deposit-nav-btn:hover {
  background: var(--black) !important;
  color: var(--white) !important;
  box-shadow: 0 10px 20px rgba(0, 0, 0, .1) !important;
}
body .wallet-deposit-box {
  min-height: 440px !important;
}
body .site-footer.force-hidden-wallet { display:none !important; }

@media(max-width:1280px){
  body .wallet-dashboard-shell{grid-template-columns:220px minmax(0,1fr)!important}
  body .wallet-dashboard-shell>.right-rail{grid-column:2!important;position:static!important}
  body .wallet-stat-row{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:920px){
  body .gc-hero{padding:28px!important;grid-template-columns:1fr!important}
  body .gc-hero-card{transform:none!important}
  body .wallet-dashboard-shell{grid-template-columns:1fr!important}
  body .wallet-dashboard-shell>.right-rail{grid-column:auto!important}
  body .wallet-compact-grid{grid-template-columns:1fr!important}
  body .wallet-stat-row{grid-template-columns:1fr!important}
}

/* ==========================================================================
   PREMIUM SALES HOME + FULL ADMIN WEBSITE BUILDER UPGRADE
   ========================================================================== */
body{
  background:
    radial-gradient(circle at 8% 0%, rgba(166, 124, 60, .08), transparent 28%),
    radial-gradient(circle at 92% 12%, rgba(166, 124, 60, .08), transparent 30%),
    #f7f1e8 !important;
}
.force-top-note{
  background:linear-gradient(90deg,#171612,#705225 52%,#d3b574)!important;
  color:#f7f1e8!important;
  height:34px!important;
  font-size:12px!important;
}
.app-header{height:60px!important;top:34px!important}.page{min-height:calc(100vh - 94px)!important}
body .gc-hero{
  min-height:560px!important;
  background:
    radial-gradient(circle at 82% 16%, rgba(166, 124, 60, .24), transparent 28%),
    radial-gradient(circle at 18% 84%, rgba(166, 124, 60, .34), transparent 34%),
    linear-gradient(135deg,#171612 0%,#171612 45%,#705225 100%)!important;
  border:1px solid rgba(247, 241, 232, .28)!important;
  box-shadow:0 42px 110px rgba(23, 22, 18, .32), inset 0 1px 0 rgba(255,255,255,.16)!important;
}
body .gc-hero-copy h1{font-size:clamp(44px,5.6vw,74px)!important;line-height:.98!important;color:#fff!important;letter-spacing:-2.3px!important}
body .gc-hero-copy p{font-size:17px!important;color:#f7f1e8!important;line-height:1.82!important;max-width:900px!important}
body .gc-seller-cta h2{letter-spacing:-1.1px!important}.category-card,.flow-card,.product-card,.seller-workspace-card{backdrop-filter:blur(12px)}

.admin-pro-page .admin-shell{display:grid;grid-template-columns:268px minmax(0,1fr) 300px;gap:20px;align-items:start}.admin-sidebar{top:112px}.admin-right-rail{top:112px}.admin-main{gap:20px}.admin-side-card{padding:16px;border-radius:24px;background:linear-gradient(180deg,#fff,#f7f1e8);box-shadow:0 22px 58px rgba(23, 22, 18, .08)}.admin-side-nav{max-height:calc(100vh - 180px);overflow:auto;padding-right:3px}.admin-side-nav a{height:40px;border-radius:13px}.admin-side-nav a.active{background:linear-gradient(135deg,rgba(166, 124, 60, .13),rgba(166, 124, 60, .11));color:#705225;box-shadow:inset 3px 0 0 #705225}.admin-hero{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:24px;align-items:center;min-height:310px;padding:34px;border-radius:32px;background:radial-gradient(circle at 78% 18%,rgba(166, 124, 60, .24),transparent 30%),linear-gradient(135deg,#171612,#171612 58%,#d3b574);box-shadow:0 34px 88px rgba(23, 22, 18, .22);color:#fff;overflow:hidden;position:relative}.admin-hero h1{font-family:var(--title);font-size:44px;line-height:1.02;letter-spacing:-1.6px;max-width:900px}.admin-hero p{color:#f7f1e8;font-size:14px;line-height:1.75;max-width:820px;margin-top:12px}.admin-hero .eyebrow{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.2);color:#fff}.admin-live-card{border-radius:28px;background:linear-gradient(160deg,rgba(255,255,255,.96),rgba(247, 241, 232, .88));border:1px solid rgba(247, 241, 232, .75);padding:18px;color:#171612;box-shadow:0 36px 82px rgba(166, 124, 60, .25);transform:perspective(1000px) rotateY(-8deg) rotateX(3deg)}.admin-live-head{display:flex;justify-content:space-between;align-items:center;font-weight:900;font-size:11px;color:#625c53}.admin-live-head b{background:#2f7d55;color:#fff;border-radius:999px;padding:5px 9px;font-size:10px}.admin-device-preview{height:178px;margin:16px 0;border-radius:22px;background:linear-gradient(135deg,#171612,#705225);position:relative;overflow:hidden;padding:20px;color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.2)}.admin-device-preview div{height:8px;border-radius:999px;background:rgba(255,255,255,.22);margin-bottom:10px}.admin-device-preview div:nth-child(1){width:72%}.admin-device-preview div:nth-child(2){width:48%}.admin-device-preview div:nth-child(3){width:86%}.admin-device-preview strong{position:absolute;bottom:42px;left:20px;font-family:var(--title);font-size:24px}.admin-device-preview small{position:absolute;bottom:22px;left:20px;color:#f7f1e8}.admin-live-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.admin-live-metrics span{border:1px solid #f7f1e8;border-radius:14px;background:#fff;padding:9px;text-align:center;font-size:10px;color:#777064}.admin-live-metrics b{display:block;color:#171612;font-size:13px}.admin-panel-title{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:20px 22px;border-radius:24px;border:1px solid #f7f1e8;background:linear-gradient(135deg,#fff,#f7f1e8);box-shadow:0 18px 44px rgba(23, 22, 18, .06)}.admin-panel-title h2{font-family:var(--title);font-size:28px;letter-spacing:-.7px;color:#171612;display:flex;align-items:center;gap:9px}.admin-panel-title p{color:#777064;margin-top:4px;max-width:850px}.panel-actions{display:flex;gap:9px;flex-wrap:wrap;justify-content:flex-end}.admin-stats .stat{min-height:105px;border-radius:22px}.admin-builder-grid{display:grid;grid-template-columns:minmax(0,1fr) 430px;gap:18px}.builder-block-list{display:grid;gap:10px;margin-top:14px}.builder-block{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:12px;align-items:center;border:1px solid #f7f1e8;border-radius:18px;background:#fff;padding:12px}.builder-block>span{width:42px;height:42px;border-radius:14px;background:#f7f1e8;color:#705225;display:grid;place-items:center}.builder-block strong,.quick-item h4{font-weight:850}.builder-block small{display:block;color:#777064;margin-top:2px}.admin-preview-large{height:330px;border-radius:24px;background:linear-gradient(135deg,#171612,#705225);padding:20px;overflow:hidden;box-shadow:inset 0 1px 0 rgba(255,255,255,.16);position:relative}.preview-hero{height:120px;border-radius:20px;background:radial-gradient(circle at 80% 20%,rgba(166, 124, 60, .36),transparent 32%),rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18)}.preview-lines span{display:block;height:10px;border-radius:999px;background:rgba(255,255,255,.22);margin-top:14px}.preview-lines span:nth-child(1){width:70%}.preview-lines span:nth-child(2){width:50%}.preview-lines span:nth-child(3){width:82%}.preview-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:26px}.preview-cards span{height:70px;border-radius:18px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.14)}.admin-form .textarea{min-height:110px}.color-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;margin:14px 0}.color-grid button{height:42px;border-radius:14px;border:3px solid #fff;box-shadow:0 8px 18px rgba(23, 22, 18, .12)}.toggle-row{height:42px;border:1px solid #f7f1e8;border-radius:14px;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 12px;margin-top:9px;font-weight:750;color:#4c473f}.media-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:14px}.media-card{padding:16px;text-align:center;border:1px solid #f7f1e8;border-radius:20px;background:#fff}.media-card>div{width:58px;height:58px;margin:0 auto 12px;border-radius:18px;background:#f7f1e8;color:#705225;display:grid;place-items:center}.media-card strong{display:block}.media-card small{display:block;color:#777064;margin:5px 0 12px}.form-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:14px}.admin-shell .card{border-radius:22px}.admin-shell .table-wrap{border-radius:16px}.admin-shell .icon-tile{box-shadow:0 12px 24px rgba(166, 124, 60, .12)}
@media(max-width:1280px){.admin-pro-page .admin-shell{grid-template-columns:240px minmax(0,1fr)}.admin-right-rail{grid-column:2;position:static}.admin-hero,.admin-builder-grid{grid-template-columns:1fr}.admin-live-card{max-width:460px;transform:none}.admin-panel-title{flex-direction:column}.panel-actions{justify-content:flex-start}}
@media(max-width:920px){.admin-pro-page .admin-shell{grid-template-columns:1fr}.admin-sidebar,.admin-right-rail{position:static;grid-column:auto}.admin-side-nav{max-height:none}.admin-hero{padding:24px}.admin-hero h1{font-size:30px}.admin-builder-grid,.grid-2,.grid-3,.grid-4{grid-template-columns:1fr}.admin-panel-title h2{font-size:23px}}
.stat-icon.red{background:#f3ece6;color:#755143}.tag.cyan{background:#f7f1e8;color:#a67c3c}.tag.blue{background:#f8f3e9;color:#705225}.tag.amber{background:#f7f1e8;color:#a67c3c}


.role-note{
  margin-top:9px;
  padding:8px 10px;
  border-radius:12px;
  font-size:10.5px;
  line-height:1.45;
  color:#705225;
  background:#f7f1e8;
  border:1px solid #f7f1e8;
  font-weight:800;
}
/* Auto bulk product generator */
.auto-generator-card {
  border: 1px solid rgba(211, 181, 116, .22);
  background: linear-gradient(180deg, #ffffff 0%, #f7f1e8 100%);
}
.auto-product-layout {
  display: grid;
  grid-template-columns: 260px minmax(0,1fr);
  gap: 18px;
  align-items: stretch;
}
.auto-image-drop {
  display: block;
  cursor: pointer;
}
.auto-image-preview {
  min-height: 254px;
  border: 1.5px dashed rgba(166, 124, 60, .35);
  border-radius: 20px;
  background: radial-gradient(circle at 30% 20%, rgba(211, 181, 116, .13), transparent 32%), linear-gradient(135deg,#f7f1e8,#f7f1e8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 18px;
  color: #705225;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.8), 0 18px 38px rgba(166, 124, 60, .08);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.auto-image-preview:hover {
  transform: translateY(-3px);
  border-color: rgba(166, 124, 60, .65);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.8), 0 22px 44px rgba(166, 124, 60, .14);
}
.auto-image-preview strong {
  color: #171612;
  font-weight: 800;
}
.auto-image-preview span {
  color: #777064;
  font-size: 12px;
  line-height: 1.5;
}
.auto-image-preview img,
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}
.auto-image-preview img {
  max-height: 190px;
  border-radius: 16px;
  box-shadow: 0 12px 26px rgba(23, 22, 18, .13);
}
.auto-product-controls .textarea {
  min-height: 150px;
}
.product-card-auto .product-img {
  overflow: hidden;
  position: relative;
}
.product-card-auto .product-img img {
  transition: transform .22s ease;
}
.product-card-auto:hover .product-img img {
  transform: scale(1.045);
}
@media (max-width: 900px) {
  .auto-product-layout { grid-template-columns: 1fr; }
  .auto-image-preview { min-height: 190px; }
}

/* =======================================================================
   FINAL HOME COMPACT + PRODUCT HISTORY + DATABASE CENTER OVERRIDES
   ======================================================================= */
body .gc-home{gap:24px!important}
body .gc-hero{
  min-height:360px!important;
  padding:30px 34px!important;
  border-radius:28px!important;
  grid-template-columns:minmax(0,1fr) 330px!important;
  gap:24px!important;
  align-items:center!important;
}
body .gc-hero-copy h1{
  font-size:clamp(34px,4.2vw,52px)!important;
  line-height:1.02!important;
  letter-spacing:-1.5px!important;
  max-width:760px!important;
}
body .gc-hero-copy p{
  font-size:14px!important;
  line-height:1.68!important;
  max-width:740px!important;
  margin-top:12px!important;
}
body .gc-hero .hero-actions{margin-top:16px!important;gap:10px!important}
body .gc-trust-strip{margin-top:14px!important;gap:8px!important}
body .gc-trust-strip span{height:30px!important;padding:0 11px!important;font-size:11px!important}
body .gc-hero-card{
  min-height:235px!important;
  max-width:330px!important;
  padding:16px!important;
  border-radius:24px!important;
  transform:perspective(900px) rotateY(-4deg) rotateX(2deg)!important;
}
body .exchange-orb{width:92px!important;height:92px!important;border-radius:26px!important;margin:4px auto!important}
body .exchange-stack{gap:7px!important}
body .exchange-stack div{padding:8px 10px!important;border-radius:13px!important}
body .exchange-stack strong{font-size:12px!important}
body .exchange-stack span{font-size:10px!important}
body .flow-card{min-height:150px!important;padding:16px!important}
body .gc-flow-grid{gap:12px!important}
.product-history-kpi .stat{min-height:98px!important}
.db-table-list{display:grid;gap:9px;margin-top:14px}
.db-row{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:11px;align-items:center;border:1px solid #f7f1e8;border-radius:16px;background:linear-gradient(180deg,#fff,#f7f1e8);padding:11px 12px}
.db-row>span{width:38px;height:38px;border-radius:13px;background:#f7f1e8;color:#705225;display:grid;place-items:center}
.db-row b{display:block;color:#171612;font-weight:900}
.db-row small{display:block;color:#777064;margin-top:2px;font-size:11px}
.db-row em{font-style:normal;font-size:10px;font-weight:900;color:#2f7d55;background:#eef6f1;border:1px solid #bbf7d0;border-radius:999px;padding:5px 8px}
@media(max-width:1180px){body .gc-hero{grid-template-columns:1fr!important}body .gc-hero-card{display:none!important}}
@media(max-width:768px){body .gc-hero{padding:22px!important;border-radius:22px!important}body .gc-hero-copy h1{font-size:30px!important}.admin-panel-title{gap:12px!important}}

/* Production auth/search upgrade */
.global-search{position:relative;box-shadow:0 10px 26px rgba(166, 124, 60, .06)}
.global-search .search-submit{height:26px;border:0;border-radius:999px;background:linear-gradient(135deg,#705225,#80663e);color:#fff;font-weight:800;font-size:11px;padding:0 12px;cursor:pointer}
.global-search:focus-within{border-color:#d0bd99;box-shadow:0 0 0 4px rgba(166, 124, 60, .09),0 12px 28px rgba(166, 124, 60, .10)}
.search-result-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 18px;background:linear-gradient(135deg,#ffffff,#f7f1e8)}
.search-result-bar strong{display:flex;align-items:center;gap:8px;color:#171612}.search-result-bar p{margin-top:3px;color:#777064;font-size:12.5px}
.empty-state{grid-column:1/-1;min-height:260px;border:1px dashed #d8d0c4;border-radius:20px;background:linear-gradient(135deg,#f7f1e8,#ffffff);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:34px;color:#777064}.empty-state h3{color:#171612;margin:10px 0 5px;font-size:20px}.empty-state .hero-actions{margin-top:14px}
.auth-page.premium-auth{max-width:1180px;min-height:calc(100vh - 84px);align-items:center;padding:34px 26px}
.auth-brand-premium{background:radial-gradient(circle at 82% 20%,rgba(211, 181, 116, .28),transparent 34%),linear-gradient(135deg,#171612 0%,#705225 48%,#d3b574 100%);color:#fff;border:1px solid rgba(232, 220, 200, .35);box-shadow:0 26px 60px rgba(23, 22, 18, .22);min-height:610px}
.auth-brand-premium:before{content:"";position:absolute;inset:auto -80px -110px auto;width:320px;height:320px;border-radius:50%;background:rgba(255,255,255,.12);filter:blur(1px)}
.auth-brand-premium .eyebrow{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.22);color:#f1e7d3}
.auth-brand-premium h1{font-size:44px;color:#fff;letter-spacing:-1.5px;max-width:700px}.auth-brand-premium p{color:#f1e7d3;font-size:15.5px;line-height:1.75;max-width:680px}
.auth-benefits{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}.auth-benefits span{height:34px;padding:0 13px;border:1px solid rgba(255,255,255,.18);border-radius:999px;background:rgba(255,255,255,.10);display:inline-flex;align-items:center;gap:7px;font-weight:750;font-size:12px;color:#fff}
.auth-visual.pro{height:230px}.auth-visual.pro .glass-orb{background:linear-gradient(135deg,#ffffff,#f1e7d3);color:#705225;box-shadow:0 24px 55px rgba(0,0,0,.20)}
.float-card.c{position:absolute;right:58px;bottom:30px;background:#fff;color:#28251f;border:1px solid #f7f1e8;border-radius:14px;padding:10px 13px;font-weight:850;box-shadow:0 16px 32px rgba(23, 22, 18, .18)}
.auth-proof-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.auth-proof-grid div{border:1px solid rgba(255,255,255,.16);border-radius:16px;background:rgba(255,255,255,.10);padding:14px}.auth-proof-grid strong{display:block;font-size:18px}.auth-proof-grid span{display:block;margin-top:2px;color:#f7f1e8;font-size:12px}
.auth-card-premium{border-radius:28px;padding:30px;box-shadow:0 24px 55px rgba(23, 22, 18, .11);border:1px solid #f7f1e8;background:linear-gradient(180deg,#ffffff 0%,#f7f1e8 100%)}
.auth-card-head{display:flex;gap:13px;align-items:flex-start;margin-bottom:20px}.auth-card-head h2{font-size:27px;letter-spacing:-.4px}.auth-card-head p{margin-top:4px;color:#777064;line-height:1.55}.auth-icon{width:46px;height:46px;display:grid;place-items:center;border-radius:16px;background:linear-gradient(135deg,#705225,#80663e);color:#fff;box-shadow:0 14px 26px rgba(166, 124, 60, .22);flex-shrink:0}
.auth-card-premium .field{margin-bottom:13px}.input-icon{height:46px;display:flex;align-items:center;gap:9px;border:1px solid #f7f1e8;background:#fff;border-radius:14px;padding:0 13px;transition:.18s}.input-icon:focus-within{border-color:#baa06f;box-shadow:0 0 0 4px rgba(166, 124, 60, .08)}.input-icon .input{border:0;background:transparent;height:100%;padding:0;box-shadow:none}.toggle-password{border:0;background:#f7f1e8;color:#705225;width:30px;height:30px;border-radius:10px;display:grid;place-items:center;cursor:pointer}.auth-alert{display:none;margin-bottom:13px;padding:11px 12px;border-radius:13px;font-weight:700;font-size:12.5px;line-height:1.45}.auth-alert.show{display:block}.auth-alert.error{background:#f3ece6;color:#654b3d;border:1px solid #dfd0c5}.auth-alert.info{background:#f8f3e9;color:#705225;border:1px solid #dfcfb2}.auth-submit-btn{height:44px;font-size:13px;margin-top:4px}.auth-submit-btn:disabled{opacity:.65;cursor:not-allowed;transform:none}.auth-switch{text-align:center;margin-top:16px;color:#777064;font-size:13px}.auth-switch a{color:#705225;font-weight:900}.auth-card-premium .check-row a{color:#705225;font-weight:800}.auth-card-premium label{font-weight:800;color:#171612}
@media(max-width:920px){.auth-brand-premium h1{font-size:32px}.auth-proof-grid{grid-template-columns:1fr}.global-search .search-submit{display:none}}

/* ==========================================================================
   FAKE NOTIFICATION POPUP STYLES
   ========================================================================== */
.fake-popup-notif-card {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 99999;
  width: 320px;
  background: rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  border-radius: 20px !important;
  box-shadow: 0 16px 36px rgba(23, 22, 18, 0.12) !important;
  padding: 14px !important;
  display: flex !important;
  gap: 12px !important;
  align-items: center !important;
  animation: fakePopupIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: transform 0.35s ease, opacity 0.35s ease;
}
@keyframes fakePopupIn {
  from {
    transform: translateX(-120%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
.fake-popup-avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 8px 16px rgba(23, 22, 18, 0.08);
}
.fake-popup-content {
  flex-grow: 1;
  min-width: 0;
}
.fake-popup-name {
  font-weight: 800;
  color: #171612;
  font-size: 12.5px;
}
.fake-popup-action {
  font-size: 11.5px;
  color: #625c53;
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.fake-popup-time {
  font-size: 10px;
  color: #9b9285;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.fake-popup-time i {
  color: #2f7d55;
}
.fake-popup-close {
  background: transparent;
  border: 0;
  color: #9b9285;
  font-size: 18px;
  cursor: pointer;
  align-self: flex-start;
  margin-top: -4px;
}
.fake-popup-close:hover {
  color: #625c53;
}

/* ==========================================================================
   PREMIUM LOGIN/REGISTER & 3D INTERACTIVE SYSTEM UPGRADE
   ========================================================================== */
.premium-auth {
  display: flex !important;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}
.auth-card-premium {
  border: 1px solid rgba(166, 124, 60, 0.2) !important;
  background: rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 30px 70px rgba(23, 22, 18, 0.12), inset 0 1px 0 rgba(255,255,255,0.9) !important;
  transform: rotateY(-3deg) rotateX(1deg);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}
.auth-card-premium:hover {
  transform: rotateY(0deg) rotateX(0deg) translateY(-4px);
  box-shadow: 0 40px 90px rgba(166, 124, 60, 0.18), inset 0 1px 0 rgba(255,255,255,0.95) !important;
  border-color: rgba(166, 124, 60, 0.45) !important;
}
.input-icon {
  background: rgba(247, 241, 232, 0.7) !important;
  border: 1px solid rgba(247, 241, 232, 0.9) !important;
}
.input-icon:focus-within {
  border-color: var(--blue) !important;
  box-shadow: 0 0 0 4px rgba(166, 124, 60, 0.12) !important;
  background: #fff !important;
}
.auth-submit-btn {
  background: linear-gradient(135deg, #705225, #80663e, #a67c3c) !important;
  box-shadow: 0 12px 28px rgba(166, 124, 60, .28) !important;
}
.auth-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(166, 124, 60, .38) !important;
}

/* 3D hover adjustments on key containers and interactive elements */
.product-card, .flow-card, .category-card, .seller-trust-row, .stat, .db-row, .media-card {
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.3s ease;
}
.product-card:hover, .flow-card:hover, .category-card:hover, .seller-trust-row:hover, .stat:hover, .db-row:hover, .media-card:hover {
  transform: translateY(-6px) translateZ(10px) rotateX(2.5deg) rotateY(-2.5deg) !important;
  box-shadow: 0 24px 55px rgba(166, 124, 60, 0.14), 0 0 15px rgba(166, 124, 60, 0.08) !important;
  border-color: rgba(232, 220, 200, 0.75) !important;
}

/* Specific Home 3D styling enhancements */
body .gc-hero {
  transform-style: preserve-3d;
  perspective: 1200px;
}
body .gc-hero-card {
  transform: perspective(1000px) rotateY(-12deg) rotateX(6deg) translateZ(20px) !important;
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.5s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}
body .gc-hero:hover .gc-hero-card {
  transform: perspective(1000px) rotateY(-6deg) rotateX(3deg) translateZ(30px) !important;
}

/* Subtle glow animation for inputs */
@keyframes inputGlowPulse {
  0% { box-shadow: 0 0 0 4px rgba(166, 124, 60, 0.08); }
  50% { box-shadow: 0 0 0 6px rgba(166, 124, 60, 0.16), 0 0 12px rgba(166, 124, 60, 0.12); }
  100% { box-shadow: 0 0 0 4px rgba(166, 124, 60, 0.08); }
}
.input-icon:focus-within {
  animation: inputGlowPulse 2s infinite ease-in-out;
  border-color: rgba(166, 124, 60, 0.6) !important;
}

/* Premium micro-interactions */
.btn-primary {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.btn-primary:active {
  transform: scale(0.97) translateY(0) !important;
  filter: brightness(0.9);
}
.lang-toggle-btn:hover {
  background: rgba(166, 124, 60, 0.06);
}

/* ===== Auth Field Validation States ===== */
.input-icon.error {
  border-color: #755143 !important;
  background: rgba(247, 241, 232, 0.6) !important;
  box-shadow: 0 0 0 3px rgba(211, 181, 116, 0.1) !important;
  animation: shakeX 0.35s ease-in-out;
}
.input-icon.valid {
  border-color: #2f7d55 !important;
  background: rgba(238, 246, 241, 0.5) !important;
  box-shadow: 0 0 0 3px rgba(47, 125, 85, 0.08) !important;
}
.input-icon.error .input,
.input-icon.valid .input {
  background: transparent !important;
}

/* Loading spinner for submit buttons */
@keyframes authSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.auth-loading {
  position: relative;
  pointer-events: none;
}
.auth-loading i[data-lucide="loader-2"],
.auth-loading svg.lucide-loader-2 {
  animation: authSpin 0.8s linear infinite;
}
.auth-submit-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none !important;
}

/* Shake animation for validation errors */
@keyframes shakeX {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-5px); }
  40% { transform: translateX(5px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(3px); }
}

/* Smooth transitions for input validation */
.input-icon {
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease !important;
}

/* ==========================================================================
   MARKETPLACE REVAMP & PREMIUM UI UPGRADES (2026-06-20)
   ========================================================================== */
.market-layout-revamp {
  display: grid;
  grid-template-columns: 246px minmax(0, 1fr) 292px;
  gap: 24px;
  align-items: start;
  margin-top: 15px;
}
.market-sidebar-revamp, .market-right-rail {
  position: sticky;
  top: 104px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.market-content-revamp {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Sidebar filter components */
.filter-section {
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 16px;
  margin-bottom: 4px;
}
.filter-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}
.filter-title {
  font-weight: 850;
  font-size: 12px;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.category-filter-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.category-filter-item {
  height: 34px;
  border-radius: 9px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: #4c473f;
  font-weight: 650;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.category-filter-item:hover, .category-filter-item.active {
  background: var(--bg-soft);
  color: var(--blue);
}
.category-filter-item.active {
  font-weight: 800;
  background: #f7f1e8;
  border-left: 3px solid var(--blue);
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
}
.category-filter-item .count {
  font-size: 10px;
  background: #f7f1e8;
  color: var(--muted);
  padding: 2px 6px;
  border-radius: 999px;
  font-weight: 750;
}
.category-filter-item.active .count {
  background: var(--blue);
  color: #fff;
}

.price-range-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.price-range-inputs .input {
  height: 34px;
  border-radius: 8px;
  font-size: 12px;
  background: #f7f1e8;
}

.star-rating-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.star-rating-item {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 12px;
  color: #625c53;
  font-weight: 650;
  padding: 6px 8px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
.star-rating-item:hover, .star-rating-item.active {
  background: var(--bg-soft);
  color: var(--blue);
}
.star-rating-item.active {
  background: #f7f1e8;
  font-weight: 800;
}
.stars-visual {
  color: #a67c3c;
  font-size: 13px;
  letter-spacing: -1px;
}

/* Sorting & layout bar */
.market-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 4px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
}
.action-bar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 240px;
}
.action-bar-left .search {
  max-width: none;
  flex: 1;
}
.action-bar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.layout-toggles {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #f7f1e8;
}
.layout-toggle-btn {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.layout-toggle-btn.active, .layout-toggle-btn:hover {
  background: var(--blue);
  color: #fff;
}

/* Product list layout view */
.product-result-grid.list-view {
  grid-template-columns: 1fr !important;
}
.product-result-grid.list-view .product-card {
  flex-direction: row;
  height: auto;
  align-items: center;
  padding: 14px;
  gap: 18px;
}
.product-result-grid.list-view .product-img {
  width: 130px;
  height: 96px;
  flex: 0 0 auto;
  margin: 0;
}
.product-result-grid.list-view .product-card > div:nth-child(3) {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.product-result-grid.list-view .price-row {
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  margin-left: auto;
  flex: 0 0 auto;
}

/* Authentication Page Improvements */
.auth-role-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 20px;
  background: #f3efe7;
  padding: 4px;
  border-radius: 12px;
}
.auth-role-tab {
  height: 36px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  user-select: none;
}
.auth-role-tab.active {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 4px 10px rgba(23, 22, 18, 0.05);
}
.social-login-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}
.btn-social {
  height: 38px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 11px;
  color: #4c473f;
  font-weight: 750;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.15s;
}
.btn-social:hover {
  background: var(--bg-soft);
}
.input-icon .toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--light);
  display: flex;
  align-items: center;
  padding: 0;
}

/* Modal Popup Styles */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(23, 22, 18, 0.6);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 16px;
  animation: fadeIn 0.2s ease-out;
}
.modal-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 25px 60px rgba(23, 22, 18, 0.2);
  width: 100%;
  max-width: 580px;
  overflow: hidden;
  animation: zoomIn 0.2s ease-out;
}
.modal-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--line-2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-soft);
}
.modal-header h3 {
  font-family: var(--title);
  font-size: 18px;
  font-weight: 900;
  color: #171612;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.modal-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--line-2);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  background: var(--bg-soft);
}
.modal-close-btn {
  font-size: 20px;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
  background: transparent;
  border: 0;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes zoomIn {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@media (max-width: 1280px) {
  .market-layout-revamp {
    grid-template-columns: 220px minmax(0, 1fr);
  }
  .market-right-rail {
    position: static;
    grid-column: 2;
  }
}

@media (max-width: 920px) {
  .market-layout-revamp {
    grid-template-columns: 1fr;
  }
  .market-right-rail {
    position: static;
    grid-column: auto;
  }
}

/* ==========================================================================
   UPGRADED UI STYLES FOR AI SIDEBAR, COMMUNITY 3-COL, ORDERS & DISPUTE PANELS
   ========================================================================== */

/* AI Assistant Sidebar specific styles */
.ai-role-select-box {
  margin-top: 10px;
  padding: 10px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.ai-role-select-box label {
  font-weight: 800;
  font-size: 11px;
  color: var(--muted);
  display: block;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.ai-chat-history-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
  max-height: 220px;
  overflow-y: auto;
}
.ai-history-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--text);
  font-weight: 650;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
}
.ai-history-item:hover, .ai-history-item.active {
  background: var(--bg-soft);
  border-color: var(--line);
  color: var(--blue);
}
.ai-history-item i {
  color: var(--muted);
  flex-shrink: 0;
}
.ai-history-item.active i {
  color: var(--blue);
}

/* Community 3-column layout classes */
.community-subforum-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.community-subforum-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 650;
  color: var(--text);
  cursor: pointer;
}
.community-subforum-item:hover, .community-subforum-item.active {
  background: #f7f1e8;
  color: var(--blue);
}
.community-subforum-item span.badge {
  font-size: 10px;
  padding: 1px 6px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
}
.community-subforum-item.active span.badge {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.top-members-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}
.top-member-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line-2);
}
.top-member-row:last-child {
  border-bottom: 0;
}

/* Card-based Order list styles */
.order-status-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.order-status-tab {
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 700;
  font-size: 12px;
  white-space: nowrap;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  transition: all 0.15s ease;
}
.order-status-tab:hover, .order-status-tab.active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.order-search-bar {
  margin-bottom: 14px;
  max-width: 420px;
}
.order-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.order-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}
.order-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 10px;
}
.order-card-shop {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  color: var(--text);
}
.order-card-body {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}
.order-product-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #f8f3e9 0%, #f7f1e8 100%);
  display: grid;
  place-items: center;
  color: var(--blue);
  border: 1px solid var(--line-2);
}
.order-product-details h3 {
  font-size: 14px;
  font-weight: 850;
  color: var(--text);
  margin-bottom: 4px;
}
.order-product-details p {
  font-size: 11.5px;
  color: var(--muted);
}
.order-price-info {
  text-align: right;
}
.order-price-info strong {
  display: block;
  font-size: 16px;
  font-weight: 950;
  color: var(--blue);
}
.order-price-info span {
  font-size: 10px;
  color: var(--muted);
}
.order-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line-2);
  padding-top: 10px;
  margin-top: 4px;
}
.escrow-countdown-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f7f1e8;
  border: 1px solid #e7cf96;
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  color: #705225;
  font-size: 11px;
  font-weight: 750;
}
.order-actions-row {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

/* Dispute details and chat styles */
.dispute-split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 20px;
  align-items: start;
}
.dispute-explanation-card {
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.dispute-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 10px;
}
.dispute-proof-img {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg-soft);
  display: grid;
  place-items: center;
  color: var(--muted);
  cursor: pointer;
}
.dispute-proof-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dispute-chat-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 400px;
}
.dispute-chat-header {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dispute-chat-logs {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #f7f1e8;
  max-height: 320px;
}
.dispute-bubble {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 12px;
  line-height: 1.5;
  position: relative;
}
.dispute-bubble.buyer {
  background: #f8f3e9;
  border: 1px solid #dfcfb2;
  color: var(--text);
  align-self: flex-start;
  border-top-left-radius: 0;
}
.dispute-bubble.seller {
  background: #eef6f1;
  border: 1px solid #a7f3d0;
  color: var(--text);
  align-self: flex-end;
  border-top-right-radius: 0;
}
.dispute-bubble.admin {
  background: #f7f1e8;
  border: 1px solid #f7f1e8;
  color: #705225;
  align-self: center;
  text-align: center;
  max-width: 90%;
  font-weight: 650;
  border-radius: 14px;
}
.bubble-meta {
  font-size: 9.5px;
  color: var(--muted);
  margin-top: 4px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.bubble-sender {
  font-weight: 800;
}
.bubble-sender.buyer { color: var(--blue); }
.bubble-sender.seller { color: var(--green); }
.bubble-sender.admin { color: var(--red); }

.dispute-chat-input-area {
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  background: #fff;
}

/* Seller product management checklist & active toggles */
.seller-checklist {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}
.checklist-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text);
  font-weight: 650;
}
.checklist-item.done {
  color: var(--muted);
  text-decoration: line-through;
}
.checklist-item i {
  flex-shrink: 0;
}
.checklist-item.done i {
  color: var(--green);
}

/* Active Toggle Switch Styling */
.switch-control {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 20px;
}
.switch-control input {
  opacity: 0;
  width: 0;
  height: 0;
}
.switch-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: var(--line);
  transition: .2s;
  border-radius: 20px;
}
.switch-slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .2s;
  border-radius: 50%;
}
input:checked + .switch-slider {
  background-color: var(--green);
}
input:checked + .switch-slider:before {
  transform: translateX(16px);
}

/* Side by side authentication comparison layout */
.auth-compare-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}
.auth-compare-title {
  text-align: center;
  font-family: var(--title);
  font-size: 26px;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 24px;
}

@media(max-width: 1024px) {
  .dispute-split-layout {
    grid-template-columns: 1fr;
  }
}
@media(max-width: 768px) {
  .auth-compare-container {
    grid-template-columns: 1fr;
  }
  .order-card-body {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .order-price-info {
    text-align: inherit;
  }
  .order-card-footer {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }
  .order-actions-row {
    margin-left: 0;
    justify-content: center;
  }
}

/* =====================================================
   ENHANCED UI POLISH - Skeleton, Scroll-to-top, Micro-animations
   ===================================================== */

/* Skeleton Loading Animation */
@keyframes skeletonShimmer {
  0% { background-position: -200px 0; }
  100% { background-position: calc(200px + 100%) 0; }
}
.skeleton {
  background: linear-gradient(90deg, #f3efe7 25%, #e7dfd3 50%, #f3efe7 75%);
  background-size: 200px 100%;
  animation: skeletonShimmer 1.5s ease-in-out infinite;
  border-radius: 8px;
}
.skeleton-line {
  height: 12px;
  margin-bottom: 8px;
  border-radius: 6px;
}
.skeleton-line.short { width: 60%; }
.skeleton-line.medium { width: 80%; }
.skeleton-line.full { width: 100%; }
.skeleton-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
.skeleton-card {
  min-height: 120px;
  border-radius: 16px;
  border: 1px solid var(--line);
}
.skeleton-stat {
  height: 80px;
  border-radius: 14px;
}

/* Scroll-to-top button */
.scroll-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 14px rgba(166, 124, 60, 0.3);
}
.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(166, 124, 60, 0.4);
}

/* Enhanced card hover effects */
.card:hover {
  border-color: rgba(166, 124, 60, 0.08);
}
.card.card-3d:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(166, 124, 60, 0.08);
}

/* Quick cards grid hover */
#support-quick-cards-grid .card {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
#support-quick-cards-grid .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(166, 124, 60, 0.1);
  border-color: rgba(166, 124, 60, 0.15);
}
#support-quick-cards-grid .card:hover .icon-tile {
  transform: scale(1.1);
  transition: transform 0.2s;
}

/* Community thread card hover */
.thread-row-card {
  transition: all 0.22s ease;
}
.thread-row-card:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 18px rgba(166, 124, 60, 0.06);
}

/* Enhanced FAQ accordion transitions */
.faq-accordion-item {
  transition: all 0.25s ease;
}
.faq-accordion-item:hover {
  border-color: rgba(166, 124, 60, 0.2) !important;
  box-shadow: 0 2px 8px rgba(166, 124, 60, 0.05);
}
.faq-accordion-item.active {
  border-color: var(--blue) !important;
  box-shadow: 0 4px 12px rgba(166, 124, 60, 0.1);
}
.faq-accordion-header {
  transition: background 0.2s ease;
}
.faq-accordion-item.active .faq-accordion-header {
  background: #f8f3e9 !important;
}

/* Deposit nav button hover animation */
.deposit-nav-btn {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Badge dot pulse animation */
@keyframes badgePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.3); }
}
.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.badge-dot[style*="green"], 
.badge-dot[style*="#2f7d55"],
.badge-dot[style*="--green"] {
  animation: badgePulse 2s ease-in-out infinite;
}

/* Stat card number count-up feel */
.stat strong {
  transition: color 0.3s;
}
.stat:hover strong {
  color: var(--blue);
}

/* Improved vote button hover */
.community-vote-btn {
  transition: all 0.2s ease;
}
.community-vote-btn:hover {
  border-color: var(--blue) !important;
  background: #f8f3e9 !important;
  transform: scale(1.05);
}

/* AI chat bubble animation */
@keyframes chatBubbleIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
#ai-chat-logs > div {
  animation: chatBubbleIn 0.3s ease-out;
}

/* Quick item hover polish */
.quick-item {
  transition: all 0.2s ease;
}
.quick-item:hover {
  background: #f7f1e8;
}

/* Smooth page section fade-in */
@keyframes sectionFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero {
  animation: sectionFadeIn 0.4s ease-out;
}
.stats-grid {
  animation: sectionFadeIn 0.5s ease-out;
}
.dashboard-compact-head {
  animation: sectionFadeIn 0.35s ease-out;
}

/* Pill button active state polish */
.pill.active {
  box-shadow: 0 2px 8px rgba(166, 124, 60, 0.15);
}
.pill:not(.active):hover {
  background: #f3efe7;
}

/* AI mode card active glow */
.ai-mode-btn.active,
.quick-item.ai-mode-btn.active {
  border-color: var(--blue) !important;
  background: #f7f1e8 !important;
  box-shadow: 0 0 0 3px rgba(166, 124, 60, 0.08);
}

/* Table row hover */
.table tbody tr {
  transition: background 0.15s;
}
.table tbody tr:hover {
  background: #f7f1e8;
}

/* Focus ring for inputs */
.input:focus,
.select:focus,
.textarea:focus {
  box-shadow: 0 0 0 3px rgba(166, 124, 60, 0.12);
}

/* Copy button click feedback */
.copy-btn:active {
  transform: scale(0.95);
}

/* Status badge animations */
.status.pending {
  animation: badgePulse 2.5s ease-in-out infinite;
}

/* Mini avatar hover */
.mini-avatar {
  transition: transform 0.2s;
}
.mini-avatar:hover {
  transform: scale(1.15);
}

/* Improved tooltip for icon tiles */
.icon-tile {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Mobile responsive improvements for new elements */
@media (max-width: 720px) {
  .scroll-to-top {
    bottom: 18px;
    right: 18px;
    width: 38px;
    height: 38px;
  }
  #support-quick-cards-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  #faq-side-by-side-columns {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 480px) {
  #support-quick-cards-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================================
   MARKETPLACE REVAMP DESIGN SYSTEM OVERRIDES (PRODUCTION-READY)
   ========================================================================== */
.market-shell {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  width: 100%;
}

.market-left-sidebar {
  position: sticky;
  top: 104px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-right: 4px;
}

.market-left-sidebar::-webkit-scrollbar,
.market-right-rail::-webkit-scrollbar {
  width: 5px;
}
.market-left-sidebar::-webkit-scrollbar-track,
.market-right-rail::-webkit-scrollbar-track {
  background: transparent;
}
.market-left-sidebar::-webkit-scrollbar-thumb,
.market-right-rail::-webkit-scrollbar-thumb {
  background: #d8d0c4;
  border-radius: 99px;
}

.market-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.market-right-rail {
  position: sticky;
  top: 104px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-right: 4px;
}

/* Command Card base styles */
.market-command-card {
  background: #ffffff;
  border: 1px solid #f7f1e8;
  border-radius: 20px;
  padding: 14px;
  box-shadow: 0 4px 18px rgba(23, 22, 18, 0.03), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.market-command-card:hover {
  border-color: #e8dcc8;
  box-shadow: 0 10px 24px rgba(166, 124, 60, 0.06), 0 1px 0 rgba(255, 255, 255, 0.95) inset;
}

/* User mini card / Guest card */
.market-user-mini {
  display: flex;
  align-items: center;
  gap: 11px;
}
.market-user-mini .avatar-mini {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--grad);
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--title);
  font-weight: 800;
  font-size: 15px;
  box-shadow: 0 6px 14px rgba(166, 124, 60, 0.15);
  flex-shrink: 0;
}
.market-user-mini .user-details {
  min-width: 0;
  flex: 1;
}
.market-user-mini .user-name {
  font-family: var(--title);
  font-weight: 800;
  font-size: 13.5px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.market-user-mini .user-meta {
  font-size: 10.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 4px;
}
.market-user-mini .wallet-info {
  margin-top: 8px;
  padding: 8px 10px;
  background: #f7f1e8;
  border: 1px solid var(--line-2);
  border-radius: 11px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.market-user-mini .wallet-label {
  font-size: 10px;
  color: var(--muted);
  font-weight: 600;
}
.market-user-mini .wallet-amount {
  font-family: var(--title);
  font-size: 13.5px;
  font-weight: 800;
  color: var(--blue);
}

.market-guest-card {
  text-align: center;
  padding: 18px 14px;
}
.market-guest-card p {
  font-size: 11.5px;
  color: var(--muted);
  margin-bottom: 12px;
}

/* Quick Navigation Links */
.market-quick-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.market-quick-nav a {
  height: 38px;
  padding: 0 12px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #2c3e50;
  font-weight: 600;
  font-size: 12.5px;
  transition: all 0.15s ease;
}
.market-quick-nav a i {
  color: var(--muted);
  transition: color 0.15s ease;
}
.market-quick-nav a:hover {
  background: #f3efe7;
  color: var(--blue);
}
.market-quick-nav a:hover i {
  color: var(--blue);
}
.market-quick-nav a.active {
  background: #f7f1e8;
  color: var(--blue);
  font-weight: 750;
  box-shadow: inset 3px 0 0 var(--blue);
}
.market-quick-nav a.active i {
  color: var(--blue);
}

/* Quick filters / Category menu */
.market-category-menu {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.market-category-menu .category-item {
  height: 34px;
  padding: 0 11px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #4c473f;
  font-weight: 650;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.market-category-menu .category-item:hover {
  background: #fbf8f1;
  color: var(--blue);
}
.market-category-menu .category-item.active {
  background: #f8f3e9;
  color: var(--blue);
  font-weight: 800;
  box-shadow: inset 3px 0 0 var(--blue);
}
.market-category-menu .category-item .count-badge {
  font-size: 9.5px;
  font-weight: 750;
  padding: 1px 6px;
  background: #e7dfd3;
  color: #777064;
  border-radius: 999px;
}
.market-category-menu .category-item.active .count-badge {
  background: var(--blue);
  color: #ffffff;
}

/* Move bottom info to sidebar accordions */
.market-sidebar-accordion {
  border-top: 1px solid #edf2f7;
  padding-top: 8px;
  margin-top: 8px;
}
.market-accordion-item {
  border: 1px solid #f3efe7;
  border-radius: 12px;
  margin-bottom: 6px;
  overflow: hidden;
  background: #fbf8f1;
  transition: border-color 0.2s ease;
}
.market-accordion-item.open {
  border-color: #e8dcc8;
  background: #ffffff;
}
.market-accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 12px;
  font-size: 11.5px;
  font-weight: 750;
  color: #4c473f;
  cursor: pointer;
}
.market-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  font-size: 11px;
  color: #777064;
  line-height: 1.5;
}
.market-accordion-inner {
  padding: 0 12px 10px;
}

/* Seller CTA Card */
.market-seller-card {
  background: linear-gradient(135deg, #f8f3e9 0%, #f6f0e5 100%);
  border: 1px solid #f7f1e8;
  text-align: center;
  padding: 16px 14px;
  position: relative;
  overflow: hidden;
}
.market-seller-card .store-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--grad);
  color: #fff;
  display: grid;
  place-items: center;
  margin: 0 auto 10px;
  transform: rotate(-6deg);
  box-shadow: 0 6px 16px rgba(166, 124, 60, 0.18);
}
.market-seller-card h4 {
  font-family: var(--title);
  font-size: 14px;
  font-weight: 850;
  color: #171612;
}
.market-seller-card p {
  font-size: 10.5px;
  color: var(--muted);
  margin: 4px 0 12px;
  line-height: 1.45;
}

/* Security Card */
.market-security-card {
  border-left: 3px solid var(--green);
}
.market-security-card h4 {
  font-family: var(--title);
  font-size: 12.5px;
  font-weight: 800;
  color: #2f7d55;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}
.market-security-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  margin: 0 0 10px 0;
}
.market-security-card li {
  font-size: 11px;
  color: #4c473f;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.4;
}
.market-security-card li i {
  color: var(--green);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Marketplace Header / Hero Section */
.market-hero {
  background: radial-gradient(circle at 90% 10%, rgba(166, 124, 60, 0.05), transparent 35%), linear-gradient(135deg, #ffffff 0%, #f7f1e8 100%);
  border: 1px solid #f7f1e8;
  border-radius: 22px;
  padding: 22px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 8px 30px rgba(23, 22, 18, 0.02);
  gap: 20px;
}
.market-hero-left {
  flex: 1;
}
.market-hero h1 {
  font-family: var(--title);
  font-size: 26px;
  font-weight: 900;
  color: #171612;
  margin: 2px 0 6px;
  letter-spacing: -0.6px;
}
.market-hero p {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 12px;
}
.market-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.market-badges .badge-item {
  height: 24px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #f7f1e8;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 750;
  color: #705225;
  box-shadow: 0 2px 5px rgba(23, 22, 18, 0.015);
}
.market-hero-right {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  width: 250px;
  flex-shrink: 0;
}
.escrow-step-card {
  background: #ffffff;
  border: 1px solid #f7f1e8;
  border-radius: 12px;
  padding: 8px 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(23, 22, 18, 0.01);
}
.escrow-step-card strong {
  display: block;
  font-size: 11.5px;
  font-weight: 850;
  color: #171612;
}
.escrow-step-card span {
  font-size: 9.5px;
  color: var(--muted);
}
.escrow-step-card .step-icon {
  color: var(--blue);
  margin-bottom: 4px;
}

/* Product Discovery Bar */
.market-discovery-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.discovery-left {
  flex: 1;
  min-width: 280px;
}
.discovery-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Category Chips */
.market-chips-container {
  display: flex;
  overflow-x: auto;
  gap: 6px;
  padding-bottom: 4px;
}
.market-chips-container::-webkit-scrollbar {
  height: 4px;
}
.market-chips-container::-webkit-scrollbar-thumb {
  background: #e7dfd3;
  border-radius: 99px;
}
.market-chip {
  height: 28px;
  border-radius: 99px;
  background: #ffffff;
  border: 1px solid #f7f1e8;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  color: #625c53;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.15s ease;
}
.market-chip:hover {
  background: #fbf8f1;
  color: var(--blue);
}
.market-chip.active {
  background: var(--blue);
  color: #ffffff;
  border-color: var(--blue);
  box-shadow: 0 4px 10px rgba(166, 124, 60, 0.15);
}

/* Product grid & list revamp styling */
.product-result-grid {
  display: grid;
  gap: 16px;
  transition: all 0.25s ease;
}
.product-result-grid:not(.list-view) {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.product-result-grid.list-view {
  grid-template-columns: 1fr;
}

/* Revamped Product Card grid mode */
.market-product-card {
  background: #ffffff;
  border: 1px solid #f7f1e8;
  border-radius: 18px;
  padding: 10px;
  box-shadow: 0 4px 15px rgba(23, 22, 18, 0.025);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  cursor: pointer;
}
.market-product-card:hover {
  transform: translateY(-4px);
  border-color: #e8dcc8;
  box-shadow: 0 12px 28px rgba(166, 124, 60, 0.08);
}
.market-product-card .img-box {
  height: 120px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f8f3e9, #f6f0e5);
  display: grid;
  place-items: center;
  color: var(--blue);
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  border: 1px solid #f3efe7;
}
.market-product-card .img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.market-product-card:hover .img-box img {
  transform: scale(1.05);
}
.market-product-card .badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 2;
}
.market-product-card .card-badge {
  font-size: 8.5px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #f1e7d3;
  color: #705225;
  text-transform: uppercase;
}
.market-product-card .card-badge.warranty-badge {
  background: #f3e9d5;
  border-color: #e7cf96;
  color: #705225;
}
.market-product-card .card-badge.fast-badge {
  background: #eef6f1;
  border-color: #a7f3d0;
  color: #2b6949;
}
.market-product-card .card-title {
  font-family: var(--title);
  font-weight: 800;
  font-size: 13.5px;
  color: #171612;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 36px;
}
.market-product-card .card-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10.5px;
  color: var(--muted);
  border-bottom: 1px solid #f3efe7;
  padding-bottom: 6px;
}
.market-product-card .card-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  gap: 10px;
}
.market-product-card .card-price {
  font-family: var(--title);
  font-weight: 950;
  font-size: 16px;
  color: var(--blue);
}
.market-product-card .seller-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10.5px;
  color: #625c53;
  padding-top: 4px;
}
.market-product-card .seller-info {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}
.market-product-card .seller-info span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 700;
}

/* List view mode adjustments */
.product-result-grid.list-view .market-product-card {
  flex-direction: row;
  height: 110px;
  padding: 10px;
  align-items: center;
}
.product-result-grid.list-view .market-product-card .img-box {
  width: 120px;
  height: 88px;
}
.product-result-grid.list-view .market-product-card .badge-row {
  display: none;
}
.product-result-grid.list-view .market-product-card .card-title {
  height: auto;
  margin-bottom: 4px;
  -webkit-line-clamp: 1;
}
.product-result-grid.list-view .market-product-card .middle-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 6px;
}
.product-result-grid.list-view .market-product-card .card-details {
  border: 0;
  padding: 0;
  justify-content: flex-start;
  gap: 12px;
}
.product-result-grid.list-view .market-product-card .right-info {
  width: 180px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  border-left: 1px solid #f3efe7;
  padding-left: 14px;
  gap: 4px;
}
.product-result-grid.list-view .market-product-card .card-price-row {
  width: 100%;
  justify-content: flex-end;
  margin: 0;
}

/* Empty State */
.market-empty-state {
  grid-column: 1 / -1;
  width: 100%;
  text-align: center;
  padding: 50px 30px;
  background: #ffffff;
  border: 1px dashed #d8d0c4;
  border-radius: 22px;
}
.market-empty-state h3 {
  font-family: var(--title);
  font-size: 16px;
  font-weight: 850;
  color: #171612;
  margin: 12px 0 6px;
}
.market-empty-state p {
  color: var(--muted);
  font-size: 12.5px;
  max-width: 380px;
  margin: 0 auto 16px;
  line-height: 1.5;
}

/* Advanced responsive layout styling */
@media (max-width: 1279px) {
  .market-shell {
    grid-template-columns: 240px minmax(0, 1fr);
  }
  .market-right-rail {
    grid-column: 1 / -1;
    position: static;
    max-height: none;
    overflow-y: visible;
  }
}

@media (max-width: 920px) {
  .market-shell {
    grid-template-columns: 1fr;
  }
  .market-left-sidebar {
    position: static;
    max-height: none;
    overflow-y: visible;
  }
}

/* ==========================================
   UPGRADED COMMUNITY PAGE STYLES
   ========================================== */

/* Tabs Navigation */
.community-tabs-container {
  display: flex;
  border-bottom: 2px solid var(--line-2);
  gap: 16px;
  margin-top: 14px;
  margin-bottom: 12px;
}
.community-tab-btn {
  background: none;
  border: none;
  font-family: var(--title);
  font-size: 14.5px;
  font-weight: 850;
  padding: 8px 12px;
  color: var(--muted);
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}
.community-tab-btn:hover {
  color: var(--blue);
}
.community-tab-btn.active {
  color: var(--blue);
}
.community-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--blue);
  border-radius: 99px;
}

/* Daily Check-in Grid */
.checkin-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin: 12px 0;
}
.checkin-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  background: #fbf8f1;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  padding: 4px;
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  transition: all 0.2s ease;
}
.checkin-day.checked {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #16a34a;
}
.checkin-day.today {
  border: 1.5px solid var(--blue);
  box-shadow: 0 0 8px rgba(166, 124, 60, 0.2);
}
.checkin-day.checked i {
  color: #16a34a;
}

/* Community Poll Widget */
.poll-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}
.poll-option-btn {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 12px;
  text-align: left;
  cursor: pointer;
  transition: all 0.22s ease;
  width: 100%;
}
.poll-option-btn:hover {
  border-color: var(--blue);
  background: #f7f1e8;
  transform: translateY(-1px);
}
.poll-option-btn.selected {
  border-color: var(--blue);
  background: #f8f3e9;
}
.poll-option-text {
  font-size: 11.5px;
  font-weight: 750;
  color: var(--text);
  display: flex;
  justify-content: space-between;
}
.poll-progress-bar {
  width: 100%;
  height: 6px;
  background: #f3efe7;
  border-radius: 99px;
  overflow: hidden;
  margin-top: 6px;
}
.poll-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  border-radius: 99px;
  width: 0;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Scam Report Items */
.scam-report-card {
  padding: 18px;
  border-radius: 18px;
  margin-bottom: 12px;
  background: #ffffff;
  border: 1px solid var(--line);
  transition: all 0.22s ease;
}
.scam-report-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(211, 181, 116, 0.05);
  border-color: rgba(211, 181, 116, 0.15);
}
.scam-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  margin: 10px 0;
  padding: 10px;
  background: #f3ece6;
  border-radius: 12px;
  border: 1.5px dashed #e9ddd3;
}
.scam-info-item {
  font-size: 11.5px;
  color: #654b3d;
}
.scam-info-item strong {
  color: #594137;
  font-weight: 800;
}

/* Comment Formatter Toolbar */
.format-toolbar {
  display: flex;
  background: #fbf8f1;
  border: 1px solid var(--line);
  border-bottom: none;
  padding: 6px 10px;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  gap: 6px;
}
.format-btn {
  background: none;
  border: none;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  color: var(--muted);
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.format-btn:hover {
  background: #e7dfd3;
  color: var(--text);
}

/* Like Heart Button */
.like-heart-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--muted);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
}
.like-heart-btn:hover {
  color: #755143;
  transform: scale(1.1);
}
.like-heart-btn.liked {
  color: #755143;
  animation: heartPulse 0.35s ease;
}
.like-heart-btn.liked i {
  fill: #755143;
}

@keyframes heartPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

/* Search Highlighting */
.search-highlight {
  background: #e7cf96;
  color: #705225;
  padding: 0 2px;
  border-radius: 3px;
  font-weight: 700;
}

/* Premium Black & White Marketplace additions */
.market-quick-nav a.active {
  background: var(--surface-2) !important;
  color: var(--black) !important;
  font-weight: 800;
}
.market-category-menu .category-item.active {
  background: var(--surface-dark) !important;
  color: var(--white) !important;
  font-weight: 800;
}
.market-category-menu .category-item.active .count-badge {
  background: var(--white) !important;
  color: var(--black) !important;
}

/* Forum community boards */
.community-subforum-item.active {
  background: var(--surface-dark) !important;
  color: var(--white) !important;
}
.community-subforum-item.active .badge {
  background: var(--white) !important;
  color: var(--black) !important;
}

/* Format toolbar */
.format-toolbar {
  display: flex;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-bottom: 0;
  border-top-left-radius: 11px;
  border-top-right-radius: 11px;
  padding: 5px;
  gap: 4px;
}
.format-btn {
  height: 28px;
  width: 28px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
  border: 0;
  background: transparent;
}
.format-btn:hover {
  background: var(--border);
}

/* Campaign Countdown timer layout */
.campaign-countdown-wrapper div {
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  backdrop-filter: blur(10px);
}

/* Scrollable responsive tables */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Bullet list and alignments */
.field label {
  margin-bottom: 6px;
}
.field + .field {
  margin-top: 12px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Custom Seller Dashboard Layout & Styling */
.seller-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 292px;
  gap: 20px;
  align-items: start;
}
@media (max-width: 1200px) {
  .seller-layout {
    grid-template-columns: 220px minmax(0, 1fr);
  }
  .seller-layout > .right-rail {
    grid-column: 1 / span 2;
  }
}
@media (max-width: 900px) {
  .seller-layout {
    grid-template-columns: 1fr;
  }
  .seller-layout > .right-rail {
    grid-column: auto;
  }
}

.seller-hero-banner {
  background: linear-gradient(135deg, #f4eee3 0%, #ffffff 100%);
  border: 1px solid #f7f1e8;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(211, 181, 116, 0.05);
}

.seller-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 16px;
}

.seller-kpi-grid .card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.seller-kpi-grid .card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.04);
}

.seller-quick-post-form .field {
  margin-top: 0 !important;
}

.seller-bottom-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 1024px) {
  .seller-bottom-details {
    grid-template-columns: 1fr;
  }
}




/* ===== Layout fixes: auth pages, marketplace side cards, compact icons ===== */
.auth-page.premium-auth{max-width:1240px;min-height:calc(100vh - 92px);align-items:stretch;padding:34px 24px 26px}
.auth-brand-premium{background:radial-gradient(circle at 84% 18%,rgba(211, 181, 116, .18),transparent 32%),linear-gradient(135deg,#11110f 0%,#1f1b16 56%,#171612 100%);border:1px solid rgba(166, 124, 60, .25);min-height:560px;padding:38px}
.auth-brand-premium .eyebrow{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.14);color:#e8dcc8}
.auth-brand-premium h1{font-size:42px;line-height:1.08;max-width:620px}
.auth-brand-premium p{font-size:14.5px;line-height:1.72;color:#e7e5df;max-width:590px}
.auth-benefits span{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.14)}
.auth-visual.pro{height:178px}
.auth-visual.pro .glass-orb{width:118px;height:118px;border-radius:30px;background:linear-gradient(145deg,#2b211b,#111)!important;border-color:#705225!important;color:#d3b574!important;box-shadow:0 24px 48px rgba(0,0,0,.30)!important}
.auth-visual.pro .glass-orb svg{width:60px!important;height:60px!important}
.float-card.a{right:92px;top:12px}
.float-card.b{right:16px;bottom:12px}
.float-card.c{right:104px;bottom:26px}
.auth-proof-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.auth-proof-grid div{padding:12px 14px;background:rgba(255,255,255,.08)}
.auth-card-premium{padding:28px;border-radius:26px;background:linear-gradient(180deg,#ffffff 0%,#fcfcfa 100%)!important}
.auth-card-head h2{font-size:30px}
.auth-card-head p{font-size:13px}
.auth-icon{background:linear-gradient(135deg,#111,#2e2a23 55%,#a67c3c)!important;box-shadow:0 14px 30px rgba(17,17,17,.18)!important}
.auth-card-premium .input-icon{height:50px;border-radius:15px;background:#f7f1e8!important}
.auth-card-premium .input-icon > svg,.auth-card-premium .input-icon > i,.auth-card-premium .toggle-password > svg,.auth-card-premium .toggle-password > i{width:17px!important;height:17px!important;flex:0 0 17px}
.auth-card-premium .toggle-password{width:34px;height:34px;border-radius:11px;background:#f6efe9;color:#a67c3c}
.auth-role-tabs{margin-bottom:14px}
.auth-role-tab{padding:12px 10px;border-radius:12px;font-size:12.5px}
.auth-submit-btn{height:48px;font-size:13.5px;background:linear-gradient(135deg,#111,#2e2a23 55%,#a67c3c)!important;box-shadow:0 14px 28px rgba(17,17,17,.18)!important}
.auth-submit-btn:hover{box-shadow:0 18px 34px rgba(17,17,17,.24)!important}

.market-hero .badge-item svg,.market-hero .badge-item i,.escrow-step-card svg,.escrow-step-card i{width:18px!important;height:18px!important;flex:0 0 18px}
.pro-side-card{overflow:hidden}
.market-compact-stack{display:grid;gap:10px}
.market-compact-item{display:grid;grid-template-columns:42px minmax(0,1fr);gap:10px;align-items:start;padding:12px;border:1px solid #e7dfd3;border-radius:15px;background:#fff}
.market-compact-item.blue{background:linear-gradient(180deg,#ffffff,#f7f1e8)}
.market-compact-item.green{background:linear-gradient(180deg,#ffffff,#f3fbf7)}
.market-compact-item.amber{background:linear-gradient(180deg,#ffffff,#f7f1e8)}
.market-compact-item.purple{background:linear-gradient(180deg,#ffffff,#f7f1e8)}
.market-compact-item.cyan{background:linear-gradient(180deg,#ffffff,#f7f1e8)}
.market-compact-icon{width:42px;height:42px;border-radius:14px;background:#f7f1e8;color:#705225;display:grid;place-items:center;box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}
.market-compact-icon svg{width:18px!important;height:18px!important}
.market-compact-copy strong{display:block;color:#171612;font-size:12px;font-weight:850;line-height:1.45}
.market-compact-copy span{display:block;margin-top:4px;color:#777064;font-size:11px;line-height:1.55}
.pro-warning-card{padding:18px!important}
.pro-warning-card p{font-size:12px!important}

@media(max-width:920px){
  .auth-page.premium-auth{padding:22px 16px}
  .auth-brand-premium{min-height:auto;padding:28px}
  .auth-brand-premium h1{font-size:34px}
  .auth-visual.pro{height:150px}
  .float-card.a,.float-card.b,.float-card.c{position:static;display:inline-flex;margin-top:8px;margin-right:8px}
}
