/* GLOBAL RESET */
.be-wrapper, .be-wrapper * {
    font-family: 'Poppins', sans-serif !important;
    box-sizing: border-box;
}

.be-wrapper {
    max-width: 420px;
    margin: 10px auto;
    background: #f7f7f7;
    padding: 18px;
    border-radius: 18px;
}

/* DATE ROW */

.be-date-row {
    display: flex;
    flex-wrap: wrap; /* Allows wrapping on small screens */
    gap: 12px;
    margin-bottom: 20px;
}

.be-date-input-container {
    flex: 1;
    min-width: 160px; /* Prevents fields from getting too narrow */
    background: #0f5c5c; /* Teal color from your image */
    border-radius: 12px;
    padding: 16px 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.be-date-field-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.be-date-field-wrapper input {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff !important;
    background: transparent;
    border: none;
    outline: none;
    width: 100%;
    cursor: pointer;
    padding: 0;
}

/* Ensures placeholder is bright white and bold like the image */
.be-date-field-wrapper input::placeholder {
    color: #ffffff;
    opacity: 1;
    font-weight: 700;
}

.be-calendar-icon {
    display: flex;
    align-items: center;
    margin-left: 10px;
}

/* Mobile specific adjustment */
@media (max-width: 400px) {
    .be-date-input-container {
        flex: 1 1 100%; /* Spans full width on very small phones */
    }
}

/* UNIT ROW */
.be-main-unit-card {
    background: #fff;
    border-radius: 14px;
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    border: 1px solid #eee;
}

.be-unit-label {
    font-size: 14px;
    font-weight: 600;
}

/* COUNTER */
.be-counter-ui {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #eef1f3;
    padding: 4px 6px;
    border-radius: 10px;
}

.be-counter-ui button {
    width: 28px;
    height: 28px;
    background: #fff;
    border: 1.5px solid #0f5c5c;
    border-radius: 6px;
    color: #0f5c5c;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
}

.be-counter-ui input {
    width: 20px;
    text-align: center;
    border: none;
    background: transparent;
    font-weight: 600;
    font-size: 14px;
}

/* UNIT CARD */
.be-card {
    background: #fff;
    border-radius: 16px;
    padding: 14px;
    margin-bottom: 12px;
    border: 1px solid #eee;
}

/* HEADER */
.be-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.be-card-header h4 {
    font-size: 16px !important;
    font-weight: 600;
    margin: 0;
}

.be-capacity {
    font-size: 10px;
    padding: 4px 8px;
    background: #dff3f3;
    border-radius: 6px;
    font-weight: 600;
    color: #0f5c5c;
}

/* DISCOUNT */
.be-discount {
    background: #fff6db;
    border: 1px solid #ffe2a3;
    font-size: 11px;
    padding: 8px;
    border-radius: 8px;
    margin-bottom: 10px;
}

/* GUEST ROW */
.be-guest-row {
    display: flex;
    gap: 10px;
}

.be-guest {
    flex: 1;
}

.be-guest span {
    font-size: 10px;
    color: #666;
    margin-bottom: 3px;
    display: block;
}

/* BOX UI */
.be-box {
    background: #fff;
    padding: 14px;
    border-radius: 14px;
    margin-top: 12px;
    border: 1px solid #eee;
}

.be-box h3 {
    font-size: 16px !important;
    font-weight: 600;
    margin-bottom: 10px;
}

/* SERVICES */
.be-checkbox-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    margin-bottom: 6px;
}

/* PRICE */
.be-summary-row {
    font-size: 13px;
    margin-bottom: 3px;
}

/* PAYMENT */
.be-radio-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    margin-bottom: 5px;
}

/* TOTAL */
.be-grand-total {
    font-size: 34px;
    font-weight: 800;
    color: #0f5c5c;
}

.be-danger-text {
    color: red;
    font-weight: 600;
}

/* BUTTON */
#book-now {
    width: 100%;
    padding: 14px;
    background: #0f5c5c;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    margin-top: 12px;
    cursor: pointer;
}

#book-now:hover {
    background: #0c4b4b;
}

.be-warning {
    font-size: 10px;
    color: red;
    margin-top: 4px;
    font-weight: 500;
}

.be-discount {
    transition: all 0.3s ease;
}

/* Initial hidden state */
.be-discount.anim-hide {
    opacity: 0;
    transform: translateY(6px) scale(0.98);
}

/* Visible animated state */
.be-discount.anim-show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Applied state (extra highlight) */
.be-discount.applied {
    background: #e6ffed;
    border: 1px solid #b7f5c8;
    color: #1a7f37;
    font-weight: 600;
}