/* =========================================================
   RENTNGO - MAIN STYLESHEET
   Template E - Booking Platform
========================================================= */

/* =========================================================
   1. ROOT VARIABLES
========================================================= */

:root {
    --primary: #4b2bd8;
    --primary-dark: #3820ad;
    --primary-light: #6b4bea;
    --primary-soft: #f1eeff;

    --text-dark: #171717;
    --text-medium: #555555;
    --text-light: #777777;

    --white: #ffffff;
    --background: #fafafa;
    --surface: #ffffff;

    --border: #e8e6ef;
    --border-light: #eeeeee;

    --success: #16a34a;
    --warning: #f59e0b;
    --danger: #dc2626;

    --shadow-sm: 0 3px 12px rgba(31, 25, 70, 0.06);
    --shadow-md: 0 8px 30px rgba(31, 25, 70, 0.09);
    --shadow-lg: 0 18px 50px rgba(31, 25, 70, 0.13);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --container: 1180px;

    --transition: 0.25s ease;
}


/* =========================================================
   2. RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: var(--background);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

button {
    cursor: pointer;
}

ul {
    list-style: none;
}


/* =========================================================
   3. GLOBAL CONTAINER
========================================================= */

.container {
    width: min(92%, var(--container));
    margin: 0 auto;
}


/* =========================================================
   4. BUTTONS
========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    min-height: 44px;
    padding: 0 20px;

    border-radius: 9px;

    font-size: 13px;
    font-weight: 600;

    border: 1px solid transparent;

    transition:
        transform var(--transition),
        background var(--transition),
        color var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 6px 18px rgba(75, 43, 216, 0.20);
}

.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 9px 24px rgba(75, 43, 216, 0.28);
}

.btn-secondary {
    background: var(--white);
    color: var(--text-dark);
    border-color: var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
}

.btn-white:hover {
    background: #f4f2ff;
}


/* =========================================================
   5. HEADER
========================================================= */

.site-header {
    position: relative;
    z-index: 1000;

    background: rgba(255, 255, 255, 0.96);

    border-bottom: 1px solid var(--border-light);

    backdrop-filter: blur(12px);
}

.navbar {
    min-height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* Logo */

.logo {
    display: inline-flex;
    align-items: center;

    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.7px;
}

.logo-rent {
    color: var(--text-dark);
}

.logo-go {
    color: var(--primary);
}


/* Desktop navigation */

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.desktop-nav a {
    position: relative;

    font-size: 12px;
    font-weight: 600;

    color: #555;

    transition: color var(--transition);
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--primary);
}

.desktop-nav a.active::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: -9px;

    height: 2px;

    background: var(--primary);

    border-radius: 10px;
}


/* Header actions */

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-book-btn {
    min-height: 40px;
    padding: 0 18px;
    font-size: 12px;
}

.mobile-menu-btn {
    display: none;

    width: 40px;
    height: 40px;

    border: 1px solid var(--border);
    background: var(--white);

    border-radius: 9px;

    font-size: 20px;
}


/* Mobile navigation */

.mobile-nav {
    display: none;
}


/* =========================================================
   6. HERO
========================================================= */

.hero-section {
    position: relative;

    padding: 65px 0 55px;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(104, 72, 234, 0.10),
            transparent 34%
        ),
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f8f7fc 100%
        );

    overflow: hidden;
}

.hero-container {
    min-height: 410px;

    display: grid;

    grid-template-columns:
        minmax(300px, 0.9fr)
        minmax(450px, 1.1fr);

    align-items: center;

    gap: 30px;
}


/* Hero text */

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-label {
    display: inline-block;

    margin-bottom: 15px;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.2px;

    color: var(--primary);
}

.hero-content h1 {
    max-width: 560px;

    font-size: clamp(38px, 4vw, 58px);

    line-height: 1.05;

    letter-spacing: -2px;

    font-weight: 800;

    margin-bottom: 20px;
}

.hero-content h1 span {
    color: var(--primary);
}

.hero-description {
    max-width: 500px;

    color: var(--text-medium);

    font-size: 15px;

    line-height: 1.7;

    margin-bottom: 27px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
}


/* Hero image */

.hero-image-wrapper {
    position: relative;

    min-height: 380px;

    display: flex;

    align-items: center;
    justify-content: center;
}

.hero-glow {
    position: absolute;

    width: 410px;
    height: 250px;

    border-radius: 50%;

    background: rgba(91, 64, 221, 0.13);

    filter: blur(55px);
}

.hero-car-image {
    position: relative;
    z-index: 2;

    width: min(100%, 650px);

    object-fit: contain;

    filter:
        drop-shadow(
            0 25px 30px rgba(0, 0, 0, 0.20)
        );

    transition: transform 0.4s ease;
}

.hero-car-image:hover {
    transform: translateY(-5px) scale(1.015);
}


/* =========================================================
   7. SEARCH CARD
========================================================= */

.search-container {
    position: relative;
    z-index: 10;

    margin-top: -5px;
}

.search-card {
    background: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius-lg);

    padding: 23px;

    box-shadow: var(--shadow-lg);
}


/* Search heading */

.search-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 20px;
}

.search-small-title {
    display: block;

    color: var(--primary);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1px;

    margin-bottom: 3px;
}

.search-card-header h2 {
    font-size: 20px;
    font-weight: 750;
}

.search-location {
    font-size: 12px;
    color: var(--text-medium);

    background: var(--primary-soft);

    padding: 8px 12px;

    border-radius: 8px;
}


/* Search fields */

.search-fields {
    display: grid;

    grid-template-columns:
        1.25fr
        1fr
        1fr
        1fr
        auto;

    gap: 10px;

    align-items: end;
}

.search-field label,
.filter-field label {
    display: block;

    font-size: 10px;
    font-weight: 700;

    color: #555;

    margin-bottom: 6px;
}

.field-input {
    height: 48px;

    display: flex;
    align-items: center;

    border: 1px solid var(--border);

    border-radius: 9px;

    background: #fff;

    padding: 0 11px;

    transition: border var(--transition), box-shadow var(--transition);
}

.field-input:focus-within {
    border-color: var(--primary);

    box-shadow:
        0 0 0 3px rgba(75, 43, 216, 0.08);
}

.field-icon {
    flex-shrink: 0;

    margin-right: 8px;

    font-size: 14px;
}

.field-input input,
.field-input select {
    width: 100%;

    border: none;
    outline: none;

    background: transparent;

    color: var(--text-dark);

    font-size: 11px;
}

.field-input select {
    cursor: pointer;
}

.search-btn {
    height: 48px;
    white-space: nowrap;
}


/* Additional filters */

.search-filters {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 10px;

    margin-top: 12px;

    padding-top: 15px;

    border-top: 1px solid var(--border-light);
}

.filter-field select {
    width: 100%;

    height: 43px;

    padding: 0 11px;

    border: 1px solid var(--border);

    border-radius: 8px;

    outline: none;

    background: #fff;

    color: var(--text-dark);

    font-size: 11px;

    cursor: pointer;
}

.filter-field select:focus {
    border-color: var(--primary);
}


/* =========================================================
   8. BENEFITS
========================================================= */

.benefits-section {
    padding: 25px 0;
}

.benefits-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 12px;
}

.benefit-card {
    display: flex;
    align-items: center;

    gap: 12px;

    padding: 16px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: 12px;

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.benefit-card:hover {
    transform: translateY(-3px);

    box-shadow: var(--shadow-md);
}

.benefit-icon {
    width: 40px;
    height: 40px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: var(--primary-soft);

    color: var(--primary);

    font-size: 14px;
    font-weight: 800;
}

.benefit-card h3 {
    font-size: 12px;
    margin-bottom: 2px;
}

.benefit-card p {
    font-size: 10px;
    color: var(--text-light);
}


/* =========================================================
   9. GENERAL SECTION
========================================================= */

.cars-section,
.offer-section,
.how-section,
.why-section,
.reviews-section {
    padding: 70px 0;
}

.section-heading {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    margin-bottom: 28px;
}

.section-heading.centered {
    display: block;

    text-align: center;

    max-width: 650px;

    margin-left: auto;
    margin-right: auto;
}

.section-label {
    display: block;

    color: var(--primary);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.2px;

    margin-bottom: 6px;
}

.section-heading h2 {
    font-size: 30px;

    line-height: 1.15;

    letter-spacing: -0.8px;

    margin-bottom: 7px;
}

.section-heading p {
    color: var(--text-medium);

    font-size: 13px;
}

.view-all {
    color: var(--primary);

    font-size: 12px;

    font-weight: 700;

    white-space: nowrap;
}

.view-all:hover {
    text-decoration: underline;
}


/* =========================================================
   10. CARS
========================================================= */

.cars-section {
    background: #fff;
}

.cars-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 15px;
}

.car-card {
    background: var(--white);

    border: 1px solid var(--border);

    border-radius: 15px;

    overflow: hidden;

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}

.car-card:hover {
    transform: translateY(-5px);

    border-color: #dcd5ff;

    box-shadow: var(--shadow-md);
}

.car-image-container {
    position: relative;

    height: 185px;

    background:
        linear-gradient(
            145deg,
            #f8f7fc,
            #eeeeF5
        );

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 18px;
}

.car-image-container img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}

.car-category {
    position: absolute;

    top: 11px;
    left: 11px;

    padding: 5px 8px;

    border-radius: 5px;

    background: var(--primary);

    color: #fff;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 0.5px;
}

.car-info {
    padding: 16px;
}

.car-info h3 {
    font-size: 15px;

    margin-bottom: 7px;
}

.car-specs {
    display: flex;

    gap: 12px;

    color: var(--text-light);

    font-size: 10px;

    margin-bottom: 10px;
}

.car-price {
    display: flex;

    align-items: baseline;

    gap: 3px;

    margin-bottom: 13px;
}

.car-price strong {
    color: var(--primary);

    font-size: 17px;
}

.car-price span {
    color: var(--text-light);

    font-size: 10px;
}

.car-details-btn {
    width: 100%;

    height: 36px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid #cfc6ff;

    border-radius: 7px;

    color: var(--primary);

    font-size: 10px;

    font-weight: 700;

    transition:
        background var(--transition),
        color var(--transition);
}

.car-details-btn:hover {
    background: var(--primary);

    color: #fff;
}


/* =========================================================
   11. OFFER
========================================================= */

.offer-card {
    position: relative;

    overflow: hidden;

    display: flex;

    align-items: center;

    justify-content: space-between;

    min-height: 280px;

    padding: 45px 55px;

    border-radius: var(--radius-xl);

    background:
        radial-gradient(
            circle at 90% 50%,
            rgba(124, 91, 255, 0.35),
            transparent 30%
        ),
        linear-gradient(
            120deg,
            #f0edff,
            #ffffff
        );

    border: 1px solid #ddd7ff;
}

.offer-content {
    position: relative;
    z-index: 2;
}

.offer-label {
    display: inline-block;

    padding: 6px 9px;

    background: var(--primary);

    color: #fff;

    border-radius: 5px;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 0.8px;

    margin-bottom: 12px;
}

.offer-card h2 {
    font-size: 34px;

    line-height: 1.12;

    letter-spacing: -1px;

    margin-bottom: 12px;
}

.offer-card p {
    max-width: 430px;

    color: var(--text-medium);

    font-size: 13px;

    margin-bottom: 18px;
}

.coupon-box {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 18px;

    padding: 6px;

    border: 1px dashed var(--primary);

    border-radius: 8px;

    background: #fff;
}

.coupon-box span {
    padding-left: 10px;

    color: var(--primary);

    font-weight: 800;

    font-size: 12px;

    letter-spacing: 1px;
}

.coupon-box button {
    border: none;

    background: var(--primary);

    color: #fff;

    border-radius: 6px;

    padding: 8px 12px;

    font-size: 10px;

    font-weight: 700;
}

.offer-decoration {
    position: absolute;

    right: 65px;

    font-size: 130px;

    opacity: 0.18;

    transform: rotate(-10deg);
}


/* =========================================================
   12. HOW IT WORKS
========================================================= */

.how-section {
    background: #fff;
}

.steps-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 18px;

    margin-top: 40px;
}

.step-card {
    position: relative;

    padding: 25px 22px;

    border: 1px solid var(--border);

    border-radius: 15px;

    background: #fff;

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.step-card:hover {
    transform: translateY(-4px);

    box-shadow: var(--shadow-md);
}

.step-number {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    margin-bottom: 18px;

    border-radius: 10px;

    background: var(--primary-soft);

    color: var(--primary);

    font-size: 10px;

    font-weight: 800;
}

.step-card h3 {
    font-size: 15px;

    margin-bottom: 8px;
}

.step-card p {
    color: var(--text-light);

    font-size: 11px;

    line-height: 1.7;
}


/* =========================================================
   13. WHY RENTNGO
========================================================= */

.why-section {
    background:
        linear-gradient(
            180deg,
            #faf9ff,
            #ffffff
        );
}

.why-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 15px;

    margin-top: 35px;
}

.why-card {
    padding: 27px 22px;

    text-align: center;

    border: 1px solid var(--border);

    border-radius: 15px;

    background: #fff;

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.why-card:hover {
    transform: translateY(-4px);

    box-shadow: var(--shadow-md);
}

.why-icon {
    width: 50px;
    height: 50px;

    margin: 0 auto 15px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: var(--primary-soft);

    color: var(--primary);

    font-size: 20px;
}

.why-card h3 {
    font-size: 14px;

    margin-bottom: 8px;
}

.why-card p {
    color: var(--text-light);

    font-size: 11px;

    line-height: 1.7;
}


/* =========================================================
   14. REVIEWS
========================================================= */

.reviews-section {
    background: #fff;
}

.reviews-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 16px;

    margin-top: 35px;
}

.review-card {
    padding: 25px;

    border: 1px solid var(--border);

    border-radius: 15px;

    background: #fff;
}

.review-stars {
    color: #f59e0b;

    letter-spacing: 2px;

    font-size: 13px;

    margin-bottom: 13px;
}

.review-card > p {
    color: var(--text-medium);

    font-size: 12px;

    line-height: 1.8;

    margin-bottom: 18px;
}

.review-user {
    display: flex;

    flex-direction: column;
}

.review-user strong {
    font-size: 12px;
}

.review-user span {
    color: var(--text-light);

    font-size: 10px;
}


/* =========================================================
   15. CTA
========================================================= */

.cta-section {
    padding: 40px 0 75px;
}

.cta-card {
    min-height: 210px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    padding: 45px 55px;

    border-radius: var(--radius-xl);

    color: #fff;

    background:
        radial-gradient(
            circle at 90% 30%,
            rgba(150, 120, 255, 0.4),
            transparent 30%
        ),
        linear-gradient(
            120deg,
            #3820ad,
            #5a38dd
        );

    box-shadow:
        0 18px 45px rgba(75, 43, 216, 0.20);
}

.cta-card .section-label {
    color: #cfc5ff;
}

.cta-card h2 {
    font-size: 31px;

    line-height: 1.15;

    margin-bottom: 9px;
}

.cta-card p {
    color: #e5e0ff;

    font-size: 12px;
}


/* =========================================================
   16. FOOTER
========================================================= */

.site-footer {
    background: #17133a;

    color: #fff;
}

.footer-grid {
    display: grid;

    grid-template-columns:
        1.5fr
        1fr
        1fr
        1.2fr;

    gap: 45px;

    padding: 60px 0;
}

.footer-logo {
    margin-bottom: 15px;
}

.footer-brand p {
    max-width: 300px;

    color: #bdb8d5;

    font-size: 11px;

    line-height: 1.8;
}

.social-links {
    display: flex;

    gap: 10px;

    margin-top: 18px;
}

.social-links a {
    color: #c9c4df;

    font-size: 9px;

    transition: color var(--transition);
}

.social-links a:hover {
    color: #fff;
}

.footer-column {
    display: flex;

    flex-direction: column;

    gap: 10px;
}

.footer-column h3 {
    font-size: 12px;

    margin-bottom: 6px;
}

.footer-column a,
.footer-column p {
    color: #bdb8d5;

    font-size: 10px;

    line-height: 1.7;
}

.footer-column a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.09);

    padding: 18px 0;

    text-align: center;
}

.footer-bottom p {
    color: #8f89aa;

    font-size: 9px;
}


/* =========================================================
   17. FORM STATES
========================================================= */

input::placeholder {
    color: #999;
}

select {
    appearance: auto;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
}


/* =========================================================
   18. SCROLLBAR
========================================================= */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f5f4f8;
}

::-webkit-scrollbar-thumb {
    background: #c5bdf0;

    border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}


/* =========================================================
   19. SELECTION
========================================================= */

::selection {
    background: var(--primary);
    color: #fff;
}

/* =========================================================
   20. BOOKING CONFIRMATION PAGE
========================================================= */

/* Main section */

.confirmation-section {
    padding: 70px 0 80px;

    background:
        linear-gradient(
            180deg,
            #faf9ff 0%,
            #ffffff 100%
        );

    min-height: 80vh;
}


/* =========================================================
   CONFIRMATION HEADER
========================================================= */

.confirmation-header {
    max-width: 720px;

    margin: 0 auto 45px;

    text-align: center;
}

.confirmation-success-icon {
    width: 68px;
    height: 68px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 20px;

    border-radius: 50%;

    background: #eaf8ef;

    color: var(--success);

    border: 6px solid #f3fbf5;

    font-size: 28px;
    font-weight: 800;

    box-shadow:
        0 8px 25px rgba(22, 163, 74, 0.12);
}

.confirmation-header .section-label {
    margin-bottom: 8px;
}

.confirmation-header h1 {
    font-size: clamp(30px, 4vw, 44px);

    line-height: 1.15;

    letter-spacing: -1.2px;

    margin-bottom: 12px;
}

.confirmation-header > p {
    max-width: 580px;

    margin: 0 auto;

    color: var(--text-medium);

    font-size: 14px;

    line-height: 1.7;
}


/* Booking reference */

.booking-reference {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-top: 20px;

    padding: 9px 14px;

    background: var(--primary-soft);

    border: 1px solid #ddd7ff;

    border-radius: 8px;

    font-size: 11px;
}

.booking-reference span {
    color: var(--text-medium);

    font-weight: 600;
}

.booking-reference strong {
    color: var(--primary);

    font-size: 12px;

    letter-spacing: 0.4px;
}


/* =========================================================
   CONFIRMATION GRID
========================================================= */

.confirmation-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.7fr)
        minmax(300px, 0.8fr);

    gap: 20px;

    align-items: start;
}

.confirmation-main {
    display: flex;

    flex-direction: column;

    gap: 18px;
}

.confirmation-sidebar {
    display: flex;

    flex-direction: column;

    gap: 18px;

    position: sticky;

    top: 20px;
}


/* =========================================================
   CONFIRMATION CARDS
========================================================= */

.confirmation-card {
    background: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius-lg);

    padding: 25px;

    box-shadow: var(--shadow-sm);
}

.confirmation-card-header {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    margin-bottom: 22px;
}

.confirmation-card-header .section-label {
    margin-bottom: 4px;
}

.confirmation-card-header h2 {
    font-size: 20px;

    line-height: 1.2;

    letter-spacing: -0.4px;
}


/* Booking status */

.booking-status {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 6px 10px;

    border-radius: 6px;

    background: #fff7e6;

    color: #b77900;

    border: 1px solid #f8dfac;

    font-size: 9px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.5px;
}


/* =========================================================
   CONFIRMED CAR
========================================================= */

.confirmed-car {
    display: grid;

    grid-template-columns: 240px 1fr;

    gap: 25px;

    align-items: center;
}

.confirmed-car-image {
    height: 170px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 15px;

    border-radius: 13px;

    background:
        linear-gradient(
            145deg,
            #f8f7fc,
            #eeeeF5
        );

    overflow: hidden;
}

.confirmed-car-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}

.confirmed-car-info h3 {
    font-size: 23px;

    line-height: 1.2;

    margin-bottom: 7px;
}

.confirmed-car-category {
    display: inline-block;

    padding: 5px 8px;

    border-radius: 5px;

    background: var(--primary-soft);

    color: var(--primary);

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 0.7px;

    margin-bottom: 14px;
}

.confirmed-car-specs {
    display: flex;

    flex-wrap: wrap;

    gap: 15px;

    color: var(--text-light);

    font-size: 11px;

    margin-bottom: 13px;
}

.confirmed-car-price {
    display: flex;

    align-items: baseline;

    gap: 4px;
}

.confirmed-car-price strong {
    color: var(--primary);

    font-size: 21px;
}

.confirmed-car-price span {
    color: var(--text-light);

    font-size: 10px;
}


/* =========================================================
   TRIP DETAILS
========================================================= */

.trip-details-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 12px;
}

.trip-detail {
    display: flex;

    align-items: center;

    gap: 12px;

    padding: 14px;

    background: #fafafa;

    border: 1px solid var(--border-light);

    border-radius: 10px;
}

.trip-detail-icon {
    width: 38px;
    height: 38px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 9px;

    background: var(--primary-soft);

    color: var(--primary);

    font-size: 15px;
}

.trip-detail div {
    display: flex;

    flex-direction: column;

    min-width: 0;
}

.trip-detail div span {
    color: var(--text-light);

    font-size: 9px;

    margin-bottom: 2px;
}

.trip-detail div strong {
    color: var(--text-dark);

    font-size: 11px;

    word-break: break-word;
}


/* =========================================================
   CUSTOMER DETAILS
========================================================= */

.customer-details-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 15px;
}

.customer-detail {
    display: flex;

    flex-direction: column;

    gap: 4px;

    padding-bottom: 12px;

    border-bottom: 1px solid var(--border-light);
}

.customer-detail span {
    color: var(--text-light);

    font-size: 9px;

    font-weight: 600;
}

.customer-detail strong {
    color: var(--text-dark);

    font-size: 12px;

    line-height: 1.5;

    word-break: break-word;
}

.customer-address {
    grid-column: 1 / -1;
}


/* =========================================================
   PRICE SUMMARY
========================================================= */

.price-summary-card {
    padding: 23px;
}

.price-summary {
    display: flex;

    flex-direction: column;

    gap: 13px;
}

.price-summary-row {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    font-size: 11px;
}

.price-summary-row span {
    color: var(--text-medium);
}

.price-summary-row strong {
    color: var(--text-dark);

    font-size: 11px;
}

.price-summary-row.discount-row strong {
    color: var(--success);
}

.price-summary-divider {
    height: 1px;

    background: var(--border);

    margin: 4px 0;
}

.price-summary-total {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    padding-top: 3px;
}

.price-summary-total span {
    color: var(--text-dark);

    font-size: 12px;

    font-weight: 700;
}

.price-summary-total strong {
    color: var(--primary);

    font-size: 21px;

    font-weight: 800;
}


/* Coupon */

.confirmed-coupon {
    margin-top: 18px;

    padding: 9px 11px;

    border: 1px dashed var(--primary);

    border-radius: 7px;

    background: var(--primary-soft);

    color: var(--primary);

    font-size: 10px;

    font-weight: 700;

    text-align: center;
}


/* =========================================================
   NEXT STEPS
========================================================= */

.next-steps-card h2 {
    font-size: 20px;

    margin-bottom: 20px;
}

.next-step {
    display: flex;

    align-items: flex-start;

    gap: 11px;

    padding: 12px 0;

    border-bottom: 1px solid var(--border-light);
}

.next-step:last-child {
    border-bottom: none;

    padding-bottom: 0;
}

.next-step > span {
    width: 28px;
    height: 28px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 7px;

    background: var(--primary-soft);

    color: var(--primary);

    font-size: 8px;

    font-weight: 800;
}

.next-step p {
    color: var(--text-medium);

    font-size: 10px;

    line-height: 1.7;

    padding-top: 3px;
}


/* =========================================================
   CONFIRMATION ACTIONS
========================================================= */

.confirmation-actions {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    margin-top: 30px;
}


/* =========================================================
   SUPPORT
========================================================= */

.confirmation-support {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 6px;

    margin-top: 22px;

    color: var(--text-light);

    font-size: 10px;

    text-align: center;
}

.confirmation-support strong {
    color: var(--text-medium);
}

.confirmation-support a {
    color: var(--primary);

    font-weight: 700;
}

.confirmation-support a:hover {
    text-decoration: underline;
}


/* =========================================================
   CONFIRMATION PAGE HOVER EFFECTS
========================================================= */

.confirmation-card {
    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}

.confirmation-card:hover {
    border-color: #ddd7ff;

    box-shadow: var(--shadow-md);
}


/* =========================================================
   CONFIRMATION RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

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

    .confirmation-sidebar {
        position: static;

        display: grid;

        grid-template-columns:
            repeat(2, 1fr);

        align-items: start;
    }

}


@media (max-width: 760px) {

    .confirmation-section {
        padding: 45px 0 60px;
    }

    .confirmation-header {
        margin-bottom: 30px;
    }

    .confirmation-header h1 {
        font-size: 30px;
    }

    .confirmation-header > p {
        font-size: 12px;
    }

    .confirmation-card {
        padding: 19px;
    }

    .confirmed-car {
        grid-template-columns: 1fr;

        gap: 18px;
    }

    .confirmed-car-image {
        height: 210px;
    }

    .trip-details-grid {
        grid-template-columns: 1fr;
    }

    .customer-details-grid {
        grid-template-columns: 1fr;
    }

    .customer-address {
        grid-column: auto;
    }

    .confirmation-sidebar {
        grid-template-columns: 1fr;
    }

    .confirmation-actions {
        flex-direction: column;

        width: 100%;
    }

    .confirmation-actions .btn {
        width: 100%;
    }

    .confirmation-support {
        flex-direction: column;

        line-height: 1.7;
    }

}


@media (max-width: 480px) {

    .confirmation-success-icon {
        width: 58px;
        height: 58px;

        font-size: 24px;
    }

    .confirmation-header h1 {
        font-size: 26px;
    }

    .booking-reference {
        flex-direction: column;

        gap: 2px;
    }

    .confirmation-card-header {
        align-items: flex-start;
    }

    .confirmation-card-header h2 {
        font-size: 18px;
    }

    .confirmed-car-image {
        height: 180px;
    }

    .confirmed-car-info h3 {
        font-size: 20px;
    }

    .trip-detail {
        padding: 12px;
    }

    .price-summary-total strong {
        font-size: 19px;
    }

}

/* =========================================================
   20. BOOKING PAGE
========================================================= */

/* Page Header */

.booking-page-header {
    padding: 55px 0 40px;
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(104, 72, 234, 0.10),
            transparent 32%
        ),
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f8f7fc 100%
        );
}

.booking-page-header h1 {
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 10px;
}

.booking-page-header p {
    max-width: 650px;
    color: var(--text-medium);
    font-size: 14px;
}


/* Main Booking Section */

.booking-section {
    padding: 45px 0 75px;
    background: var(--background);
}

.booking-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 25px;
    align-items: start;
}

.booking-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}


/* Booking Cards */

.booking-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow-sm);
}

.booking-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 22px;
}

.booking-small-label {
    display: block;
    color: var(--primary);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.booking-card-header h2 {
    font-size: 22px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.change-car-link {
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
}

.change-car-link:hover {
    text-decoration: underline;
}


/* Selected Car */

.selected-car {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 22px;
    align-items: center;
}

.selected-car-image {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    border-radius: 12px;
    background: linear-gradient(
        145deg,
        #f8f7fc,
        #eeeeF5
    );
}

.selected-car-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.selected-car-category {
    display: inline-block;
    color: var(--primary);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.selected-car-info h3 {
    font-size: 22px;
    margin-bottom: 9px;
}

.selected-car-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    color: var(--text-medium);
    font-size: 11px;
    margin-bottom: 12px;
}

.selected-car-rate {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.selected-car-rate strong {
    color: var(--primary);
    font-size: 20px;
}

.selected-car-rate span {
    color: var(--text-light);
    font-size: 11px;
}


/* Booking Form */

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

.booking-form-group {
    min-width: 0;
}

.booking-full {
    grid-column: 1 / -1;
}

.booking-form-group label {
    display: block;
    color: var(--text-dark);
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 7px;
}

.booking-form-group > input,
.booking-form-group > textarea,
.booking-input {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: #fff;
    transition:
        border-color var(--transition),
        box-shadow var(--transition);
}

.booking-form-group > input {
    height: 47px;
    padding: 0 13px;
    color: var(--text-dark);
    font-size: 12px;
}

.booking-form-group > textarea {
    min-height: 95px;
    padding: 12px 13px;
    resize: vertical;
    color: var(--text-dark);
    font-size: 12px;
}

.booking-input {
    height: 47px;
    display: flex;
    align-items: center;
    padding: 0 12px;
}

.booking-input > span {
    flex-shrink: 0;
    width: 25px;
    font-size: 14px;
}

.booking-input input,
.booking-input select {
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    background: transparent;
    color: var(--text-dark);
    font-size: 12px;
}

.booking-input select {
    cursor: pointer;
}

.booking-form-group > input:focus,
.booking-form-group > textarea:focus,
.booking-input:focus-within {
    border-color: var(--primary);
    box-shadow:
        0 0 0 3px rgba(75, 43, 216, 0.08);
}

.booking-form-group input::placeholder,
.booking-form-group textarea::placeholder {
    color: #999;
}


/* Coupon */

.booking-coupon {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.coupon-input-wrapper {
    flex: 1;
    height: 45px;
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: #fff;
    overflow: hidden;
}

.coupon-input-wrapper > span {
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 800;
    border-right: 1px solid var(--border-light);
}

.coupon-input-wrapper input {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: none;
    outline: none;
    padding: 0 12px;
    font-size: 12px;
}

.booking-coupon .btn {
    min-width: 90px;
    height: 45px;
}

.coupon-message {
    min-height: 18px;
    margin-top: 9px;
    font-size: 11px;
    font-weight: 600;
}

.coupon-hint {
    display: block;
    color: var(--text-light);
    font-size: 10px;
}


/* Terms */

.booking-terms {
    padding: 3px 2px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: var(--text-medium);
    font-size: 11px;
    line-height: 1.6;
    cursor: pointer;
}

.checkbox-label input {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 1px;
    accent-color: var(--primary);
    cursor: pointer;
}

.checkbox-label a {
    color: var(--primary);
    font-weight: 600;
}

.checkbox-label a:hover {
    text-decoration: underline;
}


/* =========================================================
   BOOKING SIDEBAR
========================================================= */

.booking-sidebar {
    position: sticky;
    top: 95px;
}

.price-summary {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow-md);
}

.price-summary-header {
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 5px;
}

.price-summary-header h2 {
    font-size: 21px;
    line-height: 1.2;
}


/* Price Rows */

.price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 12px 0;
    color: var(--text-medium);
    font-size: 11px;
}

.price-row strong {
    color: var(--text-dark);
    font-size: 12px;
}

.discount-row {
    color: var(--success);
}

.discount-row strong {
    color: var(--success);
}

.price-divider {
    height: 1px;
    background: var(--border);
    margin: 7px 0;
}

.price-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 14px 0 10px;
}

.price-total span {
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 700;
}

.price-total strong {
    color: var(--primary);
    font-size: 23px;
}

.price-note {
    color: var(--text-light);
    font-size: 9px;
    line-height: 1.6;
    margin: 5px 0 18px;
}


/* Confirm Button */

.confirm-booking-btn {
    width: 100%;
    height: 50px;
    font-size: 12px;
}


/* Secure Booking */

.secure-booking {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.secure-booking > span {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 9px;
    background: var(--primary-soft);
    font-size: 14px;
}

.secure-booking div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.secure-booking strong {
    font-size: 10px;
}

.secure-booking small {
    color: var(--text-light);
    font-size: 9px;
}


/* =========================================================
   BOOKING PAGE MOBILE
========================================================= */

@media (max-width: 900px) {

    .booking-layout {
        grid-template-columns: 1fr;
    }

    .booking-sidebar {
        position: static;
    }

    .price-summary {
        max-width: none;
    }
}


@media (max-width: 650px) {

    .booking-page-header {
        padding: 35px 0 30px;
    }

    .booking-page-header h1 {
        font-size: 32px;
    }

    .booking-page-header p {
        font-size: 12px;
    }

    .booking-section {
        padding: 25px 0 50px;
    }

    .booking-card {
        padding: 18px;
        border-radius: 14px;
    }

    .booking-card-header {
        margin-bottom: 18px;
    }

    .booking-card-header h2 {
        font-size: 20px;
    }

    /* Selected car becomes vertical */

    .selected-car {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .selected-car-image {
        height: 170px;
    }

    .selected-car-info h3 {
        font-size: 20px;
    }

    /* Form becomes one column */

    .booking-form-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .booking-full {
        grid-column: auto;
    }

    .booking-form-group label {
        font-size: 11px;
    }

    .booking-form-group > input,
    .booking-input {
        height: 48px;
    }

    .booking-form-group > textarea {
        min-height: 100px;
    }

    /* Coupon */

    .booking-coupon {
        flex-direction: column;
    }

    .booking-coupon .btn {
        width: 100%;
    }

    /* Price summary */

    .price-summary {
        padding: 20px;
    }

    .price-total strong {
        font-size: 21px;
    }

    .confirm-booking-btn {
        height: 52px;
    }

}

.admin-login-button {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 10px 16px;
border-radius: 8px;
background: #4f2cff;
color: #ffffff;
text-decoration: none;
font-size: 14px;
font-weight: 700;
transition: 0.2s ease;
}

.admin-login-button:hover {
background: #3d20d6;
transform: translateY(-1px);
}
/* =====================================================
   PROFESSIONAL WHATSAPP FLOATING BUTTON
===================================================== */

.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;

    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 13px 20px;

    background: #25D366;
    color: #ffffff;

    border-radius: 50px;

    text-decoration: none;

    font-size: 15px;
    font-weight: 700;

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.20);

    z-index: 9999;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.whatsapp-float i {
    font-size: 24px;
    line-height: 1;
}

.whatsapp-float:hover {
    transform: translateY(-3px);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.25);
}

/* MOBILE */

@media (max-width: 600px) {

    .whatsapp-float {
        right: 16px;
        bottom: 16px;

        width: 58px;
        height: 58px;

        padding: 0;

        justify-content: center;

        border-radius: 50%;
    }

    .whatsapp-float i {
        font-size: 30px;
    }

    .whatsapp-float span {
        display: none;
    }
}
