/* ===== Booking tabs ===== */
.booki-booking-tabs {
    display: flex;
    gap: 0;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 22px;
}

.booki-booking-tab {
    flex: 1;
    padding: 11px 8px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    background: #f9fafb;
    color: #6b7280;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    transition: background 0.15s, color 0.15s;
}

.booki-booking-tab.booki-booking-tab--active {
    background: var(--booki-primary-color, #1a56db);
    color: #ffffff;
}

/* ===== Accommodation widget container ===== */
.booki-accw-container {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    box-sizing: border-box;
}

.booki-accw-container * { box-sizing: border-box; }

/* ===== Step forms ===== */
.booki-accw-step { display: none; }
.booki-accw-step--active { display: block; }

/* ===== Checkin info ===== */
.booki-accw-checkin-info {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 12px;
    color: #166534;
    margin-bottom: 16px;
}

/* ===== Results grid ===== */
.booki-accw-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 16px;
}

/* ===== Accommodation card ===== */
.booki-accw-card {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.booki-accw-card:hover {
    border-color: var(--booki-primary-color, #1a56db);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.booki-accw-card.selected {
    border-color: var(--booki-primary-color, #1a56db);
    background: rgba(26, 86, 219, 0.03);
}

.booki-accw-card-image {
    width: 100%;
    height: 190px;
    background-size: cover;
    background-position: center;
    background-color: #f3f4f6;
}

/* Thumbnails */
.booki-accw-thumbs {
    display: flex;
    gap: 5px;
    padding: 6px 8px;
    background: #f8fafc;
    border-top: 1px solid #f3f4f6;
}

.booki-accw-thumb {
    width: 44px;
    height: 34px;
    border-radius: 4px;
    background-size: cover;
    background-position: center;
    background-color: #e5e7eb;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.6;
    transition: opacity 0.15s, border-color 0.15s;
    flex-shrink: 0;
}

.booki-accw-thumb:hover { opacity: 1; }
.booki-accw-thumb--active {
    border-color: var(--booki-primary-color, #1a56db);
    opacity: 1;
}

.booki-accw-card-body { padding: 16px; }

.booki-accw-card-name {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 4px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.booki-accw-card-meta {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Amenities */
.booki-accw-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 12px;
}

.booki-accw-amenity {
    background: #f3f4f6;
    color: #374151;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Price row */
.booki-accw-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0 14px;
    gap: 8px;
}

.booki-accw-price-left {
    font-size: 13px;
    color: #6b7280;
}

.booki-accw-price-left strong { color: #374151; font-weight: 600; }

.booki-accw-price-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex-shrink: 0;
}

.booki-accw-price-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #9ca3af;
    line-height: 1;
    margin-bottom: 2px;
}

.booki-accw-price-total {
    font-size: 20px;
    font-weight: 800;
    color: var(--booki-primary-color, #1a56db);
    line-height: 1;
}

.booki-accw-card-btn {
    display: block;
    width: 100%;
    padding: 11px;
    background: var(--booki-primary-color, #1a56db);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: opacity 0.2s;
}

.booki-accw-card-btn:hover { opacity: 0.88; }

/* ===== Options section ===== */
.booki-accw-options-list { margin-bottom: 16px; }

/* ===== Availability note ===== */
.booki-accw-availability-note {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.booki-accw-availability-note-inner {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #E1F5EE;
    border: 1px solid #5DCAA5;
    border-radius: 999px;
    padding: 6px 18px;
    color: #085041;
    font-size: 13px;
    font-weight: 500;
}

/* ===== No results ===== */
.booki-accw-no-results {
    text-align: center;
    padding: 40px 20px;
    color: #6b7280;
    font-size: 14px;
}

/* ===== Recap bar ===== */
.booki-accw-date-recap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 10px 14px;
    margin-bottom: 16px;
    gap: 10px;
    font-size: 13px;
    color: #374151;
}

/* ===== Responsive ===== */
@media (max-width: 600px) {
    .booki-accw-grid { grid-template-columns: 1fr; gap: 14px; }
    .booki-accw-card-image { height: 170px; }
    .booki-booking-tab { font-size: 12px; }
}
