/* ==========================================================================
   Caleran Booking Widget — Shared Styles
   ========================================================================== */

.cbw-wrapper {
    margin: 0 auto;
    padding: 24px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}
.cbw-wrapper *,
.cbw-wrapper *::before,
.cbw-wrapper *::after {
    box-sizing: border-box;
}

/* Shared label styles */
.cbw-wrapper label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Shared input styles */
.cbw-wrapper input[type="text"] {
    width: 100%;
    padding: 10px 12px;
    font-size: 15px;
    font-family: inherit;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fafafa;
    color: #333;
    outline: none;
    transition: border-color 0.2s;
}
.cbw-wrapper input[type="text"]:focus {
    border-color: #1885FC;
    background: #fff;
}
.cbw-wrapper input[type="text"]::placeholder {
    color: #999;
}

/* Shared button styles */
.cbw-submit {
    display: inline-block;
    padding: 10px 28px;
    font-size: 15px;
    font-family: inherit;
    font-weight: 600;
    line-height: 1.4;
    color: #fff;
    background: #1885FC;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.2s;
    white-space: nowrap;
}
.cbw-submit:hover {
    background: #0666CD;
}
.cbw-submit:focus {
    outline: 2px solid #1885FC;
    outline-offset: 2px;
}

/* ==========================================================================
   Inline (Horizontal) Layout — [booking_widget]
   ========================================================================== */

.cbw-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-end;
}
.cbw-field {
    flex: 1;
    min-width: 160px;
}
.cbw-btn-wrap {
    flex: 0 0 auto;
}

@media (max-width: 600px) {
    .cbw-row {
        flex-direction: column;
    }
    .cbw-field {
        min-width: 100%;
    }
    .cbw-btn-wrap {
        width: 100%;
    }
    .cbw-wrapper:not(.cbw-stacked) .cbw-submit {
        width: 100%;
    }
}

/* ==========================================================================
   Stacked (Vertical) Layout — [booking_widget_stacked]
   ========================================================================== */

.cbw-stacked {
    max-width: 400px;
}
.cbw-stacked-row {
    margin-bottom: 16px;
}
.cbw-stacked-row:last-child {
    margin-bottom: 0;
}
.cbw-stacked .cbw-submit {
    width: 100%;
}
