/* Basic background for the form area */
.form-wrapper {
    background-color: #E3E3E3 !important;
    padding: 20px !important;
    margin-bottom: 20px !important;
}

.form-group,
.jet-form-builder__field-wrap {
    margin-bottom: 15px !important;
}

/* Form labels */
.form-wrapper label,
.jet-form-builder__label-text {
    font-family: "Montserrat", sans-serif !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    line-height: 16px !important;
    color: #000 !important;
    display: block !important;
    margin-bottom: 4px !important;
}

/* Form inputs */
.form-wrapper input,
.form-wrapper select,
.jet-form-builder__field {
    font-family: "Montserrat", sans-serif !important;
    font-weight: 600 !important;
    font-size: 18px !important;
    line-height: 22px !important;
    color: #000 !important;
    width: 100% !important;
    padding: 6px !important;
    margin-bottom: 6px !important;
    border: 1px solid #ccc !important;
    border-radius: 3px !important;
}

/* Two columns for step1 form */
.two-column,
.wp-block-columns {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
}

.column,
.wp-block-column {
    flex: 1 !important;
    min-width: 280px !important;
}

/* Car Grid: 3 columns, 2 rows strict */
.car-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    grid-template-rows: repeat(2, auto) !important;
    gap: 10px !important;
    margin-bottom: 20px !important;
}

/* Car card style */
.car-card,
.jet-listing-dynamic-post {
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    background: #fff !important;
    position: relative !important;
    text-align: center !important;
    cursor: pointer !important;
    overflow: hidden !important;
    display: block !important;
}

/* Hide the checkbox */
.car-card input[type="radio"],
.jet-form-builder__field.checkboxes-field {
    display: none !important;
}

.card-content {
    padding: 10px !important;
    text-align: center !important;
}

/* Available text */
.availability,
.jet-listing-dynamic-field__content:first-of-type {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    font-family: Montserrat, sans-serif !important;
    font-weight: 700 !important;
    font-size: 11px !important;
    line-height: 13px !important;
    color: rgb(248, 59, 179) !important;
}

/* Car image */
.car-image img,
.jet-listing-dynamic-image__img {
    max-width: 100% !important;
    height: auto !important;
    margin-bottom: 10px !important;
}

/* Car name */
.car-name,
.jet-listing-dynamic-field__content:nth-of-type(2) {
    font-family: "Montserrat", sans-serif !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    line-height: 16px !important;
    color: #000 !important;
    margin: 0 0 5px 0 !important;
}

/* Price */
.car-price,
.jet-listing-dynamic-field__content:nth-of-type(3) {
    font-family: "Montserrat", sans-serif !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    line-height: 15px !important;
    color: #0157bc !important;
    margin: 5px 0 !important;
}

.car-features {
    display: flex !important;
    gap: 8px !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
}

.car-features .feature,
.jet-form-builder__field-template .elementor-image-box {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

.car-features .feature img,
.jet-listing-dynamic-image__img {
    margin-bottom: 4px !important;
}

.car-features .feature span,
.elementor-image-box-title {
    font-family: "Montserrat", sans-serif !important;
    font-weight: 400 !important;
    font-size: 12px !important;
    line-height: 14px !important;
    color: #000 !important;
}

/* Highlight selected car */
.car-card input[type="radio"]:checked + .card-content,
.jet-form-builder__field.checkboxes-field:checked ~ .card-content {
    border: 2px solid #0157bc !important;
}

.choose-car-text p {
    font-family: Montserrat, sans-serif !important;
    font-weight: 700 !important;
    color: #0157bc !important;
    font-size: 16px !important;
    line-height: 18px !important;
    margin: 0 !important;
    text-align: center !important;
    margin-bottom: 20px !important;
}

/* Submit row (book now) */
.submit-row,
.jet-form-builder__submit-wrap {
    text-align: center !important;
    margin-top: 20px !important;
}

/* Make the BOOK NOW button even bigger */
#book_now_button,
.jet-form-builder__action-button {
    padding: 25px 50px !important;
    font-family: "Montserrat", sans-serif !important;
    font-weight: 700 !important;
    font-size: 22px !important;
    cursor: pointer !important;
}

/* Responsive: single column form, single column car grid */
@media (max-width: 768px) {
    .two-column,
    .wp-block-columns {
        flex-direction: column !important;
    }
    .car-grid {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto !important;
    }
}

.seat-booster {
    display: none;
}

.custom-order-meta {
    margin: 20px 0;
    font-size: 16px;
    color: #333;
    padding: 0 20px;
    box-sizing: border-box;
}

.custom-order-meta h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #555;
}

.custom-order-meta ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.custom-order-meta li {
    margin-bottom: 8px;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .custom-order-meta {
        padding: 20px;
    }
}

/* Rental Summary wrapper */
.scb-rental-summary {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 25px 25px 15px;
    margin-top: 40px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* Title */
.scb-rental-summary h2.woocommerce-order-details__title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #111;
}

/* Table structure */
.scb-rental-summary table.shop_table {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
}

.scb-rental-summary table.shop_table th,
.scb-rental-summary table.shop_table td {
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
}

.scb-rental-summary table.shop_table tr:last-child td,
.scb-rental-summary table.shop_table tr:last-child th {
    border-bottom: none;
}

/* Highlight the payment note */
.scb-rental-summary .woocommerce-info {
    margin-top: 20px;
    border: 0;
    border-left: 4px solid #0170B9;
    background: #e6f2fb;
    color: #004b79;
    font-size: 0.95rem;
    padding: 12px 15px;
    line-height: 1.5;
    box-shadow: inset 0 0 0 9999px rgba(255,255,255,0.2);
}

/* Optional: Price summary under the item */
.custom-order-meta h4 {
    margin-top: 20px;
    margin-bottom: 5px;
    font-weight: 600;
}
.custom-order-meta ul {
    margin-bottom: 0;
    padding-left: 20px;
}

/* Remove WooCommerce icon + checkbox from info box */
.scb-rental-summary .woocommerce-info::before,
.scb-rental-summary .woocommerce-info::after {
    display: none !important;
    content: none !important;
}
