/* =========================================================
   TER PREMIUM EVENT OPTIONS
   Booking-aware capacity, Assists, and Realism
   ========================================================= */

.capacity-state {
    display: flex;
    flex-direction: column;
    justify-content: center;

    min-height: 100%;
    padding: 13px 15px;

    border: 1px solid #303030;
    background: #090909;
}

.capacity-state small,
.capacity-state strong,
.capacity-state span {
    display: block;
}

.capacity-state small {
    margin-bottom: 7px;

    color: #777;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.1px;
}

.capacity-state strong {
    color: #ddd;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .6px;
}

.capacity-state span {
    margin-top: 6px;

    color: #6d6d6d;
    font-size: 9px;
    line-height: 1.5;
}

.capacity-state.is-booking {
    border-left: 3px solid var(--red);
    background: #110b0c;
}

.capacity-state.is-booking strong {
    color: #fff;
}

.premium-options-list {
    padding: 0 18px 4px;
}

.premium-option-row,
.premium-toggle-row {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    column-gap: 20px;
    row-gap: 7px;

    min-height: 64px;
    padding: 14px 0;

    border-bottom: 1px solid #292929;
}

.premium-options-list > :last-child {
    border-bottom: 0;
}

.premium-option-label {
    display: flex;
    align-items: center;
    gap: 8px;

    min-height: 42px;

    color: #c2c2c2;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
    line-height: 1.35;
}

.premium-option-control {
    display: grid;
    gap: 6px;
}

.premium-option-control input:not([type="checkbox"]),
.premium-option-control select {
    width: 100%;
    min-height: 42px;
    padding: 0 11px;

    border: 1px solid #383838;
    outline: none;

    background: #090909;
    color: #eee;

    box-sizing: border-box;
}

.premium-option-control input:focus,
.premium-option-control select:focus {
    border-color: var(--red);
}

.premium-option-control small,
.premium-toggle-copy {
    color: #747474;
    font-size: 9px;
    line-height: 1.5;
}

.premium-toggle-control {
    position: relative;

    display: flex;
    align-items: center;
    min-height: 42px;
}

.premium-toggle-control input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;

    width: 44px;
    height: 24px;
    min-height: 24px;
    margin: 0;
    padding: 0;

    border: 1px solid #4a4a4a;
    border-radius: 999px;
    outline: none;

    background:
        radial-gradient(
            circle at 11px 50%,
            #b5b5b5 0 7px,
            transparent 7.5px
        ),
        #252525;

    cursor: pointer;
    transition:
        border-color .15s ease,
        background .15s ease;
}

.premium-toggle-control input[type="checkbox"]:checked {
    border-color: var(--red);

    background:
        radial-gradient(
            circle at calc(100% - 11px) 50%,
            #fff 0 7px,
            transparent 7.5px
        ),
        #8f1117;
}

.premium-toggle-control input[type="checkbox"]:focus-visible {
    box-shadow: 0 0 0 2px #090909, 0 0 0 4px var(--red);
}

.premium-toggle-copy {
    margin-left: 14px;
}

.assist-mode-key {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    padding: 0 18px 16px;
}

.assist-mode-key span {
    padding: 6px 8px;

    border: 1px solid #292929;
    background: #090909;

    color: #777;
    font-size: 8px;
    line-height: 1.4;
}

.assist-mode-key strong {
    color: #bbb;
}

@media (max-width: 800px) {
    .premium-option-row,
    .premium-toggle-row {
        grid-template-columns: 1fr;
        row-gap: 8px;
    }

    .premium-option-label {
        min-height: 28px;
    }
}
