/* עמודי החשבון: כניסה, הרשמה, לוח בקרה, מנהל, מחירים */
.auth-wrap { min-height: calc(100vh - 64px); display: grid; place-items: start center; padding: 48px 16px; background: linear-gradient(180deg, #eef2ff 0%, #fff 100%); }
.auth-card { width: min(440px, 100%); background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 28px; }
.auth-card h1 { font-size: 1.6rem; margin-bottom: 6px; }
.auth-card p.sub { color: var(--muted); margin: 0 0 18px; }
.stack { display: grid; gap: 14px; }
.stack label { display: flex; flex-direction: column; gap: 6px; font-weight: 500; }
.stack input, .stack select, .stack textarea { font: inherit; padding: 12px 14px; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; }
.stack input:focus, .stack select:focus { outline: 2px solid var(--brand-2); outline-offset: 1px; border-color: transparent; }
.stack input[dir="ltr"] { text-align: right; }
.alt { text-align: center; color: var(--muted); margin-top: 14px; font-size: .95rem; }
.msg { min-height: 1.3em; font-weight: 500; margin: 0; }
.msg.err { color: #b91c1c; } .msg.ok { color: #166534; }

.dash { padding: 32px 0 64px; }
.dash-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.dash-head h1 { font-size: 1.6rem; margin: 0; }
.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .85rem; font-weight: 500; }
.badge.pending { background: #fff7e6; color: #92400e; }
.badge.active { background: #dcfce7; color: #166534; }
.badge.paused { background: #f1f5f9; color: #475569; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; margin-bottom: 16px; }
.panel h2 { font-size: 1.2rem; text-align: right; margin: 0 0 10px; }
.steps-mini { margin: 10px 0 0; padding-right: 20px; }
.steps-mini li { margin-bottom: 8px; }
.code { font-family: Consolas, monospace; font-size: 1.4rem; font-weight: 800; letter-spacing: 2px; background: #eef2ff; color: var(--brand); padding: 6px 14px; border-radius: 10px; display: inline-block; direction: ltr; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: end; }
.row > * { flex: 1 1 180px; }
table.list { width: 100%; border-collapse: collapse; font-size: .95rem; }
table.list th, table.list td { text-align: right; padding: 8px 6px; border-bottom: 1px solid var(--line); }
table.list th { color: var(--muted); font-weight: 500; }
.link-btn { background: none; border: 0; color: #b91c1c; cursor: pointer; font: inherit; padding: 0; }
.muted { color: var(--muted); }
.table-scroll { overflow-x: auto; }
.btn-lite { background: #eef2ff; color: var(--brand) !important; }
.btn-lite:hover { background: #dbe4ff; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px; display: flex; flex-direction: column; }
.plan.pop { border: 2px solid var(--brand-2); box-shadow: var(--shadow); }
.plan h3 { margin: 0 0 4px; }
.price { font-size: 2.2rem; font-weight: 800; color: var(--brand); margin: 8px 0; }
.price small { font-size: 1rem; color: var(--muted); font-weight: 500; }
.plan ul { padding-right: 18px; color: var(--muted); flex: 1; }
.plan .btn { text-align: center; margin-top: 10px; }
.tag-pop { align-self: flex-start; background: var(--brand-2); color: #fff; font-size: .8rem; padding: 2px 10px; border-radius: 999px; margin-bottom: 8px; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }
