/* Calendar-only styles; loaded once by Pages/_Host.cshtml. */
.bp-calendar-page { min-width: 0; width: 100%; }
.bp-calendar-page .bp-calendar-initializing { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 56px 20px; color: #ddd; text-align: center; }
.bp-calendar-page .bp-mobile-spinner { width: 28px; height: 28px; border: 3px solid #3c342b; border-top-color: #ff9800; border-radius: 50%; animation: bp-mobile-spin .8s linear infinite; }
.bp-calendar-page .bp-mobile-calendar { --bp-accent: #ffad3d; --bp-text: #f5f2ed; --bp-muted: #b3aca3; min-width: 0; color: var(--bp-text); }
.bp-calendar-page .bp-mobile-calendar *, .bp-calendar-page .bp-mobile-calendar *::before, .bp-calendar-page .bp-mobile-calendar *::after { box-sizing: border-box; }
.bp-calendar-page .bp-mobile-calendar button { font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.bp-calendar-page .bp-mobile-calendar button:disabled { cursor: wait; opacity: .65; }
.bp-calendar-page .bp-mobile-calendar button:focus-visible, .bp-calendar-page .bp-mobile-date-picker:focus-within { outline: 2px solid #ffc777; outline-offset: 3px; }
.bp-calendar-page .bp-mobile-toolbar { display: flex; align-items: center; gap: 8px; margin: 3px 0 18px; }
.bp-calendar-page .bp-mobile-month { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 5px; font-size: 23px; font-weight: 750; text-transform: capitalize; letter-spacing: -.6px; }
.bp-calendar-page .bp-mobile-eyebrow { display: block; color: var(--bp-muted, #b3aca3); font-size: 10px; font-weight: 700; letter-spacing: 1.3px; text-transform: uppercase; line-height: 1.5; }
.bp-calendar-page .bp-mobile-month .bp-mobile-eyebrow { font-size: 8px; letter-spacing: 1.1px; }
.bp-calendar-page .bp-mobile-today { border: 1px solid #574332; border-radius: 12px; min-height: 44px; padding: 9px 15px; background: #30251b; color: #ffc77e; font: inherit; font-weight: 700; cursor: pointer; }
.bp-calendar-page .bp-mobile-date-picker { position: relative; display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border: 1px solid #393734; border-radius: 12px; background: #242321; color: #ded7cc; overflow: hidden; }
.bp-calendar-page .bp-mobile-date-picker input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; color-scheme: dark; }
.bp-calendar-page .bp-mobile-date-picker input::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: auto; height: auto; cursor: pointer; }
.bp-calendar-page .bp-mobile-week-nav { display: flex; justify-content: space-between; align-items: center; margin: 0 0 10px; color: var(--bp-muted); font-size: 12px; font-weight: 600; }
.bp-calendar-page .bp-mobile-icon-button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; background: #252421; border: 1px solid #3b3833; border-radius: 12px; color: #e3ded6; }
.bp-calendar-page .bp-mobile-week-nav .bp-mobile-icon-button { background: transparent; border-color: transparent; }
.bp-calendar-page .bp-mobile-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; margin: 0 0 24px; }
.bp-calendar-page .bp-mobile-day { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-width: 0; min-height: 100px; padding: 10px 2px 12px; border: 1px solid #37332e; border-radius: 15px; background: linear-gradient(155deg, #282521, #201e1b); color: #c4bdb4; transition: background .16s, border-color .16s; }
.bp-calendar-page .bp-mobile-day-name { font-size: 10px; line-height: 1.25; font-weight: 700; }
.bp-calendar-page .bp-mobile-day-number { font-size: 21px; line-height: 1.3; font-weight: 750; font-variant-numeric: tabular-nums; }
.bp-calendar-page .bp-mobile-day-count { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 4px; border-radius: 20px; background: #4b3828; color: #ffd395; font-size: 10px; font-weight: 800; }
.bp-calendar-page .bp-mobile-day-count.is-empty { background: #35322d; color: #bab1a7; }
.bp-calendar-page .bp-mobile-day.is-selected { background: linear-gradient(155deg, #ffbe64, #ff990f); color: #221608; border-color: #ffbb58; box-shadow: 0 6px 20px #ff980022; }
.bp-calendar-page .bp-mobile-day.is-selected .bp-mobile-day-count { background: #382818; color: #fff3df; }
.bp-calendar-page .bp-mobile-today-dot { position: absolute; bottom: 4px; width: 4px; height: 4px; border-radius: 50%; background: transparent; }
.bp-calendar-page .bp-mobile-day.is-today .bp-mobile-today-dot { background: #ffbd67; }
.bp-calendar-page .bp-mobile-day.is-today.is-selected .bp-mobile-today-dot { background: #382818; }
.bp-calendar-page .bp-mobile-swipe { touch-action: pan-y pinch-zoom; min-height: 275px; overflow: hidden; margin: 0 -2px; padding: 0 2px; }
.bp-calendar-page .bp-mobile-day-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 18px; }
.bp-calendar-page .bp-mobile-day-heading h2 { color: var(--bp-text); margin: 4px 0 0; font-size: 29px; font-weight: 760; line-height: 1.2; letter-spacing: -.8px; text-transform: capitalize; }
.bp-calendar-page .bp-mobile-total { flex-shrink: 0; padding: 7px 10px; border: 1px solid #42382b; border-radius: 9px; background: #2d261d; color: #e8c79a; font-size: 11px; }
.bp-calendar-page .bp-mobile-day-panel { display: flex; flex-direction: column; gap: 14px; transform: translateX(var(--bp-swipe-x, 0px)); transition: transform .18s ease-out; animation: bp-mobile-enter .2s ease-out; }
.bp-calendar-page .bp-mobile-day-panel.is-dragging { transition: none; user-select: none; }
.bp-calendar-page .bp-mobile-event { position: relative; min-width: 0; border: 1px solid #484037; border-radius: 19px; background: #231f1b; overflow: hidden; box-shadow: 0 8px 25px #0003; }
.bp-calendar-page .bp-mobile-event.is-live { border-color: #98c481; }
.bp-calendar-page .bp-mobile-event.is-past { border-color: #3a3733; }
.bp-calendar-page .bp-mobile-event.is-past .bp-mobile-event-image { filter: grayscale(.75); opacity: .6; }
.bp-calendar-page .bp-mobile-event-main { isolation: isolate; position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 12px; width: 100%; padding: 18px; border: 0; background: #27231f; color: #f8f5ef; text-align: left; min-height: 196px; }
.bp-calendar-page .bp-mobile-event-main:focus-visible { outline-offset: -4px !important; }
.bp-calendar-page .bp-mobile-event-image, .bp-calendar-page .bp-mobile-event-shade { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.bp-calendar-page .bp-mobile-event-image { background-position: center; background-size: cover; }
.bp-calendar-page .bp-mobile-event-shade { background: linear-gradient(90deg, #171511e8 0%, #171511a6 70%, #17151199 100%), linear-gradient(0deg, #201c18 0%, #201c1800 65%); }
.bp-calendar-page .bp-mobile-event-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.bp-calendar-page .bp-mobile-event-type { color: #ffd296; font-size: 10px; font-weight: 750; letter-spacing: 1.5px; text-transform: uppercase; }
.bp-calendar-page .bp-mobile-status { border-radius: 5px; padding: 4px 6px; background: #302e2bcc; color: #d4cdc2; font-size: 9px; font-weight: 750; letter-spacing: .8px; }
.bp-calendar-page .bp-mobile-status.is-live { color: #c2f1a8; background: #253722e8; }
.bp-calendar-page .bp-mobile-event-time { display: flex; align-items: baseline; gap: 8px; font-variant-numeric: tabular-nums; }
.bp-calendar-page .bp-mobile-event-time strong { font-size: 34px; font-weight: 750; line-height: 1; letter-spacing: -1.2px; }
.bp-calendar-page .bp-mobile-event-time > span { color: #d7d0c5; font-size: 16px; }
.bp-calendar-page .bp-mobile-event-title { font-size: 18px; font-weight: 700; line-height: 1.4; overflow-wrap: anywhere; }
.bp-calendar-page .bp-mobile-event-dates { color: #d5cbbc; font-size: 11px; margin-top: -5px; }
.bp-calendar-page .bp-mobile-event-details { display: flex; align-items: center; gap: 5px; margin-top: auto; color: #cfc2ad; font-size: 11px; }
.bp-calendar-page .bp-mobile-event-details .rzi { font-size: 15px; }
.bp-calendar-page .bp-mobile-event-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 9px; padding: 11px 13px; border-top: 1px solid #4b3d2c80; background: #25211d; }
.bp-calendar-page .bp-mobile-participants { display: flex; align-items: center; gap: 5px; color: #c8beb0; font-size: 11px; }
.bp-calendar-page .bp-mobile-participants strong { color: #fff1de; }
.bp-calendar-page .bp-mobile-participants .rzi { color: #bca789; font-size: 19px; margin-right: 2px; }
.bp-calendar-page .bp-mobile-signup { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 9px 11px; border: 1px solid #695038; border-radius: 11px; color: #ffd49c; background: #443120; font-size: 11px !important; font-weight: 700 !important; }
.bp-calendar-page .bp-mobile-signup .rzi { font-size: 19px; }
.bp-calendar-page .bp-mobile-signup.is-signed-up { background: #283b27; border-color: #4a6741; color: #cff0bc; }
.bp-calendar-page .bp-mobile-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 240px; padding: 28px 22px; border: 1px dashed #4b4134; border-radius: 19px; background: radial-gradient(ellipse at top, #382b1c55, #211d1980); text-align: center; }
.bp-calendar-page .bp-mobile-empty-icon { display: grid; place-items: center; width: 60px; height: 60px; background: #3c2c1e; border: 1px solid #5b422b; border-radius: 19px; margin-bottom: 18px; color: #ffbc68; }
.bp-calendar-page .bp-mobile-empty-icon .rzi { font-size: 30px; }
.bp-calendar-page .bp-mobile-empty h3 { margin: 0 0 9px; color: #eee8df; font-size: 19px; font-weight: 700; }
.bp-calendar-page .bp-mobile-empty p { max-width: 260px; margin: 0; color: #bdb1a2; font-size: 13px; line-height: 1.65; }
.bp-calendar-page .bp-mobile-skeleton { min-height: 235px; border-radius: 19px; background: linear-gradient(110deg, #28231e 25%, #393027 45%, #28231e 65%); background-size: 220% 100%; animation: bp-mobile-shimmer 1.4s linear infinite; }
.bp-calendar-page .bp-mobile-day-nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 22px; }
.bp-calendar-page .bp-mobile-day-nav > span { display: flex; align-items: center; justify-content: center; gap: 6px; color: #c0b19e; font-size: 10px; }
.bp-calendar-page .bp-mobile-day-nav > span .rzi { font-size: 17px; }
.bp-calendar-page .bp-mobile-timezone { margin: 15px 0 22px; color: #b2a591; font-size: 10px; text-align: center; line-height: 1.6; overflow-wrap: anywhere; }

@media (max-width: 767px) {
    .bp-calendar-page .bp-calendar-heading { flex-wrap: wrap; gap: 12px !important; }
    .bp-calendar-page .bp-calendar-heading .rz-text { font-size: 23px !important; font-weight: 700; }
    .bp-calendar-page .bp-calendar-heading .rz-button { min-height: 42px; padding: 8px 11px; font-size: 12px; }
}
@media (max-width: 359px) {
    .bp-calendar-page .bp-mobile-month { font-size: 20px; }
    .bp-calendar-page .bp-mobile-month .bp-mobile-eyebrow { font-size: 7px; }
    .bp-calendar-page .bp-mobile-today { padding: 9px 11px; }
    .bp-calendar-page .bp-mobile-days { gap: 3px; }
    .bp-calendar-page .bp-mobile-day { border-radius: 11px; }
    .bp-calendar-page .bp-mobile-day-name { font-size: 9px; }
    .bp-calendar-page .bp-mobile-event-main { padding: 16px; }
}
@keyframes bp-mobile-spin { to { transform: rotate(360deg); } }
@keyframes bp-mobile-shimmer { to { background-position: -220% 0; } }
@keyframes bp-mobile-enter { from { opacity: .45; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
    .bp-calendar-page .bp-mobile-day-panel, .bp-calendar-page .bp-mobile-day, .bp-calendar-page .bp-mobile-skeleton, .bp-calendar-page .bp-mobile-spinner { animation: none; transition: none; }
}
