/* --- Sotuvchi kabineti --- */
.boot-text { color: #cfd6de; font-size: 15px; }
.login-card.wide { max-width: 420px; text-align: left; }
.login-card.wide h2, .login-card.wide .logo-mark { text-align: center; }
.login-card form { display: flex; flex-direction: column; gap: 10px; }
.login-card .field { display: flex; flex-direction: column; gap: 5px; font-size: 13px; font-weight: 600; color: #34404d; }
.login-card .field input { font-weight: 400; }
.phone-field { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.phone-field span { padding: 0 10px 0 12px; font-size: 16px; font-weight: 700; color: #34404d; border-right: 1px solid var(--line); line-height: 46px; background: #f7f8fa; }
.phone-field input { border: 0 !important; border-radius: 0 !important; flex: 1; min-width: 0; outline: none; letter-spacing: .5px; }
.pw-field { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.pw-field input { border: 0 !important; border-radius: 0 !important; flex: 1; min-width: 0; outline: none; }
.pw-field button { border: 0; background: #f7f8fa; border-left: 1px solid var(--line); width: 46px; align-self: stretch; cursor: pointer; font-size: 16px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: #eef1f4; border-radius: 12px; padding: 4px; margin: 12px 0 14px; }
.auth-tabs button { border: 0; background: transparent; border-radius: 9px; padding: 10px 6px; font-size: 15px; font-weight: 700; color: #5b6673; cursor: pointer; }
.auth-tabs button.active { background: #fff; color: #17202a; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.forgot-box { background: #fffdf3; border: 1px solid #f2e2a4; border-radius: 10px; padding: 12px 14px; margin-top: 10px; font-size: 14px; line-height: 1.5; }
.forgot-box .row-actions { margin-top: 8px; }
.login-card.wide .small-link { display: block; }

.sub-box { border-radius: 12px; padding: 14px 16px; margin-bottom: 14px; border: 1px solid var(--line); background: #fff; font-size: 14.5px; line-height: 1.5; }
.sub-box.ok { background: #f0f7f2; border-color: #cfe8d6; }
.sub-box.warn { background: #fffdf3; border-color: #f2e2a4; }
.sub-box.bad { background: #fff8f7; border-color: #f5c6c2; }
.sub-title { font-weight: 800; font-size: 16px; margin-bottom: 4px; }
.pay-card { margin: 10px 0; padding: 12px 14px; border-radius: 10px; background: #17202a; color: #fff; display: grid; gap: 4px; max-width: 420px; }
.pay-card .num { font-size: 20px; font-weight: 800; letter-spacing: 1.5px; font-family: ui-monospace, Consolas, monospace; }
.pay-card .copy { justify-self: start; margin-top: 4px; border: 1px solid rgba(255,255,255,.35); background: transparent; color: #fff; border-radius: 8px; padding: 5px 10px; cursor: pointer; font-size: 13px; }
.pay-steps { margin: 8px 0 0; padding-left: 20px; }
.pay-steps li { margin-bottom: 3px; }
.admin-row.dim { opacity: .65; }
#addProductBtn:disabled { opacity: .5; cursor: not-allowed; }

/* --- AI navbati --- */
.ai-hint { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: #eef4ff; border: 1px solid #cddcf7; color: #1b3a6b; font-size: 13.5px; line-height: 1.45; }
.ai-tag { display: inline-block; margin-top: 4px; padding: 2px 8px; border-radius: 6px; font-size: 12.5px; font-weight: 600; white-space: normal; }
.ai-tag.wait { background: #fff3d6; color: #7a5500; }
.ai-tag.fail { background: #fce8e6; color: #8c1d18; }
.ai-tag.ok { background: #e6f4ea; color: #0d652d; }
.code-note { background: #fffdf3; border: 1px solid #f2e2a4; border-radius: 10px; padding: 10px 12px; font-size: 14px; line-height: 1.45; }
.code-note b { font-family: ui-monospace, Consolas, monospace; font-size: 16px; }

/* --- «Sotildi» va statistika --- */
.sold-btn { background: #e6f4ea; border-color: #1e8e3e55; color: #1e8e3e; font-weight: 600; margin: 4px 0; }
.tag-sold { color: #1e8e3e; font-weight: 600; }
.stats-box { max-width: 980px; width: 100%; }
.stats-box h3 { margin: 18px 0 6px; font-size: 16px; }
.stats-period { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 12px; }
.stats-period button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px; font-size: 13px; cursor: pointer; }
.stats-period button.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.stats-box .usage-table { width: 100%; font-size: 13px; }
.stats-box .usage-table td, .stats-box .usage-table th { padding: 5px 6px; }
#statsBody { overflow-x: auto; }
.abc { font-weight: 700; text-align: center; }
.abc-A { color: #1e8e3e; } .abc-B { color: #b26a00; } .abc-C { color: #9aa0a6; }
.cat-block { border: 1px solid var(--line); border-radius: 10px; padding: 6px 10px; margin: 8px 0; background: #fff; }
.cat-block summary { cursor: pointer; padding: 4px 0; line-height: 1.5; }
.cat-block .usage-table { margin-top: 6px; }
.stats-period .stats-xls { margin-left: auto; border-color: #1e8e3e66; color: #1e8e3e; font-weight: 600; }
.cat-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cat-table th, .cat-table td { white-space: nowrap; text-align: right; }
.cat-table tr > th:first-child { text-align: left; position: sticky; left: 0; background: #fff; }
