:root {
    --wc-red: #dc2626;
    --wc-red-dark: #b91c1c;
    --wc-blue: #1e3a8a;
}

.fw-black {
    font-weight: 900;
}

body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    background-color: #f8fafc;
    color: #1e293b;
}

body.rtl {
    direction: rtl;
}

.top-banner {
    background-color: #b91c1c;
    font-size: 0.75rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #34d399;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
}

.logo-box {
    width: 56px;
    height: 40px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 0.75rem;
}

.brand-wc { color: var(--wc-red); }
.brand-assist { color: var(--wc-blue); }

.search-input { padding-right: 3.5rem; }
body.rtl .search-input {
    padding-right: 0.75rem;
    padding-left: 3.5rem;
}

.search-btn {
    position: absolute;
    top: 50%;
    right: 4px;
    transform: translateY(-50%);
    z-index: 5;
}

body.rtl .search-btn {
    right: auto;
    left: 4px;
}

.user-avatar {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--wc-blue), #2563eb);
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.25);
}

.btn-get-listed {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--wc-red), var(--wc-red-dark));
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.3);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-get-listed:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(220, 38, 38, 0.38);
}

.btn-get-listed-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    font-size: 0.75rem;
}

.header-user-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.35rem 0.65rem 0.35rem 0.35rem;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
    max-width: 100%;
}

.header-user-name {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.25;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header-user-actions {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-top: 1px;
}

.header-user-link {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
    line-height: 1.2;
}

.header-user-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.header-user-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #cbd5e1;
    flex-shrink: 0;
}

.header-user-signout {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #64748b;
    line-height: 1.2;
    cursor: pointer;
}

.header-user-signout:hover {
    color: var(--wc-red);
}

@media (max-width: 767.98px) {
    .btn-get-listed span:not(.btn-get-listed-icon) {
        display: none;
    }

    .btn-get-listed {
        padding: 0.5rem 0.65rem;
    }
}

.category-section {
    position: relative;
    z-index: 2;
}

.category-scroll {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}

.category-scroll::-webkit-scrollbar { display: none; }

.category-btn {
    flex-shrink: 0;
    min-width: 90px;
    border: 2px solid transparent;
    background: transparent;
    transition: all 0.2s;
}

.category-btn:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.category-btn.active {
    border-color: var(--wc-red);
    background: rgba(220, 38, 38, 0.08);
    color: var(--wc-red);
    font-weight: 700;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.category-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.category-nav-left { left: 0; }
.category-nav-right { right: 0; }

.hero-section {
    background: linear-gradient(to right, #0f172a, #172554, #0f172a);
    position: relative;
    overflow: hidden;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.35;
    z-index: 0;
}

.hero-carousel .carousel-item {
    position: relative;
    min-height: 280px;
}

.hero-carousel-indicators {
    margin-bottom: 0;
    z-index: 3;
}

.hero-carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.45);
    border: none;
}

.hero-carousel-indicators .active {
    background-color: #fff;
}

.hero-carousel-control {
    width: 8%;
    z-index: 3;
}

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

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-image: radial-gradient(#e11d48 1px, transparent 1px);
    background-size: 16px 16px;
}

.hero-badge {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.hero-pillars-row {
    max-width: 960px;
    margin: 0 auto;
}

.hero-pillar {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
    .hero-pillar span {
        white-space: nowrap;
    }
}

.section-bar {
    width: 10px;
    height: 24px;
    border-radius: 2px;
}

.section-bar-red { background: var(--wc-red); }
.section-bar-blue { background: var(--wc-blue); }
.section-bar-green { background: #059669; }

.section-title-line {
    height: 4px;
    width: 64px;
    background: var(--wc-red);
    border-radius: 999px;
}

.vehicle-card {
    transition: all 0.3s;
    height: 100%;
}

.vehicle-card:hover {
    border-color: #cbd5e1 !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.vehicle-card-img-wrap {
    height: 192px;
    overflow: hidden;
    background: #f1f5f9;
}

.vehicle-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.vehicle-card:hover .vehicle-card-img {
    transform: scale(1.05);
}

.location-badge {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(4px);
    font-size: 0.625rem;
}

.type-badge {
    background: rgba(220, 38, 38, 0.95);
    font-size: 0.5625rem;
}

.book-btn {
    border: 2px solid #059669;
    color: #059669;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.book-btn:hover {
    background: #059669;
    color: #fff;
}

.star-rating { color: #fbbf24; }

.plan-card {
    border-radius: 1.5rem;
    transition: all 0.3s;
}

.plan-card.popular {
    border-color: var(--wc-red) !important;
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.15);
}

@media (min-width: 768px) {
    .plan-card.popular { transform: translateY(-8px); }
}

.popular-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--wc-red);
    color: #fff;
    font-size: 0.5625rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    padding: 0.375rem 1rem;
    border-bottom-left-radius: 1rem;
}

body.rtl .popular-badge {
    right: auto;
    left: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 1rem;
}

.segment-toggle .btn-check:checked + .btn {
    background: #fff;
    color: #020617;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.feature-check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.footer-app-badge {
    background: #020617;
    border: 1px solid #1e293b;
    border-radius: 0.375rem;
    padding: 0.5rem;
    color: #fff;
    text-decoration: none;
}

.footer-app-badge:hover {
    opacity: 0.85;
    color: #fff;
}

.ticket-card {
    border: 2px dashed #e2e8f0;
    border-radius: 1rem;
}

.image-preset {
    height: 56px;
    cursor: pointer;
    border: 2px solid transparent;
    overflow: hidden;
    border-radius: 0.5rem;
}

.image-preset.selected {
    border-color: var(--wc-red);
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.15);
}

.image-preset img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.hidden-section { display: none !important; }

.auth-section {
    min-height: calc(100vh - 280px);
    display: flex;
    align-items: center;
}

.auth-section .card {
    border-radius: 1rem;
}
