/* ============================================================
   WooDash — views.css (auth, dashboard, orders, products, settings)
   ============================================================ */

/* ---------- auth ---------- */
.auth-wrap { max-width: 420px; margin: 0 auto; }
.auth-logo { text-align: center; margin: 26px 0 22px; }
.auth-logo .mark { font-size: 2rem; font-weight: 700; color: var(--navy-800); }
.auth-logo .tag { color: var(--text-soft); font-size: .85rem; margin-top: 4px; }
.auth-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.auth-foot { text-align: center; margin-top: 16px; font-size: .85rem; color: var(--text-soft); }
.link-btn { background: none; border: none; color: var(--emerald-600); font-weight: 700; font-size: inherit; padding: 0; }

/* ---------- dashboard ---------- */
.sync-note { display: flex; align-items: center; gap: 6px; font-size: .78rem; color: var(--text-faint); margin-bottom: 14px; }
.mini-list { margin-top: 8px; }
.order-status-chip { flex: none; }

/* ---------- orders ---------- */
.order-note { background: #f8fafc; border-radius: 10px; padding: 10px 12px; font-size: .84rem; margin-top: 8px; color: var(--text-soft); }
.contact-row { display: flex; gap: 8px; margin-top: 12px; }
.contact-row .btn { flex: 1; }

/* ---------- products ---------- */
.var-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.var-row:last-child { border-bottom: none; }
.var-row .attrs { font-size: .8rem; color: var(--text-soft); }
.var-row .grow { flex: 1; min-width: 0; }
.img-pick { width: 100%; border: 2px dashed var(--line); border-radius: var(--radius-sm); padding: 18px; text-align: center; color: var(--text-faint); font-size: .84rem; background: #fbfcfe; }
.img-pick img { border-radius: 10px; max-height: 120px; }

/* ---------- stores (my stores) ---------- */
.store-status-line { display: flex; align-items: center; gap: 6px; font-size: .78rem; margin-top: 6px; flex-wrap: wrap; }
.add-store-dash { border: 2px dashed var(--line); background: transparent; box-shadow: none; color: var(--emerald-600); font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 18px; width: 100%; border-radius: var(--radius); font-size: .95rem; }

/* ---------- settings ---------- */
.settings-group { margin-bottom: 20px; }
.settings-group h4 { font-size: .82rem; color: var(--text-faint); font-weight: 500; margin: 0 4px 8px; }
.settings-item { background: var(--card); display: flex; align-items: center; gap: 12px; padding: 15px 16px; border-bottom: 1px solid var(--line); cursor: pointer; }
.settings-item:first-of-type { border-radius: var(--radius) var(--radius) 0 0; }
.settings-item:last-of-type { border-radius: 0 0 var(--radius) var(--radius); border-bottom: none; }
.settings-item:only-of-type { border-radius: var(--radius); }
.settings-item:active { background: #f8fafc; }
.settings-item .si-title { font-size: .92rem; font-weight: 500; color: var(--text); }
.settings-item .si-sub { font-size: .76rem; color: var(--text-faint); margin-top: 2px; }
.settings-item .end { margin-inline-start: auto; color: var(--text-faint); }
.session-item { padding: 12px 0; border-bottom: 1px solid var(--line); }
.session-item:last-child { border-bottom: none; }

/* ---------- subscription ---------- */
.plan-banner { background: linear-gradient(135deg, var(--navy-800), var(--navy-600)); color: #fff; border-radius: var(--radius); padding: 18px; margin-bottom: 14px; }
.plan-banner .plan-name { font-size: 1.15rem; font-weight: 700; }
.plan-banner .plan-meta { font-size: .8rem; color: #9fb6ca; margin-top: 4px; }
.plan-card { border: 2px solid var(--line); border-radius: var(--radius); padding: 18px; text-align: center; position: relative; }
.plan-card.recommended { border-color: var(--emerald-500); }
.plan-card .p-name { font-weight: 700; color: var(--navy-800); }
.plan-card .p-price { font-size: 1.3rem; font-weight: 700; color: var(--emerald-600); margin: 10px 0 2px; }
.plan-card .p-price small { font-size: .72rem; color: var(--text-faint); font-weight: 400; }
.plan-card ul { margin: 14px 0; text-align: right; }
.plan-card li { font-size: .82rem; color: var(--text-soft); padding: 5px 0; display: flex; gap: 6px; align-items: center; }
.plan-card li::before { content: '✓'; color: var(--emerald-500); font-weight: 700; }
.plan-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .plan-grid { grid-template-columns: repeat(3, 1fr); } }
.p-recommend { position: absolute; top: -11px; right: 14px; background: var(--emerald-500); color: #fff; border-radius: 999px; font-size: .68rem; padding: 3px 10px; font-weight: 700; }

/* ---------- pair code display ---------- */
.pair-code { font-size: 2rem; font-weight: 700; letter-spacing: 6px; text-align: center; color: var(--navy-800); background: #f1f5f9; border-radius: 12px; padding: 16px; direction: ltr; margin: 12px 0; }
