/**
 * Frontend Booking Bar Styles - Cafe Branch Booking Pro
 * Exactly matches the reference design.
 */

/* 1. Imports & Root Variables */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=Playfair+Display:ital,wght@1,600&display=swap');

:root {
    --cbb-beige: #edece6;      /* Main bar background */
    --cbb-tan: #c5a47e;        /* Signature button & icons */
    --cbb-tan-hover: #b3936d;  /* Darker tan for hover */
    --cbb-white: #ffffff;
    --cbb-text: #1a1a1a;
    --cbb-border: #f0f0f0;
}

/* 2. Main Container */
.cbb-booking-wrapper {
    width: 100%;
    margin: 20px 0;
    display: flex;
    justify-content: center;
}

.cbb-booking-bar {
    background-color: #eae7de;
    padding: 10px 20px;
    display: flex;
    flex-direction: row; /* Force horizontal */
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 4px;
    width: auto;
}

.cbb-input-group {
    background: #fff;
    display: flex;
    align-items: center;
    height: 45px;
    min-width: 150px;
    border-radius: 2px;
    position: relative;
}

/* Fix for Flatpickr extra input */
.cbb-input-group input, 
.cbb-input-group select,
.flatpickr-input {
    border: none !important;
    background: transparent !important;
    width: 100%;
    height: 100%;
    padding: 0 10px;
    font-family: 'Merriweather', serif;
    font-style: italic;
    font-size: 15px;
    color: #333;
    outline: none;
    appearance: none;
    cursor: pointer;
}

.cbb-icon-box {
    padding: 0 10px;
    border-left: 1px solid #eee;
    height: 25px;
    display: flex;
    align-items: center;
}

.cbb-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 13px;
    color: #1a1a1a;
}

.cbb-submit-btn {
    background-color: #c7a17a !important; /* Match your blue image button */
    color: #fff;
    border: none;
    padding: 0 25px;
    height: 45px;
    border-radius: 5px; /* Rounded button as per image */
    font-family: 'Merriweather', sans-serif;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: 0.3s;
    white-space: nowrap;
}

.cbb-submit-btn:hover { background-color: #30271c; }

/* Responsive: stack on mobile */
@media (max-width: 991px) {
    .cbb-booking-bar { flex-direction: column; width: 100%; padding: 20px; }
    .cbb-input-group { width: 100%; }
}