/* RSVP meal picker — clickable cards + selected status display */

.rsvp-content__right-meals {
    list-style: none;
    margin: 0;
    padding: 0;
}

.js-meal-option {
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    border-radius: 2px;
}

.js-meal-option:hover {
    background-color: rgba(0, 0, 0, 0.04);
}

.js-meal-option.is-selected {
    background-color: rgba(0, 0, 0, 0.07);
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.85);
}

.js-meal-option:focus {
    outline: 2px solid rgba(0, 0, 0, 0.35);
    outline-offset: 2px;
}

.rsvp__meal-display {
    display: block;
    width: 100%;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid #ced4da;
    border-radius: 2px;
    background-color: #fff;
    font-family: Lato, sans-serif;
    font-size: 1.6rem;
    line-height: 1.5;
    color: #212529;
}

.rsvp__meal-display.is-selected {
    font-weight: 700;
}

.rsvp__meal-select {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.rsvp__field--meal-pref,
.rsvp__field--guest-meal-pref {
    position: relative;
}

.rsvp-content__right-meal-pref--guest {
    width: 100%;
    display: none;
}

.rsvp-content__right-meal-pref--guest.is-visible {
    display: block;
}

.js-guest-block {
    display: none;
    width: 100%;
}

.js-guest-block.is-visible {
    display: flex;
}

.rsvp__hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.rsvp-form-error {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: 2px;
    background: rgba(120, 0, 0, 0.12);
    color: #5c1010;
    font-size: 1.5rem;
    line-height: 1.45;
}
