.camp-apply-simple-wrap {
    max-width: 980px;
    margin: 0 auto;
}

.camp-apply-section {
    background: #fff;
    border: 1px solid #e9edf3;
    border-radius: 10px;
    padding: 22px;
}

.camp-apply-subtitle {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
}

.camp-label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #1f2b3d;
}

.camp-input {
    width: 100%;
    border: 1px solid #d6dde8;
    border-radius: 8px;
    padding: 10px 12px;
    background: #fff;
    min-height: 44px;
    font-size: 15px;
}

.camp-input:focus {
    border-color: var(--color-primary);
    outline: 0;
}

select.camp-input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 40px;
    background-image: linear-gradient(45deg, transparent 50%, #6b7280 50%), linear-gradient(135deg, #6b7280 50%, transparent 50%);
    background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.camp-help {
    font-size: 13px;
    color: #5f6b7a;
    margin-top: 6px;
}

.participant-card {
    border: 1px solid #e9edf3;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 10px;
    background: #fff;
}

.participant-grid-head,
.participant-grid-row {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr)) auto;
    gap: 8px;
    align-items: center;
}

.participant-grid-head {
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #3d4a5c;
}

.camp-input-sm {
    min-height: 40px;
    padding: 8px 10px;
    font-size: 14px;
}

.participant-grid-wrap {
    overflow-x: visible;
}

.participant-grid-min {
    min-width: 0;
}

.participant-list-scroll {
    max-height: 520px;
    overflow-y: auto;
    padding-right: 4px;
}

.camp-detail-hero {
    border: 1px solid #e9edf3;
    border-radius: 10px;
    min-height: 265px;
    margin-bottom: 16px;
    display: flex;
    align-items: end;
    overflow: hidden;
    background-size: cover;
    background-position: top center;
}

.camp-detail-hero-content {
    width: 100%;
    padding: 16px;
    color: #fff;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.05) 0%, rgba(15, 23, 42, 0.72) 100%);
}

.camp-detail-desc {
    border: 1px solid #e9edf3;
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 16px;
    background: #f8fbff;
}

.consent-card {
    border: 1px solid #dfe6f2;
    border-radius: 10px;
    padding: 12px;
    background: #fff;
}

.consent-scroll-body {
    max-height: 45vh;
    overflow-y: auto;
    border: 1px solid #e9edf3;
    border-radius: 8px;
    padding: 12px;
    background: #fbfdff;
    white-space: normal;
    line-height: 1.55;
}

.consent-scroll-body h6,
.consent-scroll-body .consent-doc-heading {
    margin: 0 0 8px;
    font-weight: 700;
}

.consent-scroll-body p {
    margin: 0 0 8px;
}

.consent-scroll-body ol,
.consent-scroll-body ul {
    margin: 0 0 10px;
    padding-left: 18px;
}

.consent-scroll-body li {
    margin-bottom: 6px;
}

.consent-scroll-body li:last-child {
    margin-bottom: 0;
}

.consent-scroll-body .consent-signature {
    border-top: 1px solid #e9edf3;
    margin-top: 10px;
    padding-top: 8px;
}

.consent-scroll-body .consent-signature p {
    margin-bottom: 4px;
}

.family-parent-card,
.family-child-card {
    border: 1px solid #dfe6f2;
    border-radius: 10px;
    background: #fbfdff;
}

.family-parent-head {
    font-size: 14px;
    font-weight: 700;
    color: #2d3c50;
    margin-bottom: 10px;
}

.family-parent-grid,
.family-child-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr)) auto;
    gap: 10px;
}

.family-child-actions {
    display: flex;
    align-items: end;
}

.family-child-actions {
    justify-content: flex-end;
}

.family-participant-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media (max-width: 768px) {
    .camp-apply-section {
        padding: 14px;
    }

    .camp-detail-hero {
        min-height: auto;
        aspect-ratio: 1 / 1;
    }

    .family-parent-grid,
    .family-child-grid {
        grid-template-columns: 1fr;
    }

    .family-child-actions {
        justify-content: flex-start;
    }

    .participant-grid-wrap {
        overflow: visible;
    }

    .participant-grid-min {
        min-width: 0;
    }

    .participant-grid-head {
        display: none;
    }

    .participant-list-scroll {
        max-height: none;
        overflow: visible;
        padding-right: 0;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .participant-card {
        margin-bottom: 0;
        aspect-ratio: 1 / 1;
        overflow: auto;
    }

    .participant-grid-row {
        grid-template-columns: 1fr;
        align-content: start;
    }

    .participant-grid-row>.rbt-btn {
        width: 100%;
    }

    .family-participant-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .family-parent-card,
    .family-child-card {
        height: 100%;
    }
}

@media (max-width: 576px) {

    .participant-list-scroll,
    .family-participant-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {

    .family-parent-grid,
    .family-child-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.camp-step-card {
    background: #fff;
    border: 1px solid #e8edf5;
    border-radius: 18px;
    padding: 22px;
    margin-bottom: 24px;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
}

.camp-tabs-wrap {
    margin-top: 10px;
}

.camp-tab-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.camp-tab-btn {
    border: 1px solid #d8e3ef;
    background: #fff;
    color: #52667a;
    border-radius: 14px;
    padding: 14px 18px;
    min-width: 220px;
    text-align: left;
    transition: 0.2s ease;
}

.camp-tab-btn strong {
    display: block;
    color: #102a43;
    font-size: 15px;
    margin-bottom: 4px;
}

.camp-tab-btn span {
    display: block;
    font-size: 13px;
}

.camp-tab-btn.is-active {
    border-color: #0f766e;
    background: linear-gradient(180deg, #ecfdf5 0%, #f8fffc 100%);
    box-shadow: 0 12px 30px rgba(15, 118, 110, 0.12);
}

.camp-tab-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.camp-tab-pane {
    display: none;
}

.camp-tab-pane.is-active {
    display: block;
}

.camp-step-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0f766e;
    background: #ecfeff;
    border-radius: 999px;
    padding: 8px 12px;
    margin-bottom: 14px;
}

.camp-form-step {
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.camp-form-step.is-locked {
    opacity: 0.45;
    transform: translateY(8px);
    pointer-events: none;
}

.camp-calendar-shell {
    border: 1px solid #d9e6f2;
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    padding: 18px;
}

.camp-calendar-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.camp-calendar-title {
    font-size: 18px;
    font-weight: 700;
    color: #102a43;
}

.camp-calendar-nav {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d6e0ee;
    border-radius: 12px;
    background: #fff;
    color: #0f766e;
}

.camp-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
}

.camp-calendar-weekday {
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: #7b8794;
    padding-bottom: 6px;
}

.camp-calendar-day {
    min-height: 74px;
    border-radius: 16px;
    border: 1px solid #e4edf6;
    background: #f8fbff;
    padding: 10px 8px;
    text-align: center;
    font-size: 14px;
    color: #9aa5b1;
}

.camp-calendar-day.is-empty {
    background: transparent;
    border-color: transparent;
}

.camp-calendar-day.is-available {
    background: #fff;
    border-color: #b7d7cb;
    color: #102a43;
    cursor: pointer;
}

.camp-calendar-day.is-available:hover {
    box-shadow: 0 12px 24px rgba(15, 118, 110, 0.12);
    transform: translateY(-1px);
}

.camp-calendar-day.is-selected {
    background: linear-gradient(180deg, #ecfdf5 0%, #dcfce7 100%);
    border-color: #0f766e;
    color: #0f172a;
    box-shadow: 0 14px 28px rgba(15, 118, 110, 0.16);
}

.camp-calendar-day strong {
    display: block;
    font-size: 18px;
    margin-bottom: 6px;
}

.camp-calendar-day span {
    display: block;
    font-size: 11px;
    line-height: 1.35;
}

.camp-calendar-slots {
    margin-top: 18px;
    display: grid;
    gap: 10px;
}

.camp-calendar-slot {
    width: 100%;
    border: 1px solid #d6e0ee;
    background: #fff;
    text-align: left;
    padding: 14px 16px;
    border-radius: 14px;
    transition: 0.2s ease;
}

.camp-calendar-slot:hover,
.camp-calendar-slot.is-active {
    background: #f0fdf9;
    border-color: #0f766e;
}

.camp-calendar-slot strong {
    display: block;
    color: #102a43;
    font-size: 15px;
    margin-bottom: 4px;
}

.camp-calendar-slot span {
    display: block;
    color: #52667a;
    font-size: 13px;
    line-height: 1.5;
}

.camp-selected-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    border: 1px solid #cce7df;
    background: #f4fbf8;
    border-radius: 16px;
    padding: 16px 18px;
    margin-bottom: 20px;
}

.camp-selected-summary strong {
    display: block;
    color: #0f172a;
}

.camp-selected-summary span {
    color: #52667a;
    font-size: 14px;
}

/* ─── Schedule date picker ─── */
.camp-schedule-select-wrap {
    position: relative;
}

.camp-schedule-select {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    display: block;
    padding: 12px 42px 12px 14px;
    min-height: 50px;
    font-size: 15px;
    font-weight: 500;
    color: #1e2d3d;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230f766e' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    border: 1.5px solid #c8dff6;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(15, 118, 110, 0.06);
    cursor: pointer;
    transition: border-color 0.18s, box-shadow 0.18s;
}

.camp-schedule-select:focus {
    outline: none;
    border-color: #0f766e;
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.14);
}

.camp-schedule-select option {
    font-size: 14px;
    color: #1e2d3d;
    padding: 6px 0;
}

.camp-schedule-select optgroup {
    font-size: 12px;
    font-weight: 700;
    color: #0f766e;
}

.camp-schedule-preview {
    border: 1px solid #c9e9df;
    background: #f2fbf7;
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    gap: 6px;
    flex-direction: column;
}

.camp-schedule-preview strong {
    display: block;
    color: #0c2a22;
    font-size: 15px;
    font-weight: 700;
}

.camp-schedule-preview span {
    color: #3d6458;
    font-size: 13px;
    line-height: 1.5;
}


@media (max-width: 767.98px) {
    .camp-step-card {
        padding: 18px;
    }

    .camp-tab-btn {
        min-width: 100%;
    }

    .camp-calendar-day {
        min-height: 62px;
        padding: 8px 4px;
    }

    .camp-selected-summary {
        flex-direction: column;
        align-items: flex-start;
    }
}
