/* Generic utility */
.mtbg-hidden {
    display: none !important;
}

/* Top message container */
.mtbg-message-container {
    margin-bottom: 20px;
    width: 100%;
}

#reservation-form.mtbg-reservations-title {
    font-size: 40px;
    font-family: "Londrina Solid", system-ui, sans-serif;
    text-align: center;
    width: 100%;
line-height:1;
    color: whitesmoke;
    display: block;
}

/* Stock notice */
.mtbg-stock-notice {
    text-align: center;
    color: #ffd84d;
    font-size: 0.95rem;
    font-weight: 600;
}

/* Message blocks */
.mtbg-msg {
    display: block;
    width: 100%;
margin-top:30px;
    box-sizing: border-box;
    color: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 5px;
    padding: 10px;
    font-size: 0.85em;
}

.mtbg-msg--no-bike {
    background: #5d41414d;
}

.mtbg-msg--low-qty {
    background: #41515d7a;
}

.mtbg-msg--open-tour {
    background: #9f934c36;
}

.mtbg-msg__title {
    text-align: center;
    font-weight: bold;
    font-size: 18px;
    margin-top: -30px;
}

.mtbg-msg__title--no-bike {
    background-color: #a6083d;
}

.mtbg-msg__title--low-qty {
    background-color: #017dcb;
}

.mtbg-msg__title--open-tour {
    background-color: #9f934c;
}

.mtbg-msg__highlight {
    color: #01cb7d;
}

/* Totals rows */
.mtbg-totals-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}

.mtbg-totals-row span {
    font-size: 0.85rem;
    color: whitesmoke;
}

.mtbg-italic {
    font-style: italic;
}

/* Early bird rows */
.mtbg-early-row .mtbg-early-label,
.mtbg-early-row .mtbg-early-value {
    color: #ffd84d;
    font-style: italic;
}

.mtbg-early-note-row {
    display: none; /* toggled in JS */
    justify-content: flex-end;
    font-size: 0.75rem;
    color: #ffd84d;
    font-style: italic;
}

/* Rush row */
.mtbg-rush-row .mtbg-rush-label,
.mtbg-rush-row .mtbg-rush-value {
    color: #ff6666;
    font-style: italic;
}

/* Totals footer */
.mtbg-totals-footer {
    text-align: center;
    margin-top: 10px;
    font-size: 0.95rem;
}

.mtbg-footer-label {
    font-weight: 600;
    margin-bottom: 2px;
}

.mtbg-footer-label--muted {
    font-style: italic;
}

.mtbg-footer-total--flex {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 2px;
}

.mtbg-footer-pp--flex {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 4px;
}

/* Grand total when discount applied */
.mtbg-footer-total--has-discount .mtbg-footer-final-total {
    /* nothing special yet; hook if desired */
}

.mtbg-footer-original-total {
    color: #999999;
    font-size: 0.9rem;
    text-decoration: line-through;
}

.mtbg-footer-final-total {
    color: #01cb68;
    font-weight: 600;
    font-size: 1.5rem;
    margin-left: 4px;
}

/* Per-person */
.mtbg-footer-pp-single {
    color: #666666;
    font-size: 0.85rem;
}

.mtbg-footer-pp-original {
    color: #aaaaaa;
    font-size: 0.95rem;
    text-decoration: line-through;
}

.mtbg-footer-pp-final {
    color: whitesmoke;
    font-size: 0.95rem;
    margin-left: 4px;
}

/* Bike picker UI */
.mtbg-bike-wrapper-relative {
    position: relative;
}

.mtbg-bike-select {
    width: 100%;
    margin-top: 4px;
    padding: 6px 8px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.2);
    color: #ffffff;
    font-size: 0.85rem;
}

.mtbg-bike-select__header {
    font-weight: 600;
}

.mtbg-bike-select option[disabled] {
    color: #dddddd;
}

.mtbg-bike-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    min-width: 22px;
    min-height: 22px;
    padding: 2px 6px;
    border-radius: 999px;
    background: #01cb68;
    color: #ffffff;
    font-size: 0.75rem;
    line-height: 1.4;
    text-align: center;
    display: none;
}

.mtbg-bike-badge.is-active {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
