/* Booking Flow Styles */

.booking-flow-main {
    background: #FEFAE0;
    min-height: 80vh;
    padding-top: 140px;
}

.booking-container {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 40px;
}

.booking-membership-banner {
    font-size: 16px;
    font-weight: 500;
    max-width: 800px;
    margin: 40px auto 40px;
    background: rgba(255, 243, 205, 0.75);
    border: 2px solid #ffc107 !important;
    border-radius: 12px;
    padding: 25px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.booking-membership-banner h3 {
    margin: 0 0 10px;
    font-size: 20px;
    color: #856404;
}

.booking-membership-banner p {
    margin: 10px 0;
    color: #664d03;
}

.booking-membership-banner a {
    display: inline-block;
    margin-top: 15px;
    background-color: #132A13;
    color: #ffffff;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.3s;
}

.booking-membership-banner a:hover {
    background-color: #0a1a0a;
}

.booking-step {
    transition: all 0.3s ease;
}

.step-title {
    font-size: 24px;
    margin-bottom: 25px;
    color: #2C3E50;
    border-bottom: 2px solid #EEE;
    padding-bottom: 10px;
}

/* Form Fields */
.wpcf7-form label {
    display: block;
    margin-bottom: 15px;
    font-weight: 600;
    color: #333;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #DDD;
    border-radius: 6px;
    font-size: 16px;
    margin-top: 5px;
}

.row-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 600px) {
    .row-two {
        grid-template-columns: 1fr;
    }
}

/* Agent Info Box */
.agent-info-box {
    background: #f8f9fa;
    border-left: 5px solid #2C3E50;
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 30px;
}

.agent-info-box h4 {
    margin-top: 0;
    color: #2C3E50;
    font-size: 18px;
}

.agent-info-box p {
    margin: 5px 0;
    font-size: 15px;
    color: #555;
}

/* Buttons */
.btn-next,
input.wpcf7-submit {
    background-color: #132A13;
    color: #ffffff;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
    max-width: 250px;
    display: inline-block;
}

.btn-next:hover,
input.wpcf7-submit:hover {
    background-color: #0a1a0a;
}

.btn-next:disabled {
    background-color: #95a5a6;
    cursor: wait;
}


/* Review Details Box */
.review-details-box {
    background: #f1f8ff;
    border: 1px solid #d1e7dd;
    /* Using a subtle green/blue border */
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 25px;
}

.review-item {
    margin-bottom: 10px;
    font-size: 15px;
    color: #444;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #e1e4e8;
    padding-bottom: 5px;
}

.review-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.review-label {
    font-weight: 600;
    color: #2C3E50;
}

.review-value {
    color: #1a252f;
    font-weight: 500;
}


/* Button Actions */
.booking-actions {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    width: 100%;
    gap: 15px;
}

/* Mobile: Stack buttons vertically */
@media (max-width: 600px) {
    .booking-actions {
        flex-direction: column !important;
        align-items: stretch;
        gap: 10px;
    }

    .booking-actions .btn-back,
    .booking-actions button,
    .booking-actions input.wpcf7-submit {
        width: 100% !important;
        max-width: 100% !important;
        text-align: center;
    }
}

/* Force ALL direct children to be flex items */
.booking-actions>* {
    display: inline-block !important;
    margin: 0 !important;
    flex-shrink: 0;
}

/* CF7 wraps submit in a <p> tag - make it invisible to flex */
.booking-actions>p {
    display: contents !important;
}

.btn-back {
    background-color: transparent;
    color: #132A13;
    border: 2px solid #132A13;
    padding: 13px 25px;
    font-size: 16px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    margin-left: auto !important;
}

.btn-back:hover {
    background-color: #FEFAE0;
    color: #132A13;
    border-color: #132A13;
}

/* Specific adjustment for submit button in this container */
.booking-actions input.wpcf7-submit {
    margin: 0 !important;
    width: auto !important;
    max-width: none;
}

/* Review Details Box */
.review-details-box {
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.alert-success {
    background-color: #d1e7dd;
    color: #0f5132;
    border: 1px solid #badbcc;
}

.alert-danger {
    background-color: #f8d7da;
    color: #842029;
    border: 1px solid #f5c2c7;
}