/* ============================================
   SCHEDULE.PHP - PAGE-SPECIFIC STYLES
   ============================================
   Używane tylko w: schedule.php
   Prefix: p-schedule-*
   ============================================ */

/* ============================================
   COMPACT TABLE STYLES
   ============================================ */
.date-header,
.p-schedule-date-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #f6f6f6;
    border-bottom: 1px solid #ececec;
    padding: 8px 16px;
    font-size: 11px;
    font-weight: 800;
    color: #333333;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

/* ============================================
   GRID ROW BASE
   ============================================ */
.course-row,
.p-schedule-course-row {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid #f6f6f6;
    background: white;
    cursor: pointer;
}

.course-row:active,
.p-schedule-course-row:active {
    background-color: #f6f6f6;
}

/* ============================================
   ALIGNMENT MODIFIERS
   ============================================ */
.row-center,
.p-schedule-row-center {
    align-items: start;
}

.row-start,
.p-schedule-row-start {
    align-items: start;
}

/* ============================================
   COLUMN STYLES
   ============================================ */
.col-time,
.p-schedule-col-time {
    display: flex;
    flex-direction: column;
    align-self: start;
    gap: 4px;
}

.time-text,
.p-schedule-time-text {
    font-size: 13px;
    font-weight: 800;
    color: #333333;
    line-height: 1.2;
}

.col-info,
.p-schedule-col-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
    overflow: hidden;
}

.course-name,
.p-schedule-course-name {
    font-size: 13px;
    font-weight: 600;
    color: #333333;
    line-height: 1.2;
}

.course-meta,
.p-schedule-course-meta {
    font-size: 11px;
    color: #636363;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    line-height: 1.2;
}

/* ============================================
   HEADER & FILTERS
   ============================================ */
.compact-header,
.p-schedule-compact-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px 12px 0 12px;
    background: white;
    border-bottom: 1px solid #ececec;
    z-index: 20;
}

.header-row-top,
.p-schedule-header-row-top {
    display: flex;
    gap: 8px;
    align-items: center;
}

.compact-search,
.p-schedule-compact-search {
    flex: 1;
    background: #f6f6f6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding: 8px 10px;
    gap: 8px;
}

.compact-search input,
.p-schedule-compact-search input {
    background: transparent;
    border: none;
    outline: none;
    font-size: 12px;
    width: 100%;
}

/* ============================================
   FILTERS ROW
   ============================================ */
.filters-row,
.p-schedule-filters-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    overflow: visible;
    padding-bottom: 8px;
    margin-top: 4px;
    min-height: 0;
    align-items: flex-start;
}

.filters-row.hidden,
.p-schedule-filters-row.hidden {
    display: none !important;
}

#applied-filters {
    display: flex;
    flex: 1 1 100%;
    flex-wrap: wrap;
    gap: 6px;
    min-width: 0;
}

#applied-filters.hidden {
    display: none !important;
}

.activity-side-meta,
.p-schedule-activity-side-meta {
    display: flex;
    flex-shrink: 0;
    min-width: max-content;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.activity-level-row,
.p-schedule-activity-level-row {
    display: flex;
    min-height: 20px;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
}

/* ============================================
   CHIP STYLES
   ============================================ */
.chip-suggestion,
.p-schedule-chip-suggestion {
    padding: 4px 10px;
    border-radius: 16px;
    font-size: 10px;
    font-weight: 600;
    background: white;
    border: 1px solid #ececec;
    color: #636363;
    white-space: nowrap;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s;
}

.chip-suggestion:active,
.p-schedule-chip-suggestion:active {
    background: #f6f6f6;
    transform: scale(0.95);
}

.chip-suggestion.highlight,
.p-schedule-chip-suggestion.highlight {
    border-color: #ececec;
    background: #f6f6f6;
    color: #333333;
}

.badge-level-neutral,
.badge-level-p0-start {
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.1;
    padding: 3px 7px;
}

.badge-level-neutral {
    background: var(--ui-info-soft);
    color: var(--ui-info-text);
}

.badge-level-p0-start {
    background: var(--ui-success-soft);
    color: var(--ui-success-text);
}

.filter-option-disabled {
    cursor: not-allowed;
}

.filter-option-disabled-chip,
.filter-day-btn.filter-option-disabled {
    background: #f6f6f6 !important;
    color: #636363 !important;
    opacity: 0.48;
    box-shadow: none !important;
}

.filter-option-disabled-chip {
    border-color: #ececec !important;
}

.filter-day-btn.filter-option-disabled {
    pointer-events: none;
}

.chip-suggestion.p-schedule-format-filter {
    min-width: 58px;
    min-height: 48px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 4px 8px;
}

.p-schedule-format-filter-icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: currentColor;
}

.p-schedule-format-filter-icon svg,
.p-schedule-format-filter-icon img {
    width: 18px;
    height: 18px;
}

.p-schedule-format-filter-icon svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.p-schedule-format-filter-icon img {
    opacity: 0.72;
}

.p-schedule-format-filter.active {
    border-color: #ed9799;
    background: #fceded;
    color: #950c0f;
}

.p-schedule-recurrence-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.p-schedule-recurrence-option {
    min-width: 0;
    cursor: pointer;
}

.p-schedule-recurrence-filter {
    display: flex;
    min-height: 52px;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border: 1px solid #ececec;
    border-radius: 10px;
    background: #f6f6f6;
    color: #636363;
    transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.p-schedule-recurrence-filter > span {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 2px;
}

.p-schedule-recurrence-filter strong {
    overflow: hidden;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.p-schedule-recurrence-filter small {
    color: #636363;
    font-size: 9px;
    font-weight: 600;
    line-height: 1.2;
}

.p-schedule-recurrence-option input:checked + .p-schedule-recurrence-filter {
    border-color: #d7181c;
    background: #fceded;
    box-shadow: 0 0 0 1px #d7181c;
    color: #950c0f;
}

.p-schedule-recurrence-option input:checked + .p-schedule-recurrence-filter small {
    color: #d7181c;
}

@media (max-width: 360px) {
    .p-schedule-recurrence-options {
        grid-template-columns: 1fr;
    }
}

.chip-applied,
.p-schedule-chip-applied {
    padding: 4px 8px 4px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    background: #fceded;
    border: 1px solid #ed9799;
    color: #950c0f;
    white-space: nowrap;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.chip-remove,
.p-schedule-chip-remove {
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    color: #950c0f;
    font-size: 8px;
}

.chip-more,
.p-schedule-chip-more {
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 600;
    background: #f6f6f6;
    border: 1px solid #ececec;
    color: #636363;
    white-space: nowrap;
    flex-shrink: 0;
    cursor: pointer;
}

.chip-more:active,
.p-schedule-chip-more:active {
    background: #ececec;
}

/* ============================================
   ANCHOR BAR
   ============================================ */
.anchor-bar,
.p-schedule-anchor-bar {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding-top: 4px;
    padding-bottom: 8px;
    border-top: 1px solid #f6f6f6;
}

.anchor-day,
.p-schedule-anchor-day {
    font-size: 11px;
    font-weight: 600;
    color: #636363;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s;
}

.anchor-day:hover,
.anchor-day.active,
.p-schedule-anchor-day:hover,
.p-schedule-anchor-day.active {
    color: #d7181c;
    font-weight: 800;
}

/* ============================================
   BOTTOM SHEET
   ============================================ */

.sheet-content,
.p-schedule-sheet-content {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    position: relative;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
}

.filter-content,
.p-schedule-filter-content {
    padding: 0 20px 20px 20px;
}

.sheet-footer,
.p-schedule-sheet-footer {
    padding: 16px 20px 30px 20px;
    background: white;
    border-top: 1px solid #f6f6f6;
    z-index: 10;
}

/* ============================================
   DETAILS STYLES
   ============================================ */
/* 
   UWAGA: Style dla course detail bottom sheet zostały przeniesione do schedule.php
   jako inline styles (linie 292-317) z nowymi nazwami klas:
   - .bottom-sheet-course-detail-header
   - .bottom-sheet-course-detail-booking-card
   - .bottom-sheet-course-detail-spot-indicator
   - .bottom-sheet-course-detail-spot-dot
   - .bottom-sheet-course-detail-cross-sell-item
   
   Stare style (.details-header, .booking-card, etc.) zostały usunięte po refaktoryzacji.
*/







/* ============================================
   ACTIVITY DETAIL CARD
   ============================================ */

#bottom_sheet_activity_detail {
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    overflow: hidden;
}

#bottom_sheet_activity_detail .bottom-sheet-content {
    flex: 1;
    min-height: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: transparent;
}

#bottom_sheet_activity_detail .bottom-sheet-header {
    display: none;
}

.p-schedule-activity-detail {
    display: grid;
    --p-schedule-slide-gap: 28px;
    --p-schedule-slide-duration: 720ms;
    flex: 1;
    height: 100%;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    border-radius: 24px;
    background: #ffffff;
}

.p-schedule-activity-detail-view {
    display: flex;
    grid-area: 1 / 1;
    flex: 1;
    height: 100%;
    min-height: 0;
    min-width: 0;
}

/* Tailwind's generic .hidden loses to the view layout rule above. */
.p-schedule-activity-detail-view.hidden {
    display: none;
}

.p-schedule-activity-detail-view.is-view-entering {
    animation: p-schedule-activity-detail-view-enter 460ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.p-schedule-activity-detail-view.is-view-slide-transitioning {
    pointer-events: none;
    transition: transform var(--p-schedule-slide-duration) cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: transform;
}

.p-schedule-activity-detail-view.is-view-slide-entering {
    z-index: 1;
}

.p-schedule-activity-detail-view.is-view-slide-entering.is-view-slide-forward {
    transform: translateX(calc(100% + var(--p-schedule-slide-gap)));
}

.p-schedule-activity-detail-view.is-view-slide-entering.is-view-slide-backward {
    transform: translateX(calc(-100% - var(--p-schedule-slide-gap)));
}

.p-schedule-activity-detail-view.is-view-slide-entering.is-view-slide-up {
    transform: translateY(calc(100% + var(--p-schedule-slide-gap)));
}

.p-schedule-activity-detail-view.is-view-slide-entering.is-view-slide-down {
    transform: translateY(calc(-100% - var(--p-schedule-slide-gap)));
}

.p-schedule-activity-detail-view.is-view-slide-entering.is-view-slide-active {
    transform: translateX(0);
}

.p-schedule-activity-detail-view.is-view-slide-leaving {
    z-index: 0;
}

.p-schedule-activity-detail-view.is-view-slide-leaving.is-view-slide-forward.is-view-slide-active {
    transform: translateX(calc(-100% - var(--p-schedule-slide-gap)));
}

.p-schedule-activity-detail-view.is-view-slide-leaving.is-view-slide-backward.is-view-slide-active {
    transform: translateX(calc(100% + var(--p-schedule-slide-gap)));
}

.p-schedule-activity-detail-view.is-view-slide-leaving.is-view-slide-up.is-view-slide-active {
    transform: translateY(calc(-100% - var(--p-schedule-slide-gap)));
}

.p-schedule-activity-detail-view.is-view-slide-leaving.is-view-slide-down.is-view-slide-active {
    transform: translateY(calc(100% + var(--p-schedule-slide-gap)));
}

@keyframes p-schedule-activity-detail-view-enter {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.p-schedule-activity-detail-card {
    display: flex;
    width: 100%;
    height: 100%;
    max-width: none;
    min-height: 0;
    margin: 0;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid #f6f6f6;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 10px 15px -3px rgba(51, 51, 51, 0.1), 0 4px 6px -4px rgba(51, 51, 51, 0.1);
    transition: box-shadow 0.3s ease;
}

.p-schedule-activity-detail-detail-card {
    overflow-y: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.p-schedule-activity-detail-detail-card::-webkit-scrollbar {
    display: none;
}

.p-schedule-activity-detail-card:hover {
    box-shadow: 0 20px 25px -5px rgba(51, 51, 51, 0.1), 0 8px 10px -6px rgba(51, 51, 51, 0.1);
}

.p-schedule-activity-detail-hero {
    position: relative;
    width: 100%;
    height: 288px;
    overflow: hidden;
    flex-shrink: 0;
    background: #ececec;
}

.p-schedule-activity-detail-track,
.p-schedule-activity-detail-slide {
    width: 100%;
    height: 100%;
}

.p-schedule-activity-detail-track {
    display: flex;
    transition: transform 0.3s ease-out;
    cursor: grab;
}

.p-schedule-activity-detail-track.is-single {
    cursor: default;
}

.p-schedule-activity-detail-track.is-dragging {
    cursor: grabbing;
    transition: none;
}

.p-schedule-activity-detail-slide {
    flex: 0 0 100%;
}

.p-schedule-activity-detail-media-trigger {
    position: relative;
    border: 0;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    background: #ececec;
    cursor: zoom-in;
}

.p-schedule-activity-detail-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.p-schedule-activity-detail-slide img[src*="logo-no-limits.png"] {
    object-fit: contain;
    background: #ececec;
}

.p-schedule-activity-detail-slide video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    background: #333333;
}

.p-schedule-activity-detail-slide img.is-video-poster {
    object-fit: contain;
    background: #333333;
}

.p-schedule-activity-detail-play {
    position: absolute;
    left: 50%;
    top: 50%;
    display: inline-flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(51, 51, 51, 0.72);
    color: #ffffff;
    font-size: 18px;
    transform: translate(-50%, -50%);
    pointer-events: none;
    box-shadow: 0 12px 24px rgba(51, 51, 51, 0.2);
}

.p-schedule-activity-detail-hero-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.25), transparent 48%, rgba(0, 0, 0, 0.1));
}

.p-schedule-activity-detail-status-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 22px;
    padding: 4px 18px;
    color: #636363;
    background: #f6f6f6;
    font-size: 10px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.12em;
    text-align: center;
    text-transform: uppercase;
}

.p-schedule-activity-detail-status-bar.is-positive {
    color: #ffffff;
    background: var(--ui-positive-action);
    font-weight: 800;
}

.p-schedule-activity-detail-status-bar.is-neutral {
    color: #636363;
    background: #f6f6f6;
}

.p-schedule-activity-detail-close,
.p-schedule-activity-detail-nav,
.p-schedule-activity-detail-favorite,
.p-schedule-activity-detail-form-icon {
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.18s ease, background 0.18s ease, opacity 0.18s ease;
}

.p-schedule-activity-detail-close svg,
.p-schedule-activity-detail-nav svg,
.p-schedule-activity-detail-form-icon svg,
.p-schedule-activity-detail-fact svg,
.p-schedule-activity-detail-success-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.p-schedule-activity-detail-nav svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

.p-schedule-activity-detail-form-icon svg {
    width: 20px;
    height: 20px;
}

.p-schedule-activity-detail-close:active,
.p-schedule-activity-detail-nav:active,
.p-schedule-activity-detail-favorite:active,
.p-schedule-activity-detail-form-icon:active,
.p-schedule-activity-detail-primary:active {
    transform: scale(0.95);
}

.p-schedule-activity-detail-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: #f6f6f6;
    color: #636363;
}

.p-schedule-activity-detail-close:hover {
    background: #f6f6f6;
}

.p-schedule-activity-detail-favorite {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: #f6f6f6;
    color: #636363;
    font-size: 14px;
}

.p-schedule-activity-detail-favorite:hover {
    background: #f6f6f6;
    color: #333333;
}

.p-schedule-activity-detail-favorite.is-active {
    background: #fceded;
    color: #d7181c;
}

.p-schedule-activity-detail-favorite:disabled {
    cursor: wait;
    opacity: 0.6;
}

.p-schedule-activity-detail-nav {
    position: absolute;
    top: 50%;
    z-index: 10;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.8);
    color: #333333;
    box-shadow: 0 4px 6px -1px rgba(51, 51, 51, 0.1);
    opacity: 0;
}

.p-schedule-activity-detail-hero:hover .p-schedule-activity-detail-nav {
    opacity: 1;
}

.p-schedule-activity-detail-nav:hover {
    background: #ffffff;
}

.p-schedule-activity-detail-nav-prev {
    left: 8px;
}

.p-schedule-activity-detail-nav-next {
    right: 8px;
}

.p-schedule-activity-detail-counter {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 10;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.025em;
    backdrop-filter: blur(12px);
}

.p-schedule-activity-detail-dots {
    position: absolute;
    left: 50%;
    bottom: 16px;
    z-index: 10;
    display: flex;
    gap: 6px;
    transform: translateX(-50%);
}

.p-schedule-activity-detail-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.5);
    transition: width 0.3s ease, background 0.3s ease;
}

.p-schedule-activity-detail-dot.is-active {
    width: 12px;
    background: #ffffff;
}

.p-schedule-activity-detail-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 20px;
}

.p-schedule-activity-detail-body::-webkit-scrollbar {
    display: none;
}

.p-schedule-activity-detail-detail-card .p-schedule-activity-detail-body {
    flex: 1 0 auto;
    min-height: auto;
    overflow: visible;
}

.p-schedule-activity-detail-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.p-schedule-activity-detail-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
}

.p-schedule-activity-detail-title {
    flex: 1;
    min-width: 0;
    margin: 0;
    color: #333333;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.15;
}

.p-schedule-activity-detail-location {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
    color: #636363;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.35;
}

.p-schedule-activity-detail-start {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 6px;
    padding: 0;
    color: var(--ui-text-secondary);
    background: transparent;
}

.p-schedule-activity-detail-start.hidden {
    display: none;
}

.p-schedule-activity-detail-start.is-planned {
    color: var(--ui-text-secondary);
    background: transparent;
}

.p-schedule-activity-detail-start.is-confirmed {
    color: var(--ui-text-secondary);
    background: transparent;
}

.p-schedule-activity-detail-start strong {
    color: var(--ui-text);
    white-space: normal;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.25;
}

.p-schedule-activity-detail-start-note {
    display: block;
    color: var(--ui-text-secondary);
    font-size: 10px;
    font-weight: 500;
    line-height: 1.25;
}

.p-schedule-activity-detail-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
}

.p-schedule-activity-detail-stars {
    display: flex;
    gap: 1px;
    color: #f59e0b;
    line-height: 1;
}

.p-schedule-activity-detail-stars svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.p-schedule-activity-detail-rating span {
    color: #333333;
    font-size: 12px;
    font-weight: 700;
}

.p-schedule-activity-detail-rating button {
    border: 0;
    padding: 0;
    background: transparent;
    color: #d7181c;
    font-size: 12px;
    font-weight: 500;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    transition: color 0.18s ease;
}

.p-schedule-activity-detail-rating button:hover {
    color: #950c0f;
}

.p-schedule-activity-detail-divider {
    margin: 16px 0;
    border: 0;
    border-top: 1px solid #f6f6f6;
}

.p-schedule-activity-detail-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding: 4px 0;
    text-align: center;
}

.p-schedule-activity-detail-fact {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
}

.p-schedule-activity-detail-fact div {
    padding: 4px;
    color: #636363;
}

.p-schedule-activity-detail-fact .p-schedule-activity-detail-fact-level {
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    line-height: 1;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.p-schedule-activity-detail-fact-format-icon {
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.p-schedule-activity-detail-fact svg {
    width: 24px;
    height: 24px;
    font-size: 24px;
    stroke-width: 1.5;
}

.p-schedule-activity-detail-fact img {
    width: 24px;
    height: 24px;
    opacity: 0.62;
}

.p-schedule-activity-detail-fact span {
    width: 100%;
    margin-top: 4px;
    overflow: hidden;
    color: #636363;
    font-size: 9px;
    font-weight: 600;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    white-space: normal;
}

.p-schedule-activity-detail-description-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: #636363;
    font-size: 12px;
    line-height: 1.625;
    text-align: left;
}

.p-schedule-activity-detail-description {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.p-schedule-activity-detail-section {
    border-top: 1px solid #f6f6f6;
    padding-top: 10px;
}

.p-schedule-activity-detail-section:first-child {
    border-top: 0;
    padding-top: 0;
}

.p-schedule-activity-detail-section-toggle {
    width: 100%;
    border: 0;
    padding: 0;
    background: transparent;
    color: #333333;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    font-weight: 700;
    text-align: left;
}

.p-schedule-activity-detail-section-toggle i {
    flex: 0 0 auto;
    color: #636363;
    font-size: 10px;
    transition: transform 0.18s ease;
}

.p-schedule-activity-detail-section.is-collapsed .p-schedule-activity-detail-section-toggle i {
    transform: rotate(-90deg);
}

.p-schedule-activity-detail-section-content {
    margin-top: 8px;
}

.p-schedule-pricing { min-width: 0; max-width: 100%; }
.p-schedule-pricing-block { margin: 0 0 14px; padding: 12px; border: 1px solid #ececec; border-radius: 12px; background: #fff; }
.p-schedule-pricing-block:last-child { margin-bottom: 0; }
.p-schedule-pricing-block h3 { margin: 0 0 9px; font-size: 12px; font-weight: 800; letter-spacing: .04em; color: #1f2937; }
.p-schedule-pricing-table { width: 100%; overflow: hidden; }
.p-schedule-pricing-row { display: grid; grid-template-columns: .65fr 1fr 1.2fr; gap: 6px; align-items: center; padding: 8px 0; border-top: 1px solid #f1f5f9; font-size: 12px; min-width: 0; }
.p-schedule-pricing-row span { min-width: 0; overflow-wrap: anywhere; }
.p-schedule-pricing-head { border-top: 0; padding-top: 0; color: #64748b; font-size: 10px; font-weight: 700; text-transform: uppercase; }
.p-schedule-pricing-row:not(.p-schedule-pricing-head) span:nth-child(n+2) { font-weight: 700; color: #111827; }
.p-schedule-pricing-method, .p-schedule-pricing-note { margin: 9px 0 0; font-size: 11px; line-height: 1.4; overflow-wrap: anywhere; }
.p-schedule-pricing-note { color: #64748b; }
.p-schedule-pricing-ticket { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; }
.p-schedule-pricing-ticket strong { white-space: nowrap; }

.p-schedule-activity-detail-section.is-collapsed .p-schedule-activity-detail-section-content {
    display: none;
}

.p-schedule-activity-detail-description-text {
    margin: 0;
    white-space: pre-line;
}

.p-schedule-activity-detail-intro {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.p-schedule-activity-detail-more {
    align-self: flex-end;
    border: 0;
    padding: 0;
    background: transparent;
    color: #d7181c;
    font-size: 12px;
    font-weight: 600;
}

.p-schedule-activity-detail-more:hover {
    text-decoration: underline;
}

.p-schedule-activity-detail-readmore {
    border: 0;
    margin-left: 4px;
    padding: 0;
    background: transparent;
    color: #d7181c;
    font-size: 12px;
    font-weight: 600;
}

.p-schedule-activity-detail-readmore:hover {
    text-decoration: underline;
}

.p-schedule-activity-detail-instructors {
    display: none;
}

.p-schedule-activity-detail-footer {
    position: relative;
    bottom: 0;
    z-index: 20;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 20px 20px;
    border-top: 1px solid #f6f6f6;
    background: #ffffff;
}

.p-schedule-activity-detail-detail-card .p-schedule-activity-detail-footer {
    position: sticky;
    display: block;
}

.p-schedule-activity-detail-detail-card .p-schedule-activity-detail-primary {
    display: block;
    width: 100%;
    text-align: center;
}

.p-schedule-activity-detail-primary {
    min-height: 48px;
    border: 0;
    border-radius: 16px;
    background: #1d4ed8;
    color: #ffffff;
    padding: 12px 24px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.2);
    transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.p-schedule-activity-detail-primary:hover {
    background: #1d4ed8;
}

.p-schedule-activity-detail-primary:disabled {
    background: #636363;
    box-shadow: none;
}

.p-schedule-activity-detail-price {
    flex: 1;
    text-align: right;
}

.p-schedule-activity-detail-price.hidden {
    display: none;
}

#bottom_sheet_activity_detail_apply_btn.hidden {
    display: none;
}

.p-schedule-activity-detail-price span {
    display: block;
    color: #333333;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.15;
}

.p-schedule-activity-detail-price small {
    display: block;
    color: #636363;
    font-size: 10px;
    font-weight: 600;
}

.p-schedule-pricing-legacy-note {
    margin: 0 0 14px;
    color: #4b5563;
    font-size: 13px;
    line-height: 1.5;
}

.p-schedule-activity-detail-form-card {
    min-height: auto;
}

.p-schedule-activity-detail-form-header {
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    gap: 10px;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #f6f6f6;
}

.p-schedule-activity-detail-form-icon {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: #f6f6f6;
    color: #333333;
}

.p-schedule-activity-detail-form-header p {
    margin: 0;
    color: #636363;
    font-size: 10px;
    font-weight: 600;
}

.p-schedule-activity-detail-form-header h2 {
    margin: 0;
    color: #333333;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
}

.p-schedule-signup-notice {
    max-height: 0;
    margin: 0;
    padding: 0 20px;
    overflow: hidden;
    border-bottom: 0 solid #ed9799;
    background: #fceded;
    color: #950c0f;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
    opacity: 0;
    transform: translateY(-6px);
    transition: max-height 420ms ease, padding 420ms ease, border-width 420ms ease, opacity 260ms ease, transform 420ms ease;
}

.p-schedule-signup-notice.is-visible {
    max-height: 120px;
    padding: 10px 20px;
    border-bottom-width: 1px;
    opacity: 1;
    transform: translateY(0);
}

.p-schedule-activity-detail-form-meta {
    display: block;
    margin-top: 3px;
    color: #636363;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.35;
}

.p-schedule-activity-detail-form {
    display: flex;
    flex: 1;
    min-height: 0;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

#bottom_sheet_activity_detail_form.is-signup-wizard {
    overflow: hidden;
}

.p-schedule-activity-detail-application-types {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.p-schedule-activity-detail-option {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
    min-height: 84px;
    padding: 13px;
    border: 1px solid #ececec;
    border-radius: 16px;
    background: #ffffff;
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.p-schedule-activity-detail-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.p-schedule-activity-detail-option:has(input:checked) {
    border-color: #2ca67f;
    background: #eaf6f2;
    box-shadow: 0 0 0 1px #2ca67f;
}

.p-schedule-activity-detail-option.is-disabled {
    border-color: #ececec;
    background: #f6f6f6;
    cursor: not-allowed;
    opacity: 0.72;
}

.p-schedule-activity-detail-option.is-disabled strong {
    color: #636363;
}

.p-schedule-activity-detail-option.is-disabled small {
    color: #d7181c;
    font-weight: 700;
}

.p-schedule-activity-detail-option:has(input:focus-visible) {
    outline: 3px solid rgba(59, 130, 246, 0.22);
    outline-offset: 2px;
}

.p-schedule-activity-detail-option > span {
    min-width: 0;
}

.p-schedule-activity-detail-option strong,
.p-schedule-activity-detail-field span {
    display: block;
    color: #333333;
    font-size: 12px;
    font-weight: 700;
}

.p-schedule-activity-detail-option small {
    display: block;
    margin-top: 2px;
    color: #636363;
    font-size: 10px;
    font-weight: 500;
}

.p-schedule-activity-detail-dynamic-fields {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.p-schedule-activity-detail-dynamic-fields.hidden,
.p-schedule-activity-detail-field.hidden {
    display: none;
}

.p-schedule-activity-detail-dynamic-fields > .is-question-pending {
    display: none;
}

.p-schedule-activity-detail-dynamic-fields > .is-question-entering {
    transform-origin: top;
    animation: p-schedule-signup-question-enter 720ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.is-option-pending {
    display: none !important;
}

.is-option-entering {
    transform-origin: top;
    animation: p-schedule-signup-question-enter 720ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

@keyframes p-schedule-signup-question-enter {
    from {
        opacity: 0;
        clip-path: inset(0 0 100% 0);
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        clip-path: inset(0 0 0 0);
        transform: translateY(0);
    }
}

.p-schedule-activity-detail-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.p-schedule-activity-detail-field input,
.p-schedule-activity-detail-field select,
.p-schedule-activity-detail-field textarea {
    width: 100%;
    min-width: 0;
    border: 1px solid #ececec;
    border-radius: 14px;
    background: #f6f6f6;
    padding: 11px 12px;
    color: #333333;
    font-size: 12px;
    font-weight: 500;
    outline: none;
}

.p-schedule-activity-detail-field select {
    text-overflow: ellipsis;
}

.p-schedule-activity-detail-field input:focus,
.p-schedule-activity-detail-field select:focus,
.p-schedule-activity-detail-field textarea:focus {
    border-color: #93c5fd;
    background: #ffffff;
}

.p-schedule-activity-detail-single-meets.hidden,
#bottom_sheet_activity_detail_submit_btn.hidden {
    display: none;
}

.p-schedule-activity-detail-single-meets h3 {
    margin: 0 0 10px;
    color: #333333;
    font-size: 12px;
    font-weight: 700;
}

.p-schedule-activity-detail-single-meets-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid #f6f6f6;
}

.p-schedule-activity-detail-single-meet {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f6f6f6;
}

.p-schedule-activity-detail-single-meet-main {
    min-width: 0;
}

.p-schedule-activity-detail-single-meet-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}

.p-schedule-activity-detail-single-meet-heading strong {
    min-width: 0;
    color: #333333;
    font-size: 12px;
    line-height: 1.35;
}

.p-schedule-activity-detail-single-meet-heading span {
    flex-shrink: 0;
    color: #636363;
    font-size: 11px;
    font-weight: 600;
}

.p-schedule-activity-detail-single-meet-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    margin-top: 4px;
}

.p-schedule-activity-detail-single-meet-meta span {
    color: #636363;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.25;
}

.p-schedule-activity-detail-single-meet-spots {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 7px;
}

.p-schedule-activity-detail-single-meet-spots > span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 8px;
    border-radius: 9px;
    background: #f6f6f6;
    color: #636363;
    font-size: 10px;
    font-weight: 600;
}

.p-schedule-activity-detail-single-meet-spots i {
    font-size: 11px;
}

.p-schedule-activity-detail-single-meet-spots > span.is-available {
    background: #eaf6f2;
    color: #1f765e;
}

.p-schedule-activity-detail-single-meet-spots > span.is-full {
    background: #fceded;
    color: #950c0f;
}

.p-schedule-activity-detail-single-meet-apply {
    min-height: 32px;
    border: 0;
    border-radius: 10px;
    background: #1d4ed8;
    color: #ffffff;
    padding: 7px 10px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.p-schedule-activity-detail-single-meet-apply:disabled {
    background: #ececec;
    cursor: not-allowed;
}

.p-schedule-activity-detail-single-meets-empty {
    margin: 0;
    padding: 14px;
    border-radius: 14px;
    background: #f6f6f6;
    color: #636363;
    font-size: 11px;
    text-align: center;
}

.p-schedule-signup-addon-meets {
    min-width: 0;
}

.p-schedule-signup-addon-meets > ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.p-schedule-signup-addon-fields {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding-bottom: 24px;
}

.p-schedule-signup-addon-fields.hidden {
    display: none;
}

.p-schedule-signup-pair-chat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ui-text-secondary);
    font-size: 10px;
    line-height: 1.4;
}

.p-schedule-signup-pair-chat.hidden {
    display: none;
}

.p-schedule-signup-pair-chat strong {
    color: var(--ui-text);
    font-size: 10px;
    font-weight: 600;
}

.p-schedule-signup-pair-chat p {
    margin: 0;
    font-size: inherit;
    line-height: inherit;
}

.p-schedule-signup-pair-chat-button {
    align-self: flex-start;
    margin-top: 2px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--ui-brand-action);
    cursor: pointer;
    font-size: 10px;
    font-weight: 600;
    text-decoration: underline;
}

.p-schedule-signup-pair-chat-button:hover {
    background: transparent;
    color: var(--ui-brand-action-hover);
}

.p-schedule-signup-addon-fields h4 {
    margin: 8px 0 14px;
    color: #333333;
    font-size: 12px;
    font-weight: 700;
    text-align: right;
}

.p-schedule-signup-addon-meet {
    display: grid;
    grid-template-columns: 72px auto minmax(52px, 1fr) 96px;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 4px 0;
    background: transparent;
    color: #333333;
    text-align: left;
}

.p-schedule-signup-addon-meet.is-selected {
    background: transparent;
}

.p-schedule-signup-addon-meet.is-saved {
    background: transparent;
}

.p-schedule-signup-addon-meet-choice:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.p-schedule-signup-addon-meet-date,
.p-schedule-signup-addon-meet-info {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 2px;
}

.p-schedule-signup-addon-meet-info {
    align-items: center;
    justify-self: center;
    text-align: center;
    transform: translateX(3px);
}

.p-schedule-signup-addon-meet-date strong {
    color: #333333;
    font-size: 12px;
    line-height: 1.35;
    white-space: nowrap;
}

.p-schedule-signup-addon-meet-date span,
.p-schedule-signup-addon-meet-info span {
    color: #636363;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.35;
}

.p-schedule-signup-addon-meet-date span {
    white-space: nowrap;
}

.p-schedule-signup-addon-meet-places {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 62px;
    color: #333333;
    font-size: 13px;
    font-weight: 700;
    justify-self: center;
    text-align: center;
    white-space: nowrap;
}

.p-schedule-signup-addon-role-spots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.p-schedule-signup-addon-role-spot {
    display: inline-flex;
    align-items: center;
    gap: 1px;
    color: #333333;
    font-size: 12px;
    font-weight: 700;
}

.p-schedule-signup-addon-role-spot img {
    display: block;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    object-fit: contain;
    opacity: 0.9;
}

.p-schedule-signup-addon-role-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    vertical-align: -4px;
    opacity: 0.78;
}

.p-schedule-signup-addon-meet-choice {
    box-sizing: border-box;
    justify-self: end;
    width: 96px;
    padding: 7px 8px;
    border: 0;
    border-radius: 10px;
    background: #1d4ed8;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
}

.p-schedule-signup-addon-meet.is-selected .p-schedule-signup-addon-meet-choice {
    background: #258568;
}

.p-schedule-signup-addon-meet.is-saved .p-schedule-signup-addon-meet-choice {
    background: #258568;
}

.p-schedule-signup-addon-meets-empty {
    margin: 0;
    padding: 14px;
    border-radius: 14px;
    background: #f6f6f6;
    color: #636363;
    font-size: 11px;
    text-align: center;
}

.p-schedule-activity-detail-error {
    padding: 10px 12px;
    border-radius: 14px;
    background: #fceded;
    color: #d7181c;
    font-size: 11px;
    font-weight: 600;
}

#bottom_sheet_activity_detail_submit_btn {
    position: sticky;
    bottom: 0;
    width: 100%;
    flex-shrink: 0;
}

.p-schedule-activity-detail-success {
    align-items: center;
    justify-content: center;
    min-height: 520px;
    padding: 28px;
    text-align: center;
}

.p-schedule-activity-detail-success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    border-radius: 999px;
    background: #eaf6f2;
    color: #258568;
    font-size: 20px;
}

.p-schedule-activity-detail-success h2 {
    margin: 0;
    color: #333333;
    font-size: 16px;
    font-weight: 700;
}

.p-schedule-activity-detail-success p {
    margin-top: 8px;
    color: #636363;
    font-size: 12px;
    line-height: 1.45;
}

.p-schedule-activity-detail-request-id {
    margin: 14px 0 18px;
    color: #636363;
    font-size: 10px;
    font-weight: 700;
}

#bottom_sheet_activity_detail_form.is-signup-wizard > :not(#bottom_sheet_activity_detail_form_activity_id):not(#bottom_sheet_activity_detail_signup_wizard) {
    display: none;
}

#bottom_sheet_activity_detail_form:not(.is-signup-wizard) > #bottom_sheet_activity_detail_signup_wizard {
    display: none;
}

.p-schedule-signup-wizard {
    display: flex;
    flex: 1;
    min-height: 0;
    flex-direction: column;
    gap: 0;
}

.p-schedule-signup-step-stage {
    position: relative;
    display: grid;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.p-schedule-signup-step {
    display: flex;
    grid-area: 1 / 1;
    flex: 1;
    min-height: 0;
    min-width: 100%;
    flex-direction: column;
    gap: 20px;
}

.p-schedule-signup-step.hidden {
    display: none;
}

.p-schedule-signup-step-content {
    flex: 1;
    min-height: 0;
    padding-right: 4px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.p-schedule-signup-step-content::-webkit-scrollbar {
    display: none;
}

.p-schedule-signup-step.is-slide-transitioning {
    pointer-events: none;
    transition: transform var(--p-schedule-slide-duration) cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: transform;
}

.p-schedule-signup-step.is-slide-entering {
    z-index: 1;
}

.p-schedule-signup-step.is-slide-entering.is-slide-forward {
    transform: translateX(calc(100% + var(--p-schedule-slide-gap)));
}

.p-schedule-signup-step.is-slide-entering.is-slide-backward {
    transform: translateX(calc(-100% - var(--p-schedule-slide-gap)));
}

.p-schedule-signup-step.is-slide-entering.is-slide-active {
    transform: translateX(0);
}

.p-schedule-signup-step.is-slide-leaving {
    z-index: 0;
}

.p-schedule-signup-step.is-slide-leaving.is-slide-forward.is-slide-active {
    transform: translateX(calc(-100% - var(--p-schedule-slide-gap)));
}

.p-schedule-signup-step.is-slide-leaving.is-slide-backward.is-slide-active {
    transform: translateX(calc(100% + var(--p-schedule-slide-gap)));
}

@media (prefers-reduced-motion: reduce) {
    .p-schedule-activity-detail-view.is-view-entering,
    .p-schedule-activity-detail-view.is-view-slide-transitioning,
    .p-schedule-signup-payment-question.is-invalid,
    .p-schedule-activity-detail-dynamic-fields > .is-question-entering,
    .is-option-entering,
    .p-schedule-signup-step.is-slide-transitioning {
        animation: none;
        transition: none;
    }
}

.p-schedule-signup-step-heading span {
    display: block;
    color: #636363;
    font-size: 10px;
    font-weight: 700;
}

.p-schedule-signup-step-heading h3 {
    margin: 3px 0 0;
    color: #333333;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
}

.p-schedule-signup-choice {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.p-schedule-signup-choice.hidden {
    display: none;
}

.p-schedule-activity-detail-application-types label.hidden {
    display: none;
}

.p-schedule-signup-actions.hidden {
    display: none;
}

.p-schedule-signup-choice legend {
    grid-column: 1 / -1;
    margin-bottom: 8px;
    padding: 0;
    color: #333333;
    font-size: 12px;
    font-weight: 700;
}

#bottom_sheet_activity_detail_signup_permanent_basics > .p-schedule-activity-detail-field:first-child {
    margin: 12px 0 0;
}

#bottom_sheet_activity_detail_signup_permanent_basics {
    gap: 10px;
}

#bottom_sheet_activity_detail_signup_permanent_basics > .p-schedule-activity-detail-field:first-child::after {
    min-height: 0;
    margin-top: 0;
}

#bottom_sheet_activity_detail_signup_partner_choice {
    margin: 0;
}

#bottom_sheet_activity_detail_signup_partner_choice legend {
    text-align: center;
}

#bottom_sheet_activity_detail_signup_addon_role,
#bottom_sheet_activity_detail_signup_permanent_role {
    margin: 8px 0;
}

.p-schedule-signup-choice label,
.p-schedule-signup-payment-toggle {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 7px;
    min-height: 46px;
    padding: 10px;
    border: 1px solid #ececec;
    border-radius: 12px;
    background: #f6f6f6;
    color: #333333;
    font-size: 11px;
    font-weight: 600;
}

.p-schedule-signup-payment-toggle {
    padding-right: 42px;
}

.p-schedule-signup-payment-toggle-check {
    position: absolute;
    top: 50%;
    right: 12px;
    display: inline-flex;
    width: 20px;
    height: 20px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--ui-line);
    color: var(--ui-surface);
    font-size: 10px;
    opacity: 0;
    transform: translateY(-50%) scale(0.75);
    transition:
        background-color var(--ui-motion-control-duration) ease,
        opacity var(--ui-motion-control-duration) ease,
        transform var(--ui-motion-control-duration) ease;
}

.p-schedule-signup-payment-toggle:has(input:checked) .p-schedule-signup-payment-toggle-check {
    background: var(--ui-success);
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

.p-schedule-signup-choice input,
.p-schedule-signup-payment-toggle input {
    accent-color: #258568;
}

.p-schedule-signup-payment-question {
    border-radius: 12px;
}

.p-schedule-signup-payment-question.is-invalid {
    outline: 2px solid #ed9799;
    outline-offset: 1px;
    background: #fceded;
    animation: p-schedule-signup-invalid-enter 360ms ease-out both;
}

@keyframes p-schedule-signup-invalid-enter {
    from {
        opacity: 0.6;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.p-schedule-signup-actions,
.p-schedule-signup-payment-actions {
    display: flex;
    flex-shrink: 0;
    gap: 10px;
    margin-top: auto;
    padding-top: 4px;
}

.p-schedule-signup-actions .p-schedule-activity-detail-primary,
.p-schedule-signup-payment-actions .p-schedule-activity-detail-primary {
    flex: 1;
}

.p-schedule-signup-secondary {
    min-height: 48px;
    border: 1px solid #ececec;
    border-radius: 12px;
    background: #ffffff;
    color: #333333;
    padding: 12px 16px;
    font-size: 12px;
    font-weight: 700;
}

.p-schedule-signup-payment-section,
.p-schedule-signup-summary-course,
.p-schedule-signup-payment-empty {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px;
    border: 1px solid #ececec;
    border-radius: 12px;
    background: #ffffff;
}

.p-schedule-signup-payment-section {
    gap: 0;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.p-schedule-signup-summary-person {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.p-schedule-signup-payment-section + .p-schedule-signup-payment-section,
.p-schedule-signup-summary-person + .p-schedule-signup-summary-person {
    margin-top: 12px;
}

.p-schedule-signup-payment-section h4,
.p-schedule-signup-summary-course h4,
.p-schedule-signup-summary-person h4 {
    margin: 0;
    color: #333333;
    font-size: 13px;
    font-weight: 700;
}

.p-schedule-signup-payment-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    width: 100%;
    border: 0;
    padding: 8px 0;
    background: transparent;
    color: #333333;
    cursor: pointer;
    text-align: left;
}

.p-schedule-signup-payment-heading > span {
    grid-column: 1;
    grid-row: 1;
    color: #333333;
    font-size: 13px;
    font-weight: 700;
}

.p-schedule-signup-payment-heading strong {
    grid-column: 1;
    grid-row: 2;
    color: #636363;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.35;
    text-align: left;
    white-space: normal;
}

.p-schedule-signup-payment-heading i {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    color: #636363;
    font-size: 11px;
    transition: transform 0.18s ease;
}

.p-schedule-signup-payment-section.is-collapsed .p-schedule-signup-payment-heading i {
    transform: rotate(-90deg);
}

.p-schedule-signup-payment-body {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 0 0 14px;
}

.p-schedule-signup-payment-section.is-collapsed .p-schedule-signup-payment-body {
    display: none;
}

.p-schedule-signup-payment-section p,
.p-schedule-signup-summary-course p,
.p-schedule-signup-summary-person p,
.p-schedule-signup-payment-empty p {
    margin: 0;
    color: #636363;
    font-size: 11px;
    line-height: 1.45;
}

.p-schedule-signup-methods,
.p-schedule-signup-products,
.p-schedule-signup-deposits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.p-schedule-signup-products {
    grid-template-columns: 1fr;
}

.p-schedule-signup-method,
.p-schedule-signup-product,
.p-schedule-signup-deposit {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 4px;
    min-height: 64px;
    padding: 10px;
    border: 1px solid #ececec;
    border-radius: 12px;
    background: #f6f6f6;
    color: #333333;
    text-align: left;
}

.p-schedule-signup-product,
.p-schedule-signup-deposit {
    min-height: 58px;
}

.p-schedule-signup-deposit {
    width: 100%;
    min-height: 0;
    aspect-ratio: 1;
    align-items: center;
    justify-content: center;
    padding: 10px;
    text-align: center;
}

.p-schedule-signup-method.is-selected,
.p-schedule-signup-product.is-selected,
.p-schedule-signup-deposit.is-selected {
    border-color: #2ca67f;
    background: #eaf6f2;
    box-shadow: 0 0 0 1px #2ca67f;
}

.p-schedule-signup-method strong,
.p-schedule-signup-product strong,
.p-schedule-signup-deposit strong {
    overflow: hidden;
    color: #333333;
    font-size: 11px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.p-schedule-signup-method small,
.p-schedule-signup-product small,
.p-schedule-signup-deposit small {
    color: #636363;
    font-size: 10px;
    font-weight: 600;
}

.p-schedule-signup-deposit strong,
.p-schedule-signup-deposit small {
    max-width: 100%;
    text-align: center;
}

.p-schedule-signup-deposit strong {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
}

.p-schedule-signup-deposit-course {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-height: 1.3;
}

.p-schedule-signup-deposit-icon {
    color: #636363;
    font-size: 16px;
    line-height: 1;
}

.p-schedule-signup-sport-card,
.p-schedule-signup-deposit-choice {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.p-schedule-signup-sport-card > span,
.p-schedule-signup-deposit-choice > span {
    color: #333333;
    font-size: 11px;
    font-weight: 700;
}

.p-schedule-signup-sport-card-options {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
}

.p-schedule-signup-sport-card-option {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    width: 100%;
    border: 0;
    background: transparent;
    padding: 0;
    color: #333333;
    text-align: center;
}

.p-schedule-signup-sport-card-option img {
    display: block;
    width: 100%;
    aspect-ratio: 1.55;
    border-radius: 0;
    object-fit: cover;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.p-schedule-signup-sport-card-option span {
    overflow: hidden;
    width: 100%;
    color: #333333;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.p-schedule-signup-sport-card-option.is-selected {
    background: transparent;
    box-shadow: none;
}

.p-schedule-signup-sport-card-option.is-selected img {
    box-shadow: 0 3px 10px rgba(44, 166, 127, 0.28);
    transform: translateY(-2px);
}

.p-schedule-signup-sport-card-option.is-selected span {
    color: #1f765e;
}

.p-schedule-signup-summary {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.p-schedule-signup-summary-course dl,
.p-schedule-signup-summary-person dl {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 5px 12px;
    margin: 0;
    color: #636363;
    font-size: 11px;
}

.p-schedule-signup-summary-course dt,
.p-schedule-signup-summary-person dt {
    min-width: 0;
}

.p-schedule-signup-summary-course dd,
.p-schedule-signup-summary-person dd {
    margin: 0;
    color: #333333;
    font-weight: 700;
    text-align: right;
}

.p-schedule-signup-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px;
    border-radius: 12px;
    background: #eff6ff;
    color: #1d4ed8;
}

.p-schedule-signup-total span {
    font-size: 12px;
    font-weight: 700;
}

.p-schedule-signup-total strong {
    font-size: 17px;
    font-weight: 700;
}

.p-schedule-signup-inline-error {
    margin: 0;
    color: #d7181c;
    font-size: 11px;
    font-weight: 600;
}

.p-schedule-signup-payment-actions {
    width: 100%;
    justify-content: center;
}

@media (max-width: 360px) {
    .p-schedule-activity-detail-title,
    .p-schedule-activity-detail-price span {
        font-size: 22px;
    }

    .p-schedule-activity-detail-primary {
        padding-right: 18px;
        padding-left: 18px;
    }

    .p-schedule-activity-detail-form {
        padding: 16px;
    }

    .p-schedule-activity-detail-application-types {
        gap: 8px;
    }

    .p-schedule-activity-detail-option {
        min-height: 72px;
        padding: 11px;
    }

    .p-schedule-activity-detail-field input,
    .p-schedule-activity-detail-field select,
    .p-schedule-activity-detail-field textarea {
        padding: 10px;
        font-size: 11px;
    }

    .p-schedule-activity-detail-single-meet {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .p-schedule-activity-detail-single-meet-apply {
        justify-self: end;
    }

    .p-schedule-signup-methods {
        grid-template-columns: 1fr;
    }

}

/* Activity detail and enrollment use the shared Wallet-based style library.
   Schedule list styles above this section intentionally remain unchanged. */
.p-schedule-activity-detail-view.is-view-entering {
    animation-duration: var(--ui-motion-layout-duration);
    animation-timing-function: var(--ui-motion-layout-easing);
}

.p-schedule-activity-detail-view.is-view-slide-transitioning,
.p-schedule-signup-step.is-slide-transitioning {
    transition-duration: var(--ui-motion-layout-duration);
    transition-timing-function: var(--ui-motion-layout-easing);
}

.p-schedule-activity-detail-section {
    padding: 12px 0;
    border-top: 1px solid var(--ui-line-soft);
}

.p-schedule-activity-detail-section:first-child {
    padding-top: 0;
}

.p-schedule-activity-detail-section-toggle {
    min-height: 32px;
    font-size: var(--ui-card-title-size);
    line-height: var(--ui-card-title-line-height);
}

.p-schedule-activity-detail-section-toggle i {
    transition:
        color var(--ui-motion-control-duration) ease,
        transform var(--ui-motion-layout-duration) var(--ui-motion-layout-easing);
}

.p-schedule-activity-detail-section:not(.is-collapsed) .p-schedule-activity-detail-section-content {
    animation: p-schedule-detail-disclosure-enter var(--ui-motion-layout-duration)
        var(--ui-motion-layout-easing) both;
}

@keyframes p-schedule-detail-disclosure-enter {
    from {
        opacity: 0;
        clip-path: inset(0 0 100% 0);
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        clip-path: inset(0 0 0 0);
        transform: translateY(0);
    }
}

.p-schedule-activity-detail-primary {
    min-height: 48px;
    border-radius: var(--ui-action-radius);
    background: var(--ui-brand-action);
    padding: 12px 20px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    box-shadow: 0 8px 18px -8px rgba(215, 24, 28, 0.5);
}

.p-schedule-activity-detail-primary:hover {
    background: var(--ui-brand-action-hover);
}

.p-schedule-activity-detail-primary:focus-visible {
    outline: 3px solid var(--ui-brand-action-focus);
    outline-offset: 2px;
}

.p-schedule-activity-detail-primary:disabled {
    background: var(--ui-text-muted);
}

.p-schedule-activity-detail,
.p-schedule-activity-detail-form-card,
.p-schedule-activity-detail-form,
.p-schedule-signup-wizard,
.p-schedule-signup-step-stage,
.p-schedule-signup-step {
    background: var(--ui-page-bg);
}

.p-schedule-activity-detail-form-header {
    position: relative;
    z-index: 5;
    flex-shrink: 0;
    border-bottom-color: var(--ui-line-soft);
    background: var(--ui-surface);
}

.p-schedule-signup-progress {
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 5px;
    flex-shrink: 0;
    padding: 0 20px 12px;
    background: var(--ui-surface);
}

.p-schedule-signup-progress > span {
    height: 3px;
    border-radius: 999px;
    background: var(--ui-line);
    transition: background-color var(--ui-motion-control-duration) ease;
}

.p-schedule-signup-progress > span.is-active {
    background: var(--ui-brand-action);
}

.p-schedule-activity-detail-form {
    --p-signup-form-gutter: 20px;
    padding-bottom: max(20px, env(safe-area-inset-bottom));
}

.p-schedule-activity-detail-option {
    padding-right: 38px;
    box-shadow: var(--ui-record-shadow);
}

.p-schedule-activity-detail-option::after {
    content: '✓';
    position: absolute;
    top: 50%;
    right: 13px;
    display: inline-flex;
    width: 20px;
    height: 20px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--ui-line);
    color: var(--ui-surface);
    font-size: 11px;
    font-weight: 900;
    opacity: 0;
    transform: translateY(-50%) scale(0.75);
    transition:
        background-color var(--ui-motion-control-duration) ease,
        opacity var(--ui-motion-control-duration) ease,
        transform var(--ui-motion-control-duration) ease;
}

.p-schedule-activity-detail-option:has(input:checked) {
    border-color: var(--ui-success);
    background: var(--ui-success-soft);
    box-shadow: inset 0 0 0 2px var(--ui-success), var(--ui-record-shadow);
}

.p-schedule-activity-detail-option:has(input:checked)::after {
    background: var(--ui-positive-action);
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

.p-schedule-activity-detail-option:has(input:focus-visible) {
    outline-color: var(--ui-success-focus);
}

.p-schedule-activity-detail-field {
    position: relative;
}

.p-schedule-activity-detail-field::after {
    content: attr(data-signup-error);
    display: block;
    min-height: 14px;
    margin-top: -3px;
    color: var(--ui-brand-action-hover);
    font-size: 10px;
    font-weight: 600;
    line-height: 1.4;
}

.p-schedule-activity-detail-field input,
.p-schedule-activity-detail-field select,
.p-schedule-activity-detail-field textarea {
    border-radius: 12px;
    background: var(--ui-surface);
}

.p-schedule-activity-detail-field input:focus,
.p-schedule-activity-detail-field select:focus,
.p-schedule-activity-detail-field textarea:focus {
    border-color: var(--ui-brand-action);
    box-shadow: 0 0 0 3px var(--ui-brand-action-focus);
}

.p-schedule-activity-detail-field.is-invalid input,
.p-schedule-activity-detail-field.is-invalid select,
.p-schedule-activity-detail-field.is-invalid textarea {
    border-color: var(--ui-brand-action);
}

.p-schedule-signup-choice label,
.p-schedule-signup-payment-toggle {
    background: var(--ui-surface);
    box-shadow: var(--ui-record-shadow);
}

.p-schedule-signup-choice label:has(input:checked),
.p-schedule-signup-payment-toggle:has(input:checked) {
    border-color: var(--ui-success);
    background: var(--ui-success-soft);
    box-shadow: inset 0 0 0 2px var(--ui-success), var(--ui-record-shadow);
}

.p-schedule-signup-choice input,
.p-schedule-signup-payment-toggle input {
    accent-color: var(--ui-positive-action);
}

.p-schedule-signup-actions {
    position: sticky;
    bottom: calc(-1 * var(--p-signup-form-gutter));
    z-index: 3;
    width: calc(100% + (2 * var(--p-signup-form-gutter)));
    margin-right: calc(-1 * var(--p-signup-form-gutter));
    margin-bottom: calc(-1 * var(--p-signup-form-gutter));
    margin-left: calc(-1 * var(--p-signup-form-gutter));
    padding: 12px var(--p-signup-form-gutter) max(20px, env(safe-area-inset-bottom));
    border-top: 0;
    background: var(--ui-page-bg);
}

.p-schedule-signup-secondary {
    border-color: var(--ui-line);
    border-radius: var(--ui-action-radius);
    background: var(--ui-surface);
}

.p-schedule-signup-payment-section {
    padding: 14px;
    overflow: hidden;
    border: 0;
    border-radius: var(--ui-record-radius);
    background: var(--ui-surface);
    box-shadow: var(--ui-record-shadow);
}

.p-schedule-signup-payment-section + .p-schedule-signup-payment-section {
    margin-top: 16px;
}

.p-schedule-signup-payment-heading {
    padding: 0 0 10px;
}

.p-schedule-signup-payment-body {
    padding: 0;
}

.p-schedule-signup-product {
    min-height: 54px;
    padding: 10px 12px;
    border: 0;
    border-top: 1px solid var(--ui-line-soft);
    border-radius: 0;
    background: var(--ui-surface);
}

.p-schedule-signup-product:last-child {
    border-bottom: 1px solid var(--ui-line-soft);
}

.p-schedule-signup-method,
.p-schedule-signup-deposit {
    background: var(--ui-surface);
}

.p-schedule-signup-method {
    align-items: center;
    text-align: center;
    box-shadow: var(--ui-record-shadow);
}

.p-schedule-signup-product,
.p-schedule-signup-deposit {
    box-shadow: var(--ui-record-shadow);
}

.p-schedule-signup-product--new,
.p-schedule-signup-product--available {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.p-schedule-signup-product-copy {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    gap: 4px;
}

.p-schedule-signup-product-total {
    flex: 0 0 auto;
    overflow: visible;
    color: var(--ui-text);
    text-align: right;
    text-overflow: clip;
    white-space: nowrap;
}

.p-schedule-signup-method.is-selected,
.p-schedule-signup-product.is-selected,
.p-schedule-signup-deposit.is-selected {
    border-color: var(--ui-success);
    background: var(--ui-success-soft);
    box-shadow: inset 0 0 0 2px var(--ui-success), var(--ui-record-shadow);
}

.p-schedule-signup-sport-card-option img {
    border-radius: 8px;
    box-shadow: var(--ui-record-shadow);
}

.p-schedule-signup-sport-card-option.is-selected img {
    box-shadow: inset 0 0 0 2px var(--ui-success), var(--ui-record-shadow), 0 5px 12px rgba(44, 166, 127, 0.2);
}

.p-schedule-signup-sport-card-option.is-selected span {
    color: var(--ui-success-text);
}

.p-schedule-signup-sport-card-option small {
    overflow: hidden;
    width: 100%;
    color: var(--ui-text-secondary);
    font-size: 9px;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.p-schedule-signup-sport-card-option.is-selected small {
    color: var(--ui-success-text);
}

.p-schedule-signup-summary {
    gap: 0;
    padding: 16px;
}

.p-schedule-signup-summary-course {
    padding: 0 0 14px;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.p-schedule-signup-summary-person {
    padding: 14px 0;
    border-top: 1px solid var(--ui-line-soft);
}

.p-schedule-signup-summary-person + .p-schedule-signup-summary-person {
    margin-top: 0;
}

.p-schedule-signup-total {
    margin-top: 2px;
    border-radius: 12px;
    background: var(--ui-brand-action-soft);
    color: #950c0f;
}

.p-schedule-signup-addon-meet-choice {
    border: 1px solid var(--ui-line);
    background: var(--ui-surface);
    color: var(--ui-text-secondary);
    box-shadow: none;
}

.p-schedule-signup-addon-meet-choice:not(:disabled):hover {
    border-color: var(--ui-brand-action);
    color: var(--ui-brand-action);
}

.p-schedule-signup-addon-meet.is-selected .p-schedule-signup-addon-meet-choice {
    border-color: var(--ui-brand-action);
    background: var(--ui-brand-action);
    color: var(--ui-surface);
    box-shadow: inset 0 0 0 1px var(--ui-brand-action);
}

.p-schedule-signup-addon-meet.is-saved .p-schedule-signup-addon-meet-choice {
    border-color: #258568;
    background: #258568;
    color: var(--ui-surface);
}

.p-schedule-signup-addon-meet-choice:disabled {
    border-color: var(--ui-line-soft);
    background: var(--ui-line-soft);
    color: var(--ui-text-muted);
}

[data-signup-step="2"] {
    gap: 12px;
}

[data-signup-step="2"] .p-schedule-activity-detail-dynamic-fields {
    gap: 9px;
}

[data-signup-step="2"] .p-schedule-activity-detail-field {
    gap: 4px;
}

[data-signup-step="2"] .p-schedule-activity-detail-field::after {
    min-height: 0;
    margin-top: 0;
}

[data-signup-step="2"] .p-schedule-signup-choice legend {
    margin-bottom: 3px;
}

#bottom_sheet_activity_detail_signup_addon_role {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

#bottom_sheet_activity_detail_signup_permanent_role {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

#bottom_sheet_activity_detail_signup_addon_role label,
#bottom_sheet_activity_detail_signup_permanent_role label {
    position: relative;
    min-height: 82px;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 10px 8px;
    text-align: center;
}

#bottom_sheet_activity_detail_signup_addon_role label > span,
#bottom_sheet_activity_detail_signup_permanent_role label > span {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-align: center;
}

#bottom_sheet_activity_detail_signup_addon_role input,
#bottom_sheet_activity_detail_signup_permanent_role input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

#bottom_sheet_activity_detail_signup_addon_role label:has(input:checked),
#bottom_sheet_activity_detail_signup_permanent_role label:has(input:checked) {
    border-color: var(--ui-success);
    background: var(--ui-success-soft);
    box-shadow: inset 0 0 0 2px var(--ui-success), var(--ui-record-shadow);
}

#bottom_sheet_activity_detail_signup_addon_role label:has(input:focus-visible),
#bottom_sheet_activity_detail_signup_permanent_role label:has(input:focus-visible) {
    outline: 3px solid var(--ui-success-focus);
    outline-offset: 2px;
}

#bottom_sheet_activity_detail_signup_addon_role .p-schedule-signup-addon-role-icon,
#bottom_sheet_activity_detail_signup_permanent_role .p-schedule-signup-addon-role-icon {
    width: 22px;
    height: 22px;
    margin: 0;
    vertical-align: initial;
}

#bottom_sheet_activity_detail_signup_addon_role .p-schedule-signup-addon-pair-icons,
#bottom_sheet_activity_detail_signup_permanent_role .p-schedule-signup-addon-pair-icons {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

#bottom_sheet_activity_detail_signup_addon_role label.is-disabled,
#bottom_sheet_activity_detail_signup_permanent_role label.is-disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

#bottom_sheet_activity_detail_signup_addon_role label.is-disabled strong,
#bottom_sheet_activity_detail_signup_addon_role label.is-disabled small,
#bottom_sheet_activity_detail_signup_permanent_role label.is-disabled strong,
#bottom_sheet_activity_detail_signup_permanent_role label.is-disabled small {
    color: var(--ui-text-muted);
}

#bottom_sheet_activity_detail_signup_addon_role label strong,
#bottom_sheet_activity_detail_signup_permanent_role label strong {
    color: var(--ui-text);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
}

#bottom_sheet_activity_detail_signup_addon_role label small,
#bottom_sheet_activity_detail_signup_permanent_role label small {
    color: var(--ui-text-secondary);
    font-size: 10px;
    font-weight: 600;
    line-height: 1.2;
}

#bottom_sheet_activity_detail_signup_addon_role label:has(input:checked) small,
#bottom_sheet_activity_detail_signup_permanent_role label:has(input:checked) small {
    color: var(--ui-success-text);
}

/* Karty formularza są jedynym wizualnym stanem wyboru — bez kółek radio/checkbox. */
.p-schedule-activity-detail-option,
.p-schedule-signup-choice label,
.p-schedule-signup-payment-toggle {
    position: relative;
}

.p-schedule-activity-detail-option {
    padding-right: 10px;
}

.p-schedule-activity-detail-option::after {
    display: none;
}

.p-schedule-activity-detail-option input,
.p-schedule-signup-choice input[type='radio'],
.p-schedule-signup-payment-toggle input[type='checkbox'] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
    opacity: 0;
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    .p-schedule-activity-detail-section:not(.is-collapsed) .p-schedule-activity-detail-section-content,
    .p-schedule-activity-detail-section-toggle i,
    .p-schedule-signup-progress > span,
    .p-schedule-activity-detail-option::after {
        animation: none;
        transition: none;
    }
}

@media (max-width: 360px) {
    .p-schedule-activity-detail-form {
        --p-signup-form-gutter: 16px;
    }
}




/* NL_SAFE_POLISH_20260817 — timing badge only: NOWY green, START orange; levels stay grey. */
.activity-row[data-activity-status-id] .badge-new {
    background: #eaf6f2 !important;
    color: #1f765e !important;
}

.activity-row[data-activity-status-id="started"] .badge-new {
    background: #fffbeb !important;
    color: #92400e !important;
}

.activity-row .badge-level-neutral,
.activity-row .badge-level-p0-start,
.p-schedule-activity-row .badge-level-neutral,
.p-schedule-activity-row .badge-level-p0-start {
    background: var(--ui-status-quiet-bg, #f2f0ed) !important;
    color: var(--ui-status-quiet-text, #57534e) !important;
}


/* Signup form compactness: shared content, with desktop-only form width. */
@media (min-width: 931px) {
    .desktop-schedule-preview-body [data-activity-detail-view="form"] .p-schedule-activity-detail-form-card {
        width: min(100%, 580px);
        margin-right: auto;
        margin-left: auto;
    }
}

.p-schedule-signup-sport-card-options {
    width: 100%;
    max-width: 360px;
    margin-right: auto;
    margin-left: auto;
    gap: 4px;
}

.p-schedule-signup-sport-card-option {
    gap: 3px;
}

.p-schedule-signup-sport-card-option img {
    aspect-ratio: 1.9;
}

.p-schedule-signup-deposits {
    width: 100%;
    max-width: 360px;
    margin-right: auto;
    margin-left: auto;
    gap: 6px;
}

.p-schedule-signup-deposit {
    min-height: 58px;
    aspect-ratio: auto;
    padding: 8px 10px;
}

.p-schedule-signup-existing-pass-auto {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 9px 12px;
    border: 1px solid var(--ui-success, #2ca67f);
    border-radius: 10px;
    background: var(--ui-success-soft, #eaf6f2);
    color: var(--ui-success-text, #1f765e);
    font-size: 12px;
    text-align: center;
}
