/* Frontend rental form */
.rbm-fields-wrap {
    /* margin: 16px 0; */
    /* padding: 14px; */
    /* border: 1px solid #dcdcde; */
    /* border-radius: 6px; */
    /* background: #ffffff; */
}
.rbm-fields-wrap .form-row label {
    font-weight: 600;
    display: inline-block;
    margin-bottom: 6px;
}
.rbm-fields-table {
    width: 100%;
    border-collapse: collapse;
}
.rbm-fields-table th,
.rbm-fields-table td {
    border: 0;
    /* padding: 0 0 12px; */
    vertical-align: middle;
    text-align: left;
}
.rbm-fields-table th {
    width: 180px;
    font-weight: 600;
    padding-right: 14px;
}
.rbm-fields-table label {
    margin: 0;
}
.rbm-fields-wrap input[type="date"],
.rbm-fields-wrap input[type="time"],
.rbm-fields-wrap input[type="number"] {
    width: 100%;
    max-width: 320px;
}
#rbm-loading {
    margin-top: 8px;
    color: #50575e;
    font-size: 13px;
}
#rbm-availability-msg {
    margin-top: 10px;
    font-weight: 600;
    opacity: 1;
}
#rbm-availability-msg.rbm-available {
    color: #1d7f32;
}
#rbm-availability-msg.rbm-unavailable {
    color: #b32d2e;
}
.rbm-fade-in {
    animation: rbmFadeIn 0.28s ease-in-out;
}
@keyframes rbmFadeIn {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
html body.woocommerce #content table.cart td.actions, html body.woocommerce table.cart td.actions, .woocommerce-page #content table.cart td.actions, .woocommerce-page table.cart td.actions, html body .elementor-widget-woocommerce-cart .woocommerce table.shop_table.cart .actions {
    text-align: right !important;
}
.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-product-name {
    font-size: 20px;
}
/* Admin portal */
.rbm-admin-wrap .rbm-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 12px 0 18px;
}
.rbm-admin-wrap .rbm-filter-bar label {
    font-weight: 600;
}
.rbm-admin-wrap .rbm-table td,
.rbm-admin-wrap .rbm-table th {
    vertical-align: middle;
}
.rbm-manual-form {
    padding: 12px;
    margin-bottom: 18px;
    border: 1px solid #dcdcde;
    border-radius: 6px;
    background: #fff;
}
.rbm-status-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    text-transform: capitalize;
}
.rbm-status-pending {
    background: #f0f0f1;
    color: #50575e;
}
.rbm-status-confirmed {
    background: #e6f6eb;
    color: #1d7f32;
}
.rbm-status-cancelled {
    background: #fdeaea;
    color: #b32d2e;
}
.rbm-status-completed {
    background: #e8f2ff;
    color: #0a4b78;
}
.rbm-order-meta-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 8px;
}
.rbm-order-meta-table th,
.rbm-order-meta-table td {
    border: 1px solid #e2e4e7;
    text-align: left;
}
@media (max-width: 600px) {
    .rbm-fields-table,
    .rbm-fields-table tbody,
    .rbm-fields-table tr,
    .rbm-fields-table th,
    .rbm-fields-table td {
        display: block;
        width: 100%;
    }
    .rbm-fields-table th {
        padding: 0 0 6px;
    }
    .rbm-fields-table td {
        padding: 0 0 12px;
    }
}
table.rbm-fields-table {}
.rbm-fields-wrap {
    width: 100%;
}
html :is(.elementor-widget-woocommerce-product-add-to-cart, html .woocommerce div.product .elementor-widget-woocommerce-product-add-to-cart, html .elementor-widget-wc-add-to-cart, html .woocommerce div.product .elementor-widget-wc-add-to-cart) form.cart.variations_form .woocommerce-variation-add-to-cart,
html :is(.elementor-widget-woocommerce-product-add-to-cart, html .woocommerce div.product .elementor-widget-woocommerce-product-add-to-cart, html .elementor-widget-wc-add-to-cart, html .woocommerce div.product .elementor-widget-wc-add-to-cart) form.cart:not(.grouped_form):not(.variations_form) {
    display: flex;
    flex-wrap: wrap;
}
a.reset_variations {
    position: absolute;
    right: 20px;
    line-height: 1;
}
.woocommerce div.product form.cart table.rbm-fields-table th {
    text-align: left;
    width: max-content;
    max-width: 70px;
}
.woocommerce div.product form.cart table.rbm-fields-table td {
    width: auto;
}
table.rbm-fields-table {}
table.rbm-fields-table td {}
.woocommerce div.product form.cart table.rbm-fields-table input {
    width: auto;
}
/* qty number arrows always display */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    opacity: 1;
}
.woocommerce .quantity .qty {
    min-width: 100px;
}
div#rbm-loading {
    position: absolute;
    right: 0;
    bottom: 0;
}
.rbm-fields-wrap.variations {
    position: relative;
}
.woocommerce div.product form.cart div.quantity:before {
    content: 'Quantity ';
    font-weight: 700;
    text-align: left;
    vertical-align: -webkit-baseline-middle;
    font-size: 14px;
}
.rbm-booking-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
/* admin css */
form.rbm-manual-form .select2-container {
    max-width: 300px;
}
table.rbm-manual-booking-table {
    width: auto !important;
}
table.dataTable>thead>tr>th,
table.dataTable>thead>tr>td {
    font-weight: 500;
    line-height: 1;
    padding: 8px;
}
.dt-length select#dt-length-0 {
    min-width: 50px;
}
div.dt-container .dt-search input {
    background-color: #ffffff;
}