
:root{color-scheme:dark;--bg:#070511;--panel:#120d28;--panel2:#171032;--line:#412563;--line2:#281b46;--text:#fbf7ff;--muted:#b7a9d0;--purple:#8a2af0;--purple2:#b458ff;--green:#13ed8b;--gold:#ffda81;--pink:#ed48c8;--shadow:0 18px 60px #03020799}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(ellipse at 20% -20%,#2a0c4d 0,transparent 55%),radial-gradient(ellipse at 85% 22%,#180f37 0,transparent 47%),var(--bg);color:var(--text);font:15px/1.5 system-ui,-apple-system,Arial,'Noto Sans Tamil',sans-serif;min-height:100vh}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.4;cursor:not-allowed}a{color:inherit;text-decoration:none}a:hover{color:#e7c3ff}input,textarea,select{background:#120e24;border:1px solid #4a356a;border-radius:11px;color:#fff;padding:12px 13px;width:100%;outline:none}input:focus,textarea:focus,select:focus{border-color:#ab60ff;box-shadow:0 0 0 3px #8539da2b}textarea{resize:vertical;min-height:84px}label{display:block;color:#cbb8e4;font-size:13px;font-weight:600;margin-bottom:6px}.form-field{margin:12px 0}.help{color:#a99bbf;font-size:12px}.error{color:#ff9d9d}.success{color:var(--green)}.muted{color:var(--muted)}.hide{display:none!important}
.site-header{position:sticky;top:0;z-index:100;background:#080516f0;backdrop-filter:blur(18px);border-bottom:1px solid #583374;box-shadow:0 2px 30px #6e29bc24}.topbar{max-width:1500px;margin:auto;padding:12px 27px;display:flex;align-items:center;gap:24px}.brand{display:flex;align-items:center;gap:10px;min-width:max-content}.crown{font-size:34px;filter:drop-shadow(0 0 12px #9b39ff)}.brand strong{letter-spacing:2px;font-size:24px;font-weight:900}.brand small{display:block;font-size:9px;letter-spacing:3px;color:var(--gold);margin-top:-5px}.admin-brand small{color:#d3a8f6}.topnav{display:flex;align-items:center;justify-content:center;gap:23px;flex:1}.topnav button{border:0;background:transparent;color:#dcd1ed;font-weight:700;padding:10px 12px}.topnav button.active{border-bottom:3px solid #b970ff;color:#fff;text-shadow:0 0 13px #953afb}.top-actions{margin-left:auto;display:flex;gap:9px;align-items:center}.account-pill{border:1px solid #6f4f8c;border-radius:16px;padding:9px 13px;background:#18102d;color:#fff;max-width:280px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-pill:hover{border-color:#b56aff}.chip{padding:6px 12px;border-radius:100px;border:1px solid #6e4e90;background:#271846;color:#e9cdfa;font-weight:800;font-size:12px}.chip.green{color:#00ff91;background:#093d2c66;border-color:#198d54}.chip.gold{color:#ffde8d;border-color:#98743c}.chip.orange{color:#ffd08b;border-color:#ae672f;background:#4b2710}.pill{border-radius:12px;padding:10px 18px;border:1px solid #72519f;background:#18122a;color:#fff;font-weight:750}.primary,.btn{padding:12px 18px;border:0;border-radius:11px;color:white;background:linear-gradient(115deg,#8b18ec,#5722bb);box-shadow:0 5px 19px #7b29ff51;font-weight:800}.primary:hover,.btn:hover{filter:brightness(1.16)}.primary.green{background:linear-gradient(90deg,#007e47,#08b56b);box-shadow:0 4px 18px #10ae5960}.primary.full{width:100%}.outline{border:1px solid #653c9b;border-radius:10px;padding:10px 14px;background:#1e1538;color:#f8edff;font-weight:700}.outline:hover{background:#372052}.danger{border-color:#ad416e;color:#ff99b2}.ghost{background:transparent;color:#d3bae8;border:0;padding:8px 12px}.icon-btn{border-radius:12px;border:1px solid #694d8a;background:#1b112f;padding:9px 12px;color:white}.layout{max-width:1500px;margin:auto;padding:25px}.panel{background:linear-gradient(144deg,#18112f,#0c0b20);border:1px solid #50316e;border-radius:18px;box-shadow:var(--shadow)}.panel.pad{padding:22px}.panel.glow{box-shadow:0 0 21px #9129ef2c,var(--shadow)}.panel-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}.panel-title h3{margin:0;font-size:19px}.section-heading{font-size:29px;line-height:1.2;margin:0 0 7px;letter-spacing:-.5px}.eyebrow{letter-spacing:3px;text-transform:uppercase;font-weight:900;color:#d0a2fa;font-size:11px}.grid{display:grid;gap:16px}.two-cols{grid-template-columns:repeat(2,minmax(0,1fr))}.three-cols{grid-template-columns:repeat(3,minmax(0,1fr))}.four-cols{grid-template-columns:repeat(4,minmax(0,1fr))}.flex{display:flex;align-items:center;gap:12px}.space-between{justify-content:space-between}.stack{display:flex;flex-direction:column;gap:13px}.stat{padding:20px;border-radius:15px;background:linear-gradient(135deg,#222052,#101735);border:1px solid #353774}.stat:nth-child(2){background:linear-gradient(135deg,#14392d,#0f272e);border-color:#237358}.stat:nth-child(3){background:linear-gradient(135deg,#483018,#211a28);border-color:#71522c}.stat:nth-child(4){background:linear-gradient(135deg,#24114b,#211743);border-color:#7139a9}.stat span{font-size:12px;color:#e3d4ee;font-weight:700}.stat strong{font-size:34px;display:block;margin-top:8px}.divider{border:0;border-top:1px solid #493162;margin:18px 0}.notice{padding:12px 15px;border:1px solid #695037;border-radius:12px;background:#312312;color:#ffdeac;font-size:13px}.notice.good{background:#0c3024;border-color:#2d9b69;color:#b1ffda}.notice.bad{background:#3a1623;border-color:#aa4163;color:#ffb0c4}.badge{font-size:11px;padding:5px 9px;border-radius:30px;background:#2c1951;border:1px solid #6a3fa3;color:#d9b4ff;font-weight:800}.price{color:#fff;font-weight:900;font-size:25px}.product-card{overflow:hidden;border:1px solid #4a306a;border-radius:16px;background:linear-gradient(#1f163d,#100c24);box-shadow:0 9px 25px #0009}.product-visual{min-height:145px;display:flex;align-items:center;justify-content:center;background:radial-gradient(circle,#5f1b9b 0,#1f1646 55%,#0d1029 100%);position:relative}.product-visual svg{width:80px;height:80px;filter:drop-shadow(0 0 18px #b33aff)}.product-visual img{width:100%;height:174px;object-fit:cover}.product-content{padding:16px}.product-content h3{margin:0 0 7px;font-size:16px}.product-content p{color:var(--muted);font-size:12px;margin:0 0 14px}.product-foot{display:flex;justify-content:space-between;align-items:center;gap:5px;margin:12px 0}.stock{color:var(--green);font-weight:800;font-size:12px}.scroll-x{overflow-x:auto}.data-table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}.data-table th,.data-table td{padding:12px 10px;border-bottom:1px solid #3a2756;white-space:nowrap}.data-table th{color:#a78cce;font-size:12px}.data-table td{color:#f2e9ff}.empty-state{text-align:center;padding:32px 15px;color:#b7a4d0}.empty-state strong{display:block;font-size:17px;color:#fff;margin-bottom:5px}.spinner{height:17px;width:17px;display:inline-block;border:2px solid #af8acc;border-top-color:#fff;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.toast{position:fixed;z-index:500;bottom:22px;left:50%;transform:translateX(-50%);background:#281643;color:#fff;border:1px solid #ac73d9;border-radius:13px;padding:12px 18px;box-shadow:0 10px 35px #000a;max-width:min(600px,90vw);text-align:center}.mobile-only{display:none}.auth-backdrop{position:fixed;z-index:320;inset:0;background:#060510ce;display:none;place-items:center;padding:15px;backdrop-filter:blur(8px)}.auth-backdrop.open{display:grid}.auth-dialog{width:min(440px,96vw);max-height:90vh;overflow:auto;background:linear-gradient(145deg,#25123d,#0c1023);border:1px solid #9354c6;border-radius:21px;padding:28px;box-shadow:0 0 50px #7132db40}.auth-dialog h2{margin:0}.auth-tabs{display:flex;gap:9px;margin:16px 0}.auth-tabs button{flex:1}.auth-tabs .selected{border-color:#a758f9;background:#47148f}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.mono{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere}.small{font-size:12px}.active-link{color:#dcb0ff}.tagline{color:#c9b4df}.footer{text-align:center;color:#88769e;padding:36px 12px;font-size:12px}.key-box{display:flex;align-items:center;gap:12px;border:1px solid #704e91;border-radius:11px;background:#080918;padding:11px 14px}.key-box code{font-size:15px;flex:1;overflow-wrap:anywhere;white-space:pre-wrap}.order-info{border:1px solid #784a98;border-radius:14px;overflow:hidden}.order-info .line{padding:12px 17px;display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid #44355c}.order-info .line:last-child{border-bottom:0}.status-icon{width:62px;height:62px;border-radius:50%;display:grid;place-items:center;font-size:33px;box-shadow:0 0 30px #00e66c60;border:3px solid #2be984;margin:auto auto 8px;background:#09452e}.status-icon.pending{border-color:#f6b553;box-shadow:0 0 30px #bd6a195b;background:#503211}
@media(max-width:950px){.layout{padding:16px}.two-cols,.three-cols{grid-template-columns:repeat(2,minmax(0,1fr))}.four-cols{grid-template-columns:repeat(2,minmax(0,1fr))}.topnav{gap:2px}.topnav button{font-size:12px;padding:7px}.brand strong{font-size:17px}.crown{font-size:25px}}
@media(max-width:640px){body{font-size:14px}.topbar{padding:10px 12px;gap:5px}.topnav{display:none}.brand small{font-size:8px;letter-spacing:1px}.top-actions{gap:4px}.account-pill{max-width:138px;font-size:11px;padding:7px}.brand strong{font-size:16px}.section-heading{font-size:24px}.two-cols,.three-cols,.four-cols{grid-template-columns:1fr}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stat{padding:13px}.stat strong{font-size:27px}.mobile-only{display:block}.panel.pad{padding:15px}.product-visual{min-height:135px}.field-row{grid-template-columns:1fr}.key-box{align-items:stretch;flex-direction:column}.order-info .line{font-size:12px}}

/* Payment instructions: public merchant receiving account only; no customer secrets */
.payment-options{margin:14px 0}.payment-warning{line-height:1.55}.bank-details{margin:14px 0;padding:15px;border:1px solid #6e4ab1;border-radius:12px;background:#1c1237}.bank-details>strong{color:#f5dcff}.bank-line{display:flex;align-items:start;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #5c407e}.bank-line span{color:#c8b0df}.bank-line b{max-width:66%;text-align:right;overflow-wrap:anywhere}.bank-details .help{line-height:1.55}

/* Real bank-issued STATIC QR: amount is entered by buyer, verified manually by store. */
.merchant-qr{margin-top:18px;padding:16px;text-align:center;background:#281447;border:1px solid #8260b1;border-radius:14px}
.merchant-qr strong{display:block;color:#ffdfed;margin-bottom:12px}
.merchant-qr img{display:block;width:250px;max-width:100%;max-height:320px;object-fit:contain;background:#fff;border-radius:12px;margin:0 auto 12px;padding:10px}
.merchant-qr p{font-size:13px;line-height:1.55;color:#eadcf4}
.merchant-qr a{color:#dcbaff;text-decoration:underline;overflow-wrap:anywhere}

/* Verified product feedback */
.rating-compact{display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin:8px 0 12px;color:#ffd872}.rating-compact small{color:#d6c5e6}.rating-open{margin-left:auto;padding:6px 10px;font-size:12px}.rating-overview{font-size:18px;color:#ffdc80;font-weight:800}.feedback-list{max-height:220px;overflow:auto;padding-right:5px}.feedback-item{border-bottom:1px solid #493065;padding:10px 4px}.feedback-item p{margin:6px 0;color:#eee}.stars{color:#ffcf54;letter-spacing:2px;font-size:18px}.feedback-item .muted{margin-left:8px}.feedback-item:last-child{border-bottom:0}

/* 2026-11-12: quiet payment notes; explicit receipt send; private delivered URL copying */
.payment-muted{border:1px solid #41315c;background:#17102b;color:#c6b7db;border-radius:11px;padding:12px 14px;font-size:13px;line-height:1.55}
.receipt-box{margin-top:16px;padding:13px;border:1px solid #5b3f8f;border-radius:12px;background:#120f28}
.receipt-box .receipt-submit{margin:12px 0 6px;width:100%}
.delivery-url-box{margin-top:14px;border:1px solid #5f4789;padding:14px;border-radius:12px;background:#17112d}
.delivery-url-actions{margin-top:8px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.delivery-url-actions input{flex:1;min-width:180px}
.delivery-url-actions a{display:inline-block}
@media(max-width:600px){.delivery-url-actions{align-items:stretch;flex-direction:column}.delivery-url-actions input,.delivery-url-actions button,.delivery-url-actions a{width:100%;text-align:center}}

.order-mini-summary{padding:12px 15px;border:1px solid #55377f;background:#1a1335;color:#f4edff;border-radius:12px;line-height:1.6}


/* TAMIZHAN STORE — green + white approved design, existing Customer actions retained */
:root{color-scheme:light;--bg:#f3f8f5;--panel:#ffffff;--panel2:#eff8f2;--line:#b7d9c4;--line2:#d5eadc;--text:#173127;--muted:#526d60;--purple:#087b46;--purple2:#14ae68;--green:#0c9c57;--gold:#d7911b;--pink:#08784d;--shadow:0 9px 27px #0b522119}
body{background:linear-gradient(180deg,#f6faf7,#edf8f1)!important;color:#173127!important}
.site-header,.topbar{background:linear-gradient(105deg,#003c2b,#08734a)!important;color:white!important;border-color:#0b9e62!important}
.site-header .brand,.site-header .brand strong,.site-header .brand small,.topnav button,.top-actions{color:white!important}
.topnav button.active{background:#0ca269!important;color:white!important;border-color:#56d99d!important}
.mobile-bar{background:#fff!important;border-color:#b5dbc5!important;box-shadow:0 -3px 14px #123a211c!important}
.mobile-bar button{color:#32634b!important}.mobile-bar button.active{color:#fff!important;background:#078c51!important}
.sidebar,.panel,.product-card,.order-status-card,.auth-dialog{background:#fff!important;color:#1c3229!important;border:1px solid #c5e3d0!important;border-radius:17px!important;box-shadow:0 7px 20px #0a63320f!important}
.sidebar button,.sidebar .profile-line,.panel h2,.panel h3,.panel h1,.section-heading,.product-content h3,.order-info{color:#19382a!important}
.sidebar-btn.active,.primary,.btn{background:linear-gradient(120deg,#087e4a,#10a866)!important;color:#fff!important;border-color:#0b9f60!important;box-shadow:0 4px 12px #07814b23!important}
.outline,.pill,.icon-btn,.account-pill,.chip,input,textarea,select{background:#fff!important;color:#1a4732!important;border:1px solid #b5d8c1!important}
.top-actions .chip,.top-actions .account-pill{background:#075d40!important;color:#fff!important;border-color:#58ac87!important}
.muted,.product-content p,.help,.payment-muted{color:#5d7266!important}
.eyebrow{color:#098852!important}.price,.product-foot .price{color:#074e32!important}
.product-card .product-visual{background:radial-gradient(circle at center,#eaf9ef,#ceead8)!important}
.product-card{overflow:hidden}.product-card .product-content{background:#fff!important}
.chip.green,.notice.good{background:#e1f7eb!important;color:#086f43!important;border-color:#8bd6aa!important}
.chip.orange,.notice{background:#fff0dc!important;color:#87530b!important;border-color:#ebd0a2!important}
.chip.gold{background:#e2f9ed!important;color:#086b3c!important;border-color:#9ad5b2!important}
.order-hero,.order-status-card{background:#fff!important;color:#1a3425!important}
.order-info .line{border-color:#deebe1!important;color:#214332!important}
.order-info .line strong{color:#173c2b!important}
.key-box,.delivery-url-box,.receipt-box,.bank-details{background:#f1fbf5!important;border-color:#a8d4b7!important;color:#21432f!important}
.order-product,.order-mini-summary{background:#f6fbf8!important;border:1px solid #cce5d5!important;border-radius:12px!important}
.auth-backdrop{background:#051a12d9!important}.auth-dialog{background:white!important}
.auth-dialog label,.auth-dialog h2,.auth-dialog .muted,.auth-dialog .help{color:#284f3a!important}
.auth-dialog input,.auth-dialog select{background:#f8fffa!important;color:#193e29!important}
.hero{background:linear-gradient(115deg,#06472f,#0c8b54)!important;color:white!important}
.hero h1,.hero p,.hero .eyebrow{color:white!important}.hero-art{filter:drop-shadow(0 0 15px #c5e8bc)}
.purple-strip{background:#e6f8ed!important;border-color:#afd9bf!important;color:#145a39!important}
.purple-strip .muted{color:#367d5d!important}
.footer{color:#658170!important}
/* Payment timeline driven ONLY by real order status and uploaded receipt state */
.ts-progress{margin:16px 0;background:linear-gradient(180deg,#e8f8ed,#f8fcfa);border:1px solid #b8dfc7;border-radius:16px;padding:16px 18px}
.ts-progress h3{margin:0 0 12px;color:#145737!important;font-size:17px}
.ts-step{display:flex;align-items:flex-start;gap:12px;position:relative;padding:0 0 16px;color:#315943}
.ts-step:last-child{padding-bottom:0}.ts-step:not(:last-child)::before{content:"";position:absolute;left:13px;top:28px;bottom:0;width:2px;background:#b6d4bd}
.ts-dot{flex:0 0 28px;width:28px;height:28px;border-radius:50%;background:#e2e9e4;color:#66816f;display:grid;place-items:center;font-weight:900;z-index:1}
.ts-step.done .ts-dot{background:#0a9a56;color:#fff}.ts-step.wait .ts-dot{background:#ffb83d;color:#633900}.ts-step.locked{color:#7b8b7f}
.ts-step strong{display:block;font-size:13px;color:inherit}.ts-step small{font-size:11px;display:block;line-height:1.45}
.ts-step.done:not(:last-child)::before{background:#20a868}
@media(max-width:650px){.sidebar{background:white!important}.ts-progress{padding:14px}.panel.pad{padding:14px}}
