/* =====================================================
   DASHBOARD
===================================================== */

* {
    box-sizing: border-box;
}


body {
    margin: 0;
    background: #f5f8f7;
    color: #102d2c;
    font-family: Arial, Helvetica, sans-serif;
}


/* =====================================================
   NAVBAR
===================================================== */

.dashboard-navbar {

    /* height: 78px; */

    padding: 14px 6%;

    background: rgba(255, 255, 255, 0.96);

    border-bottom: 1px solid #e5ecea;

    display: flex;

    align-items: center;

    justify-content: space-between;

    position: sticky;

    top: 0;

    z-index: 100;

}


.dashboard-logo {

    display: flex;

    align-items: center;

    gap: 12px;

}


.dashboard-logo-mark {

    width: 42px;

    height: 42px;

    border-radius: 12px;

    background: #0d6b63;

    color: white;

    display: flex;

    align-items: center;

    justify-content: center;

    font-weight: 800;

    letter-spacing: -1px;

}


.dashboard-logo strong {

    display: block;

    font-size: 15px;

    letter-spacing: 1.5px;

}


.dashboard-logo span {

    display: block;

    margin-top: 3px;

    font-size: 11px;

    color: #71817f;

}


.dashboard-nav {

    display: flex;

    align-items: center;

    gap: 8px;

}


.dashboard-nav a {

    text-decoration: none;

    color: #516462;

    font-size: 14px;

    font-weight: 600;

    padding: 10px 14px;

    border-radius: 9px;

    transition: 0.2s ease;

}


.dashboard-nav a:hover,
.dashboard-nav a.active {

    background: #edf6f4;

    color: #0d6b63;

}


.logout-btn {

    border: 0;

    background: transparent;

    color: #c24d4d;

    font-size: 14px;

    font-weight: 700;

    padding: 10px 14px;

    cursor: pointer;

}


/* =====================================================
   PAGE
===================================================== */

.dashboard-page {

    width: min(1180px, 90%);

    margin: 0 auto;

    padding: 55px 0 80px;

}


/* =====================================================
   WELCOME
===================================================== */

.dashboard-welcome {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 30px;

    margin-bottom: 35px;

}


.dashboard-eyebrow,
.card-eyebrow {

    display: block;

    color: #0d6b63;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1.7px;

    margin-bottom: 9px;

}


.dashboard-welcome h1 {

    margin: 0;

    font-size: clamp(30px, 4vw, 48px);

    line-height: 1.05;

    letter-spacing: -1.5px;

}


.dashboard-welcome h1 span {

    color: #0d6b63;

}


.dashboard-welcome p {

    max-width: 650px;

    margin: 15px 0 0;

    color: #667876;

    line-height: 1.7;

}


.primary-book-btn {

    flex-shrink: 0;

    text-decoration: none;

    background: #0d6b63;

    color: white;

    padding: 14px 22px;

    border-radius: 11px;

    font-weight: 700;

    box-shadow: 0 12px 25px rgba(13, 107, 99, 0.18);

    transition: 0.2s ease;

}


.primary-book-btn:hover {

    transform: translateY(-2px);

}


/* =====================================================
   STATS
===================================================== */

.dashboard-stats {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;

    margin-bottom: 22px;

}


.stat-card {

    background: white;

    border: 1px solid #e5ecea;

    border-radius: 18px;

    padding: 22px;

    display: flex;

    align-items: center;

    gap: 16px;

}


.stat-icon {

    width: 48px;

    height: 48px;

    border-radius: 14px;

    background: #edf6f4;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 21px;

}


.stat-label {

    display: block;

    color: #71817f;

    font-size: 12px;

    margin-bottom: 5px;

}


.stat-card strong {

    font-size: 25px;

}


/* =====================================================
   GRID
===================================================== */

.dashboard-grid {

    display: grid;

    grid-template-columns:
        1.4fr 1fr;

    gap: 22px;

    margin-bottom: 22px;

}


.dashboard-card {

    background: white;

    border: 1px solid #e5ecea;

    border-radius: 20px;

    padding: 26px;

}


.card-header {

    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    gap: 15px;

    margin-bottom: 25px;

}


.card-header h2 {

    margin: 0;

    font-size: 21px;

    letter-spacing: -0.5px;

}


.status-badge {

    padding: 7px 11px;

    border-radius: 30px;

    background: #edf6f4;

    color: #0d6b63;

    font-size: 11px;

    font-weight: 800;

}


/* =====================================================
   EMPTY BOOKING
===================================================== */

.booking-placeholder {

    min-height: 240px;

    border: 1px dashed #d8e4e1;

    border-radius: 15px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding: 30px;

}


.empty-icon {

    font-size: 30px;

    margin-bottom: 10px;

}


.booking-placeholder h3,
.history-empty h3 {

    margin: 5px 0;

    font-size: 17px;

}


.booking-placeholder p,
.history-empty p {

    margin: 6px 0 18px;

    color: #788885;

    font-size: 13px;

}


.secondary-btn {

    text-decoration: none;

    border: 1px solid #cddbd8;

    color: #0d6b63;

    padding: 10px 17px;

    border-radius: 9px;

    font-size: 13px;

    font-weight: 700;

}


/* =====================================================
   PROFILE
===================================================== */

.profile-avatar {

    width: 46px;

    height: 46px;

    border-radius: 50%;

    background: #0d6b63;

    color: white;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 17px;

    font-weight: 800;

}


.profile-details {

    display: flex;

    flex-direction: column;

}


.profile-row {

    display: flex;

    flex-direction: column;

    gap: 5px;

    padding: 15px 0;

    border-bottom: 1px solid #edf1f0;

}


.profile-row:last-child {

    border-bottom: 0;

}


.profile-row span {

    color: #81908e;

    font-size: 12px;

}


.profile-row strong {

    font-size: 14px;

    word-break: break-word;

}


/* =====================================================
   HISTORY
===================================================== */

.history-card {

    min-height: 280px;

}


.history-empty {

    min-height: 190px;

    border: 1px dashed #d8e4e1;

    border-radius: 15px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

}


.booking-history-list {

    display: flex;

    flex-direction: column;

    gap: 12px;

}


.booking-history-item {

    border: 1px solid #e6eeec;

    border-radius: 14px;

    padding: 18px;

    display: grid;

    grid-template-columns: 1.5fr 1fr 1fr auto;

    align-items: center;

    gap: 15px;

}


.booking-route {

    font-weight: 700;

    font-size: 14px;

}


.booking-meta {

    color: #778582;

    font-size: 12px;

    margin-top: 4px;

}


.booking-amount {

    font-weight: 800;

}


.booking-status {

    padding: 6px 9px;

    border-radius: 20px;

    background: #edf6f4;

    color: #0d6b63;

    font-size: 11px;

    font-weight: 700;

}


/* =====================================================
   FOOTER
===================================================== */

.dashboard-footer {

    padding: 25px;

    text-align: center;

    border-top: 1px solid #e5ecea;

    background: white;

    color: #788885;

    font-size: 12px;

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 850px) {

    .dashboard-navbar {

        height: auto;

        min-height: 70px;

        padding: 14px 5%;

        align-items: flex-start;

        gap: 15px;

    }


    .dashboard-nav {

        flex-wrap: wrap;

        justify-content: flex-end;

    }


    .dashboard-nav a {

        font-size: 12px;

        padding: 7px 8px;

    }


    .dashboard-grid {

        grid-template-columns: 1fr;

    }


    .dashboard-stats {

        grid-template-columns: 1fr;

    }


    .dashboard-welcome {

        align-items: flex-start;

        flex-direction: column;

    }


    .booking-history-item {

        grid-template-columns: 1fr 1fr;

    }

}


@media (max-width: 550px) {

    .dashboard-page {

        width: 92%;

        padding-top: 35px;

    }


    .dashboard-logo span {

        display: none;

    }


    .dashboard-nav a {

        display: none;

    }


    .dashboard-nav a.active {

        display: block;

    }


    .logout-btn {

        padding: 8px;

    }


    .dashboard-card {

        padding: 20px;

    }

}

/* =====================================================
   DASHBOARD BOOKING MODAL
===================================================== */

.dashboard-booking-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 30px;

    opacity: 0;
    transition: opacity 0.25s ease;
}


/* OPEN STATE */

.dashboard-booking-modal.active {
    display: flex;
    opacity: 1;
}


/* =====================================================
   OVERLAY
===================================================== */

.dashboard-booking-overlay {
    position: absolute;
    inset: 0;

    background: rgba(8, 25, 29, 0.72);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}


/* =====================================================
   MODAL BOX
===================================================== */

.dashboard-booking-box {
    position: relative;
    z-index: 2;

    width: min(720px, 100%);

    max-height: 90vh;
    overflow-y: auto;

    background: #ffffff;

    border-radius: 28px;

    padding: 38px;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.25);

    transform: translateY(20px) scale(0.98);

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}


/* =====================================================
   MODAL OPEN ANIMATION
===================================================== */

.dashboard-booking-modal.active
.dashboard-booking-box {

    transform: translateY(0) scale(1);

}


/* =====================================================
   CLOSE BUTTON
===================================================== */

.booking-modal-close {

    position: absolute;

    top: 18px;
    right: 20px;

    width: 40px;
    height: 40px;

    border: none;

    border-radius: 50%;

    background: #f1f5f5;

    color: #17363a;

    font-size: 26px;

    line-height: 1;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


.booking-modal-close:hover {

    background: #e2eeee;

    transform: rotate(90deg);

}


/* =====================================================
   HEADER
===================================================== */

.booking-modal-header {

    margin-bottom: 26px;

    padding-right: 45px;

}


.booking-modal-header .dashboard-eyebrow {

    display: inline-block;

    margin-bottom: 8px;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;

    color: #087c78;

}


.booking-modal-header h2 {

    margin: 0 0 8px;

    font-size: 32px;

    line-height: 1.15;

    color: #132f33;

}


.booking-modal-header p {

    margin: 0;

    color: #718287;

    font-size: 15px;

}


/* =====================================================
   FORM
===================================================== */

#dashboardBookingForm {

    width: 100%;

}


/* =====================================================
   TRIP TYPE
===================================================== */

#dashboardBookingForm .trip-type {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 8px;

    margin-bottom: 22px;

    padding: 5px;

    background: #f4f7f7;

    border-radius: 14px;

}


#dashboardBookingForm .trip-option {

    position: relative;

    cursor: pointer;

}


#dashboardBookingForm .trip-option input {

    position: absolute;

    opacity: 0;

    pointer-events: none;

}


#dashboardBookingForm .trip-option span {

    display: flex;

    align-items: center;
    justify-content: center;

    min-height: 46px;

    border-radius: 10px;

    color: #718083;

    font-size: 14px;

    font-weight: 600;

    transition: all 0.2s ease;

}


#dashboardBookingForm
.trip-option input:checked + span {

    background: #ffffff;

    color: #087c78;

    box-shadow:
        0 4px 14px rgba(0, 0, 0, 0.07);

}


/* =====================================================
   BOOKING FIELD
===================================================== */

#dashboardBookingForm .booking-field {

    margin-bottom: 18px;

}


#dashboardBookingForm .booking-field label {

    display: flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 8px;

    font-size: 13px;

    font-weight: 700;

    color: #19373b;

}


#dashboardBookingForm .booking-field label i {

    color: #087c78;

}


/* =====================================================
   INPUTS / SELECT
===================================================== */

#dashboardBookingForm input[type="date"],
#dashboardBookingForm input[type="time"],
#dashboardBookingForm select {

    width: 100%;

    height: 54px;

    padding: 0 16px;

    border: 1px solid #dce6e6;

    border-radius: 12px;

    background: #ffffff;

    color: #304448;

    font-family: inherit;

    font-size: 14px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


#dashboardBookingForm input[type="date"]:focus,
#dashboardBookingForm input[type="time"]:focus,
#dashboardBookingForm select:focus {

    border-color: #087c78;

    box-shadow:
        0 0 0 3px rgba(8, 124, 120, 0.10);

}


/* =====================================================
   TWO COLUMN GRID
===================================================== */

#dashboardBookingForm .booking-grid.two {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 16px;

}


/* =====================================================
   SUBMIT BUTTON
===================================================== */

#dashboardBookingForm .booking-submit {

    width: 100%;

    min-height: 56px;

    margin-top: 8px;

    border: none;

    border-radius: 13px;

    background: #087c78;

    color: #ffffff;

    font-family: inherit;

    font-size: 15px;

    font-weight: 700;

    cursor: pointer;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}


#dashboardBookingForm .booking-submit:hover {

    background: #066c69;

    transform: translateY(-1px);

    box-shadow:
        0 10px 25px rgba(8, 124, 120, 0.22);

}


#dashboardBookingForm .booking-submit:disabled {

    opacity: 0.65;

    cursor: not-allowed;

    transform: none;

    box-shadow: none;

}


/* =====================================================
   NOTE
===================================================== */

#dashboardBookingForm .booking-note {

    margin: 14px 0 0;

    text-align: center;

    font-size: 12px;

    color: #829092;

}


#dashboardBookingForm .booking-note i {

    margin-right: 5px;

    color: #087c78;

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 700px) {

    .dashboard-booking-modal {

        padding: 15px;

        align-items: center;

    }


    .dashboard-booking-box {

        padding: 28px 20px;

        border-radius: 22px;

        max-height: 92vh;

    }


    .booking-modal-header h2 {

        font-size: 27px;

    }


    #dashboardBookingForm .booking-grid.two {

        grid-template-columns: 1fr;

        gap: 0;

    }


    #dashboardBookingForm .trip-type {

        margin-bottom: 18px;

    }

}


@media (max-width: 420px) {

    .dashboard-booking-box {

        padding: 24px 16px;

    }


    .booking-modal-header h2 {

        font-size: 24px;

    }


    .booking-modal-close {

        top: 12px;
        right: 12px;

        width: 36px;
        height: 36px;

    }

}

/* ================================
   DASHBOARD BOOKING DISPLAY
================================ */

.dashboard-booking-details {
    width: 100%;
}

.booking-route {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    padding: 24px;
    border-bottom: 1px solid #e8eeee;
}

.booking-route > div {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.booking-route > div:last-child {
    text-align: right;
}

.booking-route small {
    font-size: 11px;
    font-weight: 700;
    color: #7a8a89;
    letter-spacing: 1px;
}

.booking-route strong {
    font-size: 16px;
    color: #10201f;
}

.booking-route i {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #e9f5f3;
    color: #087b70;
    display: flex;
    align-items: center;
    justify-content: center;
}

.booking-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: 22px 24px;
}

.booking-info-grid > div {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding-right: 20px;
}

.booking-info-grid span {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #7a8a89;
    font-size: 13px;
}

.booking-info-grid span i {
    color: #087b70;
}

.booking-info-grid strong {
    color: #10201f;
    font-size: 15px;
}

.booking-fare {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 24px 24px;
    padding: 16px 18px;
    background: #f4f9f8;
    border-radius: 10px;
}

.booking-fare span {
    color: #667776;
    font-size: 14px;
}

.booking-fare strong {
    color: #087b70;
    font-size: 18px;
}


/* ================================
   DASHBOARD HERO TEXT
================================ */

.dashboard-welcome h1 {
    color: #10201f !important;
}

.dashboard-welcome p {
    color: #667776 !important;
}


/* ================================
   MOBILE
================================ */

@media (max-width: 768px) {

    .booking-route {
        grid-template-columns: 1fr;
        text-align: left;
        gap: 12px;
    }

    .booking-route > div:last-child {
        text-align: left;
    }

    .booking-route i {
        transform: rotate(90deg);
    }

    .booking-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .booking-info-grid > div {
        padding-right: 0;
    }

    .booking-fare {
        gap: 15px;
    }
}
/* =====================================================
   CUSTOMER REVIEW - PREMIUM COMPACT DESIGN
===================================================== */

.review-card {
    margin-top: 28px;
    padding: 30px;
    overflow: hidden;
}


/* =====================================================
   REVIEW HEADER
===================================================== */

.review-card .card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
}


.review-card .card-header h2 {
    margin: 5px 0 7px;
}


.review-intro {
    margin: 0;
    max-width: 680px;

    font-size: 14px;
    line-height: 1.6;

    color: #60727a;
}


/* =====================================================
   10% OFF BADGE
===================================================== */

.review-gift-badge {
    flex-shrink: 0;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    padding: 9px 15px;

    border-radius: 999px;

    background: #fff7e8;
    border: 1px solid #f6d79b;

    color: #b66a00;

    font-size: 13px;
    font-weight: 700;

    white-space: nowrap;
}


/* =====================================================
   REVIEW FORM
===================================================== */

.customer-review-form {
    width: 100%;
    max-width: none;

    margin-top: 26px;
}


/* =====================================================
   RATING + REVIEW LAYOUT
===================================================== */

.customer-review-form {
    display: grid;

    grid-template-columns: 260px minmax(0, 1fr);

    column-gap: 34px;
    row-gap: 20px;
}


/* =====================================================
   REVIEW FIELD
===================================================== */

.review-field {
    margin: 0;
}


.review-field label {
    display: block;

    margin-bottom: 11px;

    font-size: 14px;
    font-weight: 700;

    color: #102326;
}


/* =====================================================
   STAR RATING
===================================================== */

.review-stars {
    display: flex;
    align-items: center;
    gap: 8px;
}


.review-star {
    width: 43px;
    height: 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 1px solid #dce5e6;
    border-radius: 11px;

    background: #ffffff;

    color: #aebabc;

    font-size: 23px;
    line-height: 1;

    cursor: pointer;

    transition:
        all 0.18s ease;
}


.review-star:hover {
    transform: translateY(-2px);

    border-color: #0f766e;

    color: #0f766e;

    background: #f0f9f8;
}


.review-star.selected {
    border-color: #f0c36a;

    background: #fff7e8;

    color: #f2a900;
}


/* =====================================================
   REVIEW TEXT
===================================================== */

#reviewText {
    width: 100%;

    min-height: 145px;

    box-sizing: border-box;

    padding: 14px 16px;

    border: 1px solid #dce5e6;
    border-radius: 13px;

    background: #ffffff;

    color: #102326;

    font-family: inherit;
    font-size: 14px;

    line-height: 1.55;

    resize: vertical;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


#reviewText:hover {
    border-color: #c7d4d6;
}


#reviewText:focus {
    border-color: #0f766e;

    box-shadow:
        0 0 0 3px rgba(15, 118, 110, 0.08);
}


#reviewText::placeholder {
    color: #aeb7b9;
}


/* =====================================================
   CHARACTER COUNT
===================================================== */

.review-character-count {
    margin-top: 6px;

    font-size: 11px;

    color: #89989b;
}


/* =====================================================
   REWARD BOX
===================================================== */

.review-reward-box {
    grid-column: 1 / -1;

    display: flex;
    align-items: center;

    gap: 13px;

    margin: 2px 0 0;

    padding: 14px 16px;

    border-radius: 13px;

    background: #fffaf1;

    border: 1px solid #f5dfb4;
}


.review-reward-icon {
    width: 40px;
    height: 40px;

    flex: 0 0 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    background: #fff0cf;

    font-size: 19px;
}


.review-reward-box strong {
    display: block;

    margin-bottom: 3px;

    font-size: 13px;

    color: #17282b;
}


.review-reward-box p {
    margin: 0;

    font-size: 12px;

    line-height: 1.5;

    color: #78878a;
}


/* =====================================================
   MESSAGE
===================================================== */

.review-message {
    grid-column: 1 / -1;

    min-height: 18px;

    margin: -5px 0 0;

    font-size: 13px;
    font-weight: 600;
}


.review-message.error {
    color: #dc2626;
}


.review-message.success {
    color: #15803d;
}


/* =====================================================
   SUBMIT BUTTON
===================================================== */

.review-form-actions {
    grid-column: 1 / -1;

    display: flex;
    justify-content: flex-end;

    margin-top: -5px;
}


#submitReviewBtn {
    min-width: 155px;

    padding: 12px 22px;

    border: none;
    border-radius: 9px;

    background: #0f766e;

    color: #ffffff;

    font-family: inherit;

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


#submitReviewBtn:hover {
    background: #0b625c;

    transform: translateY(-1px);

    box-shadow:
        0 5px 14px rgba(15, 118, 110, 0.18);
}


#submitReviewBtn:active {
    transform: translateY(0);
}


#submitReviewBtn:disabled {
    cursor: not-allowed;

    opacity: 0.6;

    transform: none;

    box-shadow: none;
}


/* =====================================================
   SUCCESS BOX
===================================================== */

.review-success-box {
    display: flex;
    align-items: center;

    gap: 17px;

    padding: 22px 24px;

    border-radius: 14px;

    background: #f1faf4;

    border: 1px solid #ccebd5;
}


.review-success-icon {
    width: 46px;
    height: 46px;

    flex: 0 0 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #dff5e5;

    color: #15803d;

    font-size: 21px;
    font-weight: 800;
}


.review-success-box h2 {
    margin: 3px 0 6px;

    font-size: 19px;
}


.review-success-box p {
    margin: 0;

    color: #667678;

    font-size: 13px;

    line-height: 1.55;
}


.review-reward-note {
    display: inline-block;

    margin-top: 10px;

    padding: 8px 11px;

    border-radius: 8px;

    background: #fff7e8;

    border: 1px solid #f3ddb0;

    color: #8a5a00;

    font-size: 12px;
    font-weight: 600;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 850px) {

    .review-card {
        padding: 25px;
    }


    .customer-review-form {
        grid-template-columns: 220px minmax(0, 1fr);

        column-gap: 25px;
    }


    .review-star {
        width: 40px;
        height: 40px;

        font-size: 21px;
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 700px) {

    .review-card {
        margin-top: 20px;

        padding: 21px;
    }


    .review-card .card-header {
        flex-direction: column;

        gap: 13px;
    }


    .review-gift-badge {
        padding: 8px 13px;

        font-size: 12px;
    }


    .review-intro {
        font-size: 13px;
    }


    .customer-review-form {
        display: flex;
        flex-direction: column;

        gap: 20px;

        margin-top: 22px;
    }


    .review-field {
        width: 100%;
    }


    .review-stars {
        gap: 7px;
    }


    .review-star {
        width: 42px;
        height: 42px;

        border-radius: 10px;

        font-size: 21px;
    }


    #reviewText {
        min-height: 130px;
    }


    .review-reward-box {
        align-items: flex-start;

        margin-top: 0;
    }


    .review-form-actions {
        width: 100%;

        margin-top: 0;
    }


    #submitReviewBtn {
        width: 100%;
    }


    .review-success-box {
        align-items: flex-start;

        padding: 18px;
    }

}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 420px) {

    .review-card {
        padding: 18px;
    }


    .review-stars {
        gap: 5px;
    }


    .review-star {
        width: 39px;
        height: 39px;

        font-size: 20px;
    }


    .review-reward-box {
        flex-direction: row;
    }


    .review-reward-icon {
        width: 36px;
        height: 36px;

        flex-basis: 36px;

        font-size: 17px;
    }

}


/* =====================================================
   DASHBOARD BOTTOM AREA
   BOOKING HISTORY + REVIEW
===================================================== */

.dashboard-bottom-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 2fr)
        minmax(320px, 0.85fr);

    gap: 24px;

    align-items: start;

    margin-top: 28px;
}


/* =====================================================
   BOOKING HISTORY
===================================================== */

.dashboard-bottom-grid .history-card {
    min-width: 0;
}


/* =====================================================
   REVIEW CARD
===================================================== */

.dashboard-bottom-grid .review-card {
    position: sticky;

    top: 25px;

    margin-top: 0;

    padding: 0;

    overflow: hidden;

    border: 1px solid rgba(15, 118, 110, 0.18);

    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #f7fbfa 100%
        );

    box-shadow:
        0 10px 35px rgba(15, 118, 110, 0.08);
}


/* =====================================================
   REVIEW HEADER
===================================================== */

.dashboard-bottom-grid
.review-card
.card-header {

    display: block;

    padding: 25px 24px 20px;

    border-bottom:
        1px solid rgba(15, 118, 110, 0.08);
}


.dashboard-bottom-grid
.review-card
.card-header h2 {

    margin: 6px 0 8px;

    font-size: 22px;

    line-height: 1.2;
}


.dashboard-bottom-grid
.review-card
.review-intro {

    margin: 0;

    font-size: 13px;

    line-height: 1.55;

    color: #68797d;
}


/* =====================================================
   REVIEW GIFT BADGE
===================================================== */

.dashboard-bottom-grid
.review-gift-badge {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    margin-top: 14px;

    padding: 7px 11px;

    border-radius: 999px;

    background: #fff6e5;

    border: 1px solid #f5d79d;

    color: #a76500;

    font-size: 12px;

    font-weight: 800;
}


/* =====================================================
   REVIEW FORM
===================================================== */

.dashboard-bottom-grid
.customer-review-form {

    display: flex;

    flex-direction: column;

    gap: 19px;

    padding: 22px 24px 24px;

    margin: 0;

    max-width: none;
}


/* =====================================================
   RATING
===================================================== */

.dashboard-bottom-grid
.review-field {

    margin: 0;
}


.dashboard-bottom-grid
.review-field label {

    margin-bottom: 9px;

    font-size: 13px;

    font-weight: 700;
}


.dashboard-bottom-grid
.review-stars {

    display: flex;

    gap: 6px;
}


.dashboard-bottom-grid
.review-star {

    width: 40px;
    height: 40px;

    border-radius: 10px;

    font-size: 21px;
}


/* =====================================================
   TEXTAREA
===================================================== */

.dashboard-bottom-grid
#reviewText {

    min-height: 125px;

    padding: 13px;

    font-size: 13px;
}


/* =====================================================
   REWARD BOX
===================================================== */

.dashboard-bottom-grid
.review-reward-box {

    display: flex;

    align-items: flex-start;

    gap: 11px;

    margin: 0;

    padding: 13px;

    border-radius: 12px;

    background: #fff9ee;

    border: 1px solid #f3dfb7;
}


.dashboard-bottom-grid
.review-reward-icon {

    width: 36px;
    height: 36px;

    flex: 0 0 36px;

    border-radius: 10px;

    font-size: 17px;
}


.dashboard-bottom-grid
.review-reward-box strong {

    font-size: 12px;
}


.dashboard-bottom-grid
.review-reward-box p {

    font-size: 11px;

    line-height: 1.45;
}


/* =====================================================
   SUBMIT BUTTON
===================================================== */

.dashboard-bottom-grid
.review-form-actions {

    display: block;

    margin: 0;
}


.dashboard-bottom-grid
#submitReviewBtn {

    width: 100%;

    min-width: 0;

    padding: 12px 18px;

    border-radius: 9px;
}


/* =====================================================
   SUCCESS STATE
===================================================== */

.dashboard-bottom-grid
.review-success-box {

    margin: 0;

    padding: 22px;

    border: none;

    border-radius: 0;

    background: transparent;
}


/* =====================================================
   MOBILE / TABLET
===================================================== */

@media (max-width: 1050px) {

    .dashboard-bottom-grid {

        grid-template-columns:
            minmax(0, 1.6fr)
            minmax(280px, 0.9fr);

        gap: 20px;
    }

}


@media (max-width: 800px) {

    .dashboard-bottom-grid {

        grid-template-columns: 1fr;

        gap: 20px;
    }


    .dashboard-bottom-grid
    .review-card {

        position: relative;

        top: auto;
    }

}


@media (max-width: 500px) {

    .dashboard-bottom-grid
    .review-card
    .card-header {

        padding: 21px 19px 18px;
    }


    .dashboard-bottom-grid
    .customer-review-form {

        padding: 19px;

    }


    .dashboard-bottom-grid
    .review-card
    .card-header h2 {

        font-size: 20px;
    }

}
/* =====================================================
   CUSTOMER DRIVER CONTACT
===================================================== */

.customer-driver-section {
    margin-top: 18px;
    padding: 18px;
    border: 1px solid #dfeae7;
    border-radius: 16px;
    background: linear-gradient(
        135deg,
        #f8fbfa,
        #ffffff
    );
}


/* -----------------------------------------------------
   DRIVER HEADER
----------------------------------------------------- */

.driver-section-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 14px;
}


.driver-eyebrow {
    display: block;
    margin-bottom: 4px;
    color: #0d6b63;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}


.driver-section-header h3 {
    margin: 0;
    color: #17363a;
    font-size: 16px;
}


/* -----------------------------------------------------
   DRIVER STATUS
----------------------------------------------------- */

.driver-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 9px;
    border-radius: 30px;
    background: #edf7f3;
    color: #16705f;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
}


.driver-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22a06b;
}


/* -----------------------------------------------------
   DRIVER CARD
----------------------------------------------------- */

.driver-contact-card {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 13px;
    border: 1px solid #e5ecea;
    border-radius: 13px;
    background: #ffffff;
}


/* -----------------------------------------------------
   AVATAR
----------------------------------------------------- */

.driver-avatar {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #0d6b63;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
}


/* -----------------------------------------------------
   DRIVER INFO
----------------------------------------------------- */

.driver-main-info {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}


.driver-name {
    color: #17363a;
    font-size: 14px;
}


.driver-vehicle,
.driver-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #71817f;
    font-size: 11px;
}


.driver-vehicle i,
.driver-phone i {
    width: 14px;
    color: #0d6b63;
}


/* -----------------------------------------------------
   CONTACT BUTTONS
----------------------------------------------------- */

.driver-contact-actions {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 7px;
}


.driver-action-btn {
    min-width: 40px;
    height: 38px;
    padding: 0 10px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    transition: 0.2s ease;
}


.driver-action-btn:hover {
    transform: translateY(-1px);
}


/* CALL */

.driver-call-btn {
    background: #edf6f4;
    color: #0d6b63;
    border: 1px solid #d5e7e3;
}


/* WHATSAPP */

.driver-whatsapp-btn {
    background: #eaf8f0;
    color: #16804b;
    border: 1px solid #ccebd9;
}


.driver-action-btn i {
    font-size: 14px;
}


/* -----------------------------------------------------
   NOTE
----------------------------------------------------- */

.driver-contact-note {
    margin: 11px 2px 0;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    color: #84918f;
    font-size: 10px;
    line-height: 1.5;
}


.driver-contact-note i {
    margin-top: 2px;
    color: #0d6b63;
}


/* -----------------------------------------------------
   LOADING
----------------------------------------------------- */

.driver-loading {
    min-height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #7b8987;
    font-size: 11px;
}


.driver-loading i {
    color: #0d6b63;
}


/* -----------------------------------------------------
   NOT ASSIGNED
----------------------------------------------------- */

.driver-not-assigned {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    background: #f8faf9;
    border: 1px dashed #d7e3e0;
}


.driver-not-assigned-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #edf6f4;
    color: #0d6b63;
    display: flex;
    align-items: center;
    justify-content: center;
}


.driver-not-assigned strong {
    display: block;
    margin-bottom: 3px;
    color: #304448;
    font-size: 12px;
}


.driver-not-assigned p {
    margin: 0;
    color: #81908e;
    font-size: 10px;
    line-height: 1.5;
}


/* =====================================================
   MOBILE DRIVER CONTACT
===================================================== */

@media (max-width: 550px) {

    .customer-driver-section {
        padding: 14px;
    }


    .driver-contact-card {
        flex-wrap: wrap;
    }


    .driver-main-info {
        min-width: calc(100% - 60px);
    }


    .driver-contact-actions {
        width: 100%;
        margin-top: 3px;
    }


    .driver-action-btn {
        flex: 1;
    }


    .driver-action-btn span {
        display: inline;
    }

}


@media (max-width: 380px) {

    .driver-section-header {
        flex-direction: column;
        gap: 8px;
    }


    .driver-status {
        align-self: flex-start;
    }

}