/* Reservation customizer add-on styles */
.customizer-wrap {
    width: min(1000px, calc(100% - 32px));
    margin: 0 auto;
    padding: 24px 0 36px;
}

.customizer-card {
    background: #fff;
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 4px 16px rgba(0,0,0,.06);
    margin-bottom: 18px;
}

.customizer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.choice-card {
    position: relative;
    border: 2px solid #d1d5db;
    border-radius: 12px;
    padding: 14px;
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
    overflow: hidden;
}

.choice-card:hover {
    border-color: #94a3b8;
}

.choice-card.is-selected {
    border-color: #0f766e;
    box-shadow: 0 0 0 4px rgba(15,118,110,.24);
    transform: translateY(-1px);
}

.choice-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(15,118,110,.34) 0%,
        rgba(20,184,166,.28) 55%,
        rgba(45,212,191,.24) 100%
    );
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s ease;
}

.choice-card.is-selected::after {
    opacity: 1;
}

.choice-card::before {
    content: "Selected";
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    background: #0f766e;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 8px;
    border-radius: 999px;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity .15s ease, transform .15s ease;
    pointer-events: none;
}

.choice-card.is-selected::before {
    opacity: 1;
    transform: translateY(0);
}

.choice-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
    background: #e5e7eb;
    position: relative;
    z-index: 1;
}

.choice-card label {
    display: block;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.choice-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.customizer-actions,
.admin-actions-inline {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.full-width-btn {
    width: 100%;
    min-height: 56px;
    padding: 16px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* RELIABLE STACKED BUTTONS WITH REAL SPACING */
.vertical-button-stack {
    display: block;
    margin-top: 16px;
}

.vertical-button-stack .btn,
.vertical-button-stack button {
    width: 100%;
    min-height: 56px;
    padding: 16px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.vertical-button-stack .btn + .btn,
.vertical-button-stack button + .btn,
.vertical-button-stack .btn + button,
.vertical-button-stack button + button {
    margin-top: 12px;
}

.rich-editor {
    min-height: 220px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: #fff;
    padding: 12px;
}

.editor-toolbar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.editor-toolbar button {
    background: #e5e7eb;
    color: #111827;
    border: 1px solid #d1d5db;
    padding: 8px 10px;
    border-radius: 8px;
}

.is-hidden {
    display: none !important;
}