/* ====================================
   HRC Car Rental — Public / Frontend
   Inspired by Sixt.fr Premium Design
   ==================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --hrc-orange: #ff5f00;
    --hrc-orange-dark: #e55500;
    --hrc-orange-light: #fff3eb;
    --hrc-black: #1a1a1a;
    --hrc-dark: #232323;
    --hrc-gray-900: #111111;
    --hrc-gray-700: #333333;
    --hrc-gray-500: #666666;
    --hrc-gray-400: #999999;
    --hrc-gray-200: #e8e8e8;
    --hrc-gray-100: #f5f5f5;
    --hrc-white: #ffffff;
    --hrc-success: #00c853;
    --hrc-warning: #ffab00;
    --hrc-danger: #ff1744;
    --hrc-radius: 16px;
    --hrc-radius-sm: 10px;
    --hrc-radius-xs: 6px;
    --hrc-radius-xl: 24px;
    --hrc-shadow: 0 2px 12px rgba(0, 0, 0, .06);
    --hrc-shadow-md: 0 4px 20px rgba(0, 0, 0, .08);
    --hrc-shadow-lg: 0 8px 40px rgba(0, 0, 0, .10);
    --hrc-shadow-xl: 0 16px 64px rgba(0, 0, 0, .12);
    --hrc-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --hrc-transition: all .35s cubic-bezier(.32, .72, 0, 1);
    --hrc-transition-fast: all .2s cubic-bezier(.32, .72, 0, 1);
    --hrc-transition-slow: all .6s cubic-bezier(.32, .72, 0, 1);
}

/* ---- Accessibility Utilities ---- */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus visible — keyboard-only focus ring */
.hrc-single-car :focus-visible,
.hrc-all-cars-wrap :focus-visible,
.hrc-auth-wrap :focus-visible,
.hrc-account-wrap :focus-visible,
.hrc-search-form-wrap :focus-visible,
.hrc-thanks-wrap :focus-visible {
    outline: 2px solid var(--hrc-orange);
    outline-offset: 2px;
}

/* ---- Reset & Base ---- */
.hrc-single-car,
.hrc-all-cars-wrap,
.hrc-auth-wrap,
.hrc-account-wrap,
.hrc-search-form-wrap,
.hrc-thanks-wrap {
    font-family: var(--hrc-font);
    color: var(--hrc-gray-700);
    -webkit-font-smoothing: antialiased;
}

/* ---- Buttons ---- */
.hrc-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--hrc-radius-sm);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: var(--hrc-transition);
    border: 2px solid transparent;
    font-family: var(--hrc-font);
    letter-spacing: .3px;
    text-transform: uppercase;
}

.hrc-btn-primary {
    background: var(--hrc-orange);
    color: #fff;
    border-color: var(--hrc-orange);
}

.hrc-btn-primary:hover {
    background: var(--hrc-orange-dark);
    border-color: var(--hrc-orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 95, 0, .4);
}

.hrc-btn-outline {
    background: transparent;
    color: var(--hrc-orange);
    border-color: var(--hrc-orange);
}

.hrc-btn-outline:hover {
    background: var(--hrc-orange);
    color: #fff;
}

.hrc-btn-dark {
    background: var(--hrc-black);
    color: #fff;
    border-color: var(--hrc-black);
}

.hrc-btn-dark:hover {
    background: var(--hrc-gray-700);
}

.hrc-btn-lg {
    padding: 16px 32px;
    font-size: 15px;
}

.hrc-btn-sm {
    padding: 8px 16px;
    font-size: 12px;
}

.hrc-btn-block {
    width: 100%;
    justify-content: center;
}

/* ---- Search Form ---- */
.hrc-search-form-wrap {
    background: var(--hrc-black);
    border-radius: var(--hrc-radius-xl);
    padding: 48px 40px 40px;
    margin-bottom: 40px;
    box-shadow: var(--hrc-shadow-xl);
}

.hrc-search-hero {
    text-align: center;
    margin-bottom: 32px;
}

.hrc-search-hero h1 {
    font-size: 32px;
    font-weight: 900;
    color: var(--hrc-white);
    margin: 0 0 8px;
    letter-spacing: -.5px;
}

.hrc-search-hero p {
    font-size: 15px;
    color: var(--hrc-gray-400);
    margin: 0;
    font-weight: 500;
}

.hrc-search-fields {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr auto;
    gap: 12px;
    align-items: end;
}

.hrc-search-field label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    color: var(--hrc-gray-400);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: .8px;
}

.hrc-search-field label svg {
    color: var(--hrc-orange);
    flex-shrink: 0;
}

.hrc-search-field select,
.hrc-search-field input {
    width: 100%;
    padding: 14px 16px !important;
    border: 2px solid var(--hrc-gray-700) !important;
    border-radius: var(--hrc-radius) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #fff !important;
    background: var(--hrc-dark) !important;
    transition: var(--hrc-transition);
    box-sizing: border-box;
    font-family: var(--hrc-font) !important;
    -webkit-appearance: none;
    appearance: none;
    outline: none !important;
}

.hrc-search-field select:focus,
.hrc-search-field input:focus {
    border-color: var(--hrc-orange) !important;
    box-shadow: 0 0 0 1px var(--hrc-orange) !important;
}

.hrc-search-dt-row {
    display: flex;
    gap: 8px;
}

.hrc-search-dt-row input {
    flex: 1;
    min-width: 0;
}

.hrc-search-dt-row select {
    width: 90px !important;
    flex-shrink: 0;
}

.hrc-search-options {
    margin-top: 12px;
}

.hrc-same-return {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--hrc-gray-400);
    cursor: pointer;
    font-weight: 500;
}

.hrc-same-return input[type="checkbox"] {
    width: 16px !important;
    height: 16px;
    accent-color: var(--hrc-orange);
}

.hrc-reassurance {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.hrc-reassurance-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--hrc-gray-400);
}

.hrc-reassurance-item svg {
    color: var(--hrc-orange);
    flex-shrink: 0;
}

@media(max-width:960px) {
    .hrc-search-fields {
        grid-template-columns: 1fr 1fr;
    }

    .hrc-search-hero h1 {
        font-size: 24px;
    }
}

@media(max-width:480px) {
    .hrc-search-form-wrap {
        padding: 28px 20px 24px;
    }

    .hrc-search-fields {
        grid-template-columns: 1fr;
    }

    .hrc-search-hero h1 {
        font-size: 20px;
    }

    .hrc-reassurance {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
}

/* ---- Date Range Calendar ---- */
.hrc-cal-overlay {
    position: fixed;
    inset: 0;
    z-index: 99998;
    background: rgba(0, 0, 0, .5);
    backdrop-filter: blur(3px);
}

.hrc-cal {
    position: fixed;
    z-index: 99999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--hrc-white);
    border-radius: var(--hrc-radius-xl);
    box-shadow: var(--hrc-shadow-xl);
    padding: 28px 24px;
    animation: hrcCalOpen .3s cubic-bezier(.32, .72, 0, 1);
    max-width: 95vw;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes hrcCalOpen {
    from { opacity: 0; transform: translate(-50%, -48%); }
    to { opacity: 1; transform: translate(-50%, -50%); }
}

.hrc-cal-inner {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
}


.hrc-cal-nav {
    width: 32px;
    height: 32px;
    border: 2px solid var(--hrc-gray-200);
    border-radius: 50%;
    background: var(--hrc-white);
    font-size: 18px;
    line-height: 1;
    color: var(--hrc-gray-500);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--hrc-transition);
    margin-top: 2px;
    padding: 0;
    font-family: var(--hrc-font);
}

.hrc-cal-nav:hover {
    border-color: var(--hrc-orange);
    color: var(--hrc-orange);
}

.hrc-cal-months {
    display: flex;
    gap: 28px;
    flex: 1;
    min-width: 0;
}

.hrc-cal-month {
    min-width: 200px;
    flex: 1;
}

.hrc-cal-title {
    text-align: center;
    font-size: 15px;
    font-weight: 800;
    color: var(--hrc-black);
    margin-bottom: 12px;
    text-transform: capitalize;
}

.hrc-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.hrc-cal-hdr {
    margin-bottom: 4px;
}

.hrc-cal-hdr span {
    text-align: center;
    font-size: 10px;
    font-weight: 700;
    color: var(--hrc-gray-400);
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: 4px 0;
}

.hrc-cal-day {
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--hrc-gray-700);
    padding: 8px 0;
    cursor: pointer;
    transition: background .12s, color .12s;
}

.hrc-cal-day:hover:not(.hrc-cal-off):not(.hrc-cal-blocked):not(.hrc-cal-empty) {
    background: var(--hrc-gray-100);
}

.hrc-cal-empty { cursor: default; }

.hrc-cal-off {
    color: var(--hrc-gray-200) !important;
    cursor: default !important;
}

.hrc-cal-blocked {
    color: var(--hrc-gray-300) !important;
    cursor: not-allowed !important;
    text-decoration: line-through;
}

.hrc-cal-today {
    color: var(--hrc-orange) !important;
    font-weight: 800;
}

.hrc-cal-start {
    background: var(--hrc-black) !important;
    color: var(--hrc-white) !important;
    border-radius: 50% 0 0 50%;
}

.hrc-cal-end {
    background: var(--hrc-black) !important;
    color: var(--hrc-white) !important;
    border-radius: 0 50% 50% 0;
}

.hrc-cal-start.hrc-cal-end {
    border-radius: 50%;
}

.hrc-cal-range,
.hrc-cal-hover {
    background: var(--hrc-gray-100) !important;
}

/* Calendar icon inside date inputs */
.hrc-cal-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--hrc-orange);
    pointer-events: none;
    display: flex;
    align-items: center;
}

@media(max-width: 768px) {
    .hrc-cal {
        width: 90vw;
        padding: 20px 16px;
    }

    .hrc-cal-months {
        flex-direction: column;
        gap: 20px;
    }

    .hrc-cal-month {
        min-width: unset;
        width: 100%;
    }

    .hrc-cal-grid {
        gap: 0;
    }

    .hrc-cal-day {
        padding: 12px 0;
        font-size: 15px;
    }

    .hrc-cal-title {
        font-size: 18px;
    }
}

/* ---- Search Recap Bar ---- */
.hrc-search-recap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 20px;
    background: var(--hrc-orange-light);
    border: 2px solid rgba(255, 95, 0, .15);
    border-radius: var(--hrc-radius);
    margin-bottom: 20px;
}

.hrc-recap-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.hrc-recap-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--hrc-white);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--hrc-gray-700);
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
}

.hrc-recap-chip svg {
    color: var(--hrc-orange);
    flex-shrink: 0;
}

.hrc-recap-chip-accent {
    background: var(--hrc-orange);
    color: var(--hrc-white);
}

.hrc-recap-modify {
    font-size: 13px;
    font-weight: 700;
    color: var(--hrc-orange);
    text-decoration: none;
    white-space: nowrap;
}

.hrc-recap-modify:hover {
    text-decoration: underline;
}

.hrc-price-total {
    font-size: 12px;
    font-weight: 700;
    color: var(--hrc-orange);
    margin-top: 2px;
}

@media(max-width:480px) {
    .hrc-search-recap {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ---- Car Grid ---- */
.hrc-all-cars-wrap {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 32px;
}

@media(max-width:768px) {
    .hrc-all-cars-wrap {
        grid-template-columns: 1fr;
    }
}

.hrc-filters-sidebar {
    background: var(--hrc-white);
    border-radius: var(--hrc-radius);
    box-shadow: var(--hrc-shadow);
    padding: 24px;
    height: fit-content;
    position: sticky;
    top: 80px;
    border: 1px solid var(--hrc-gray-200);
}

.hrc-filters-sidebar h3 {
    margin: 0 0 20px;
    font-size: 16px;
    font-weight: 800;
    color: var(--hrc-black);
    text-transform: uppercase;
    letter-spacing: .5px;
}

.hrc-filter-group {
    margin-bottom: 20px;
}

.hrc-filter-group label {
    font-size: 11px;
    font-weight: 700;
    color: var(--hrc-gray-500);
    text-transform: uppercase;
    letter-spacing: .8px;
    margin-bottom: 6px;
    display: block;
}

.hrc-filter-group select,
.hrc-filter-group input[type="text"] {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--hrc-gray-200);
    border-radius: var(--hrc-radius-xs);
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color .2s;
}

.hrc-filter-group select:focus,
.hrc-filter-group input:focus {
    border-color: var(--hrc-orange);
    outline: 2px solid transparent;
}

.hrc-filter-group input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: var(--hrc-gray-200);
    border-radius: 4px;
    outline: 2px solid transparent;
    opacity: 0.9;
    transition: opacity .2s;
    margin: 16px 0;
}

.hrc-filter-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--hrc-orange);
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    border: 3px solid #fff;
}

#hrc-price-label {
    display: inline-block;
    padding: 4px 10px;
    background: var(--hrc-dark);
    color: #fff;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
}

/* ---- Modern Date & Time Inputs ---- */
.hrc-filter-group input[type="date"],
.hrc-filter-group input[type="time"] {
    width: 100%;
    min-width: 0;
    padding: 8px 6px;
    border: 1px solid var(--hrc-gray-200);
    border-radius: var(--hrc-radius-xs);
    font-size: 13px;
    box-sizing: border-box;
    transition: border-color .2s;
    background-color: var(--hrc-white);
    color: var(--hrc-black);
    font-family: inherit;
    font-weight: 500;
}

.hrc-filter-group input[type="date"]:focus,
.hrc-filter-group input[type="time"]:focus {
    border-color: var(--hrc-orange);
    outline: 2px solid transparent;
}

/* ---- Top Filters Bar ---- */
.hrc-grid-top-filters {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    align-items: center;
}

.hrc-top-select {
    flex: 1;
    min-width: 160px;
    padding: 12px 16px;
    border: 1px solid var(--hrc-gray-200);
    border-radius: var(--hrc-radius-sm);
    background-color: var(--hrc-white);
    color: var(--hrc-black);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--hrc-shadow-sm);
    transition: all 0.2s ease-in-out;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.hrc-top-select:focus,
.hrc-top-select:hover {
    border-color: var(--hrc-orange);
    outline: 2px solid transparent;
    box-shadow: 0 4px 12px rgba(255, 95, 0, 0.15);
}

/* Car Cards (Sixt Style) */
.hrc-car-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.hrc-car-card {
    display: flex;
    flex-direction: column;
    background: var(--hrc-dark);
    border-radius: var(--hrc-radius);
    overflow: hidden;
    transition: var(--hrc-transition);
    border: 1px solid #333;
    text-decoration: none;
    color: var(--hrc-white);
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    padding-top: 220px;
    z-index: 1;
}

.hrc-car-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(15, 15, 15, 0.95) 0%, rgba(15, 15, 15, 0.7) 50%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

.hrc-car-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    transform: translateY(-4px);
    border-color: #555;
    z-index: 10;
}

.hrc-car-card-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    z-index: 2;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.85) 0%, transparent 100%);
    box-sizing: border-box;
}

.hrc-car-title {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 800;
    color: var(--hrc-white);
    text-transform: uppercase;
    letter-spacing: .5px;
}

.hrc-car-subtitle {
    display: block;
    font-size: 13px;
    color: #aaa;
    font-weight: 500;
    margin-bottom: 8px;
}

.hrc-car-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.hrc-car-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s cubic-bezier(.4, 0, .2, 1);
    filter: none;
}

.hrc-car-card:hover .hrc-car-image img {
    transform: scale(1.05);
}

.hrc-car-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.hrc-car-no-image .dashicons {
    font-size: 48px;
    color: #444;
}

.hrc-car-category-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--hrc-orange);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .5px;
    z-index: 3;
}

/* Unavailable Cars on Grid */
.hrc-car-card.hrc-unavailable {
    opacity: 0.5;
    position: relative;
    pointer-events: none;
    filter: grayscale(100%);
}

.hrc-car-card.hrc-unavailable::before {
    content: "Non disponible";
    content: attr(data-unavailable-label);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--hrc-orange);
    color: #fff;
    padding: 10px 20px;
    border-radius: var(--hrc-radius-sm);
    font-weight: 800;
    font-size: 15px;
    text-transform: uppercase;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.8);
    z-index: 10;
}

.hrc-car-specs {
    position: relative;
    z-index: 3;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 20px 12px;
}

.hrc-car-specs span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #bbb;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.hrc-car-specs span svg {
    color: #bbb;
}

.hrc-car-specs span.brand-accent svg {
    color: var(--hrc-white);
    background: #333;
    padding: 2px;
    border-radius: 2px;
}

.hrc-car-bottom {
    margin-top: auto;
    padding: 20px;
    display: flex;
    z-index: 3;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.hrc-price-display {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.hrc-price-amount {
    font-size: 24px;
    font-weight: 900;
    color: var(--hrc-white);
}

.hrc-price-unit {
    font-size: 12px;
    color: #888;
    font-weight: 600;
}

.hrc-no-results {
    text-align: center;
    padding: 80px 0;
    color: var(--hrc-gray-400);
}

/* ---- Single Car (Sixt-inspired) ---- */
.hrc-single-car {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Hero Gallery */
.hrc-hero-gallery {
    margin-bottom: 32px;
}

.hrc-hero-main {
    position: relative;
    border-radius: var(--hrc-radius);
    overflow: hidden;
    background: var(--hrc-gray-100);
    max-height: 520px;
    box-shadow: var(--hrc-shadow);
    /* pseudo element for very subtle vignette/overlay is often used by sixt */
}

.hrc-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 32px 32px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 40%, transparent 100%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-sizing: border-box;
}

.hrc-hero-overlay .hrc-overlay-title {
    color: var(--hrc-white);
    font-size: 32px;
    margin-bottom: 12px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

@media(max-width:768px) {
    .hrc-hero-overlay .hrc-overlay-title {
        font-size: 24px;
    }

    .hrc-hero-overlay {
        padding: 24px 20px 16px;
    }
}

.hrc-hero-main>img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
}

.hrc-hero-placeholder {
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--hrc-gray-100);
}

.hrc-hero-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--hrc-orange);
    color: #fff;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.hrc-hero-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin-top: 16px;
}

.hrc-thumb {
    width: 80px;
    height: 56px;
    object-fit: cover;
    border-radius: var(--hrc-radius-xs);
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--hrc-transition);
    opacity: .7;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.hrc-thumb:hover,
.hrc-thumb.active {
    opacity: 1;
    border-color: var(--hrc-orange);
}

/* Detail Layout */
.hrc-detail-layout {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 40px;
}

@media(max-width:960px) {
    .hrc-detail-layout {
        grid-template-columns: 1fr;
    }
}

.hrc-detail-title {
    font-size: 32px;
    font-weight: 900;
    color: var(--hrc-black);
    margin: 0 0 16px;
    letter-spacing: -.5px;
}

/* Specs Strip */
.hrc-specs-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.hrc-specs-strip.hrc-overlay-specs {
    margin-bottom: 0;
}

.hrc-spec-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--hrc-gray-100);
    color: var(--hrc-gray-700);
    padding: 8px 14px;
    border-radius: var(--hrc-radius-sm);
    font-size: 13px;
    font-weight: 600;
    border: 1px solid var(--hrc-gray-200);
}

.hrc-overlay-specs .hrc-spec-chip {
    background: rgba(25, 25, 25, 0.6);
    color: var(--hrc-white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.hrc-spec-chip svg {
    color: var(--hrc-orange);
    flex-shrink: 0;
}

.hrc-detail-desc {
    line-height: 1.8;
    color: var(--hrc-gray-500);
    margin-bottom: 32px;
    font-size: 15px;
}

.hrc-detail-section {
    margin-bottom: 28px;
}

.hrc-detail-section h3 {
    font-size: 16px;
    font-weight: 800;
    color: var(--hrc-black);
    margin: 0 0 16px;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--hrc-gray-100);
}

.hrc-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
}

.hrc-feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--hrc-gray-700);
    padding: 8px 0;
    font-weight: 500;
}

.hrc-conditions-text {
    font-size: 14px;
    line-height: 1.7;
    color: var(--hrc-gray-500);
}

/* ---- Booking Card (Sidebar) ---- */
.hrc-book-card {
    background: var(--hrc-white);
    border-radius: var(--hrc-radius);
    padding: 0;
    position: sticky;
    top: 32px;
    border: none;
    box-shadow: var(--hrc-shadow-lg), 0 0 0 1px rgba(0, 0, 0, .04);
    overflow: hidden;
}

.hrc-book-price-header {
    background: var(--hrc-black);
    padding: 28px 28px;
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.hrc-book-price-value {
    font-size: 36px;
    font-weight: 800;
    color: var(--hrc-orange);
    letter-spacing: -.5px;
}

.hrc-book-price-per {
    font-size: 14px;
    color: var(--hrc-gray-400);
    font-weight: 500;
}

.hrc-book-card form {
    padding: 24px 28px 28px;
}

.hrc-book-field {
    margin-bottom: 16px;
}

.hrc-book-field label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    color: var(--hrc-gray-500);
    text-transform: uppercase;
    letter-spacing: .8px;
    margin-bottom: 6px;
}

.hrc-book-field label svg {
    color: var(--hrc-orange);
}

.hrc-book-field input,
.hrc-book-field select,
.hrc-book-field textarea {
    width: 100%;
    padding: 16px 18px !important;
    border: 2px solid var(--hrc-gray-200) !important;
    border-radius: var(--hrc-radius) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--hrc-gray-900) !important;
    transition: var(--hrc-transition);
    box-sizing: border-box;
    font-family: var(--hrc-font) !important;
    background: var(--hrc-white) !important;
    outline: none !important;
    -webkit-appearance: none;
    appearance: none;
}

.hrc-book-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ff5f00' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 16px center !important;
    padding-right: 40px !important;
}

.hrc-book-field input:focus,
.hrc-book-field select:focus,
.hrc-book-field textarea:focus {
    border-color: var(--hrc-orange) !important;
    box-shadow: 0 0 0 1px var(--hrc-orange) !important;
}



.hrc-book-dates {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 4px;
}

/* Wizard Steps Indicator — Progress Bar */
ol.hrc-wizard-steps,
.hrc-wizard-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 28px;
    gap: 0;
    list-style: none !important;
    padding: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    counter-reset: none;
}

.hrc-step-indicator {
    flex: 1;
    font-size: 11px;
    font-weight: 700;
    color: var(--hrc-gray-400);
    text-transform: uppercase;
    text-align: center;
    padding-bottom: 10px;
    letter-spacing: .3px;
    border-bottom: 3px solid var(--hrc-gray-200);
    transition: var(--hrc-transition);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}

.hrc-step-indicator.active {
    color: var(--hrc-orange);
    border-bottom-color: var(--hrc-orange);
}

@media(max-width:400px) {
    .hrc-step-indicator {
        font-size: 9px;
    }
}

/* Wizard Step Title — Eyebrow Style */
.hrc-wizard-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--hrc-black);
    margin: 0 0 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--hrc-gray-200);
    letter-spacing: -.2px;
}

/* Date + Time Picker */
.hrc-book-datetime {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.hrc-book-dt-group {
    display: flex;
    flex-direction: column;
}

.hrc-book-dt-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    color: var(--hrc-gray-500);
    text-transform: uppercase;
    letter-spacing: .8px;
    margin-bottom: 6px;
}

.hrc-book-dt-group label svg {
    color: var(--hrc-orange);
}

.hrc-dt-row {
    display: flex;
    gap: 10px;
}

.hrc-dt-date,
.hrc-dt-time {
    padding: 16px 16px !important;
    border: 2px solid var(--hrc-gray-200) !important;
    border-radius: var(--hrc-radius) !important;
    background: var(--hrc-white) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--hrc-gray-900) !important;
    font-family: var(--hrc-font) !important;
    box-sizing: border-box;
    outline: none !important;
    cursor: pointer;
    transition: var(--hrc-transition);
    -webkit-appearance: none;
    appearance: none;
}

.hrc-dt-date {
    flex: 1;
    min-width: 0;
}

.hrc-dt-time {
    width: 100px;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ff5f00' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    padding-right: 32px !important;
}

.hrc-dt-date:focus,
.hrc-dt-time:focus {
    border-color: var(--hrc-orange) !important;
    box-shadow: 0 0 0 1px var(--hrc-orange) !important;
}

@media(max-width:768px) {
    .hrc-book-datetime {
        grid-template-columns: 1fr;
    }
}

.hrc-book-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.hrc-book-section {
    margin-bottom: 20px;
}

.hrc-book-section-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--hrc-gray-500);
    text-transform: uppercase;
    letter-spacing: .8px;
    margin-bottom: 10px;
}

/* Delivery Toggle */
.hrc-delivery-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 14px;
}

.hrc-dtoggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 18px !important;
    border: 2px solid var(--hrc-gray-200) !important;
    border-radius: var(--hrc-radius) !important;
    background: var(--hrc-white) !important;
    cursor: pointer;
    font-size: 14px !important;
    font-weight: 800 !important;
    color: var(--hrc-black) !important;
    transition: var(--hrc-transition);
    font-family: var(--hrc-font) !important;
}

.hrc-dtoggle:hover {
    border-color: var(--hrc-orange) !important;
    transform: translateY(-2px);
    box-shadow: var(--hrc-shadow);
}

.hrc-dtoggle:active {
    transform: scale(.98);
}

.hrc-dtoggle.active {
    border-color: var(--hrc-orange) !important;
    color: var(--hrc-orange) !important;
    background: var(--hrc-orange-light) !important;
    box-shadow: 0 0 0 1px var(--hrc-orange), 0 4px 12px rgba(255, 95, 0, .10) !important;
}

.hrc-dtoggle svg {
    flex-shrink: 0;
}

.hrc-delivery-fee-note {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--hrc-orange);
    font-weight: 600;
    margin-top: 8px;
    padding: 8px 12px;
    background: var(--hrc-orange-light);
    border-radius: var(--hrc-radius-xs);
}

/* Chauffeur Option */
.hrc-book-option {
    margin-bottom: 20px;
}

.hrc-option-toggle {
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    padding: 18px !important;
    border: 2px solid var(--hrc-gray-200) !important;
    border-radius: var(--hrc-radius) !important;
    transition: var(--hrc-transition);
    background: var(--hrc-white) !important;
}

.hrc-option-toggle:hover {
    border-color: var(--hrc-orange) !important;
    transform: translateY(-2px);
    box-shadow: var(--hrc-shadow);
}

.hrc-option-toggle:has(input:checked) {
    border-color: var(--hrc-orange) !important;
    background: var(--hrc-orange-light) !important;
    box-shadow: 0 0 0 1px var(--hrc-orange), 0 4px 12px rgba(255, 95, 0, .10) !important;
}

.hrc-option-toggle input[type="checkbox"] {
    display: none;
}

.hrc-option-toggle input:checked~.hrc-option-slider {
    background: var(--hrc-orange);
}

.hrc-option-toggle input:checked~.hrc-option-slider::after {
    transform: translateX(20px);
}

.hrc-option-slider {
    position: relative;
    width: 44px;
    height: 24px;
    background: var(--hrc-gray-200);
    border-radius: 999px;
    transition: var(--hrc-transition);
    flex-shrink: 0;
}

.hrc-option-slider::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    transition: var(--hrc-transition);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
}

.hrc-option-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hrc-option-content svg {
    color: var(--hrc-orange);
    flex-shrink: 0;
}

.hrc-option-content strong {
    display: block;
    font-size: 14px;
    color: var(--hrc-black);
}

.hrc-option-content small {
    display: block;
    font-size: 12px;
    color: var(--hrc-gray-500);
    margin-top: 1px;
}

/* Price Recap — Premium Summary */
.hrc-price-recap {
    background: var(--hrc-gray-100);
    border: 1.5px solid var(--hrc-gray-200);
    border-radius: var(--hrc-radius);
    padding: 20px 24px;
    margin: 28px 0 20px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .03);
}

.hrc-recap-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 14px;
    color: var(--hrc-gray-500);
}

.hrc-recap-row + .hrc-recap-row {
    border-top: 1px solid rgba(0, 0, 0, .04);
}

.hrc-recap-total {
    border-top: 2px solid var(--hrc-black) !important;
    padding-top: 18px;
    margin-top: 10px;
    font-weight: 800;
    color: var(--hrc-orange);
    font-size: 22px;
}

.hrc-recap-total span:first-child {
    color: var(--hrc-black);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .8px;
}

/* Consents */
.hrc-book-consents {
    margin: 20px 0;
}

.hrc-consent-check {
    display: flex;
    align-items: start;
    gap: 12px;
    font-size: 12px;
    color: var(--hrc-gray-500);
    margin-bottom: 12px;
    cursor: pointer;
    line-height: 1.6;
}

.hrc-consent-check:last-child {
    margin-bottom: 0;
}

.hrc-consent-check input {
    margin-top: 3px;
    accent-color: var(--hrc-orange);
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

/* Submit Button — Magnetic CTA */
.hrc-book-submit {
    width: 100%;
    padding: 18px 24px 18px 32px;
    background: var(--hrc-orange);
    color: #fff;
    border: none;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 800;
    font-family: var(--hrc-font);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: .8px;
    transition: var(--hrc-transition);
    box-shadow: 0 4px 20px rgba(255, 95, 0, .25);
    text-decoration: none;
}

/* Button-in-Button trailing icon for submit */
.hrc-book-submit svg {
    width: 30px;
    height: 30px;
    padding: 6px;
    background: rgba(255, 255, 255, .15);
    border-radius: 50%;
    transition: var(--hrc-transition);
    flex-shrink: 0;
}

.hrc-book-submit:hover {
    background: var(--hrc-orange-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(255, 95, 0, .35);
}

.hrc-book-submit:hover svg {
    background: rgba(255, 255, 255, .25);
    transform: translateX(3px);
}

.hrc-book-submit:active {
    transform: scale(.98);
}

.hrc-book-submit:disabled {
    opacity: .4;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.hrc-book-submit:disabled:hover svg {
    transform: none;
    background: rgba(255, 255, 255, .15);
}

/* Alerts */
.hrc-book-alert {
    padding: 12px 16px;
    border-radius: var(--hrc-radius-xs);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 16px;
}

.hrc-book-alert-error,
.hrc-alert-error {
    background: #fff0f0;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

.hrc-book-alert-success,
.hrc-alert-success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

/* ---- Auth Pages ---- */
.hrc-auth-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    padding: 40px 16px;
}

.hrc-auth-card {
    background: var(--hrc-white);
    border-radius: var(--hrc-radius);
    box-shadow: var(--hrc-shadow-xl);
    padding: 48px;
    max-width: 440px;
    width: 100%;
    border: 1px solid var(--hrc-gray-200);
}

.hrc-auth-card h2 {
    text-align: center;
    font-size: 24px;
    font-weight: 900;
    color: var(--hrc-black);
    margin: 0 0 8px;
}

.hrc-auth-card .hrc-auth-subtitle {
    text-align: center;
    color: var(--hrc-gray-500);
    font-size: 14px;
    margin-bottom: 28px;
}

.hrc-auth-card .hrc-field {
    margin-bottom: 16px;
}

.hrc-auth-card label {
    font-size: 11px;
    font-weight: 700;
    color: var(--hrc-gray-500);
    text-transform: uppercase;
    letter-spacing: .8px;
    margin-bottom: 6px;
    display: block;
}

.hrc-auth-card input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--hrc-gray-200);
    border-radius: var(--hrc-radius-xs);
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color .2s;
    font-family: var(--hrc-font);
}

.hrc-auth-card input:focus {
    border-color: var(--hrc-orange);
    box-shadow: 0 0 0 3px rgba(255, 95, 0, .1);
    outline: 2px solid transparent;
}

.hrc-auth-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--hrc-gray-500);
}

.hrc-auth-footer a {
    color: var(--hrc-orange);
    font-weight: 700;
    text-decoration: none;
}

.hrc-auth-footer a:hover {
    text-decoration: underline;
}

/* ---- Account Page ---- */
.hrc-doc-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 20px;
    background: #fef3c7;
    border: 2px solid #f59e0b;
    border-radius: var(--hrc-radius);
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #92400e;
}

.hrc-doc-banner a {
    color: #92400e;
    font-weight: 700;
    text-decoration: underline;
    white-space: nowrap;
}

.hrc-doc-progress {
    margin-bottom: 24px;
}

.hrc-doc-progress-text {
    font-size: 13px;
    font-weight: 700;
    color: var(--hrc-gray-500);
    margin-bottom: 8px;
}

.hrc-doc-progress-bar {
    width: 100%;
    height: 6px;
    background: var(--hrc-gray-200);
    border-radius: 999px;
    overflow: hidden;
}

.hrc-doc-progress-fill {
    height: 100%;
    background: var(--hrc-orange);
    border-radius: 999px;
    transition: width .6s cubic-bezier(.32, .72, 0, 1);
}

.hrc-drop-zone {
    border: 2px dashed var(--hrc-gray-200);
    border-radius: var(--hrc-radius);
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: var(--hrc-transition);
}

.hrc-drop-zone:hover {
    border-color: var(--hrc-orange);
    background: var(--hrc-orange-light);
}

.hrc-drop-zone input[type="file"] {
    margin-top: 12px;
}

.hrc-drop-zone svg {
    color: var(--hrc-gray-400);
    margin-bottom: 8px;
}

.hrc-drop-zone p {
    font-size: 12px;
    color: var(--hrc-gray-400);
    margin: 4px 0 0;
}

.hrc-reject-reason {
    font-size: 12px;
    color: #ef4444;
    margin-top: 6px;
    font-weight: 600;
}

.hrc-booking-action {
    font-size: 12px;
    font-weight: 600;
    color: var(--hrc-gray-400);
    font-style: italic;
}

.hrc-account-wrap {
    max-width: 960px;
    margin: 0 auto;
}

.hrc-account-header {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--hrc-black);
    border-radius: var(--hrc-radius);
    padding: 28px;
    margin-bottom: 28px;
    color: #fff;
}

.hrc-account-avatar img {
    border-radius: 50%;
    border: 3px solid var(--hrc-orange);
}

.hrc-account-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
}

.hrc-account-header p {
    margin: 2px 0 0;
    color: var(--hrc-gray-400);
    font-size: 14px;
}

.hrc-account-header .hrc-btn {
    margin-left: auto;
}

.hrc-account-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--hrc-gray-200);
    margin-bottom: 28px;
}

.hrc-account-tabs .hrc-tab {
    padding: 12px 24px;
    font-size: 13px;
    font-weight: 700;
    color: var(--hrc-gray-500);
    text-decoration: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: var(--hrc-transition);
    text-transform: uppercase;
    letter-spacing: .5px;
}

.hrc-account-tabs .hrc-tab:hover {
    color: var(--hrc-orange);
}

.hrc-account-tabs .hrc-tab.active {
    color: var(--hrc-orange);
    border-bottom-color: var(--hrc-orange);
}

/* Booking Items */
.hrc-booking-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--hrc-white);
    border-radius: var(--hrc-radius-sm);
    box-shadow: var(--hrc-shadow);
    padding: 20px 24px;
    margin-bottom: 14px;
    transition: var(--hrc-transition);
    flex-wrap: wrap;
    border: 1px solid var(--hrc-gray-200);
}

.hrc-booking-item:hover {
    box-shadow: var(--hrc-shadow-md);
    border-color: var(--hrc-orange);
}

.hrc-booking-thumb img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--hrc-radius-xs);
}

.hrc-booking-details h4 {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 700;
    color: var(--hrc-black);
}

.hrc-booking-details p {
    margin: 0;
    font-size: 13px;
    color: var(--hrc-gray-500);
}

.hrc-booking-meta {
    margin-left: auto;
    text-align: right;
}

.hrc-booking-price {
    font-size: 20px;
    font-weight: 900;
    color: var(--hrc-orange);
}

.hrc-booking-actions {
    display: flex;
    gap: 8px;
}

/* Profile/Security Forms */
.hrc-profile-form,
.hrc-security-form {
    background: var(--hrc-white);
    border-radius: var(--hrc-radius);
    box-shadow: var(--hrc-shadow);
    padding: 28px;
    max-width: 600px;
    border: 1px solid var(--hrc-gray-200);
}

.hrc-profile-form .hrc-field,
.hrc-security-form .hrc-field {
    margin-bottom: 16px;
}

.hrc-profile-form label,
.hrc-security-form label {
    font-size: 11px;
    font-weight: 700;
    color: var(--hrc-gray-500);
    text-transform: uppercase;
    letter-spacing: .8px;
    margin-bottom: 6px;
    display: block;
}

.hrc-profile-form input,
.hrc-security-form input {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--hrc-gray-200);
    border-radius: var(--hrc-radius-xs);
    font-size: 14px;
    box-sizing: border-box;
    font-family: var(--hrc-font);
}

.hrc-profile-form input:focus,
.hrc-security-form input:focus {
    border-color: var(--hrc-orange);
    outline: 2px solid transparent;
    box-shadow: 0 0 0 3px rgba(255, 95, 0, .1);
}

/* Documents */
.hrc-documents-section {
    background: var(--hrc-white);
    border-radius: var(--hrc-radius);
    box-shadow: var(--hrc-shadow);
    padding: 28px;
    border: 1px solid var(--hrc-gray-200);
}

.hrc-doc-upload-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--hrc-gray-100);
    flex-wrap: wrap;
}

.hrc-doc-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ---- Auth Modal ---- */
.hrc-auth-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.hrc-auth-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .6);
    backdrop-filter: blur(4px);
}

.hrc-auth-modal-card {
    position: relative;
    z-index: 1;
    max-width: 440px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--hrc-white);
    border-radius: var(--hrc-radius-xl);
    box-shadow: var(--hrc-shadow-xl);
    padding: 36px 32px;
    animation: hrcModalSlideUp .4s cubic-bezier(.32, .72, 0, 1);
}

@keyframes hrcModalSlideUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

.hrc-auth-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: none;
    background: var(--hrc-gray-100);
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
    color: var(--hrc-gray-500);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--hrc-transition);
}

.hrc-auth-modal-close:hover {
    background: var(--hrc-gray-200);
    color: var(--hrc-black);
}

.hrc-auth-modal-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--hrc-gray-200);
    margin-bottom: 24px;
}

.hrc-modal-tab {
    flex: 1;
    padding: 12px 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--hrc-gray-400);
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    transition: var(--hrc-transition);
    font-family: var(--hrc-font);
}

.hrc-modal-tab.active {
    color: var(--hrc-orange);
    border-bottom-color: var(--hrc-orange);
}

.hrc-modal-panel .hrc-book-field {
    margin-bottom: 16px;
}

.hrc-modal-panel .hrc-book-field label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--hrc-gray-500);
    margin-bottom: 6px;
}

.hrc-modal-panel .hrc-book-field input {
    width: 100%;
    padding: 14px 16px !important;
    border: 2px solid var(--hrc-gray-200) !important;
    border-radius: var(--hrc-radius) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    font-family: var(--hrc-font) !important;
    background: var(--hrc-white) !important;
    box-sizing: border-box;
    outline: none !important;
    transition: var(--hrc-transition);
}

.hrc-modal-panel .hrc-book-field input:focus {
    border-color: var(--hrc-orange) !important;
    box-shadow: 0 0 0 1px var(--hrc-orange) !important;
}

.hrc-modal-msg {
    margin-bottom: 16px;
    padding: 10px 14px;
    border-radius: var(--hrc-radius-sm);
    font-size: 13px;
    font-weight: 600;
    display: none;
}

.hrc-modal-consent {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    color: var(--hrc-gray-500);
    margin-bottom: 20px;
}

.hrc-modal-consent input {
    width: 16px !important;
    height: 16px;
    margin-top: 2px;
    accent-color: var(--hrc-orange);
}

/* Tags & Badges */
.hrc-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--hrc-gray-100);
    color: var(--hrc-gray-700);
    padding: 6px 14px;
    border-radius: var(--hrc-radius-xs);
    font-size: 12px;
    font-weight: 600;
}

.hrc-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.5;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: .3px;
}

/* Header Auth */
.hrc-header-auth {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hrc-user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hrc-user-info img {
    border-radius: 50%;
}

.hrc-greeting {
    font-weight: 600;
    color: var(--hrc-black);
}

.hrc-auth-buttons {
    display: flex;
    gap: 8px;
}

/* Thanks Page */
.hrc-thanks-wrap {
    text-align: center;
    padding: 60px 16px;
}

.hrc-thanks-wrap .hrc-success-icon {
    width: 80px;
    height: 80px;
    background: var(--hrc-success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.hrc-thanks-wrap h2 {
    font-size: 28px;
    font-weight: 900;
    color: var(--hrc-black);
    margin: 0 0 12px;
}

.hrc-thanks-wrap p {
    color: var(--hrc-gray-500);
    font-size: 16px;
    margin: 0 0 24px;
}

.hrc-thanks-icon {
    margin-bottom: 20px;
}

.hrc-thanks-card {
    max-width: 520px;
    margin: 0 auto;
}

.hrc-thanks-summary {
    text-align: left;
    background: var(--hrc-gray-100);
    border-radius: var(--hrc-radius);
    padding: 20px 24px;
    margin-bottom: 28px;
}

.hrc-thanks-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--hrc-gray-200);
}

.hrc-thanks-row:last-child {
    border-bottom: none;
}

.hrc-thanks-total {
    font-weight: 800;
    color: var(--hrc-orange);
    font-size: 16px;
}

.hrc-thanks-checklist {
    text-align: left;
    margin-bottom: 28px;
}

.hrc-thanks-checklist h3 {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--hrc-gray-500);
    margin: 0 0 16px;
}

.hrc-thanks-checklist ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hrc-thanks-checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--hrc-gray-200);
    font-size: 14px;
    font-weight: 600;
}

.hrc-thanks-checklist li:last-child {
    border-bottom: none;
}

.hrc-check-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hrc-check-icon-done {
    background: #f0fdf4;
    color: #16a34a;
}

.hrc-check-icon-pending {
    background: #fef3c7;
    color: #f59e0b;
}

.hrc-check-done span:last-child {
    color: var(--hrc-gray-700);
}

.hrc-check-pending span:last-child {
    color: var(--hrc-gray-500);
}

.hrc-thanks-email-note {
    font-size: 13px !important;
    color: var(--hrc-gray-400) !important;
    margin-bottom: 24px !important;
}

.hrc-thanks-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---- Responsive ---- */
@media(max-width:768px) {
    .hrc-detail-layout {
        grid-template-columns: 1fr;
    }

    .hrc-book-dates {
        grid-template-columns: 1fr;
    }

    .hrc-book-row {
        grid-template-columns: 1fr;
    }

    .hrc-hero-main img {
        height: 300px;
    }

    .hrc-detail-title {
        font-size: 24px;
    }

    .hrc-car-grid {
        grid-template-columns: 1fr;
    }
}

/* ---- Multi-Step Wizard Content ---- */
.hrc-wizard-step {
    display: none;
    animation: hrcStepReveal .6s cubic-bezier(.32, .72, 0, 1) forwards;
}

.hrc-wizard-step.active {
    display: block;
}

@keyframes hrcStepReveal {
    from {
        opacity: 0;
        transform: translateY(16px);
        filter: blur(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* Mileage Pack Selector */
.hrc-pack-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.hrc-pack-card {
    display: flex;
    flex-direction: column;
    padding: 18px;
    border: 2px solid var(--hrc-gray-200);
    border-radius: var(--hrc-radius);
    cursor: pointer;
    background: var(--hrc-white);
    transition: var(--hrc-transition);
    position: relative;
}

.hrc-pack-card input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.hrc-pack-card:hover {
    border-color: var(--hrc-orange);
    transform: translateY(-2px);
    box-shadow: var(--hrc-shadow);
}

.hrc-pack-card:has(input:checked) {
    border-color: var(--hrc-orange);
    background: var(--hrc-orange-light);
    box-shadow: 0 0 0 1px var(--hrc-orange), 0 4px 12px rgba(255, 95, 0, .10);
}

.hrc-pack-inner strong {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: var(--hrc-black);
    margin-bottom: 2px;
}

.hrc-pack-inner small {
    font-size: 11px;
    color: var(--hrc-gray-500);
}

.hrc-pack-price {
    display: block;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 800;
    color: var(--hrc-orange);
}

@media(max-width: 400px) {
    .hrc-pack-selector {
        grid-template-columns: 1fr;
    }
}

/* Protections Grid */
.hrc-protections-grid {
    display: grid;
    gap: 16px;
    margin-bottom: 8px;
}

/* Radio Cards (Protections & Mileage) */
.hrc-radio-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.hrc-protection-card,
.hrc-mileage-card {
    position: relative;
    border: 2px solid var(--hrc-gray-200);
    border-radius: var(--hrc-radius);
    padding: 22px;
    cursor: pointer;
    background: var(--hrc-white);
    transition: var(--hrc-transition);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, .4);
}

.hrc-protection-card:hover,
.hrc-mileage-card:hover {
    border-color: var(--hrc-orange);
    transform: translateY(-3px);
    box-shadow: var(--hrc-shadow-md), inset 0 1px 1px rgba(255, 255, 255, .4);
}

.hrc-protection-card input[type="radio"],
.hrc-mileage-card input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.hrc-protection-card input[type="radio"]:checked+.hrc-card-content,
.hrc-mileage-card input[type="radio"]:checked+.hrc-card-content {
    /* We handle styling on the parent via JS or sibling selector */
}

.hrc-protection-card:has(input[type="radio"]:checked),
.hrc-mileage-card:has(input[type="radio"]:checked) {
    border-color: var(--hrc-orange);
    background: var(--hrc-orange-light);
    box-shadow: 0 0 0 1px var(--hrc-orange), 0 4px 16px rgba(255, 95, 0, .10);
    transform: translateY(-2px);
}

.hrc-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.hrc-card-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--hrc-black);
    margin: 0;
}

.hrc-card-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--hrc-gray-500);
}

.hrc-protection-card:has(input[type="radio"]:checked) .hrc-card-price {
    color: var(--hrc-orange);
}

.hrc-card-desc {
    font-size: 13px;
    color: var(--hrc-gray-500);
    margin-bottom: 12px;
    line-height: 1.5;
}

.hrc-card-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hrc-card-features li {
    font-size: 12px;
    color: var(--hrc-gray-700);
    margin-bottom: 6px;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.hrc-card-features li svg {
    color: var(--hrc-success);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Recommended Badge — Eyebrow Pill */
.hrc-badge-recommended,
.hrc-prot-badge {
    position: absolute;
    top: -10px;
    right: 16px;
    background: var(--hrc-black);
    color: var(--hrc-orange);
    font-size: 9px;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
}

/* Protection Card Internals */
.hrc-prot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.hrc-prot-header h4 {
    font-size: 16px;
    font-weight: 800;
    color: var(--hrc-black);
    margin: 0;
}

.hrc-prot-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--hrc-gray-500);
    white-space: nowrap;
}

.hrc-protection-card:has(input:checked) .hrc-prot-price {
    color: var(--hrc-orange);
}

.hrc-protection-card p {
    font-size: 13px;
    color: var(--hrc-gray-500);
    margin: 0;
    line-height: 1.5;
}

.hrc-protection-card.recommended {
    border-color: var(--hrc-orange);
}

/* Extras Checkboxes */
.hrc-extras-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.hrc-extra-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    border: 1.5px solid var(--hrc-gray-200);
    border-radius: var(--hrc-radius);
    cursor: pointer;
    background: var(--hrc-white);
    transition: var(--hrc-transition);
}

.hrc-extra-item:hover {
    border-color: var(--hrc-gray-400);
    transform: translateY(-2px);
    box-shadow: var(--hrc-shadow);
}

.hrc-extra-item:has(input:checked) {
    border-color: var(--hrc-orange);
    background: var(--hrc-orange-light);
    box-shadow: 0 0 0 1px var(--hrc-orange), 0 4px 12px rgba(255, 95, 0, .08);
    transform: translateY(-1px);
}

.hrc-extra-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--hrc-orange);
    cursor: pointer;
}

.hrc-extra-details {
    flex: 1;
}

.hrc-extra-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--hrc-black);
    margin: 0 0 4px;
}

.hrc-extra-desc {
    font-size: 12px;
    color: var(--hrc-gray-500);
    margin: 0;
}

.hrc-extra-price {
    font-size: 14px;
    font-weight: 800;
    color: var(--hrc-orange);
    white-space: nowrap;
}

/* Wizard Buttons — Magnetic Hover Physics */
.hrc-wizard-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid var(--hrc-gray-200);
    gap: 12px;
}

.hrc-btn-prev,
.hrc-wizard-actions .hrc-btn-outline {
    padding: 16px 24px;
    background: var(--hrc-white) !important;
    color: var(--hrc-gray-700) !important;
    border: 2px solid var(--hrc-gray-200) !important;
    border-radius: var(--hrc-radius) !important;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--hrc-transition);
    font-family: var(--hrc-font);
}

.hrc-btn-prev:hover,
.hrc-wizard-actions .hrc-btn-outline:hover {
    border-color: var(--hrc-orange);
    color: var(--hrc-orange);
}

.hrc-btn-prev:active,
.hrc-wizard-actions .hrc-btn-outline:active {
    transform: scale(.98);
}

.hrc-btn-next,
.hrc-next-step,
.hrc-wizard-actions .hrc-btn-primary {
    padding: 16px 20px 16px 28px;
    background: var(--hrc-orange) !important;
    color: var(--hrc-white) !important;
    border: 2px solid var(--hrc-orange) !important;
    border-radius: var(--hrc-radius) !important;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .5px;
    cursor: pointer;
    transition: var(--hrc-transition);
    box-shadow: 0 4px 16px rgba(255, 95, 0, .2);
    font-family: var(--hrc-font);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Button-in-Button trailing icon */
.hrc-btn-next svg,
.hrc-next-step svg,
.hrc-btn-primary svg {
    width: 28px;
    height: 28px;
    padding: 5px;
    background: rgba(255, 255, 255, .15);
    border-radius: 50%;
    transition: var(--hrc-transition);
    flex-shrink: 0;
}

.hrc-btn-next:hover,
.hrc-next-step:hover,
.hrc-wizard-actions .hrc-btn-primary:hover {
    background: var(--hrc-orange-dark) !important;
    border-color: var(--hrc-orange-dark) !important;
    box-shadow: 0 0 0 1px var(--hrc-orange-dark);
}

.hrc-btn-next:hover svg,
.hrc-next-step:hover svg,
.hrc-wizard-actions .hrc-btn-primary:hover svg {
    background: rgba(255, 255, 255, .25);
    transform: translateX(2px);
}

.hrc-btn-next:active,
.hrc-next-step:active,
.hrc-wizard-actions .hrc-btn-primary:active {
    transform: scale(.98);
}

.hrc-btn-block {
    width: 100%;
    justify-content: center;
}

/* Dynamic Summary Sticky Header logic (desktop) */
@media(min-width: 961px) {
    .hrc-book-card {
        top: 80px;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: var(--hrc-gray-200) transparent;
    }

    .hrc-book-card::-webkit-scrollbar {
        width: 4px;
    }

    .hrc-book-card::-webkit-scrollbar-track {
        background: transparent;
    }

    .hrc-book-card::-webkit-scrollbar-thumb {
        background: var(--hrc-gray-200);
        border-radius: 999px;
    }
}

/* ── Loading state for buttons ────── */
.hrc-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.hrc-loading::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    top: 50%;
    left: 50%;
    margin: -9px 0 0 -9px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: hrc-spin 0.6s linear infinite;
}

@keyframes hrc-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ── Devis Request Page ────────────── */
.hrc-devis-request-wrap {
    max-width: 680px;
    margin: 0 auto;
    padding: 32px 20px;
}

.hrc-devis-request-header {
    text-align: center;
    margin-bottom: 32px;
}

.hrc-devis-request-header h1 {
    font-family: var(--hrc-font);
    font-size: 32px;
    font-weight: 800;
    color: var(--hrc-black);
    margin-bottom: 8px;
}

.hrc-devis-request-header p {
    color: var(--hrc-gray-500);
    font-size: 15px;
}

.hrc-devis-card {
    background: var(--hrc-white);
    border: 1px solid var(--hrc-gray-200);
    border-radius: var(--hrc-radius);
    padding: 24px;
    margin-bottom: 16px;
}

.hrc-devis-card-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--hrc-font);
    font-size: 16px;
    font-weight: 700;
    color: var(--hrc-black);
    margin-bottom: 16px;
}

.hrc-devis-card-title svg {
    color: var(--hrc-orange);
    flex-shrink: 0;
}

.hrc-devis-form-public .hrc-devis-select,
.hrc-devis-form-public input[type="text"],
.hrc-devis-form-public input[type="email"],
.hrc-devis-form-public input[type="tel"],
.hrc-devis-form-public input[type="date"],
.hrc-devis-form-public select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--hrc-gray-200);
    border-radius: 10px;
    font-size: 14px;
    font-family: var(--hrc-font);
    background: var(--hrc-white);
    transition: border-color var(--hrc-transition);
    -webkit-appearance: none;
}

.hrc-devis-form-public input:focus,
.hrc-devis-form-public select:focus,
.hrc-devis-form-public textarea:focus {
    border-color: var(--hrc-orange);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 95, 0, 0.1);
}

.hrc-devis-textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--hrc-gray-200);
    border-radius: 10px;
    font-size: 14px;
    font-family: var(--hrc-font);
    resize: vertical;
    min-height: 120px;
    transition: border-color var(--hrc-transition);
}

.hrc-devis-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.hrc-devis-field label {
    display: block;
    font-weight: 600;
    font-size: 13px;
    color: var(--hrc-gray-700);
    margin-bottom: 6px;
}

.hrc-devis-dt {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.hrc-devis-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--hrc-gray-500);
    cursor: pointer;
    margin-bottom: 20px;
    line-height: 1.5;
}

.hrc-devis-consent input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
}

.hrc-btn-lg {
    padding: 14px 28px;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.hrc-btn-block {
    width: 100%;
}

/* Success state */
.hrc-devis-success {
    text-align: center;
    padding: 60px 20px;
}

.hrc-devis-success-icon {
    margin-bottom: 20px;
}

.hrc-devis-success h2 {
    font-family: var(--hrc-font);
    font-size: 28px;
    font-weight: 800;
    color: var(--hrc-black);
    margin-bottom: 12px;
}

.hrc-devis-success p {
    font-size: 15px;
    color: var(--hrc-gray-500);
    margin-bottom: 24px;
}

@media (max-width: 640px) {
    .hrc-devis-row { grid-template-columns: 1fr; }
    .hrc-devis-dt { grid-template-columns: 1fr; }
}