/* =========================================================
   ASHRAY CABS
   REVIEW PAGE CSS
   ========================================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f6f8;
    color: #222;
    line-height: 1.5;
}


/* =========================================================
   HEADER
   ========================================================= */

.main-header {
    width: 100%;
    background: #111827;
    color: white;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 14px 6%;
}

.logo-container {
    display: flex;
    align-items: center;
}

.site-logo {
    width: 165px;
    height: auto;
    display: block;
}

.main-header nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.main-header nav a {
    color: white;
    text-decoration: none;
    font-size: 15px;
}

.main-header nav a:hover {
    color: #fbbf24;
}


/* =========================================================
   PAGE
   ========================================================= */

.booking-page {
    width: 100%;
    min-height: calc(100vh - 80px);

    padding: 40px 20px;

    display: flex;
    justify-content: center;
    align-items: flex-start;
}


/* =========================================================
   REVIEW CARD
   ========================================================= */

.booking-card {
    width: 100%;
    max-width: 800px;

    background: white;

    border-radius: 12px;

    padding: 30px;

    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.08);
}

.review-card h2 {
    font-size: 28px;
    margin-bottom: 8px;
    color: #111827;
}

.review-card > p {
    color: #6b7280;
    margin-bottom: 25px;
}


/* =========================================================
   SECTIONS
   ========================================================= */

.payment-details,
.payment-amount-section,
.payment-methods {
    background: #f9fafb;

    border: 1px solid #e5e7eb;

    border-radius: 10px;

    padding: 20px;

    margin-bottom: 20px;
}

.payment-details h3,
.payment-amount-section h3,
.payment-methods h3 {
    font-size: 19px;
    margin-bottom: 16px;
    color: #111827;
}


/* =========================================================
   SUMMARY ROW
   ========================================================= */

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 20px;

    padding: 11px 0;

    border-bottom: 1px solid #e5e7eb;
}

.summary-row:last-child {
    border-bottom: none;
}

.summary-row span {
    color: #6b7280;
}

.summary-row strong {
    color: #111827;
    text-align: right;
    word-break: break-word;
}


/* =========================================================
   DISTANCE
   ========================================================= */

.distance-row strong {
    font-size: 16px;
}


/* =========================================================
   RATE INFORMATION
   ========================================================= */

.rate-information {
    margin-top: 15px;

    padding: 12px;

    background: #fff7ed;

    border-left: 4px solid #f59e0b;

    border-radius: 5px;

    color: #92400e;

    font-size: 14px;
}


/* =========================================================
   TOTAL
   ========================================================= */

.total-row {
    margin-top: 5px;

    padding-top: 15px;

    border-top: 2px solid #d1d5db;
}

.total-row span {
    font-weight: bold;
    color: #111827;
}

.total-row strong {
    font-size: 22px;
    color: #16a34a;
}


/* =========================================================
   ADVANCE NOTE
   ========================================================= */

.advance-note {
    margin-top: 15px;

    padding: 12px;

    background: #eff6ff;

    border-radius: 6px;

    color: #1e40af;

    font-size: 14px;
}


/* =========================================================
   PAYMENT AMOUNT OPTIONS
   ========================================================= */

.payment-amount-option {
    display: flex;
    align-items: center;

    gap: 14px;

    padding: 15px;

    margin-bottom: 10px;

    background: white;

    border: 1px solid #d1d5db;

    border-radius: 8px;

    cursor: pointer;
}

.payment-amount-option:hover {
    border-color: #2563eb;
}

.payment-amount-option input {
    width: 18px;
    height: 18px;

    accent-color: #2563eb;
}

.payment-amount-option span {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.payment-amount-option strong {
    color: #111827;
}

.payment-amount-option small {
    color: #6b7280;
}

.payment-amount-option b {
    color: #16a34a;
}


/* =========================================================
   PAYMENT METHOD
   ========================================================= */

.payment-instruction {
    color: #6b7280;
    margin-bottom: 20px;
}


/* =========================================================
   QR PAYMENT
   ========================================================= */

.desktop-qr-payment {
    text-align: center;

    background: white;

    border: 1px solid #e5e7eb;

    border-radius: 10px;

    padding: 20px;
}

.desktop-qr-payment h3 {
    margin-bottom: 15px;
}

.dynamic-upi-qr {
    min-height: 220px;

    display: flex;
    justify-content: center;
    align-items: center;

    margin: 10px auto;
}

.dynamic-upi-qr img {
    max-width: 220px;
    height: auto;
}

.upi-text {
    color: #6b7280;
    margin: 10px 0;
}

.upi-id-text {
    margin-top: 8px;
}

.qr-amount-text {
    margin-top: 10px;
    font-size: 16px;
}

.qr-amount-text strong {
    color: #16a34a;
    font-size: 18px;
}


/* =========================================================
   MOBILE UPI OPTIONS
   ========================================================= */

.mobile-upi-payment {
    margin-top: 20px;
}

.upi-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.upi-option {
    width: 100%;

    display: flex;
    align-items: center;

    gap: 15px;

    padding: 14px;

    background: white;

    border: 1px solid #d1d5db;

    border-radius: 8px;

    cursor: pointer;

    text-align: left;
}

.upi-option:hover {
    border-color: #2563eb;
    background: #f8fafc;
}

.upi-logo {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.upi-logo img {
    max-width: 42px;
    max-height: 42px;

    object-fit: contain;
}

.upi-option-text {
    display: flex;
    flex-direction: column;
}

.upi-option-title {
    font-weight: bold;
    color: #111827;
}

.upi-option-subtitle {
    font-size: 13px;
    color: #6b7280;
}


/* =========================================================
   BACK BUTTON
   ========================================================= */

.payment-back-button {
    width: 100%;

    padding: 13px 20px;

    background: #e5e7eb;

    color: #111827;

    border: none;

    border-radius: 7px;

    font-size: 15px;

    cursor: pointer;

    margin-top: 5px;
}

.payment-back-button:hover {
    background: #d1d5db;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .main-header {
        flex-direction: column;
        gap: 15px;
    }

    .main-header nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .main-header nav a {
        font-size: 13px;
    }

    .booking-page {
        padding: 20px 12px;
    }

    .booking-card {
        padding: 20px 15px;
    }

    .review-card h2 {
        font-size: 23px;
    }

    .summary-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .summary-row strong {
        text-align: left;
    }

    .desktop-qr-payment {
        padding: 15px;
    }
}