/* ============================================
   EZTORENT Travel Platform – Modern Design System
   ============================================ */
:root {
    --brand-primary: #1e3a5f;
    --brand-primary-hover: #15293f;
    --brand-primary-light: rgba(30, 58, 95, 0.10);
    --brand-primary-rgb: 30, 58, 95;
    --brand-navy: #0f172a;
    --brand-teal: #2d4a6f;
    --brand-teal-rgb: 45, 74, 111;
    --brand-accent: #f59e0b;
    --brand-accent-hover: #d97706;
    --brand-accent-light: rgba(245, 158, 11, 0.12);
    --brand-accent-rgb: 245, 158, 11;
    --brand-coral: #dc2626;
    --color-danger: #dc2626;
    --color-danger-light: rgba(220, 38, 38, 0.1);
    --input-bg: #ffffff;
    --input-bg-hover: #f8fafc;
    --input-border: #cbd5e1;
    --input-border-hover: #94a3b8;
    --input-border-focus: var(--brand-primary);
    --input-text: #0f172a;
    --input-placeholder: #94a3b8;
    --input-radius: 0.625rem;
    --input-height: 2.85rem;
    --input-shadow-focus: 0 0 0 3px rgba(var(--brand-primary-rgb), 0.15);
    --input-transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, transform 0.2s ease;
    --dropdown-bg: #ffffff;
    --dropdown-border: #e2e8f0;
    --dropdown-shadow: rgba(0, 0, 0, 0.08);
    --dropdown-item-hover: #f1f5f9;
    --dropdown-item-active: var(--brand-primary);
    --dropdown-placeholder: #64748b;
    --dropdown-clear-hover: var(--color-danger);
    --card-border: #e8eaef;
    --card-radius: 0.875rem;
    --card-shadow: 0 1px 3px rgba(0,0,0,0.03), 0 2px 12px rgba(0,0,0,0.04);
    --card-shadow-hover: 0 4px 24px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
    --navbar-height: 64px;
    --page-bg: #f5f6fa;
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   Global Reset & Base
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    background: var(--page-bg);
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    color: var(--input-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   Animation Keyframes
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.92);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Animation utilities */
.animate-fade-in {
    animation: fadeIn 0.5s var(--transition-smooth) both;
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s var(--transition-smooth) both;
}

.animate-slide-left {
    animation: slideInLeft 0.5s var(--transition-smooth) both;
}

.animate-slide-right {
    animation: slideInRight 0.5s var(--transition-smooth) both;
}

.animate-scale-in {
    animation: scaleIn 0.4s var(--transition-smooth) both;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

.delay-5 {
    animation-delay: 0.5s;
}

/* ============================================
   Modern Navbar
   ============================================ */
.crms-navbar {
    background: #ffffff;
    min-height: var(--navbar-height);
    padding: 0 1.5rem;
    border: none;
    border-bottom: 1px solid #e8eaef;
    box-shadow: 0 1px 8px rgba(30, 58, 95, 0.06);
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

    .crms-navbar.scrolled {
        box-shadow: 0 2px 16px rgba(30, 58, 95, 0.10);
    }

    .crms-navbar .navbar-brand {
        color: var(--brand-primary);
        font-weight: 800;
        font-size: 1.25rem;
        letter-spacing: -0.02em;
        display: flex;
        align-items: center;
        gap: 0.6rem;
        transition: transform 0.3s var(--transition-smooth);
    }

        .crms-navbar .navbar-brand:hover {
            transform: scale(1.03);
            color: var(--brand-primary);
        }

    .crms-navbar .brand-icon {
        width: 36px;
        height: 36px;
        background: var(--brand-accent);
        border-radius: 0.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.3s var(--transition-smooth), box-shadow 0.3s;
    }

        .crms-navbar .brand-icon:hover {
            transform: rotate(-3deg) scale(1.08);
            box-shadow: 0 4px 12px rgba(var(--brand-accent-rgb), 0.4);
        }

    .crms-navbar .brand-travel-nav {
        margin-left: 1.5rem;
    }

.brand-travel-nav-bar {
    z-index: 1029;
}

    .brand-travel-nav-bar .container-fluid {
        padding: 0.35rem 1.5rem;
    }

    .brand-travel-nav-bar .brand-travel-nav {
        margin: 0;
    }

    .crms-navbar .nav-link-disabled,
    .brand-travel-nav-bar .nav-link-disabled {
        color: #94a3b8 !important;
        cursor: default;
    }

        .crms-navbar .nav-link-disabled small,
        .brand-travel-nav-bar .nav-link-disabled small {
            color: var(--brand-accent);
            font-size: 0.65rem;
            font-weight: 700;
            margin-left: 0.25rem;
        }

.crms-navbar .brand-accent {
    color: var(--brand-accent);
}

.crms-navbar .nav-link,
.brand-travel-nav-bar .nav-link {
    color: #4a5568 !important;
    font-weight: 500;
    font-size: 0.88rem;
    padding: 0.5rem 0.85rem;
    transition: all 0.25s var(--transition-smooth);
    position: relative;
}

.crms-navbar .nav-link {
    border-radius: 0.5rem;
}

.brand-travel-nav-bar .nav-link {
    border-radius: 1.5rem;
}

.crms-navbar .nav-item:not(.dropdown) > .nav-link::after
/*.brand-travel-nav-bar .nav-item:not(.dropdown) > .nav-link::after*/ {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--brand-accent);
    border-radius: 1px;
    transition: width 0.3s var(--transition-smooth), left 0.3s var(--transition-smooth);
}

.crms-navbar .nav-item:not(.dropdown) > .nav-link:hover,
.brand-travel-nav-bar .nav-item:not(.dropdown) > .nav-link:hover {
    color: var(--brand-primary) !important;
    background: rgba(30, 58, 95, 0.06);
}

    .crms-navbar .nav-item:not(.dropdown) > .nav-link:hover::after,
    .brand-travel-nav-bar .nav-item:not(.dropdown) > .nav-link:hover::after {
        width: 60%;
        left: 20%;
    }

.crms-navbar .nav-link.active,
.brand-travel-nav-bar .nav-link.active {
    color: var(--brand-primary) !important;
    background: rgba(30, 58, 95, 0.08);
}

    .crms-navbar .nav-link.active::after,
    .brand-travel-nav-bar .nav-link.active::after {
        width: 60%;
        left: 20%;
    }

.crms-navbar .nav-item .nav-link.dropdown-toggle:after {
    display: none;
}

.crms-navbar .btn-nav-login {
    background: var(--brand-primary);
    color: #fff;
    border: none;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 0.45rem 1.1rem;
    border-radius: 0.5rem;
    transition: all 0.25s var(--transition-smooth);
}

    .crms-navbar .btn-nav-login:hover {
        background: #16304f;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(30, 58, 95, 0.25);
    }

.crms-navbar .btn-nav-register {
    background: transparent;
    color: var(--brand-primary);
    border: 1.5px solid rgba(30, 58, 95, 0.25);
    font-weight: 600;
    font-size: 0.82rem;
    padding: 0.4rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.25s var(--transition-smooth);
}

    .crms-navbar .btn-nav-register:hover {
        border-color: var(--brand-primary);
        background: rgba(30, 58, 95, 0.06);
        transform: translateY(-1px);
    }

.crms-navbar .btn-nav-admin {
    background: transparent;
    color: #7a8599;
    border: 1.5px solid rgba(30, 58, 95, 0.12);
    font-size: 0.78rem;
    padding: 0.35rem 0.8rem;
    border-radius: 0.5rem;
    transition: all 0.25s var(--transition-smooth);
}

    .crms-navbar .btn-nav-admin:hover {
        color: var(--brand-primary);
        border-color: rgba(30, 58, 95, 0.3);
        background: rgba(30, 58, 95, 0.04);
    }

.crms-navbar .btn-nav-logout {
    background: rgba(220, 38, 38, 0.06);
    color: #dc2626;
    border: 1px solid rgba(220, 38, 38, 0.15);
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.35rem 0.9rem;
    border-radius: 0.5rem;
    transition: all 0.25s var(--transition-smooth);
}

    .crms-navbar .btn-nav-logout:hover {
        background: rgba(220, 38, 38, 0.12);
        color: #b91c1c;
        border-color: rgba(220, 38, 38, 0.3);
        transform: translateY(-1px);
    }

.crms-navbar .user-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem;
    border-radius: 2rem;
    background: rgba(30, 58, 95, 0.06);
    color: #3d4654;
    font-size: 0.84rem;
    font-weight: 500;
    border: 1px solid rgba(30, 58, 95, 0.10);
    transition: all 0.2s ease;
    cursor: pointer;
}

    .crms-navbar .user-badge:hover {
        background: rgba(30, 58, 95, 0.12);
        border-color: rgba(30, 58, 95, 0.18);
    }

.crms-navbar .user-badge-name {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.crms-navbar .user-badge-chevron {
    opacity: 0.5;
    transition: transform 0.2s ease;
}

.crms-navbar .dropdown.show .user-badge-chevron {
    transform: rotate(180deg);
}

.crms-navbar .user-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-primary), #2d5a8e);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.72rem;
    color: #fff;
    box-shadow: 0 2px 6px rgba(var(--brand-primary-rgb), 0.3);
}

/* User Dropdown Menu */
.user-dropdown {
    min-width: 240px;
    padding: 0;
    border: 1px solid var(--dropdown-border);
    border-radius: 0.75rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12), 0 2px 10px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    animation: userDropdownIn 0.2s ease;
}

@keyframes userDropdownIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.user-dropdown .dropdown-divider {
    margin: 0;
    border-color: var(--dropdown-border);
}

.user-dropdown-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(var(--brand-primary-rgb), 0.04), rgba(var(--brand-primary-rgb), 0.08));
}

.user-dropdown-avatar {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-primary), #2d5a8e);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
    box-shadow: 0 2px 8px rgba(var(--brand-primary-rgb), 0.3);
}

.user-dropdown-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.user-dropdown-name {
    font-weight: 600;
    font-size: 0.88rem;
    color: #1e293b;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-dropdown-email {
    font-size: 0.76rem;
    color: #64748b;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1rem;
    font-size: 0.84rem;
    color: #475569;
    transition: all 0.15s ease;
}

    .user-dropdown-item svg {
        opacity: 0.6;
        transition: opacity 0.15s ease;
    }

    .user-dropdown-item:hover {
        background: var(--dropdown-item-hover);
        color: #1e293b;
    }

        .user-dropdown-item:hover svg {
            opacity: 1;
        }

.user-dropdown-logout {
    color: var(--color-danger);
}

    .user-dropdown-logout:hover {
        background: var(--color-danger-light);
        color: var(--color-danger);
    }

/* ============================================
       Page Content Area
       ============================================ */
#page-content {
    min-height: 100vh;
}

.page-body {
    animation: fadeInUp 0.5s var(--transition-smooth) backwards;
    padding: 1rem 1.75rem 1.75rem 1.75rem;
    flex-grow: 1;
}

/* ============================================
   Modern Footer
   ============================================ */
.crms-footer {
    background: #ffffff;
    color: #7a8599;
    padding: 1.25rem 1.5rem;
    font-size: 0.8rem;
    border-top: 1px solid #e8eaef;
}

    .crms-footer a {
        color: var(--brand-primary);
        text-decoration: none;
        transition: color 0.2s;
    }

        .crms-footer a:hover {
            color: var(--brand-accent);
        }

    .crms-footer .footer-heading {
        font-weight: 600;
        color: #2d3748;
        margin-bottom: 0.75rem;
        font-size: 0.85rem;
        text-transform: uppercase;
        letter-spacing: 0.03em;
    }

    .crms-footer .footer-links li {
        margin-bottom: 0.35rem;
    }

    .crms-footer .footer-links a {
        font-size: 0.8rem;
    }

    .crms-footer .payment-card-icon {
        height: 28px;
        width: auto;
        opacity: 0.85;
        transition: opacity 0.2s;
    }

        .crms-footer .payment-card-icon:hover {
            opacity: 1;
        }

/* ============================================
   Enhanced Cards
   ============================================ */
.card {
    border: 1px solid var(--card-border);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    transition: box-shadow 0.35s var(--transition-smooth), transform 0.35s var(--transition-smooth);
    overflow: visible;
    background: #fff;
}

    .card:hover {
        box-shadow: var(--card-shadow-hover);
    }

/* ============================================
   Enhanced Tables
   ============================================ */
.table {
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border-radius: var(--card-radius);
    overflow: hidden;
}

    .table thead th {
        background: #f8f9fb;
        font-weight: 600;
        font-size: 0.8rem;
        text-transform: none;
        letter-spacing: 0.01em;
        color: #5a6577;
        padding: 0.75rem 1rem;
        border-bottom: 1.5px solid #eceef2;
        white-space: nowrap;
    }

    .table tbody tr {
        transition: background-color 0.2s ease;
    }

        .table tbody tr:nth-child(even) {
            background-color: #fafbfc;
        }

.table-hover tbody tr:hover {
    background-color: #f0f3f8 !important;
}

.table tbody td {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    vertical-align: middle;
    color: #3d4654;
    border-bottom: 1px solid #f0f1f4;
}

/* ============================================
   Enhanced Buttons
   ============================================ */
.btn {
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.25s var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

    .btn:active {
        transform: scale(0.97);
    }

.btn-primary {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    box-shadow: 0 1px 4px rgba(var(--brand-primary-rgb), 0.15);
}

    .btn-primary:hover {
        background: var(--brand-primary-hover);
        border-color: var(--brand-primary-hover);
        box-shadow: 0 3px 10px rgba(var(--brand-primary-rgb), 0.2);
        transform: translateY(-1px);
    }

.btn-success {
    box-shadow: 0 2px 8px rgba(22, 163, 74, 0.2);
}

    .btn-success:hover {
        box-shadow: 0 4px 16px rgba(22, 163, 74, 0.3);
        transform: translateY(-1px);
    }

.btn-outline-primary {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

    .btn-outline-primary:hover {
        background: var(--brand-primary);
        border-color: var(--brand-primary);
        transform: translateY(-1px);
    }

/* ============================================
   Enhanced Form Controls
   ============================================ */
.form-control {
    border-radius: var(--input-radius);
    border: 1.5px solid var(--input-border);
    padding: 0.55rem 0.85rem;
    font-size: 0.88rem;
    transition: var(--input-transition);
}

    .form-control:focus {
        border-color: var(--brand-primary);
        box-shadow: var(--input-shadow-focus);
    }

.form-select {
    border-radius: var(--input-radius);
    border: 1.5px solid var(--input-border);
    transition: var(--input-transition);
}

    .form-select:focus {
        border-color: var(--brand-primary);
        box-shadow: var(--input-shadow-focus);
    }

.form-label {
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 0.35rem;
}

/* ============================================
   Enhanced Badges
   ============================================ */
.badge {
    font-weight: 600;
    font-size: 0.75rem;
    padding: 0.4em 0.75em;
    border-radius: 2rem;
    letter-spacing: 0.02em;
    transition: transform 0.2s ease;
}

/* ============================================
   Enhanced Modals
   ============================================ */
.modal-content {
    border: none;
    border-radius: var(--card-radius);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15), 0 8px 20px rgba(0,0,0,0.08);
    animation: scaleIn 0.3s var(--transition-smooth);
}

.modal-header {
    border-bottom: 1px solid #f1f5f9;
}

.modal-footer {
    border-top: 1px solid #f1f5f9;
}

/* ============================================
   Page Header
   ============================================ */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.75rem;
    animation: fadeInUp 0.5s var(--transition-smooth) both;
}

    .page-header h4 {
        font-weight: 700;
        color: #2d3748;
        position: relative;
    }

        .page-header h4::after {
            content: '';
            display: block;
            width: 32px;
            height: 2.5px;
            background: var(--brand-accent);
            border-radius: 2px;
            margin-top: 0.35rem;
        }

/* ============================================
   Form Sections
   ============================================ */
.form-section + .form-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f1f5f9;
}

.form-section-title {
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--brand-accent);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}

    .form-section-title svg {
        opacity: .7;
    }

.logo-upload-area {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

    .logo-upload-area .logo-preview-box {
        flex-shrink: 0;
        width: 100px;
        height: 100px;
        border-radius: .5rem;
        border: 2px dashed #dee2e6;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        background: #f8f9fa;
    }

        .logo-upload-area .logo-preview-box img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }

    .logo-upload-area .logo-input-wrap {
        flex: 1;
        min-width: 0;
    }

/* ============================================
   Language Switch
   ============================================ */
.searchable-dropdown {
    position: relative;
}

/* Elevate column z-index when it contains an open dropdown so the menu overlays adjacent columns */
.card [class*="col"]:has(.is-open),
.card [class*="col"]:has(.date-picker-open) {
    z-index: 100;
    position: relative;
}

.searchable-dropdown.disabled {
    pointer-events: none;
    opacity: 0.65;
}

.searchable-dropdown-trigger {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--input-height);
    border: 1.5px solid var(--input-border);
    border-radius: var(--input-radius);
    background-color: var(--input-bg);
    transition: var(--input-transition);
}

.location-autocomplete .searchable-dropdown-trigger.form-select {
    --bs-form-select-bg-img: none;
    background-image: none;
    padding-right: 0.75rem;
}

.location-autocomplete .searchable-dropdown-value,
.location-autocomplete .searchable-dropdown-placeholder {
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.searchable-dropdown-trigger:hover {
    border-color: var(--input-border-hover);
    background-color: var(--input-bg-hover);
}

.searchable-dropdown-trigger.open {
    border-color: var(--input-border-focus);
    box-shadow: var(--input-shadow-focus);
    background-color: var(--input-bg);
}

.searchable-dropdown-placeholder {
    color: var(--dropdown-placeholder);
}

.searchable-dropdown-clear {
    font-size: 1.1rem;
    line-height: 1;
    padding: 0 0.25rem;
    color: var(--dropdown-placeholder);
    cursor: pointer;
}

    .searchable-dropdown-clear:hover {
        color: var(--dropdown-clear-hover);
    }

.searchable-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1050;
    background: var(--dropdown-bg);
    border: 1.5px solid var(--input-border-focus);
    border-radius: var(--input-radius);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.06);
    margin-top: 4px;
    overflow: hidden;
}

.searchable-dropdown-search {
    border: none;
    border-bottom: 1.5px solid var(--card-border);
    border-radius: 0;
    height: var(--input-height);
    font-size: 0.875rem;
    padding: 0.5rem 0.85rem;
    background-color: #fafbfc;
}

    .searchable-dropdown-search:focus {
        box-shadow: none;
        background-color: var(--input-bg);
    }

.searchable-dropdown-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 200px;
    overflow-y: auto;
}

.searchable-dropdown-item {
    padding: 0.5rem 0.85rem;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.1s ease;
}

    .searchable-dropdown-item:hover,
    .searchable-dropdown-item.highlighted {
        background-color: var(--dropdown-item-hover);
    }

    .searchable-dropdown-item.active {
        background-color: var(--dropdown-item-active);
        color: #fff;
    }

        .searchable-dropdown-item.active.highlighted {
            background-color: var(--brand-primary-hover);
        }

.searchable-dropdown-empty {
    padding: 0.5rem 0.75rem;
    color: var(--dropdown-placeholder);
    font-size: 1rem;
    text-align: center;
}

/* ============================================
   Date Picker (LTR)
   ============================================ */
.date-picker-wrapper {
    position: relative;
    top: 0.5rem;
}

    .date-picker-wrapper .form-control,
    .date-picker-wrapper .flatpickr-input[type="hidden"] + .form-control {
        cursor: pointer;
        background-color: var(--input-bg);
        padding-left: 1.2rem;
        transition: var(--input-transition);
    }

        .date-picker-wrapper .form-control:hover {
            border-color: var(--input-border-hover);
            background-color: var(--input-bg-hover);
        }

        .date-picker-wrapper .form-control:focus {
            border-color: var(--input-border-focus);
            box-shadow: var(--input-shadow-focus);
            background-color: var(--input-bg);
        }

.date-picker-icon {
    position: absolute;
    left: 0rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    pointer-events: none;
    transition: color 0.15s;
    display: flex;
    align-items: center;
}

.date-picker-wrapper:focus-within .date-picker-icon {
    color: var(--brand-primary);
}

.date-picker-clear {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
    line-height: 1;
    padding: 0.15rem 0.25rem;
    color: #9ca3af;
    cursor: pointer;
    border-radius: 50%;
    transition: color 0.15s, background 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .date-picker-clear:hover {
        color: var(--color-danger);
        background: var(--color-danger-light);
    }

/* ============================================
   Time Picker (LTR)
   ============================================ */
.time-picker-dropdown {
    position: relative;
    top: 0.5rem;
}

    .time-picker-dropdown.disabled {
        pointer-events: none;
        opacity: 0.65;
    }

.time-picker-trigger {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    border: 1.5px solid var(--input-border);
    border-radius: var(--input-radius);
    background-color: var(--input-bg);
    padding: 0.375rem 0rem 0.75rem 0rem !important;
    transition: var(--input-transition);
    white-space: nowrap;
    user-select: none;
    outline: none;
}

    .time-picker-trigger:hover {
        border-color: var(--input-border-hover);
        background-color: var(--input-bg-hover);
    }

    .time-picker-trigger.open {
        border-color: var(--input-border-focus);
        box-shadow: var(--input-shadow-focus);
        background-color: var(--input-bg);
    }

    .time-picker-trigger:focus-visible {
        border-color: var(--input-border-focus);
        box-shadow: var(--input-shadow-focus);
    }

.time-picker-value {
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.875rem;
}

.time-picker-placeholder {
    flex-grow: 1;
    color: var(--dropdown-placeholder);
    font-size: 0.875rem;
}

.time-picker-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1050;
    background: var(--dropdown-bg);
    border: 1.5px solid var(--input-border-focus);
    border-radius: var(--input-radius);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.06);
    margin-top: 4px;
    overflow: hidden;
    min-width: 120px;
}

.time-picker-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 200px;
    overflow-y: auto;
}

.time-picker-item {
    padding: 0.45rem 0.75rem;
    cursor: pointer;
    font-size: 0.875rem;
    transition: background-color 0.1s ease;
    white-space: nowrap;
}

    .time-picker-item:hover,
    .time-picker-item.highlighted {
        background-color: var(--dropdown-item-hover);
    }

    .time-picker-item.active {
        background-color: var(--dropdown-item-active);
        color: #fff;
    }

        .time-picker-item.active.highlighted {
            background-color: var(--brand-primary-hover);
        }

/* ============================================
   Loading overlay
   ============================================ */
.loading-container {
    position: relative;
}

.loading-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.7);
    z-index: 10;
    border-radius: inherit;
}

.loading-spinner {
    width: 2rem;
    height: 2rem;
    color: var(--brand-primary);
}

/* ============================================
   Toast Notifications
   ============================================ */
.toast-container {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    pointer-events: none;
}

.toast-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    min-width: 280px;
    max-width: 420px;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.4;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), 0 2px 6px rgba(0, 0, 0, 0.08);
    pointer-events: auto;
    opacity: 0;
    transform: translateY(-1rem);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

    .toast-item.show {
        opacity: 1;
        transform: translateY(0);
    }

    .toast-item.hiding {
        opacity: 0;
        transform: translateY(-1rem);
    }

.toast-item-success {
    background: linear-gradient(135deg, #059669, #10b981);
}

.toast-item-error {
    background: linear-gradient(135deg, #dc2626, #ef4444);
}

.toast-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

    .toast-icon svg {
        width: 0.75rem;
        height: 0.75rem;
    }

.toast-message {
    flex: 1;
}

.toast-close {
    flex-shrink: 0;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.15rem;
    line-height: 1;
    padding: 0.125rem 0.25rem;
    cursor: pointer;
    border-radius: 0.25rem;
    transition: color 0.15s, background 0.15s;
}

    .toast-close:hover {
        color: #fff;
        background: rgba(255, 255, 255, 0.15);
    }

.location-autocomplete .form-select {
    height: 3rem;
    text-wrap-mode: nowrap;
}

    .location-autocomplete .form-select .searchable-dropdown-value {
        overflow: hidden;
    }

/* ============================================
   Required-field indicator
   ============================================ */
.form-label.required::after {
    content: " *";
    color: var(--color-danger);
    font-weight: 700;
}

.lang-switch .lang-flag {
    width: 2rem;
    height: 1.4rem;
    display: inline-block;
    vertical-align: middle;
    border-radius: 3px;
    object-fit: cover;
}

/* ============================================
   Home / Index – Search bar
   ============================================ */
.rsv-hero-wrap {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 60%, #2d4a6f 100%);
    border-radius: 1.5rem;
    padding: 2rem 2rem 2.25rem;
    position: relative;
    overflow: visible;
    z-index: 3;
    animation: fadeInUp 0.6s var(--transition-smooth) both;
    box-shadow: 0 24px 60px rgba(7, 26, 47, 0.18);
}

    .rsv-hero-wrap::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
        background-size: 44px 44px;
        mask-image: linear-gradient(to bottom, rgba(0,0,0,.75), transparent 85%);
        pointer-events: none;
    }

.rsv-hero-content {
    position: relative;
    z-index: 2;
}

.rsv-hero-wrap .rsv-hero-title {
    color: #fff;
    font-size: clamp(2rem, 4vw, 4.25rem);
    font-weight: bold;
}

.rsv-hero-wrap .rsv-hero-subtitle {
    color: rgba(255,255,255,0.78);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 680px;
}

.rsv-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1rem;
    padding: 0.4rem 0.85rem;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    color: #eaf3ff;
    font-weight: 700;
    font-size: 0.82rem;
}

.rsv-hero-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.35rem;
}

    .rsv-hero-badges span {
        padding: 0.5rem 0.85rem;
        border-radius: 999px;
        background: rgba(255,255,255,0.12);
        color: rgba(255,255,255,0.86);
        font-weight: 600;
        font-size: 0.84rem;
    }

.rsv-hero-orbit {
    position: absolute;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    pointer-events: none;
}

.rsv-hero-orbit-one {
    width: 220px;
    height: 220px;
    top: -70px;
    right: 8%;
}

.rsv-hero-orbit-two {
    width: 130px;
    height: 130px;
    left: 7%;
    bottom: 58px;
}

.rsv-service-tabs {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.rsv-service-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 999px;
    padding: 0.65rem 1rem;
    background: rgba(255,255,255,0.10);
    color: rgba(255,255,255,0.78);
    font-weight: 700;
}

    .rsv-service-tab.active {
        background: #fff;
        color: var(--brand-navy);
        box-shadow: 0 10px 24px rgba(7, 26, 47, 0.18);
    }

    .rsv-service-tab small {
        color: var(--brand-accent);
        font-size: 0.66rem;
    }

.rsv-search-bar {
    background: #fff;
    border-radius: 1.1rem;
    position: relative;
    z-index: 2;
    border: none;
    box-shadow: 0 18px 50px rgba(7, 26, 47, 0.22);
}

    .rsv-search-bar .rsv-search-box {
        border: 2px solid var(--brand-primary);
        padding: .75rem;
        position: relative;
    }

        .rsv-search-bar .rsv-search-box:first-child {
            margin-left: 0;
            border-radius: var(--card-radius) 0 0 var(--card-radius);
        }

        .rsv-search-bar .rsv-search-box .form-select,
        .rsv-search-bar .rsv-search-box .form-control,
        .rsv-search-bar .rsv-search-box .searchable-dropdown-trigger,
        .rsv-search-bar .rsv-search-box .time-picker-trigger {
            border: none;
            box-shadow: none;
            padding-left: 1.2rem;
            padding-right: .25rem;
        }

        .rsv-search-bar .rsv-search-box .rsv-float-field::before {
            top: -8px;
            left: -10px;
            font-size: 0.9rem;
            color: #64748b;
            background: #fff;
            padding: 0 4px;
        }

    .rsv-search-bar .rsv-search-checkbox {
        padding: .5rem .75rem;
    }

    .rsv-search-bar .rsv-search-btn {
        border: 2px solid var(--brand-primary);
        padding: 0;
        display: flex;
        align-items: stretch;
        border-radius: 0 var(--card-radius) var(--card-radius) 0;
    }

        .rsv-search-bar .rsv-search-btn .btn {
            border-radius: 0 calc(var(--card-radius) - 2px) calc(var(--card-radius) - 2px) 0;
            margin: 0;
            border: none;
            background: linear-gradient(135deg, var(--brand-accent), var(--brand-accent-hover));
            color: #0f172a;
            font-weight: 700;
        }

            .rsv-search-bar .rsv-search-btn .btn:hover {
                background: linear-gradient(135deg, var(--brand-accent-hover), #b45309);
                box-shadow: 0 4px 16px rgba(var(--brand-accent-rgb), 0.3);
            }

.rsv-trust-strip,
.rsv-section,
.rsv-supplier-cta {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}

.rsv-trust-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.rsv-trust-item,
.rsv-step-card {
    background: #fff;
    border: 1px solid var(--card-border);
    border-radius: 1rem;
    padding: 1.25rem;
    box-shadow: var(--card-shadow);
}

    .rsv-trust-item strong,
    .rsv-trust-item span {
        display: block;
    }

    .rsv-trust-item strong {
        color: var(--brand-navy);
        margin-bottom: 0.35rem;
    }

    .rsv-trust-item span,
    .rsv-step-card p,
    .rsv-section-heading p,
    .rsv-supplier-cta p {
        color: #64748b;
        line-height: 1.65;
    }

.rsv-section {
    padding: 4rem 1rem 0;
}

.rsv-section-heading {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 2rem;
}

    .rsv-section-heading span,
    .rsv-supplier-cta span {
        color: var(--brand-primary);
        font-weight: 800;
        font-size: 0.78rem;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .rsv-section-heading h2,
    .rsv-supplier-cta h2 {
        color: var(--brand-navy);
        letter-spacing: -0.03em;
        margin-top: 0.45rem;
    }

.rsv-destination-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.85rem;
}

    .rsv-destination-grid span {
        background: #fff;
        border: 1px solid var(--card-border);
        border-radius: 999px;
        padding: 0.85rem 1rem;
        color: var(--brand-navy);
        font-weight: 700;
        text-align: center;
        box-shadow: var(--card-shadow);
    }

.rsv-step-number {
    width: 42px;
    height: 42px;
    border-radius: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-primary-light);
    color: var(--brand-primary);
    font-weight: 800;
    margin-bottom: 1rem;
}

.rsv-step-card h3 {
    color: var(--brand-navy);
    font-size: 1.05rem;
    font-weight: bold;
}

.rsv-supplier-cta {
    margin-top: 4rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    border-radius: 1.5rem;
    background: linear-gradient(135deg, #0f172a, #1e3a5f);
    color: #fff;
    box-shadow: 0 18px 45px rgba(7, 26, 47, 0.20);
}

    .rsv-supplier-cta h2,
    .rsv-supplier-cta p,
    .rsv-supplier-cta span {
        color: #fff;
    }

    .rsv-supplier-cta p {
        opacity: 0.75;
        margin-bottom: 0;
    }

@media (max-width: 767.98px) {
    .rsv-hero-wrap {
        padding: 3rem 1rem 1.25rem;
        border-radius: 1.1rem;
    }

    .rsv-hero-badges {
        gap: 0.45rem;
    }

    .rsv-trust-strip,
    .rsv-destination-grid {
        grid-template-columns: 1fr;
    }

    .rsv-supplier-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .rsv-search-bar {
        overflow: hidden;
    }

        .rsv-search-bar .rsv-search-box,
        .rsv-search-bar .rsv-search-btn {
            border-radius: 0;
            margin-top: -2px;
        }

            .rsv-search-bar .rsv-search-box:first-child {
                margin-top: 0;
                border-radius: var(--card-radius) var(--card-radius) 0 0;
            }

        .rsv-search-bar .rsv-col-date {
            border-right-width: 1px;
        }

        .rsv-search-bar .rsv-col-time {
            border-left-width: 1px;
        }

        .rsv-search-bar .rsv-col-btn {
            margin-top: -2px;
            border-top: 0;
            position: relative;
            border-radius: 0 0 var(--card-radius) var(--card-radius);
        }

            .rsv-search-bar .rsv-col-btn::before {
                content: "";
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                height: 2px;
                background: var(--brand-primary);
                z-index: 1;
            }

            .rsv-search-bar .rsv-col-btn .btn {
                min-height: 54px;
                border-radius: 0 0 calc(var(--card-radius) - 2px) calc(var(--card-radius) - 2px);
            }
}

@media (min-width: 992px) {
    .rsv-search-bar .rsv-col-loc {
        max-width: 40%;
    }

    .rsv-search-bar .rsv-col-loc-half {
        flex: 0 0 15%;
        max-width: 20%;
    }

    .rsv-search-bar .rsv-col-date {
        flex: 0 0 18%;
        max-width: 13%;
    }

    .rsv-search-bar .rsv-col-time {
        flex: 0 0 10%;
        max-width: 10%;
    }

    .rsv-search-bar .rsv-col-btn {
        flex: 0 0 14%;
        max-width: 14%;
    }
}

/* ── Sort / count bar ── */
.rsv-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem;
}

/* ── Filter panel ── */
.rsv-filter-card {
    border: none;
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
}

.rsv-filter-section + .rsv-filter-section {
    border-top: 1px solid #f0f0f0;
    padding-top: .75rem;
}

.rsv-filter-title {
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: .5rem;
}

/* ── Car card ── */
.rsv-car-card {
    border: none;
    border-radius: var(--card-radius);
    overflow: hidden;
    transition: box-shadow .35s var(--transition-smooth), transform .35s var(--transition-smooth);
    box-shadow: var(--card-shadow);
    animation: fadeInUp 0.5s var(--transition-smooth) both;
}

    .rsv-car-card:hover {
        box-shadow: var(--card-shadow-hover);
        transform: translateY(-4px);
    }

.rsv-car-img {
    height: 100%;
    min-height: 200px;
    width: 100%;
}

.rsv-spec-badge {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    background: #f1f5f9;
    border-radius: .5rem;
    padding: .3rem .6rem;
    font-size: 1rem;
    color: #475569;
    width: 40%;
    margin: .5rem !important;
    transition: background .2s, transform .2s;
}

    .rsv-spec-badge:hover {
        background: #e2e8f0;
        transform: translateY(-1px);
    }

.rsv-price-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1.25rem;
}

.rsv-price-label {
    font-size: .75rem;
    color: #64748b;
}

.rsv-price-amount {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--brand-primary);
}

.rsv-price-per-day {
    font-size: .72rem;
    color: #64748b;
}

.rsv-or-similar {
    font-size: .7rem;
    font-weight: normal;
    padding: .5rem .45rem;
    border-radius: .25rem;
    letter-spacing: .3px;
}

.rsv-has-tooltip {
    position: relative;
    cursor: help;
}

svg.info {
    fill: #007ac2;
}

.rsv-tooltip-popup {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 1060;
    width: 280px;
    padding: .65rem .85rem;
    font-size: .78rem;
    font-weight: normal;
    line-height: 1.5;
    color: #fff;
    background: #2c3e50;
    border-radius: .45rem;
    box-shadow: 0 4px 16px rgba(0,0,0,.18);
    white-space: normal;
    letter-spacing: 0;
}

    .rsv-tooltip-popup::before {
        content: '';
        position: absolute;
        bottom: 100%;
        left: 20px;
        border: 6px solid transparent;
        border-bottom-color: #2c3e50;
    }

.rsv-has-tooltip:hover .rsv-tooltip-popup {
    display: block;
}

/* ── Empty state ── */
.rsv-empty-icon {
    width: 80px;
    height: 80px;
    opacity: .18;
}

/* ── Mobile filter toggle ── */
.rsv-filter-toggle {
    display: none;
}

@media (max-width: 991.98px) {
    .rsv-filter-toggle {
        display: block;
    }

    .rsv-car-img {
        min-height: 160px;
    }
}

/* ── Floating field label ── */
.rsv-float-field {
    position: relative;
    top: 0.5rem;
}

    .rsv-float-field::before {
        content: attr(data-label);
        position: absolute;
        top: -8px;
        left: 10px;
        background: #fff;
        padding: 0 4px;
        font-size: .7rem;
        color: var(--brand-primary);
        z-index: 3;
        line-height: 1;
        pointer-events: none;
        white-space: nowrap;
    }

/* ============================================
   Reserve – Stepper
   ============================================ */
.rsv-stepper {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 2rem;
}

.rsv-step {
    display: flex;
    align-items: center;
    gap: .5rem;
    position: relative;
    padding: 0 1rem;
}

    .rsv-step + .rsv-step::before {
        content: '';
        position: absolute;
        left: -.5rem;
        top: 50%;
        transform: translateY(-50%);
        width: 1rem;
        height: 2px;
        background: #dee2e6;
    }

    .rsv-step.active + .rsv-step::before,
    .rsv-step.done + .rsv-step::before {
        background: var(--brand-primary);
    }

.rsv-step-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    font-weight: 700;
    flex-shrink: 0;
    background: #e2e8f0;
    color: #64748b;
    transition: all .4s var(--transition-smooth);
}

.rsv-step.active .rsv-step-circle {
    background: var(--brand-primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(var(--brand-primary-rgb), 0.3);
}

.rsv-step.done .rsv-step-circle {
    background: #16a34a;
    color: #fff;
}

.rsv-step-label {
    font-size: .8rem;
    color: #64748b;
    white-space: nowrap;
    transition: color .3s;
}

.rsv-step.active .rsv-step-label {
    color: var(--brand-primary);
    font-weight: 600;
}

.rsv-step.done .rsv-step-label {
    color: #16a34a;
}

/* ── Summary card ── */
.rsv-summary {
    border: none;
    border-radius: var(--card-radius);
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    overflow: hidden;
}

.rsv-summary-header {
    background: linear-gradient(135deg, var(--brand-primary) 0%, #15293f 100%);
    color: #fff;
    padding: 1rem 1.25rem;
}

.rsv-summary-car-img {
    width: 100%;
    height: 140px;
    /*margin-top: 1rem !important;*/
}

.rsv-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: .5rem 0;
}

    .rsv-summary-row + .rsv-summary-row {
        border-top: 1px solid rgba(0,0,0,.06);
    }

.rsv-summary-label {
    font-size: .78rem;
    color: #64748b;
}

.rsv-summary-value {
    font-weight: 600;
    font-size: .88rem;
    text-align: end;
}

.rsv-summary-total {
    background: #fff;
    border-radius: .5rem;
    padding: .75rem 1rem;
    margin-top: .75rem;
}

/* ── Form card ── */
.rsv-form-card {
    border: none;
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    animation: fadeInUp 0.5s var(--transition-smooth) both;
}

    .rsv-form-card .card-body {
        padding: 1.5rem;
    }

/* ── Payment card preview ── */
.pay-card-preview {
    background: linear-gradient(135deg, var(--brand-primary) 0%, #0f2440 100%);
    border-radius: var(--card-radius);
    padding: 1.25rem 1.5rem;
    color: #fff;
    position: relative;
    overflow: hidden;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 32px rgba(var(--brand-primary-rgb), 0.3);
    transition: box-shadow 0.4s var(--transition-smooth);
}

    .pay-card-preview::before {
        content: '';
        position: absolute;
        top: -30%;
        right: -20%;
        width: 220px;
        height: 220px;
        border-radius: 50%;
        background: rgba(255,255,255,0.06);
    }

    .pay-card-preview::after {
        content: '';
        position: absolute;
        bottom: -20%;
        left: -10%;
        width: 160px;
        height: 160px;
        border-radius: 50%;
        background: rgba(255,255,255,0.04);
    }

.pay-card-chip {
    width: 36px;
    height: 26px;
    border-radius: 4px;
    background: linear-gradient(135deg, #e8c547 0%, #d4a017 100%);
    opacity: 0.85;
}

.pay-card-number {
    font-size: 1.15rem;
    letter-spacing: 0.18em;
    font-weight: 600;
    font-family: 'Courier New', Courier, monospace;
    margin: 0.75rem 0;
    z-index: 1;
}

.pay-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    z-index: 1;
}

.pay-card-name {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.85;
}

.pay-card-expiry {
    font-size: 0.75rem;
    opacity: 0.85;
    text-align: end;
}

    .pay-card-expiry span {
        display: block;
        font-size: 0.6rem;
        opacity: 0.6;
        text-transform: uppercase;
    }

.pay-card-brand {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    z-index: 1;
    opacity: 0.9;
}

.pay-networks {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pay-network-icon {
    width: 40px;
    height: 26px;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px 4px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

    .pay-network-icon.active {
        border-color: var(--brand-primary);
        box-shadow: 0 0 0 2px rgba(var(--brand-primary-rgb), 0.15);
    }

    .pay-network-icon img,
    .pay-network-icon svg {
        max-width: 100%;
        max-height: 100%;
    }

.pay-field-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
    transition: color 0.2s;
    z-index: 2;
}

.pay-field-wrap:focus-within .pay-field-icon {
    color: var(--brand-primary);
}

.pay-field-wrap .form-control {
    padding-left: 2.35rem;
}

.pay-secure-badge {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: #16a34a;
    margin-top: 1rem;
}

/* ── Verification code input ── */
.rsv-code-input {
    letter-spacing: .6em;
    font-size: 1.6rem;
    font-weight: 700;
    text-align: center;
    border-radius: .5rem;
    border: 2px solid #dee2e6;
    padding: .75rem;
    transition: border-color .2s;
}

    .rsv-code-input:focus {
        border-color: var(--brand-primary);
        box-shadow: 0 0 0 .2rem rgba(var(--brand-primary-rgb),.15);
    }

/* ── Success ── */
.rsv-success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #d1e7dd;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.rsv-ref-badge {
    display: inline-block;
    background: #f0f0f0;
    border: 2px dashed #6c757d;
    border-radius: .5rem;
    padding: .6rem 1.5rem;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: .15em;
    cursor: pointer;
    transition: background .2s, border-color .2s;
}

    .rsv-ref-badge:hover {
        background: #e2e6ea;
        border-color: var(--brand-primary);
    }

@media (max-width: 575.98px) {
    .rsv-step-label {
        display: none;
    }
}

/* ── Inline verification ── */
.rsv-verify-inline {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: .75rem;
    padding: 1.25rem;
    margin-top: 1rem;
    animation: fadeInUp 0.4s var(--transition-smooth) both;
}

    .rsv-verify-inline .rsv-code-input {
        font-size: 1.3rem;
        letter-spacing: .5em;
        max-width: 260px;
    }

/* ── Payment card ── */
.rsv-payment-card-preview {
    background: linear-gradient(135deg, #1e3a5f 0%, #0f2540 100%);
    border-radius: 1rem;
    padding: 1.5rem;
    color: #fff;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 8px 24px rgba(0,0,0,.25);
    margin-bottom: 1.5rem;
}

    .rsv-payment-card-preview .card-chip {
        width: 40px;
        height: 28px;
        background: linear-gradient(135deg, #d4a853, #c0912e);
        border-radius: 5px;
    }

    .rsv-payment-card-preview .card-number-display {
        font-size: 1.2rem;
        letter-spacing: .2em;
        font-family: 'Courier New', monospace;
        margin: .75rem 0 .5rem;
    }

    .rsv-payment-card-preview .card-bottom {
        display: flex;
        justify-content: space-between;
        font-size: .8rem;
        text-transform: uppercase;
        letter-spacing: .08em;
    }

.rsv-payment-brands {
    display: flex;
    gap: .5rem;
    align-items: center;
    opacity: .5;
}

    .rsv-payment-brands svg {
        width: 36px;
        height: 24px;
    }
/* ── Saved card option ── */
.rsv-saved-card-option {
    border: 2px solid #e9ecef;
    border-radius: .75rem;
    padding: .85rem 1rem;
    margin-bottom: .5rem;
    cursor: pointer;
    transition: all .2s;
    background: #fff;
}

    .rsv-saved-card-option:hover {
        border-color: #b6d4fe;
        background: #f8f9ff;
    }

    .rsv-saved-card-option.active {
        border-color: var(--bs-primary, #0d6efd);
        background: #eff6ff;
        box-shadow: 0 0 0 3px rgba(13,110,253,.1);
    }

    .rsv-saved-card-option .form-check-input {
        width: 1.15em;
        height: 1.15em;
        flex-shrink: 0;
    }

.rsv-saved-card-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border-radius: .5rem;
    color: #64748b;
    flex-shrink: 0;
}

.rsv-saved-card-option.active .rsv-saved-card-icon {
    background: #dbeafe;
    color: var(--bs-primary, #0d6efd);
}

.rsv-secure-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .78rem;
    color: #64748b;
    background: #f1f5f9;
    padding: .35rem .75rem;
    border-radius: 2rem;
}

/* ── Extra item card ── */
.rsv-extra-card {
    border: 2px solid #e9ecef;
    border-radius: .75rem;
    padding: 1rem;
    cursor: pointer;
    transition: all .2s;
}

    .rsv-extra-card:hover {
        border-color: #94a3b8;
    }

    .rsv-extra-card.selected {
        border-color: var(--brand-primary);
        background: rgba(var(--brand-primary-rgb), 0.06);
    }

.rsv-extra-price {
    font-weight: 700;
    color: var(--brand-primary);
}

/* ============================================
   Country Code Phone Picker (Reserve + Register)
   ============================================ */
.rsv-phone-group,
.reg-phone-group {
    display: flex;
    gap: 0;
}

.rsv-country-code,
.reg-country-code {
    position: relative;
    flex-shrink: 0;
    width: 130px;
}

.rsv-country-btn,
.reg-country-btn {
    display: flex;
    align-items: center;
    gap: .35rem;
    width: 100%;
    height: 100%;
    padding: .375rem .5rem;
    border: 1px solid #dee2e6;
    border-radius: .375rem 0 0 .375rem;
    border-right: none;
    background: #f8f9fa;
    cursor: pointer;
    font-size: .88rem;
    white-space: nowrap;
    overflow: hidden;
}

    .rsv-country-btn:hover,
    .reg-country-btn:hover {
        background: #e9ecef;
    }

    .rsv-country-btn .rsv-flag,
    .reg-country-btn .reg-flag {
        font-size: 1.15rem;
        line-height: 1;
    }

    .rsv-country-btn .rsv-dial,
    .reg-country-btn .reg-dial {
        font-weight: 600;
        font-size: .82rem;
        color: #495057;
        direction: ltr;
    }

    .rsv-country-btn .rsv-caret,
    .reg-country-btn .reg-caret {
        margin-left: auto;
        border: none;
        font-size: .6rem;
        color: #6c757d;
    }

.rsv-country-dropdown,
.reg-country-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: auto;
    z-index: 20;
    width: 280px;
    max-height: 250px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: .375rem;
    box-shadow: 0 4px 16px rgba(0,0,0,.12);
    margin-top: 2px;
}

.rsv-country-search,
.reg-country-search {
    position: sticky;
    top: 0;
    background: #fff;
    padding: .4rem .5rem;
    border-bottom: 1px solid #f0f0f0;
}

    .rsv-country-search input,
    .reg-country-search input {
        width: 100%;
        border: 1px solid #dee2e6;
        border-radius: .25rem;
        padding: .25rem .5rem;
        font-size: .82rem;
        outline: none;
    }

        .rsv-country-search input:focus,
        .reg-country-search input:focus {
            border-color: var(--brand-primary);
        }

.rsv-country-item,
.reg-country-item {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem .6rem;
    cursor: pointer;
    font-size: .85rem;
}

    .rsv-country-item:hover,
    .reg-country-item:hover {
        background: rgba(var(--brand-primary-rgb), 0.05);
    }

    .rsv-country-item.selected,
    .reg-country-item.selected {
        background: rgba(var(--brand-primary-rgb), 0.08);
        font-weight: 600;
    }

    .rsv-country-item .rsv-dial-col,
    .reg-country-item .reg-dial-col {
        direction: ltr;
    }

.rsv-phone-input,
.reg-phone-input {
    flex: 1;
    border-radius: 0 .375rem .375rem 0 !important;
}

/* ============================================
   My Reservations – Card
   ============================================ */
.rsv-res-card {
    border: none;
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    transition: transform .35s var(--transition-smooth), box-shadow .35s var(--transition-smooth);
    overflow: hidden;
    animation: fadeInUp 0.5s var(--transition-smooth) both;
}

    .rsv-res-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--card-shadow-hover);
    }

.rsv-res-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .75rem 1.25rem;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-bottom: 1px solid rgba(0,0,0,.06);
}

.rsv-res-ref {
    font-weight: 700;
    font-size: .95rem;
    color: var(--brand-primary);
    letter-spacing: .03em;
    cursor: pointer;
    transition: color .25s var(--transition-smooth);
}

    .rsv-res-ref:hover {
        color: var(--brand-primary-hover);
    }

.rsv-res-body {
    padding: 1.25rem;
}

.rsv-res-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: .4rem 0;
}

    .rsv-res-row + .rsv-res-row {
        border-top: 1px solid rgba(0,0,0,.05);
    }

.rsv-res-label {
    font-size: .78rem;
    color: #64748b;
}

.rsv-res-value {
    font-weight: 600;
    font-size: .88rem;
    text-align: end;
}

.rsv-res-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .75rem 1.25rem;
    background: #fff;
    border-top: 1px solid rgba(0,0,0,.06);
}

.rsv-res-total {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--brand-primary);
}

.rsv-res-date {
    font-size: .75rem;
    color: #adb5bd;
}

/* ── Cancel verification modal ── */
.rsv-cancel-code-input {
    letter-spacing: .6em;
    font-size: 1.6rem;
    font-weight: 700;
    text-align: center;
    border-radius: .5rem;
    border: 2px solid #dee2e6;
    padding: .75rem;
    transition: border-color .2s;
}

    .rsv-cancel-code-input:focus {
        border-color: #dc3545;
        box-shadow: 0 0 0 .2rem rgba(220,53,69,.15);
    }

/* ============================================
   Manage Booking
   ============================================ */
.mb-lookup-card {
    border: none;
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    animation: fadeInUp 0.5s var(--transition-smooth) both;
}

    .mb-lookup-card .card-body {
        padding: 2rem;
    }

.mb-code-input {
    letter-spacing: .6em;
    font-size: 1.6rem;
    font-weight: 700;
    text-align: center;
    border-radius: .5rem;
    border: 2px solid #dee2e6;
    padding: .75rem;
    transition: border-color .2s;
}

    .mb-code-input:focus {
        border-color: var(--brand-primary);
        box-shadow: 0 0 0 .2rem rgba(var(--brand-primary-rgb),.15);
    }

.mb-detail-card {
    border: none;
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    animation: fadeInUp 0.5s var(--transition-smooth) both;
}

.mb-detail-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--card-border);
}

.mb-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .5rem 0;
    border-bottom: 1px solid #f3f4f6;
}

    .mb-detail-row:last-child {
        border-bottom: none;
    }

.mb-detail-label {
    font-size: .85rem;
    color: #6b7280;
}

.mb-detail-value {
    font-weight: 600;
    font-size: .9rem;
}

.mb-cancel-code-input {
    letter-spacing: .6em;
    font-size: 1.6rem;
    font-weight: 700;
    text-align: center;
    border-radius: .5rem;
    border: 2px solid #dee2e6;
    padding: .75rem;
    transition: border-color .2s;
}

    .mb-cancel-code-input:focus {
        border-color: #dc3545;
        box-shadow: 0 0 0 .2rem rgba(220,53,69,.15);
    }

/* ============================================
   Search Results
   ============================================ */
.rsv-sort-select {
    width: auto;
}

.rsv-car-thumb {
    max-height: 160px;
    object-fit: contain;
}

.rsv-location-logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.rsv-policy-body {
    white-space: pre-line;
}

.rsv-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    background: var(--brand-primary-hover);
    cursor: default;
    position: relative;
    height: 40px;
    color: #fff;
}

    .rsv-rating-badge:hover {
        cursor: pointer;
    }

.rsv-rating-tooltip {
    position: fixed;
    z-index: 1070;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,.12);
    padding: 12px 16px;
    min-width: 240px;
}

.rsv-rating-bar-track {
    width: 80px;
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
}

.rsv-rating-bar-fill {
    height: 100%;
    background: #ffc107;
    border-radius: 3px;
    transition: width .3s ease;
}

.rsv-rating-item-value {
    min-width: 26px;
    text-align: end;
}

.rsv-rating-score {
    display: flex;
    align-items: center;
    gap: 4px;
}

.rsv-rating-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.rsv-rating-grade {
    font-weight: 700;
}

.rsv-rating-reviews {
    font-size: .8rem;
    color: #6b7280;
}

.rsv-grade-excellent {
    color: #16a34a;
}

.rsv-grade-very-good {
    color: #22c55e;
}

.rsv-grade-good {
    color: #f59e0b;
}

.rsv-grade-average {
    color: #f97316;
}

.rsv-grade-below-average {
    color: #dc2626;
}

/* ── Reservation status tabs ── */
.rsv-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1.5rem;
}

.rsv-tab {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .4rem 1rem;
    border-radius: 50rem;
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    border: 1.5px solid #dee2e6;
    background: #fff;
    color: #64748b;
    transition: all .25s var(--transition-smooth);
    user-select: none;
}

    .rsv-tab:hover {
        border-color: var(--brand-primary);
        color: var(--brand-primary);
    }

    .rsv-tab.active {
        background: var(--brand-primary);
        border-color: var(--brand-primary);
        color: #fff;
    }

    .rsv-tab .rsv-tab-count {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 1.35rem;
        height: 1.35rem;
        padding: 0 .35rem;
        border-radius: 50rem;
        font-size: .7rem;
        font-weight: 700;
        background: rgba(0,0,0,.08);
        color: inherit;
    }

    .rsv-tab.active .rsv-tab-count {
        background: rgba(255,255,255,.25);
    }

.badge.bg-orange {
    background-color: #f97316 !important;
    color: #fff;
}

.rsv-filter-item:after {
    content: "";
    display: block;
    border-top: 1px solid #ccc;
    margin-top: 10px;
}

.rsv-filter-item div.form-check {
    margin-bottom: .5rem;
}

/* ============================================
   Pagination Component
   ============================================ */
.pagination-modern {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
    padding: 0.75rem 0;
}

.pagination-modern-info {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
}

    .pagination-modern-info .pagination-modern-count {
        font-weight: 700;
        color: var(--brand-primary);
    }

.pagination-modern-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.25rem;
}

.pagination-modern-item {
    display: flex;
}

.pagination-modern-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    height: 2.25rem;
    padding: 0 0.5rem;
    border-radius: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

    .pagination-modern-link:hover {
        background: var(--brand-primary-light);
        border-color: var(--brand-primary);
        color: var(--brand-primary);
        text-decoration: none;
    }

.pagination-modern-item.active .pagination-modern-link {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(var(--brand-primary-rgb), 0.3);
}

    .pagination-modern-item.active .pagination-modern-link:hover {
        background: var(--brand-primary-hover);
        border-color: var(--brand-primary-hover);
        color: #ffffff;
    }

.pagination-modern-item.disabled .pagination-modern-link {
    color: #cbd5e1;
    background: #f8fafc;
    border-color: #e2e8f0;
    cursor: not-allowed;
    pointer-events: none;
}

.pagination-modern-nav {
    padding: 0 0.375rem;
}

    .pagination-modern-nav svg {
        flex-shrink: 0;
    }

@media (max-width: 575.98px) {
    .pagination-modern {
        justify-content: center;
        text-align: center;
    }

    .pagination-modern-info {
        width: 100%;
        text-align: center;
    }

    .pagination-modern-link {
        min-width: 2rem;
        height: 2rem;
        font-size: 0.8rem;
    }
}
