/* Rueban Stay — Booking Form Styles */

.lqd-post-cover{
    display: none;
}
.rs-booking-form-wrap {
    font-family: 'Segoe UI', sans-serif;
}

.rs-booking-form__title {
    color: var(--rs-primary, #44027C);
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 1.25rem;
    padding-bottom: .75rem;
    border-bottom: 2px solid #f0e8ff;
}

.rs-form-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.rs-form-group { display: flex; flex-direction: column; gap: .35rem; }
.rs-form-group label { font-size: .85rem; font-weight: 200; color: #d1d5db; }
.rs-form-group input,
.rs-form-group select {
    padding: .65rem .85rem;
    border: 1.5px solid #e0d6eb;
    border-radius: 8px;
    font-size: .9rem;
    transition: border-color .2s, box-shadow .2s;
    background: #fff;
    color: #000;
}
.rs-form-group input:focus,
.rs-form-group select:focus {
    border-color: #44027C;
    outline: none;
    box-shadow: 0 0 0 3px rgba(68,2,124,.1);
}

.rs-price-preview {
    background: #f0e8ff;
    color: #44027C;
    padding: .6rem 1rem;
    border-radius: 8px;
    font-size: .9rem;
}

/* Pricing info bar */
.rs-pricing-info {
    background: #f7f7f7;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: .75rem 1rem;
    margin-bottom: 1.25rem;
}
.rs-pricing-info__label {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    color: #888;
    text-transform: uppercase;
    margin: 0 0 .35rem;
}
.rs-pricing-info__details {
    font-size: .875rem;
    color: #333;
    margin: 0;
    line-height: 1.6;
}

/* Price breakdown card */
.rs-price-breakdown {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 1rem 1.1rem;
    margin-top: .75rem;
    font-size: .9rem;
}
.rs-pb-label {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    color: #888;
    text-transform: uppercase;
    margin: 0 0 .25rem;
}
.rs-pb-dates {
    font-size: .8rem;
    color: #555;
    margin: 0 0 .75rem;
}
.rs-pb-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .3rem 0;
    color: #333;
}
.rs-pb-divider {
    border: none;
    border-top: 1px solid #e8e8e8;
    margin: .5rem 0;
}
.rs-pb-total {
    font-weight: 700;
    font-size: 1rem;
    color: #111;
    padding-top: .4rem;
}

/* "You won't be charged yet" note */
.rs-no-charge-note {
    text-align: center;
    font-size: .8rem;
    color: #888;
    margin: .5rem 0 0;
}

.rs-availability-result { margin-top: .5rem; }

.rs-booking-summary-mini {
    background: #f0e8ff;
    color: #44027C;
    padding: .75rem 1rem;
    border-radius: 8px;
    font-size: .9rem;
    margin-bottom: 1rem;
}

/* Booking confirmed step */
.rs-booking-confirmed {
    text-align: center;
    padding: 2rem 1rem;
}
.rs-booking-confirmed__icon {
    width: 70px;
    height: 70px;
    background: #2e7d32;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
}
.rs-booking-confirmed h2 {
    color: #2e7d32;
    margin: 0 0 .5rem;
}
.rs-booking-ref {
    background: var(--gold) !important;
    color: #fff;
    display: inline-block;
    padding: .5rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1px;
    margin: .5rem 0;
}

/* Admin bookings table */
#rs-guest-bookings-list { margin-top: 1rem; }

/* Notice */
.rs-notice {
    background: #fff8e1;
    border-left: 4px solid #f57c00;
    padding: .75rem 1rem;
    border-radius: 4px;
    color: #555;
}

/* Responsive */
@media (max-width: 480px) {
    .rs-form-row { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------
   Flatpickr — blocked/disabled dates: strikethrough style
------------------------------------------------------- */
.flatpickr-day.disabled,
.flatpickr-day.disabled:hover,
.flatpickr-day.notAllowed,
.flatpickr-day.notAllowed:hover,
.flatpickr-day.flatpickr-disabled {
    color: rgba(57, 57, 57, 0.3) !important;
    background: transparent;
    border-color: transparent;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* ---------------------------------------------------------------
   Single-screen booking — two-column layout
--------------------------------------------------------------- */
.rs-booking-layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.rs-booking-layout__fields,
.rs-booking-layout__summary {
    width: 100%;
}

/* Dates + guests: always 3 equal columns */
.rs-form-row--dates {
    grid-template-columns: repeat(3, 1fr) !important;
}

/* Guest details: 2 columns */
.rs-form-row--guest {
    grid-template-columns: repeat(2, 1fr) !important;
}

@media (max-width: 480px) {
    .rs-form-row--dates,
    .rs-form-row--guest {
        grid-template-columns: 1fr !important;
    }
}

/* Inline error banner */
.rs-form-inline-error {
    background: #ffebee;
    color: #c62828;
    padding: .75rem 1rem;
    border-radius: 8px;
    font-size: .9rem;
    margin-bottom: 1rem;
    border-left: 4px solid #c62828;
}
