/* VB Spot Amenities v2 — Step-by-step amenity selection */

.vbsa-amenities { margin: 10px 0 0 0; }
.vbsa-amenities h4 { /* inherits VB's h4 */ }

/* Step container */
.vbsa-steps-container { min-height: 60px; }

/* Step header */
.vbsa-step-header {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 12px;
}
.vbsa-step-badge {
    display: inline-block; padding: 2px 10px;
    background: rgba(196,167,71,0.2); color: rgb(196,167,71);
    font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.5px; border-radius: 4px;
}
.vbsa-step-title {
    font-size: 16px; font-weight: 600;
}

/* Option cards */
.vbsa-step-options {
    display: flex; flex-direction: column; gap: 8px;
}

.vbsa-opt-card {
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(128,128,128,0.2);
    border-radius: 8px; padding: 14px 18px;
    cursor: pointer; transition: all 0.2s ease; user-select: none;
}
.vbsa-opt-card:hover:not(.vbsa-sold-out) {
    border-color: rgba(196,167,71,0.5);
    background: rgba(196,167,71,0.05);
}
.vbsa-opt-card.vbsa-selected {
    border-color: rgb(196,167,71);
    background: rgba(196,167,71,0.1);
    box-shadow: 0 0 0 1px rgba(196,167,71,0.3);
}
.vbsa-opt-card.vbsa-sold-out {
    opacity: 0.4; cursor: not-allowed;
}

.vbsa-opt-inner {
    display: flex; align-items: center; gap: 14px;
}

/* Radio */
.vbsa-opt-radio { flex-shrink: 0; }
.vbsa-opt-radio input[type="radio"] {
    width: 18px; height: 18px; margin: 0;
    cursor: pointer; accent-color: rgb(196,167,71);
}
.vbsa-opt-radio input[type="radio"]:disabled { cursor: not-allowed; }

/* Info */
.vbsa-opt-info { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.vbsa-opt-name { font-size: 15px; font-weight: 600; cursor: pointer; }
.vbsa-sold-out .vbsa-opt-name { text-decoration: line-through; opacity: 0.7; }
.vbsa-opt-desc { font-size: 12px; opacity: 0.6; line-height: 1.4; }
.vbsa-low-stock {
    display: inline-block; margin-top: 2px; padding: 1px 8px;
    background: rgba(229,62,62,0.15); color: #e53e3e;
    font-size: 11px; font-weight: 600; border-radius: 4px; width: fit-content;
}

/* Price */
.vbsa-opt-price {
    flex-shrink: 0; text-align: right;
    display: flex; flex-direction: column; align-items: flex-end; gap: 1px;
}
.vbsa-price-amount { font-size: 17px; font-weight: 700; }
.vbsa-price-per { font-size: 11px; opacity: 0.5; }
.vbsa-price-total { font-size: 11px; opacity: 0.65; }
.vbsa-badge-included {
    padding: 3px 10px; background: rgba(56,161,105,0.15);
    color: #38a169; font-size: 13px; font-weight: 600; border-radius: 5px;
}
.vbsa-badge-sold-out {
    padding: 3px 10px; background: rgba(229,62,62,0.15);
    color: #e53e3e; font-size: 13px; font-weight: 600; border-radius: 5px;
}

/* Discount styling */
.vbsa-discount { color: #38a169 !important; }
.vbsa-discount-line { background: rgba(56,161,105,0.08); }

/* Back button */
.vbsa-back-btn {
    margin-top: 10px; padding: 6px 16px;
    background: transparent; border: 1px solid rgba(128,128,128,0.3);
    border-radius: 5px; cursor: pointer; font-size: 13px;
    color: inherit; opacity: 0.7; transition: opacity 0.2s;
}
.vbsa-back-btn:hover { opacity: 1; }

/* Summary */
.vbsa-summary {
    background: rgba(196,167,71,0.06);
    border: 1px solid rgba(196,167,71,0.2);
    border-radius: 8px; padding: 16px 20px;
}
.vbsa-summary-header {
    font-size: 14px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.5px; opacity: 0.6; margin-bottom: 10px;
}
.vbsa-summary-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 6px 0; font-size: 14px;
}
.vbsa-summary-cost { font-weight: 600; }
.vbsa-summary-free { opacity: 0.5; }
.vbsa-summary-total {
    display: flex; justify-content: space-between;
    padding: 10px 0 0; margin-top: 8px;
    border-top: 1px solid rgba(196,167,71,0.2);
    font-weight: 700; font-size: 15px;
}
.vbsa-change-btn {
    margin-top: 12px; padding: 6px 16px;
    background: transparent; border: 1px solid rgba(196,167,71,0.3);
    border-radius: 5px; cursor: pointer; font-size: 13px;
    color: rgb(196,167,71); transition: all 0.2s;
}
.vbsa-change-btn:hover {
    background: rgba(196,167,71,0.1);
}

/* Surcharge line (below VB price) */
.vbsa-surcharge-line {
    margin-top: 8px; padding: 8px 12px;
    background: rgba(196,167,71,0.08); border-radius: 6px;
    font-size: 14px; display: flex; justify-content: space-between;
}

/* Confirmation page surcharge display */
.vbsa-confirm-surcharge {
    background: rgba(196,167,71,0.06);
    border: 1px solid rgba(196,167,71,0.2);
    border-radius: 8px; padding: 16px 20px;
    margin: 16px 0;
    color: #e2e8f0;
}
.vbsa-confirm-surcharge-header {
    font-size: 14px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.5px; color: rgb(196,167,71); margin-bottom: 10px;
}
.vbsa-confirm-surcharge-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 5px 0; font-size: 14px; color: #e2e8f0;
}
.vbsa-confirm-surcharge-total {
    display: flex; justify-content: space-between;
    padding: 10px 0 0; margin-top: 8px;
    border-top: 1px solid rgba(196,167,71,0.2);
    font-weight: 700; font-size: 15px; color: #f7fafc;
}

/* Loading */
.vbsa-loading {
    text-align: center; padding: 24px; opacity: 0.6; font-size: 14px;
}
.vbsa-spinner {
    display: inline-block; width: 18px; height: 18px;
    border: 3px solid rgba(128,128,128,0.3);
    border-top-color: rgb(196,167,71);
    border-radius: 50%; animation: vbsa-spin 0.6s linear infinite;
    vertical-align: middle; margin-right: 8px;
}
@keyframes vbsa-spin { to { transform: rotate(360deg); } }

/* Mobile */
@media (max-width: 600px) {
    .vbsa-opt-inner { flex-wrap: wrap; }
    .vbsa-opt-price {
        width: 100%; text-align: left;
        align-items: flex-start; padding-left: 32px; margin-top: 4px;
    }
}
