/* =====================================================================
   Bhajan Dhun — Human Astrologer Consultations (v2.3.0)
   Builds on teams.css tokens (cream · maroon · saffron).
   ===================================================================== */
.bda { --sf: #f26a1b; --mr: #8a1a14; --mr2: #5b1212; --ink: #2a1a12; --mut: #7a6558; --ln: #f1e2d2; --cr: #fff8ef; --pe: #fdf0e6; --ok: #15803d; --no: #b91c1c; --sh: 0 6px 24px rgba(120, 50, 10, .09); }
.bda-hero { padding: 6px 0 14px; }
.bda-hero h1, .bda-phead h1 { font: 700 30px/1.2 "Lora", Georgia, serif; color: var(--mr2); margin: 0 0 6px; }
.bda-hero p { max-width: 720px; color: #5c4033; }
.bda-benefits { list-style: none; margin: 8px 0 6px; padding: 12px 14px; background: #fff; border: 1px solid var(--ln); border-radius: 14px; display: grid; gap: 6px; font-size: 14px; }
.bda .bdt-progress.bda-progress ol { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.bda-proposed { display: inline-block; background: #fff4e5; color: #9a3412; border: 1px solid #f7c38a; border-radius: 999px; font-size: 11px; font-weight: 700; padding: 1px 8px; vertical-align: middle; }

/* AI astrologer page banner */
.bda-aibanner { max-width: 1100px; margin: 18px auto; padding: 14px 18px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center;
	background: linear-gradient(120deg, #fff5e8, #fde6d6); border: 1px solid #f6d2b6; border-radius: 16px; color: #4a2c1f; font-size: 14px; box-shadow: 0 6px 20px rgba(120, 50, 10, .08); }
.bda-aibanner b { color: #5b1212; }
.bda-aibanner__cta { display: flex; flex-wrap: wrap; gap: 8px; }
.bda-aibanner .bdt-btn { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: linear-gradient(90deg, #fd5a1e, #e8361a); color: #fff; font-weight: 600; text-decoration: none; }
.bda-aibanner .bdt-btn--ghost { background: #fff; color: #8a1a14; border: 1px solid #ead8ca; }

/* Directory */
.bda-filters { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)) auto; gap: 10px; align-items: end; background: #fff; border: 1px solid var(--ln); border-radius: 16px; padding: 12px 14px; margin: 6px 0 10px; }
.bda-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 14px; }
.bda-card { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; background: #fff; border: 1px solid var(--ln); border-radius: 18px; padding: 14px; box-shadow: var(--sh); }
.bda-card__ph { width: 92px; height: 92px; border-radius: 50%; overflow: hidden; background: var(--pe); display: grid; place-items: center; font-size: 34px; }
.bda-card__ph img { width: 100%; height: 100%; object-fit: cover; }
.bda-card h3 { font: 700 18px/1.25 "Lora", Georgia, serif; margin: 2px 0 4px; }
.bda-card h3 a { color: var(--mr2); }
.bda-card__meta { font-size: 13px; color: var(--mut); margin: 0 0 4px !important; }
.bda-card .bdt-pills span { padding: 3px 9px; font-size: 12px; }
.bda-card__trust { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 8px 0 0 !important; font-size: 12.5px; }
.bda-card__cta { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px dashed var(--ln); padding-top: 10px; }
.bda-from { font-size: 13px; color: var(--mut); }
.bda-from b { font-size: 17px; color: var(--mr2); }
.bda-rating { color: #b45309; font-weight: 700; }
.bda-rating small { color: var(--mut); font-weight: 400; }
.bda-new { display: inline-block; background: #f6ebe1; color: #7a4a2c; border-radius: 999px; padding: 2px 9px; font-size: 11.5px; font-weight: 600; }
.bda-join { margin-top: 26px; }

/* Profile */
.bda-phead { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px; align-items: center; background: #fff; border: 1px solid var(--ln); border-radius: 20px; padding: 18px 20px; box-shadow: var(--sh); margin-bottom: 16px; }
.bda-phead__ph { width: 150px; height: 150px; border-radius: 50%; overflow: hidden; background: var(--pe); display: grid; place-items: center; font-size: 50px; border: 4px solid #fde6d6; }
.bda-phead__ph img { width: 100%; height: 100%; object-fit: cover; }
.bda-prof__grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 18px; align-items: start; }
.bda-prof__side { position: sticky; top: calc(var(--bd-hh, 70px) + 12px); }
.bda-video { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; }
.bda-video iframe, .bda-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.bda-svclist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bda-svclist li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid var(--ln); border-radius: 12px; background: var(--cr); }
.bda-svclist small { display: block; color: var(--mut); font-size: 12.5px; }
.bda-svclist p { margin: 4px 0 0 !important; font-size: 13.3px; }
.bda-price { font: 700 17px var(--bd-body); color: var(--mr2); white-space: nowrap; text-align: right; }
.bda-price small { display: block; font: 400 11px var(--bd-body); color: var(--mut); }
.bda-rev { border-bottom: 1px dashed var(--ln); padding: 8px 0; }
.bda-rev b { color: #b45309; letter-spacing: 1px; }
.bda-rev small { color: var(--mut); }
.bda-rev p { margin: 4px 0 0 !important; }
.bda-lbl { display: block; font-size: 13px; color: #5c3a28; margin-bottom: 6px; }
.bda-lbl small { font-weight: 400; color: var(--mut); }
.bda-days { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x proximity; }
.bda-day-chip { flex: none; scroll-snap-align: start; min-width: 74px; display: grid; gap: 1px; text-align: center; padding: 7px 8px; border-radius: 12px; border: 1px solid #ead8ca; background: #fff; cursor: pointer; font: 400 12px var(--bd-body); color: var(--ink); }
.bda-day-chip b { font-size: 13.5px; }
.bda-day-chip small { font-size: 10.5px; color: var(--mut); }
.bda-day-chip[aria-selected=true] { background: var(--mr); border-color: var(--mr); color: #fff; }
.bda-day-chip[aria-selected=true] small { color: #fde6d6; }
.bda-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 6px; }
.bda-slot { min-height: 40px; border-radius: 10px; border: 1px solid #ead8ca; background: #fffdfa; font: 600 13px var(--bd-body); color: var(--mr2); cursor: pointer; }
.bda-slot:hover { border-color: #e2a777; }
.bda-slot[aria-pressed=true] { background: linear-gradient(90deg, #fd5a1e, #e8361a); border-color: transparent; color: #fff; }
.bda-day-chip:focus-visible, .bda-slot:focus-visible { outline: 2px solid #f5a524; outline-offset: 2px; }
.bda-picked { background: #ecfdf3; border: 1px solid #bbf0cf; color: #14532d; border-radius: 10px; padding: 8px 10px; font-size: 13.3px; font-weight: 600; margin: 0 !important; }
.bda-policy { background: var(--cr); border: 1px solid var(--ln); border-radius: 12px; padding: 10px 12px; font-size: 12.8px; }
.bda-policy ul, .bda-policylist { margin: 6px 0 0; padding-left: 18px; display: grid; gap: 3px; }

/* Onboarding */
.bda-photo { display: flex; gap: 12px; align-items: center; }
.bda-av { width: 64px; height: 64px; font-size: 26px; }
.bda-docs { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.bda-docs li { display: flex; justify-content: space-between; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--ln); border-radius: 10px; padding: 4px 4px 4px 10px; font-size: 13px; }
.bda-svcs { display: grid; gap: 10px; }
.bda-svc { position: relative; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr); gap: 10px; padding: 12px 44px 12px 12px; border: 1px solid var(--ln); border-radius: 12px; background: var(--cr); }
.bda-svc__desc { grid-column: 1 / -1; }
.bda-svc > .bdt-x { position: absolute; right: 8px; top: 8px; }
.bda-svc > .bdt-ferr { grid-column: 1 / -1; }
.bda-week { display: grid; gap: 6px; }
.bda-day { display: grid; grid-template-columns: 100px repeat(3, minmax(0, 1fr)); gap: 8px; align-items: center; padding: 6px 8px; border-radius: 10px; background: var(--cr); }
.bda-day > b { font-size: 13px; color: #5c3a28; }
.bda-day > .bdt-ferr { grid-column: 1 / -1; }
.bda-win { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--mut); min-width: 0; }
.bda .bda-win input[type=time] { min-height: 36px; padding: 4px 6px; font-size: 13px; min-width: 0; width: 100%; }
.bda-split { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.bda-split div { background: var(--cr); border: 1px solid var(--ln); border-radius: 12px; padding: 10px 12px; display: grid; gap: 2px; }
.bda-split b { font: 700 19px var(--bd-body); color: var(--mr2); }
.bda-split small { font-size: 12px; color: var(--mut); }
.bda-agreement { max-height: 340px; overflow-y: auto; }
.bda-stats div { display: grid; gap: 2px; }
.bda-stats small { font-size: 12.5px; color: var(--mut); }
.bda-notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.bda-notes li { border-bottom: 1px dashed var(--ln); padding-bottom: 6px; font-size: 13.5px; }
.bda-notes small { display: block; color: var(--mut); }

/* Bookings */
.bda-blist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bda-brow { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--ln); border-radius: 12px; background: #fff; font-size: 14px; }
.bda-brow small { color: var(--mut); font-size: 12.5px; }
.bda-brow__r { display: flex; align-items: center; gap: 8px; flex: none; }
.bda-st--confirmed, .bda-st--completed, .bda-ast--approved { background: #e9f7ee !important; color: #166534 !important; }
.bda-st--in_progress { background: #e0f2fe !important; color: #075985 !important; }
.bda-st--awaiting_payment, .bda-st--refund_pending, .bda-st--disputed, .bda-ast--submitted, .bda-ast--review, .bda-ast--changes_requested { background: #fff4e5 !important; color: #9a3412 !important; }
.bda-st--cancelled, .bda-st--expired, .bda-st--no_show_astrologer, .bda-st--no_show_customer, .bda-ast--rejected, .bda-ast--suspended { background: #fdecec !important; color: #991b1b !important; }
.bda-room__grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 18px; align-items: start; }
.bda-room__chat { position: sticky; top: calc(var(--bd-hh, 70px) + 12px); }
.bda-dl { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 8px 14px; margin: 0 0 10px; }
.bda-dl dt { font-size: 12.5px; color: var(--mut); font-weight: 600; }
.bda-dl dd { margin: 0; font-size: 14px; overflow-wrap: anywhere; }
.bda-dl small { color: var(--mut); }
.bda-paybig { font: 700 30px var(--bd-body); color: var(--mr2); margin: 4px 0 10px !important; }
.bda-actions .bdt-btn, .bda-actions details { margin: 0 6px 8px 0; }
.bda-actions details .bda-days { margin-top: 8px; }
.bda-actions details .bda-slots { margin: 8px 0; }
.bda-stars { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; border: 0 !important; padding: 0 !important; background: none !important; }
.bda-stars legend { float: left; width: 100%; margin-bottom: 4px; font: 600 13px var(--bd-body) !important; }
.bda-stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bda-stars label { font-size: 30px; color: #e5d5c7; cursor: pointer; line-height: 1; }
.bda-stars input:checked ~ label, .bda-stars label:hover, .bda-stars label:hover ~ label { color: #f59e0b; }
.bda-stars input:focus-visible + label { outline: 2px solid #f5a524; border-radius: 4px; }
.bda-chatnote { padding: 10px 12px; margin: 0 !important; }
.bda-receipt { max-width: 760px; }
.bda-rtable { min-width: 0 !important; }
.bda-rtable th { width: 42%; }
@media print { .bda-receipt .bdt-btn, .bda-receipt .bdt-link, header.site-header, footer, .bd-header, .bd-footer, .bdmm, .bd-bottom-nav { display: none !important; } }

@media (max-width: 1000px) {
	.bda-prof__grid, .bda-room__grid { grid-template-columns: minmax(0, 1fr); }
	.bda-prof__side, .bda-room__chat { position: static; }
	.bda-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bda-filters > label:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
	.bda-hero h1, .bda-phead h1 { font-size: 24px; }
	.bda-phead { grid-template-columns: 1fr; text-align: center; justify-items: center; }
	.bda-phead .bdt-pills, .bda-phead .bda-card__trust { justify-content: center; }
	.bda-phead__ph { width: 120px; height: 120px; }
	.bda-svc { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.bda-svc > label:first-of-type { grid-column: 1 / -1; }
	.bda-day { grid-template-columns: minmax(0, 1fr); }
	.bda-split { grid-template-columns: minmax(0, 1fr); }
	.bda-dl { grid-template-columns: minmax(0, 1fr); gap: 2px 0; }
	.bda-dl dd { margin-bottom: 8px; }
	.bda-brow { flex-direction: column; align-items: flex-start; }
	.bda-filters { grid-template-columns: minmax(0, 1fr); }
	.bda-card { grid-template-columns: 72px minmax(0, 1fr); }
	.bda-card__ph { width: 72px; height: 72px; }
	.bda-progress ol { grid-template-columns: repeat(7, minmax(0, 1fr)); }
	.bda-progress small { display: none; }
}
.bda-book .bdt-form, .bda-room .bda-actions details { grid-template-columns: minmax(0, 1fr); min-width: 0; }
.bda-book .bdt-form > *, .bda-prof__side, .bda-room__main, .bda-room__chat, .bda-prof__main { min-width: 0; }
