/* Customer-facing astrologer pages: profile, booking, confirmation. Mobile first. */
:root { --ink: #1b1a3a; --soft: #5d5f7e; --bg: #f3f4fb; --line: #e6e8f4; --violet: #6c5ce7; --violet2: #8e7bff; --gold: #f5b942; --ok: #0d8f80; --bad: #c0305f; }
* { box-sizing: border-box; }
body.ap { margin: 0; background: var(--bg); color: var(--ink); font-family: 'Poppins', 'Segoe UI', system-ui, sans-serif; line-height: 1.55; }
.ap-hero { background: radial-gradient(120% 90% at 10% 0%, #3a2f8f 0%, #17143a 70%); color: #fff; padding: 28px 18px 70px; text-align: center; }
.ap-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 600; font-size: .9rem; opacity: .9; margin-bottom: 18px; }
.ap-brand img { width: 30px; height: 30px; border-radius: 9px; }
.ap-avatar { width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 12px; display: grid; place-items: center; font-size: 2.4rem; font-weight: 700; background: linear-gradient(135deg, var(--gold), #ec5b8c); box-shadow: 0 0 0 4px rgba(255,255,255,.18); }
.ap-hero h1 { margin: 0; font-family: 'Playfair Display', Georgia, serif; font-size: 1.7rem; }
.ap-hero p { margin: 6px 0 0; opacity: .85; font-size: .92rem; }
.ap-wrap { max-width: 720px; margin: -46px auto 40px; padding: 0 14px; }
.ap-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 8px 28px rgba(27,26,58,.08); padding: 22px; margin-bottom: 16px; }
.ap-card h2 { margin: 0 0 8px; font-family: 'Playfair Display', Georgia, serif; font-size: 1.15rem; }
.ap-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; justify-content: center; }
.ap-tag { padding: 4px 11px; border-radius: 999px; background: rgba(255,255,255,.14); font-size: .76rem; }
.ap-card .ap-tag { background: #eceef8; color: var(--soft); }
.ap-cta { display: grid; gap: 10px; }
.ap-btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 18px; border: 0; border-radius: 14px; font: inherit; font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; color: #fff; background: linear-gradient(135deg, var(--violet), var(--violet2)); box-shadow: 0 10px 22px rgba(108,92,231,.3); }
.ap-btn.wa { background: linear-gradient(135deg, #1faa59, #25d366); box-shadow: 0 10px 22px rgba(37,211,102,.28); }
.ap-btn.ghost { background: #fff; color: var(--violet); border: 1.5px solid #d9dcf6; box-shadow: none; }
.ap-btn[disabled] { opacity: .55; cursor: wait; }
.ap-price { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 0; font-size: .92rem; }
.ap-price.total { border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 10px; font-weight: 700; font-size: 1.05rem; }
.ap-muted { color: var(--soft); font-size: .84rem; }
.ap-field { margin-bottom: 14px; }
.ap-field label { display: block; margin-bottom: 6px; font-size: .84rem; font-weight: 600; }
.ap-field input, .ap-field select, .ap-field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; font-size: .95rem; background: #fbfbff; color: var(--ink); }
.ap-field input:focus, .ap-field select:focus, .ap-field textarea:focus { outline: 0; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(108,92,231,.14); background: #fff; }
.ap-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .ap-row { grid-template-columns: 1fr; } }
.ap-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.ap-slot { padding: 10px 6px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; color: var(--ink); }
.ap-slot:hover { border-color: var(--violet); }
.ap-slot.on { background: var(--violet); border-color: var(--violet); color: #fff; }
.ap-note { padding: 11px 14px; border-radius: 12px; font-size: .88rem; margin: 10px 0; }
.ap-note.err { background: rgba(236,91,140,.13); color: var(--bad); }
.ap-note.ok { background: rgba(25,182,164,.13); color: var(--ok); }
.ap-note.info { background: #eef0ff; color: #3b3f8f; }
.ap-modes { display: flex; flex-wrap: wrap; gap: 8px; }
.ap-modes label { position: relative; cursor: pointer; }
.ap-modes input { position: absolute; opacity: 0; }
.ap-modes span { display: inline-block; padding: 9px 15px; border: 1.5px solid var(--line); border-radius: 999px; font-size: .88rem; font-weight: 600; background: #fff; }
.ap-modes input:checked + span { background: var(--violet); color: #fff; border-color: var(--violet); }
.ap-foot { text-align: center; color: var(--soft); font-size: .76rem; padding: 0 14px 30px; }
.ap-foot a { color: var(--violet); }
.ap-check { width: 74px; height: 74px; border-radius: 50%; margin: 0 auto 12px; display: grid; place-items: center; background: rgba(25,182,164,.14); color: var(--ok); font-size: 2.4rem; }
details.ap-more summary { cursor: pointer; font-weight: 600; font-size: .9rem; color: var(--violet); margin-bottom: 10px; }
