/* =========================================================
   OEIOE Booking Page
   ========================================================= */

.page-hero {
    padding: 90px 0 70px;
    background:
        radial-gradient(circle at top right, rgba(216, 172, 72, 0.22), transparent 32%),
        linear-gradient(135deg, #071b32 0%, #0d3154 55%, #123f68 100%);
    color: #ffffff;
    text-align: center;
}

.page-hero .container {
    max-width: 850px;
}

.page-hero .eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: #e2b654;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.page-hero h1 {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.08;
}

.page-hero p {
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
    line-height: 1.7;
}

.section {
    padding: 80px 0;
}

.section-light {
    background: #f5f7fa;
}

.booking-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(300px, 0.8fr);
    gap: 34px;
    align-items: start;
}

.form-card,
.match-panel {
    background: #ffffff;
    border: 1px solid #e0e6ed;
    border-radius: 20px;
    box-shadow: 0 18px 50px rgba(12, 38, 65, 0.09);
}

.form-card {
    padding: 36px;
}

.form-card h2 {
    margin: 32px 0 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e9ee;
    color: #0b2947;
    font-size: 22px;
}

.form-card h2:first-of-type {
    margin-top: 0;
}

.form-card label {
    display: block;
    margin: 0 0 8px;
    color: #21384d;
    font-size: 14px;
    font-weight: 700;
}

.form-card input,
.form-card select,
.form-card textarea {
    width: 100%;
    margin: 0 0 20px;
    padding: 13px 14px;
    border: 1px solid #cad3dc;
    border-radius: 10px;
    background: #ffffff;
    color: #12283c;
    font: inherit;
    line-height: 1.4;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
    border-color: #c99a31;
    outline: none;
    box-shadow: 0 0 0 4px rgba(201, 154, 49, 0.14);
}

.form-card textarea {
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.check-option {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    margin: 2px 0 20px;
    font-weight: 600 !important;
    line-height: 1.5;
    cursor: pointer;
}

.check-option input {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    margin: 2px 0 0;
    accent-color: #c99a31;
}

.safety-notice {
    margin-bottom: 18px;
    padding: 18px 20px;
    border-left: 4px solid #c99a31;
    border-radius: 10px;
    background: #fff8e8;
    color: #4c4026;
    line-height: 1.65;
}

.btn-block {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
    padding: 15px 22px;
    font-size: 16px;
}

.match-panel {
    position: sticky;
    top: 110px;
    padding: 28px;
}

.match-panel > h2 {
    margin: 0 0 10px;
    color: #0b2947;
    font-size: 24px;
}

.muted {
    margin: 0 0 24px;
    color: #697b8c;
    font-size: 14px;
    line-height: 1.6;
}

.vehicle-match-card {
    margin-top: 18px;
    padding: 22px;
    border: 1px solid #dde4ea;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.vehicle-match-card h3 {
    margin: 12px 0 18px;
    color: #102c49;
    font-size: 20px;
}

.match-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    color: #627588;
    font-size: 13px;
}

.match-head strong {
    color: #b17c16;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rating-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}

.rating-grid span {
    padding: 10px;
    border-radius: 8px;
    background: #edf2f6;
    color: #536779;
    font-size: 12px;
}

.rating-grid b {
    display: block;
    margin-top: 3px;
    color: #0b2947;
    font-size: 15px;
}

.verified-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 18px;
}

.verified-row span {
    padding: 6px 9px;
    border-radius: 999px;
    background: #eaf6ed;
    color: #24713b;
    font-size: 11px;
    font-weight: 700;
}

.match-price {
    display: block;
    padding-top: 16px;
    border-top: 1px solid #dde4ea;
    color: #0b2947;
    font-size: 20px;
}

@media (max-width: 980px) {
    .booking-layout {
        grid-template-columns: 1fr;
    }

    .match-panel {
        position: static;
    }
}

@media (max-width: 640px) {
    .page-hero {
        padding: 65px 0 52px;
    }

    .page-hero p {
        font-size: 16px;
    }

    .section {
        padding: 50px 0;
    }

    .form-card,
    .match-panel {
        padding: 22px;
        border-radius: 14px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .rating-grid {
        grid-template-columns: 1fr 1fr;
    }
}