.btn-lh {
    background: var(--primary-color);
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 16px;
    width: auto;
    max-width: 150px;
    text-align: center;
}
/* ==============================
   CONTACT FORM 7 - FORM ĐẶT XE
   ============================== */

.booking-form {
    width: 100%;
    padding: 15px;
    background: #fff;
    /* border: 1px solid #e5e7eb; */
    border-radius: 6px;
    box-sizing: border-box;
    font-family: inherit;
}

.booking-form *,
.booking-form *::before,
.booking-form *::after {
    box-sizing: border-box;
}

/* Xóa khoảng trắng mặc định của CF7 */
.booking-form p {
    margin: 0;
}

.booking-form .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

/* Các hàng Điểm đi, Điểm đến... */
.booking-form__route {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.booking-form__row {
    display: grid;
    grid-template-columns: 115px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
}

.booking-form__label {
    margin: 0;
    color: #666;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

/* Input, select */
.booking-form input:not([type="checkbox"]):not([type="submit"]),
.booking-form select {
    display: block;
    width: 100%;
    height: 40px;
    margin: 0;
    padding: 0 12px;
    color: #555;
    font-family: inherit;
    font-size: 15px;
    font-weight: 400;
    line-height: 40px;
    background-color: #fff;
    border: 1px solid #dcdfe4;
    border-radius: 5px;
    outline: none;
    box-shadow: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.booking-form input::placeholder {
    color: #999;
    opacity: 1;
}

.booking-form select {
    cursor: pointer;
}

.booking-form input:not([type="checkbox"]):not([type="submit"]):focus,
.booking-form select:focus {
    border-color: #1266d4;
    box-shadow: 0 0 0 3px rgba(18, 102, 212, 0.12);
}

/* Nhóm checkbox */
.booking-form__options {
    margin: 24px 0 15px;
}

.booking-form__options .wpcf7-checkbox {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
    gap: 12px;
}

.booking-form__options .wpcf7-list-item {
    margin: 0;
}

.booking-form__options .wpcf7-list-item label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    color: #444;
    font-size: 15px;
    font-weight: 400;
    white-space: nowrap;
    cursor: pointer;
}

.booking-form__options input[type="checkbox"] {
    width: 14px;
    height: 14px;
    margin: 0;
    accent-color: #1266d4;
    cursor: pointer;
}

/* Họ tên, điện thoại, ngày, loại xe */
.booking-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

/* Nút submit */
.booking-form__submit {
    margin-top: 10px;
}

.booking-form input[type="submit"] {
    display: block;
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 11px 20px;
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    text-transform: uppercase;
    background: #1266d4;
    border: 0;
    border-radius: 5px;
    box-shadow: none;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.booking-form input[type="submit"]:hover {
    background: #0e55b5;
}

.booking-form input[type="submit"]:active {
    transform: translateY(1px);
}

/* Loading spinner CF7 */
.booking-form .wpcf7-spinner {
    display: block;
    margin: 8px auto 0;
}

/* Thông báo lỗi từng trường */
.booking-form .wpcf7-not-valid-tip {
    margin-top: 4px;
    color: #dc2626;
    font-size: 13px;
}

.booking-form .wpcf7-not-valid {
    border-color: #dc2626 !important;
}

/* Thông báo gửi form */
.booking-form + .wpcf7-response-output,
.wpcf7 form .booking-form ~ .wpcf7-response-output {
    margin: 12px 0 0;
    padding: 10px 12px;
    font-size: 14px;
    border-radius: 5px;
}

/* Tablet và mobile */
@media (max-width: 767px) {
    .booking-form {
        padding: 14px;
    }

    .booking-form__row {
        grid-template-columns: 105px minmax(0, 1fr);
        gap: 10px;
    }

    .booking-form__options .wpcf7-checkbox {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .booking-form__row {
        grid-template-columns: 100px minmax(0, 1fr);
    }

    .booking-form__label,
    .booking-form input:not([type="checkbox"]):not([type="submit"]),
    .booking-form select,
    .booking-form__options .wpcf7-list-item label {
        font-size: 14px;
    }

    .booking-form__grid {
        gap: 10px;
    }
}

@media (max-width: 420px) {
    .booking-form__row {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .booking-form__grid {
        grid-template-columns: 1fr;
    }
}