/* rideut — advertiser portal */
body { background: var(--bg-alt); }

.ad-hero { background: #fff; border-bottom: 1px solid var(--hair); }
.ad-hero-inner { max-width: 1000px; margin: 0 auto; padding: 56px 24px; text-align: center; }
.ad-hero h1 { font-size: clamp(32px,5vw,48px); letter-spacing: -0.03em; margin: 16px 0 12px; }
.ad-hero p { font-size: 18px; color: var(--body); max-width: 560px; margin: 0 auto 8px; line-height: 1.55; }

.section-pad { max-width: 1000px; margin: 0 auto; padding: 56px 24px; }

/* Pricing tiers */
.tiers { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 20px; margin-top: 32px; }
.tier { background: #fff; border: 1px solid var(--hair); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; }
.tier.featured { border: 2px solid var(--blue); box-shadow: 0 24px 60px -34px rgba(11,107,203,0.5); position: relative; }
.tier.featured::before { content: "Most popular"; position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 999px; letter-spacing: 0.03em; }
.tier h3 { font-size: 20px; margin: 0 0 4px; }
.tier .price { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 34px; color: var(--ink); margin: 8px 0; }
.tier .price small { font-size: 14px; color: var(--muted); font-weight: 600; }
.tier .desc { font-size: 13.5px; color: var(--body); margin: 0 0 16px; line-height: 1.5; }
.tier ul { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-direction: column; gap: 9px; }
.tier li { font-size: 13.5px; color: var(--ink-2); display: flex; gap: 9px; align-items: flex-start; }
.tier li svg { flex: none; margin-top: 2px; }
.tier .pick { margin-top: auto; }

/* Dashboard */
.dash { max-width: 1000px; margin: 0 auto; padding: 32px 24px 60px; }
.dash-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.dash-head h1 { font-size: 26px; letter-spacing: -0.02em; margin: 0; }
.card-panel { background: #fff; border: 1px solid var(--hair); border-radius: 18px; padding: 24px; margin-bottom: 20px; }
.card-panel h2 { font-size: 18px; margin: 0 0 16px; }
.field { display: flex; flex-direction: column; gap: 5px; font-size: 13px; font-weight: 700; color: var(--ink-2); margin-bottom: 14px; }
.field em { color: var(--muted); font-weight: 500; font-style: normal; }
.field input, .field textarea, .field select { border: 1.5px solid rgba(20,40,70,0.14); border-radius: 11px; padding: 11px 13px; font-family: inherit; font-size: 14.5px; color: var(--ink); outline: none; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--blue); }
.field textarea { resize: vertical; min-height: 60px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }

.campaign { border: 1px solid var(--hair); border-radius: 14px; padding: 16px; display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.campaign .avatar { width: 48px; height: 48px; border-radius: 11px; flex: none; display: flex; align-items: center; justify-content: center; font-family: 'Space Grotesk', sans-serif; font-weight: 700; color: #fff; background: var(--grad); font-size: 15px; }
.campaign .info { flex: 1; }
.campaign .cn { font-size: 15px; font-weight: 700; color: var(--ink); }
.campaign .co { font-size: 13px; color: var(--body); }
.campaign .cmeta { font-size: 12px; color: var(--muted); margin-top: 3px; }
.status { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; padding: 4px 9px; border-radius: 6px; }
.status.pending { color: #7a5a1a; background: rgba(220,160,40,0.16); }
.status.approved { color: #1d5fa8; background: rgba(11,107,203,0.12); }
.status.active { color: var(--teal-dark); background: rgba(18,165,148,0.14); }
.status.paused { color: var(--body); background: var(--chip); }
.status.past_due { color: #b3261e; background: rgba(220,60,60,0.1); }
.status.rejected { color: var(--body); background: var(--chip); }

.bill-note { font-size: 12.5px; color: var(--body); margin-top: 6px; line-height: 1.45; }
.bill-btn { margin-top: 10px; padding: 9px 16px; font-size: 13px; }
.preview-note { font-size: 12px; color: var(--muted); margin-top: 6px; }
.msg { padding: 12px 14px; border-radius: 11px; font-size: 13.5px; font-weight: 600; margin-bottom: 16px; }
.msg.ok { background: rgba(18,165,148,0.12); color: var(--teal-dark); }
.msg.err { background: rgba(220,60,60,0.08); color: #b3261e; }
.back-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--nav-link); margin-bottom: 20px; }

.top-bar { background: rgba(255,255,255,0.9); backdrop-filter: blur(14px); border-bottom: 1px solid var(--hair); position: sticky; top: 0; z-index: 40; }
.top-bar-inner { max-width: 1000px; margin: 0 auto; padding: 14px 24px; display: flex; justify-content: space-between; align-items: center; }
