:root {
    --zulu-font: Arial, Helvetica, sans-serif;
    --zulu-text: #222222;
    --zulu-text-muted: #6b7280;
    --zulu-border: #e5e7eb;
    --zulu-brand-blue: #2563eb;
    --zulu-container-max: 1200px;
    --zulu-container-pad: clamp(16px, 4vw, 32px);
    --zulu-header-height: 64px;
    --zulu-touch-min: 44px;
    --zulu-radius: 14px;
    --zulu-text-base: clamp(0.9375rem, 0.9rem + 0.2vw, 1rem);
    --zulu-text-sm: clamp(0.8125rem, 0.78rem + 0.15vw, 0.875rem);
    --zulu-text-lg: clamp(1.0625rem, 1rem + 0.3vw, 1.125rem);
    --zulu-heading-1: clamp(1.5rem, 1.2rem + 1.5vw, 2.125rem);
    --zulu-heading-2: clamp(1.25rem, 1.05rem + 1vw, 1.75rem);
    --zulu-heading-3: clamp(1.0625rem, 0.95rem + 0.5vw, 1.25rem);
    --zulu-line-height: 1.5;
    --zulu-safe-bottom: env(safe-area-inset-bottom, 0px);
    --zulu-safe-top: env(safe-area-inset-top, 0px);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: var(--zulu-font);
    margin: 0;
    background: #ffffff;
    color: var(--zulu-text);
    font-size: var(--zulu-text-base);
    line-height: var(--zulu-line-height);
    overflow-x: hidden;
}

img,
video {
    max-width: 100%;
    height: auto;
}

.container {
    width: min(var(--zulu-container-max), 100% - var(--zulu-container-pad) * 2);
    max-width: var(--zulu-container-max);
    margin-inline: auto;
    padding-inline: 0;
}

h1 { font-size: var(--zulu-heading-1); line-height: 1.2; }
h2 { font-size: var(--zulu-heading-2); line-height: 1.25; }
h3 { font-size: var(--zulu-heading-3); line-height: 1.3; }

header,
.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 4px 0;
}

.site-footer {
    margin-top: 48px;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    padding-top: 40px;
}

.site-footer-inner {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 32px 40px;
    padding-bottom: 36px;
}

.site-footer-logo {
    display: inline-block;
    font-size: 28px;
    font-weight: 800;
    color: var(--zulu-brand-blue);
    text-decoration: none;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.site-footer-tagline {
    margin: 0 0 10px;
    max-width: 260px;
    font-size: 14px;
    line-height: 1.5;
    color: #6b7280;
}

.site-footer-contact {
    display: block;
    margin: 0 0 6px;
    font-size: 14px;
    color: var(--zulu-brand-blue);
    text-decoration: none;
}

.site-footer-contact:hover {
    text-decoration: underline;
}

.site-footer-social {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
}

.site-footer-social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--zulu-brand-blue);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: opacity 0.15s ease;
}

.site-footer-social-link:hover {
    opacity: 0.88;
}

.site-footer-social-link svg {
    width: 16px;
    height: 16px;
}

.site-footer-col h3 {
    margin: 0 0 14px;
    font-size: 15px;
    font-weight: 700;
    color: #374151;
}

.site-footer-col a {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    color: #6b7280;
    text-decoration: none;
}

.site-footer-col a:hover {
    color: var(--zulu-brand-blue);
}

.site-footer-bottom {
    border-top: 1px solid #e5e7eb;
    padding: 16px 0 calc(16px + var(--zulu-safe-bottom));
}

.site-footer-bottom p {
    margin: 0;
    font-size: 13px;
    color: #9ca3af;
}

@media (max-width: 900px) {
    .site-footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 28px 24px;
    }

    .site-footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .site-footer-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.top-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 26px;
    flex: 1;
}

.nav-right {
    display: flex;
    align-items: center;
}

.nav-right .nav-main-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    padding: 0 16px;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    background: #ffffff;
    color: #111827;
    text-decoration: none;
    font-weight: 700;
}

.nav-right .nav-main-link:hover {
    background: #ffffff;
    border-color: #9ca3af;
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    margin-right: 10px;
    padding: 3px;
    gap: 2px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #f8fafc;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.lang-switch-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 26px;
    padding: 0 9px;
    border-radius: 999px;
    color: #6b7280;
    text-decoration: none;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1;
}

.lang-switch-btn:hover:not(.is-active) {
    color: #111827;
    background: #ffffff;
}

.lang-switch-btn.is-active {
    background: #111827;
    color: #ffffff;
}

.lang-switch--mobile {
    display: flex;
    justify-content: center;
    margin: 0 0 10px;
    width: 100%;
}

.seo-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    margin: 12px 0 8px;
    padding: 0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.4;
    color: #9ca3af;
}

.seo-breadcrumb a {
    color: #6b7280;
    text-decoration: none;
}

.seo-breadcrumb a:hover {
    color: #2563eb;
}

.seo-breadcrumb-sep {
    margin: 0 8px;
    color: #d1d5db;
    font-weight: 500;
}

.seo-breadcrumb-current {
    color: #111827;
    max-width: min(42ch, 70vw);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    text-decoration: none;
    margin: -4px 0;
}

.brand-logo-img {
    display: block;
    height: 72px;
    width: auto;
}

.nav-links a {
    color: #111827;
    text-decoration: none;
    font-weight: 600;
}

.nav-links-main {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: 40px;
}

.nav-admin-link {
    font-weight: 700;
}

.nav-dropdown {
    position: relative;
    padding-bottom: 12px;
    margin-bottom: -12px;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% - 1px);
    left: 0;
    min-width: 260px;
    background: #fff;
    border: 1px solid #dbe3f0;
    border-radius: 12px;
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    pointer-events: none;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
    z-index: 50;
}

.nav-dropdown-menu a {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
    color: #111827;
}

.nav-dropdown-menu a:hover {
    background: #ffffff;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.nav-caret {
    font-size: 12px;
    margin-left: 4px;
}

main {
    padding: 20px 0;
}

.flash-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.flash {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    margin-bottom: 0;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.flash-icon-wrap {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.1);
}

.flash-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    color: #ffffff;
}

.flash-icon svg {
    width: 12px;
    height: 12px;
}

.flash-divider {
    flex: 0 0 auto;
    align-self: stretch;
    width: 1px;
    margin: 4px 0;
    background: currentColor;
    opacity: 0.22;
}

.flash-text {
    flex: 1 1 auto;
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.flash-dismiss {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #94a3b8;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.flash-dismiss:hover,
.flash-dismiss:focus-visible {
    background: rgba(15, 23, 42, 0.06);
    color: #64748b;
    outline: none;
}

.flash.is-dismissing {
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.flash-info {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1e3a5f;
}

.flash-info .flash-icon {
    background: #3b82f6;
}

.flash-info .flash-divider {
    color: #93c5fd;
    opacity: 1;
}

.flash-success {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #166534;
}

.flash-success .flash-icon {
    background: #16a34a;
}

.flash-success .flash-divider {
    color: #86efac;
    opacity: 1;
}

.flash-warning {
    background: #fffbeb;
    border-color: #fde68a;
    color: #92400e;
}

.flash-warning .flash-icon {
    background: #d97706;
}

.flash-warning .flash-divider {
    color: #fcd34d;
    opacity: 1;
}

.flash-danger,
.flash-error {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

.flash-danger .flash-icon,
.flash-error .flash-icon {
    background: #dc2626;
}

.flash-danger .flash-divider,
.flash-error .flash-divider {
    color: #fca5a5;
    opacity: 1;
}

.listing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.listing-card {
    display: block;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    text-decoration: none;
    color: inherit;
}

.listing-card-image-wrap {
    height: 210px;
    background: #ffffff;
}

.listing-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.listing-card-body {
    padding: 12px 14px 14px;
}

.listing-card-body h3 {
    margin: 0 0 8px;
}

.listing-card-body p {
    margin: 4px 0;
}

.detail-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    align-items: start;
    min-width: 0;
}

.detail-page {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    overflow-x: hidden;
}

.detail-owner-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 14px 16px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.detail-owner-delete-form {
    margin: 0;
}

.detail-owner-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.detail-owner-btn svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
}

.detail-owner-btn--edit {
    color: #ffffff;
    background: #2563eb;
    border: 1px solid #2563eb;
    box-shadow: 0 1px 2px rgba(37, 99, 235, 0.25);
}

.detail-owner-btn--edit:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: #ffffff;
}

.detail-owner-btn--delete {
    color: #dc2626;
    background: #ffffff;
    border: 1px solid #fecaca;
}

.detail-owner-btn--delete:hover {
    background: #fef2f2;
    border-color: #fca5a5;
    color: #b91c1c;
}

.detail-main-column,
.detail-media-column,
.detail-side-card {
    min-width: 0;
    max-width: 100%;
}

.listing-review-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 16px;
    margin-bottom: 14px;
    padding: 10px 14px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
}

.listing-review-banner-text strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
}

.listing-review-banner-text p {
    margin: 0;
    font-size: 13px;
    color: #475569;
    line-height: 1.35;
}

.listing-review-banner-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.listing-review-edit-link {
    font-size: 14px;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
}

.listing-review-edit-link:hover {
    text-decoration: underline;
}

.listing-review-publish-form {
    margin: 0;
}

.listing-review-post-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    color: #ffffff;
    background: #1d4ed8;
    box-shadow: 0 2px 8px rgba(29, 78, 216, 0.25);
}

.listing-review-post-btn:hover {
    background: #1e40af;
}

.listing-review-post-btn[aria-busy="true"],
.listing-review-post-btn:disabled {
    opacity: 0.75;
    cursor: wait;
    pointer-events: none;
    background: #1e3a8a;
}

.listing-review-banner.is-posting,
.listing-review-publish-form.is-submitting {
    pointer-events: none;
}

.detail-main-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.detail-media-column {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 16px;
}

.detail-features {
    margin: 12px 0;
}

.detail-features-list {
    margin: 6px 0 0;
    padding-left: 18px;
    color: #374151;
    line-height: 1.5;
}

.detail-contact {
    margin-bottom: 18px;
}

.detail-contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.detail-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #1d4ed8;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    background: #1d4ed8;
}

.detail-contact-btn:hover {
    background: #1e40af;
}

.detail-contact-btn--whatsapp {
    border-color: #16a34a;
    color: #ffffff;
    background: #16a34a;
}

.detail-contact-btn--whatsapp:hover {
    background: #15803d;
}

.detail-contact-btn--message {
    border-color: #0f172a;
    color: #0f172a;
    background: #ffffff;
}

.detail-contact-btn--message:hover {
    background: #0f172a;
    color: #ffffff;
}

.detail-main-image-wrap {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    max-width: 100%;
    background: #f5f5f5;
}

.detail-media-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    gap: 8px;
    z-index: 5;
}

.detail-save-btn,
.detail-share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    color: #4B5563;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.18);
    transition: transform 0.15s ease, color 0.15s ease, background 0.15s ease;
    text-decoration: none;
    padding: 0;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.detail-save-btn {
    position: absolute;
    top: 12px;
    right: 12px;
}

.detail-media-actions .detail-save-btn {
    position: static;
}

.detail-save-btn:hover,
.detail-share-btn:hover {
    transform: scale(1.06);
    background: #ffffff;
}

.detail-save-btn:hover {
    color: #ef4444;
}

.detail-share-btn:hover {
    color: #2563eb;
}

.detail-save-icon,
.detail-share-icon {
    width: 20px;
    height: 20px;
    fill: none;
    transition: fill 0.15s ease;
}

.detail-save-btn.is-saved {
    color: #ef4444;
}

.detail-save-btn.is-saved .detail-save-icon {
    fill: currentColor;
}

.detail-main-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.detail-main-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #000;
}

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

.thumb-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.thumb-row {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    flex: 1;
    min-width: 0;
    padding: 4px 2px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    overscroll-behavior-x: contain;
}

.thumb-row::-webkit-scrollbar {
    display: none;
}

.thumb-btn,
.thumb-item {
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    padding: 4px;
}

.thumb-btn {
    cursor: pointer;
    position: relative;
    flex: 0 0 auto;
    width: 72px;
    height: 72px;
    padding: 2px;
    box-sizing: border-box;
    touch-action: pan-x;
    -webkit-tap-highlight-color: transparent;
}

.thumb-btn.active {
    border-color: #2563eb;
}

.thumb-row img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    pointer-events: none;
    -webkit-user-drag: none;
    user-select: none;
}

.thumb-video-fallback {
    width: 100%;
    height: 100%;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111827;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
}

.thumb-video-badge {
    position: absolute;
    right: 8px;
    bottom: 8px;
    background: rgba(17, 24, 39, 0.86);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 999px;
    padding: 2px 7px;
}

.thumb-arrow {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    background: #fff;
    color: #111827;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
    flex: 0 0 auto;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.thumb-arrow:hover {
    background: #f8fafc;
}

.detail-side-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 18px;
    position: sticky;
    top: 16px;
}

.detail-panel-title {
    margin: 0 0 10px;
    font-size: clamp(22px, 2.2vw, 32px);
    line-height: 1.18;
    font-weight: 800;
    color: #111827;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
}

.detail-side-price {
    font-size: 20px;
    line-height: 1.1;
    font-weight: 800;
    color: #111827;
}

.detail-side-monthly-est {
    margin: 6px 0 0;
    font-size: 14px;
    font-weight: 600;
    color: #2f9bff;
    line-height: 1.3;
}

.detail-side-note {
    margin: 8px 0 16px;
    color: #6b7280;
    font-size: 14px;
}

.detail-rating-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 14px;
}

.detail-rating-label {
    color: #1f2937;
    font-weight: 700;
}

.detail-rating-stars {
    color: #1d4ed8;
    letter-spacing: 1px;
    font-weight: 800;
}

.detail-rating-reviews {
    color: #2563eb;
    text-decoration: none;
}

.detail-request-card {
    border: 1px solid #d1d5db;
    border-radius: 14px;
    padding: 16px;
    margin-top: 10px;
}

.detail-request-card h4 {
    margin: 0 0 14px;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 700;
    color: #111827;
}

.detail-seller-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.detail-seller-avatar-link {
    display: block;
    flex-shrink: 0;
    text-decoration: none;
}

.detail-seller-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #e5e7eb;
}

.detail-seller-avatar--initial {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2563eb;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
}

.detail-seller-info {
    min-width: 0;
    flex: 1;
}

.detail-seller-name-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.detail-seller-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    text-decoration: none;
    line-height: 1.25;
}

a.detail-seller-name:hover {
    color: #2563eb;
}

.detail-seller-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    background: #E7F0FF;
    color: #1e3a5f;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
    white-space: nowrap;
}

.detail-request-profile-link {
    display: inline-block;
    margin-top: 4px;
    font-size: 13px;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
}

.detail-request-profile-link:hover {
    text-decoration: underline;
}

.detail-finance-strip {
    margin-top: 16px;
}

.detail-finance-strip p {
    margin: 0;
    color: #1d4ed8;
    font-weight: 600;
    font-size: 14px;
}

.detail-bank-row {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-bank-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 110px;
    height: 34px;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    color: #1f2937;
    background: #fff;
}

.listing-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
}

/* ==============================
   HOME PAGE SECTIONS
   ============================== */
.home-section {
    margin-bottom: 28px;
}

.home-hero {
    position: relative;
    min-height: 520px;
    background-image: url("../images/HeroSection/HeroPic.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #e8eaed;
    border-radius: 16px;
    overflow: visible;
    width: min(1500px, calc(100vw - 24px));
    margin-left: 50%;
    transform: translateX(-50%);
}

.hero-panel {
    position: absolute;
    top: 34px;
    left: 30px;
    width: min(520px, calc(100% - 60px));
    background: #ffffff;
    color: #0f172a;
    border-radius: 18px;
    padding: 24px 22px;
    min-height: 320px;
    overflow: visible;
    z-index: 30;
    box-shadow: 0 10px 32px rgba(15, 23, 42, 0.18);
}

.hero-search-box {
    position: relative;
    overflow: visible;
}

.home-hero h1 {
    margin: 0 0 12px;
    font-size: 34px;
    line-height: 1.1;
    color: #0b2a5b;
}

.hero-subtitle {
    margin: 0 0 14px;
    font-size: 16px;
    color: #6b7280;
}

.hero-mode-tabs {
    display: flex;
    gap: 24px;
    align-items: center;
    margin-bottom: 10px;
}

.hero-tab {
    border: 0;
    background: transparent;
    color: #111827;
    font-size: 18px;
    font-weight: 700;
    padding: 0;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    padding-bottom: 4px;
}

.hero-tab.active {
    color: #0b52bf;
    border-bottom-color: #0b52bf;
}

.hero-tab-divider {
    width: 100%;
    height: 1px;
    background: #e5e7eb;
    margin-bottom: 12px;
}

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

.hero-search-form-hidden {
    display: none;
}

.hero-search-form input,
.hero-search-form button[type="submit"] {
    height: 44px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    padding: 0 14px;
    font-size: 16px;
    font-weight: 600;
}

.hero-search-form button[type="submit"] {
    border: 0;
    background: #ff6a00;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    padding: 0 22px;
}

.hero-search-form input {
    background: #ffffff;
    color: #222222;
}

/* Custom hero dropdowns (always open downward, themed list) */
.hero-custom-select-wrap {
    position: relative;
    min-width: 0;
}

.hero-custom-select-wrap.is-open {
    z-index: 200;
}

.hero-custom-select-toggle {
    width: 100%;
    height: 44px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0 36px 0 14px;
    font-size: 16px;
    font-weight: 600;
    background: rgba(14, 58, 128, 0.95);
    color: #fff;
    cursor: pointer;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.hero-custom-select-wrap.is-open .hero-custom-select-toggle {
    border-color: rgba(255, 255, 255, 0.55);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.hero-custom-select-label {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hero-custom-select-caret {
    flex-shrink: 0;
    font-size: 12px;
    opacity: 0.9;
}

.hero-custom-select-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    margin: 0;
    padding: 6px 0;
    list-style: none;
    max-height: 280px;
    overflow-y: auto;
    background: rgba(12, 48, 112, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 10px;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.35);
    z-index: 210;
}

.hero-custom-select-menu:has(.hero-custom-select-search) {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.hero-custom-select-search-wrap,
.hero-custom-select-search {
    flex-shrink: 0;
}

.hero-custom-select-search {
    width: 100%;
    box-sizing: border-box;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px 10px 0 0;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    background: rgba(14, 58, 128, 0.95);
    color: #fff;
}

.hero-custom-select-search::placeholder {
    color: #dbeafe;
}

.hero-custom-select-search:focus {
    outline: none;
    background: rgba(18, 68, 148, 0.98);
}

.hero-custom-select-options {
    margin: 0;
    padding: 6px 0;
    list-style: none;
    max-height: 220px;
    overflow-y: auto;
}

.hero-custom-select-menu[hidden] {
    display: none !important;
}

.hero-custom-select-option {
    padding: 10px 14px;
    font-size: 15px;
    font-weight: 600;
    color: #f1f5f9;
    cursor: pointer;
}

.hero-custom-select-option:hover,
.hero-custom-select-option.is-active {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.hero-custom-select-option.is-placeholder {
    color: #dbeafe;
    font-weight: 500;
}

.hero-search-box .hero-custom-select-toggle {
    background: #ffffff;
    color: #222222;
    border: 1px solid #e5e7eb;
}

.hero-search-box .hero-custom-select-wrap.is-open .hero-custom-select-toggle {
    border-color: #2563eb;
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.18);
}

.hero-search-box .hero-custom-select-menu {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.hero-search-box .hero-custom-select-search {
    background: #ffffff;
    color: #222222;
    border-bottom: 1px solid #e5e7eb;
}

.hero-search-box .hero-custom-select-search::placeholder {
    color: #9ca3af;
}

.hero-search-box .hero-custom-select-search:focus {
    background: #f8fafc;
}

.hero-search-box .hero-custom-select-option {
    color: #1f2937;
}

.hero-search-box .hero-custom-select-option:hover,
.hero-search-box .hero-custom-select-option.is-active {
    background: #f1f5f9;
    color: #0b52bf;
}

.hero-search-box .hero-custom-select-option.is-placeholder {
    color: #6b7280;
}

.hero-search-form input::placeholder {
    color: #9ca3af;
}

.hero-smart-input {
    grid-column: span 1;
}

[data-hero-panel="smart-search"] {
    grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr);
    align-items: center;
}

[data-hero-panel="smart-search"] .hero-smart-input {
    height: 50px;
    border-radius: 999px;
    padding-left: 18px;
    padding-right: 18px;
    border: 1px solid #d1d5db;
    background: #ffffff;
    color: #222222;
    animation: smartInputGlow 5s ease-in-out infinite;
}

[data-hero-panel="smart-search"] button {
    height: 46px;
    border-radius: 999px;
}

.hero-smart-status {
    grid-column: 1 / -1;
    margin: 0;
    font-size: 13px;
    color: #6b7280;
}

.browse-smart-summary {
    margin-top: 8px;
}

.browse-smart-query {
    margin: 0;
    font-size: 14px;
    color: #475569;
    font-style: italic;
}

.browse-smart-chips {
    margin: 4px 0 0;
    font-size: 13px;
    font-weight: 600;
    color: #1d4ed8;
}

.browse-smart-chip-list {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.browse-smart-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    color: #1e3a8a;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
}

.browse-smart-chip:hover {
    background: #dbeafe;
    border-color: #93c5fd;
}

.browse-smart-chip-x {
    font-size: 16px;
    line-height: 1;
    color: #64748b;
}

.browse-smart-note {
    margin: 6px 0 0;
    font-size: 12px;
    color: #64748b;
}

@keyframes smartInputGlow {
    0% {
        background-position: 0% 50%;
        box-shadow: 0 0 0 rgba(37, 99, 235, 0.0);
    }
    50% {
        background-position: 100% 50%;
        box-shadow: 0 0 16px rgba(37, 99, 235, 0.28);
    }
    100% {
        background-position: 0% 50%;
        box-shadow: 0 0 0 rgba(37, 99, 235, 0.0);
    }
}

.home-style {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 18px;
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.section-head h2,
.home-ads h2 {
    margin: 0;
}

.section-head a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.style-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
}

.style-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    min-height: 44px;
    padding: 0 14px;
    color: #0f172a;
    text-decoration: none;
    font-weight: 600;
}

.style-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.style-image-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    flex: 1;
    min-width: 0;
    padding: 4px 2px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
}

.style-image-track::-webkit-scrollbar {
    display: none;
}

.style-image-link {
    flex: 0 0 auto;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 82px;
    text-decoration: none;
}

.style-image-link img {
    width: 200px;
    height: 150px;
    object-fit: contain;
    display: block;
}

.style-image-link span {
    margin-top: 6px;
    font-size: 14px;
    color: #1f2937;
    font-weight: 500;
    white-space: nowrap;
}

.style-arrow {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    background: #fff;
    color: #0f172a;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.home-top-picks,
.home-recently-added {
    background: #fff;
    border: none;
    border-radius: 0;
    padding: 0;
}

.home-top-picks-head {
    align-items: center;
    margin-bottom: 16px;
}

.home-top-picks-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.home-top-picks-title-row h2 {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
}

.home-top-picks-all {
    font-weight: 600;
    font-size: 14px;
    color: #2563eb;
    text-decoration: none;
    white-space: nowrap;
}

.home-top-picks-all:hover {
    text-decoration: underline;
}

.top-picks-sponsored-label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 500;
    color: #94a3b8;
}

.top-picks-sponsored-star {
    color: #eab308;
    font-size: 12px;
    line-height: 1;
}

.top-picks-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.top-picks-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: box-shadow 0.15s ease;
}

.top-picks-card:hover {
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.top-picks-card-image {
    position: relative;
    height: 200px;
    aspect-ratio: auto;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 14px;
    font-weight: 600;
    overflow: hidden;
}

.top-picks-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.top-picks-card-body {
    padding: 12px 14px 14px;
}

.top-picks-card-body h3 {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
}

.top-picks-card-meta {
    margin: 0 0 4px;
    font-size: 13px;
    color: #6b7280;
}

.top-picks-card-loc {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.top-picks-card-price {
    margin: 8px 0 0;
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
}

.top-picks-card-monthly {
    margin: 2px 0 0;
    font-size: 13px;
    font-weight: 600;
    color: #3b82f6;
}

.home-ads {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 18px;
}

.ad-row {
    margin-top: 12px;
}

.ad-banner {
    display: block;
    width: 100%;
    height: 180px;
    min-height: 140px;
    max-height: 180px;
    border-radius: 12px;
    overflow: hidden;
}

.ad-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ad-banner-mobile {
    display: none;
}

.home-dealer-cta {
    background: linear-gradient(135deg, #00102e 0%, #001a45 45%, #002050 100%);
    border-radius: 18px;
    padding: 0;
    border: 0;
    overflow: hidden;
    position: relative;
}

.home-dealer-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 80% at 8% 50%, rgba(59, 130, 246, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse 50% 60% at 92% 40%, rgba(37, 99, 235, 0.12) 0%, transparent 50%);
    pointer-events: none;
}

.dealer-cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 36px;
    padding: 36px 40px;
}

.dealer-cta-visual {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dealer-cta-laptop-svg {
    width: 168px;
    height: auto;
    display: block;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.35));
}

.dealer-cta-copy {
    flex: 1 1 auto;
    min-width: 0;
}

.dealer-cta-copy h2 {
    margin: 0 0 10px;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.dealer-cta-copy p {
    margin: 0;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.55;
    color: rgba(219, 234, 254, 0.88);
    max-width: 480px;
}

.dealer-cta-btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 26px;
    border-radius: 10px;
    background: #ffffff;
    color: #00102e;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.dealer-cta-btn:hover {
    background: #f8fafc;
    color: #00102e;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.home-value-cta {
    background: #0b52bf;
    border-radius: 18px;
    padding: 0;
    border: 0;
    overflow: hidden;
}

.value-cta-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 34px 40px;
}

.value-cta-copy {
    flex: 1 1 auto;
    min-width: 0;
}

.value-cta-copy h2 {
    margin: 0 0 8px;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.value-cta-copy p {
    margin: 0;
    font-size: 15px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.9);
}

.value-cta-visual {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 18px;
}

.value-cta-car-wrap {
    position: relative;
    width: 170px;
    padding: 14px 10px 10px;
}

.value-cta-car-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.value-cta-corner {
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2.5px solid #fff;
}

.value-cta-corner--tl {
    top: 0;
    left: 0;
    border-right: 0;
    border-bottom: 0;
}

.value-cta-corner--tr {
    top: 0;
    right: 0;
    border-left: 0;
    border-bottom: 0;
}

.value-cta-corner--bl {
    bottom: 0;
    left: 0;
    border-right: 0;
    border-top: 0;
}

.value-cta-corner--br {
    bottom: 0;
    right: 0;
    border-left: 0;
    border-top: 0;
}

.value-cta-euro {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    border: 2.5px dashed #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 32px;
    font-weight: 600;
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1;
}

.value-cta-btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 26px;
    border-radius: 10px;
    background: #ffffff;
    color: #0b52bf;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    transition: background 0.15s ease, transform 0.15s ease;
}

.value-cta-btn:hover {
    background: #f8fafc;
    color: #0b52bf;
    transform: translateY(-1px);
}

@media (max-width: 900px) {
    body.page-home main.container {
        padding-top: 0;
    }

    .home-hero {
        min-height: 500px;
        height: 500px;
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-bottom: 16px;
        transform: none;
        display: flex;
        flex-direction: column;
        background-size: cover;
        background-position: 85% center;
        background-color: #0b1220;
        padding: 16px 16px 0;
        box-sizing: border-box;
        overflow: visible;
        border-radius: 0 0 16px 16px;
    }

    .home-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 0 0 16px 16px;
        background: linear-gradient(180deg, rgba(8, 14, 30, 0.42) 0%, rgba(8, 14, 30, 0.06) 40%, rgba(8, 14, 30, 0.1) 100%);
        pointer-events: none;
        z-index: 1;
    }

    .hero-panel {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        min-height: 0;
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 24px;
        background: transparent;
        box-shadow: none;
        padding: 0;
        border-radius: 0;
        z-index: 2;
    }

    .hero-copy {
        max-width: 26rem;
        flex-shrink: 0;
    }

    .home-hero h1 {
        font-size: clamp(1.55rem, 5.4vw, 2rem);
        color: #ffffff;
        line-height: 1.15;
        text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
    }

    .home-hero .hero-subtitle {
        color: rgba(255, 255, 255, 0.92);
        text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
        margin-bottom: 0;
    }

    .hero-search-box {
        flex-shrink: 0;
        width: 100%;
        background: #ffffff;
        border-radius: 16px;
        padding: 16px 14px 14px;
        box-shadow: 0 16px 40px rgba(15, 23, 42, 0.2);
        margin: auto 0 -72px;
        position: relative;
        z-index: 4;
    }

    .home-style {
        margin-top: 96px;
        border: 0;
        background: transparent;
        padding: 4px 0 18px;
        border-radius: 0;
    }

    .style-arrow {
        display: none;
    }

    .style-image-link img {
        width: 148px;
        height: 110px;
    }

    .hero-mode-tabs {
        gap: 18px;
        margin-bottom: 8px;
    }

    .hero-tab-divider {
        margin-bottom: 10px;
    }

    .hero-tab {
        font-size: 16px;
    }

    .hero-search-form {
        grid-template-columns: 1fr;
    }

    .hero-search-form input,
    .hero-search-form button[type="submit"] {
        height: 42px;
        font-size: 15px;
    }

    .hero-custom-select-toggle {
        height: 42px;
        font-size: 15px;
    }

    [data-hero-panel="smart-search"] {
        grid-template-columns: 1fr;
    }

    .top-picks-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-dealer-cta {
        border-radius: 14px;
    }

    .dealer-cta-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 26px 22px;
    }

    .dealer-cta-laptop-svg {
        width: 132px;
    }

    .dealer-cta-copy h2 {
        font-size: 22px;
    }

    .dealer-cta-btn {
        width: 100%;
    }

    .value-cta-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 26px 22px;
    }

    .value-cta-copy h2 {
        font-size: 22px;
    }

    .value-cta-visual {
        align-self: center;
    }

    .value-cta-car-wrap {
        width: 150px;
    }

    .value-cta-btn {
        width: 100%;
    }

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

    .detail-side-card {
        position: static;
    }

    .detail-main-column {
        gap: 14px;
    }

    .detail-spec-grid {
        grid-template-columns: 1fr;
    }

    .detail-feature-chips {
        grid-template-columns: 1fr;
    }

    .detail-feature-sections {
        grid-template-columns: 1fr;
    }

    .detail-panel-title {
        font-size: 22px;
        line-height: 1.2;
    }

    .detail-finance-strip p {
        font-size: 14px;
    }
}

/* Sell my car / Create Ad */
.sell-ad-flow {
    max-width: 1100px;
    margin: 0 auto 48px;
}

.sell-ad-form {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sell-ad-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.sell-ad-top {
    padding: 24px 28px 8px;
    border-bottom: 1px solid #eef2f7;
}

.sell-ad-top-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.sell-ad-breadcrumb {
    margin: 0;
    font-size: 13px;
    color: #6b7280;
}

.sell-ad-breadcrumb a {
    color: #2563eb;
    text-decoration: none;
}

.sell-ad-breadcrumb a:hover {
    text-decoration: underline;
}

.sell-ad-breadcrumb-sep {
    margin: 0 6px;
    color: #9ca3af;
}

.sell-ad-breadcrumb-current {
    color: #111827;
    font-weight: 600;
}

.sell-ad-next-btn {
    border: none;
    border-radius: 8px;
    padding: 12px 22px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    background: #1e3a8a;
    color: #ffffff;
}

.sell-ad-next-btn:hover {
    background: #172554;
}

.sell-ad-page-title {
    margin: 18px 0 0;
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
}

.sell-draft-status {
    margin: 6px 0 0;
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
    min-height: 1.25em;
}

.sell-draft-status.is-saving {
    color: #2563eb;
}

.sell-draft-status.is-saved {
    color: #16a34a;
}

.sell-draft-status.is-error {
    color: #dc2626;
}

.sell-ad-preview {
    margin-top: 12px;
}

.sell-ad-meta {
    margin: 0 0 6px;
    font-size: 13px;
    color: #6b7280;
}

.sell-ad-title-preview {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    color: #111827;
}

.sell-ad-errors {
    margin: 0 28px 16px;
    padding: 12px 16px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    color: #991b1b;
    font-size: 14px;
}

.sell-ad-body {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 36px;
    padding: 28px 28px 32px;
    align-items: start;
}

.sell-ad-sidebar {
    padding-top: 8px;
}

.sell-ad-step {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.sell-ad-step-badge {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: #1e3a8a;
    color: #fff;
    font-weight: 800;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sell-ad-step-text strong {
    display: block;
    font-size: 15px;
    color: #111827;
    margin-bottom: 6px;
}

.sell-ad-step-text p {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: #6b7280;
}

.sell-ad-main {
    max-width: 520px;
}

.sell-ad-main--with-features {
    max-width: 920px;
}

.sell-ad-step--secondary {
    margin-top: 22px;
}

.sell-ad-step-badge--muted {
    background: #e5e7eb;
    color: #374151;
}

.sell-features-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
    row-gap: 28px;
}

.sell-feature-group {
    border: 1px solid #e8ecf1;
    border-radius: 14px;
    padding: 18px 18px 16px;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    margin: 0;
}

.sell-feature-group-title {
    margin: 0 0 14px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #1e293b;
    text-transform: uppercase;
}

.sell-feature-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sell-feature-check {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    margin: 0;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.sell-feature-check:hover {
    border-color: #cbd5e1;
    background: #ffffff;
}

.sell-feature-check:has(.sell-feature-input-native:checked) {
    border-color: #93c5fd;
    background: #ffffff;
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.14);
}

.sell-feature-input-native {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin: 0;
    accent-color: #1e40af;
    cursor: pointer;
}

.sell-feature-label {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    line-height: 1.3;
}

@media (max-width: 720px) {
    .sell-features-grid {
        grid-template-columns: 1fr;
        row-gap: 24px;
        column-gap: 0;
    }
}

.sell-ad-field {
    margin-bottom: 22px;
}

.sell-ad-field.is-other-active {
    margin-bottom: 10px;
}

.sell-ad-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.sell-ad-select,
.sell-ad-input,
.sell-ad-textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 15px;
    color: #111827;
    background: #fff;
}

.sell-ad-select:focus,
.sell-ad-input:focus,
.sell-ad-textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

.sell-ad-field.is-other-active .sell-ad-select {
    border-color: #2563eb;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.sell-ad-other-field {
    margin-top: -6px;
    margin-bottom: 20px;
    padding: 12px 12px 12px 14px;
    border-radius: 10px;
    border: 1px solid #dbeafe;
    background: linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
    border-left: 4px solid #2563eb;
}

.sell-ad-other-field .sell-ad-label {
    color: #1d4ed8;
    font-weight: 700;
}

.sell-ad-textarea {
    resize: vertical;
    min-height: 100px;
}

.sell-ad-file {
    font-size: 14px;
}

.sell-ad-hint {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #6b7280;
}

.sell-ad-field-error {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #b91c1c;
}

.sell-ad-price-row {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.sell-ad-price-currency {
    width: 170px;
    flex: 0 0 170px;
}

.sell-ad-price-value {
    min-width: 0;
    flex: 1 1 auto;
}

.sell-ad-phone-row {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.sell-ad-phone-code {
    width: 190px;
    flex: 0 0 190px;
}

.sell-ad-phone-value {
    min-width: 0;
    flex: 1 1 auto;
}

.sell-ad-phone-field {
    width: 100%;
}

.sell-ad-phone-field .iti {
    width: 100%;
}

.sell-ad-phone-field .iti input.sell-ad-input {
    width: 100%;
    padding-left: 52px;
}

.sell-ad-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    font-size: 14px;
    color: #334155;
}

.sell-ad-checkbox-input {
    width: 16px;
    height: 16px;
    accent-color: #1e40af;
}

@media (max-width: 640px) {
    .sell-ad-price-row {
        flex-direction: column;
        gap: 8px;
    }

    .sell-ad-price-currency {
        width: 100%;
        flex: 1 1 auto;
    }

    .sell-ad-phone-row {
        flex-direction: column;
        gap: 8px;
    }

    .sell-ad-phone-code {
        width: 100%;
        flex: 1 1 auto;
    }
}

.sell-ad-section-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 28px 0 16px;
}

.sell-ad-section-title {
    margin: 0 0 16px;
    font-size: 14px;
    font-weight: 700;
    color: #374151;
}

.sell-ad-footer-actions {
    margin-top: 28px;
    padding-bottom: 8px;
}

.sell-ad-submit-primary {
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    background: #1e3a8a;
    color: #ffffff;
}

.sell-ad-submit-primary:hover {
    background: #172554;
}

.rent-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

.rent-form-actions .dash-btn-secondary,
.rent-form-actions .sell-ad-submit-primary {
    margin: 0;
}

.rent-optional-fields {
    margin-top: 4px;
}

.rent-optional-add-row {
    margin-bottom: 12px;
}

.rent-optional-add-btn {
    border: 1px dashed #93c5fd;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    background: #f8fbff;
    color: #1e40af;
    width: 100%;
    text-align: left;
}

.rent-optional-add-btn:hover {
    background: #eff6ff;
    border-color: #60a5fa;
}

.rent-optional-field-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}

.rent-optional-field-head .sell-ad-label {
    margin: 0;
}

.rent-optional-remove-btn {
    border: none;
    background: none;
    color: #b91c1c;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}

.rent-optional-remove-btn:hover {
    color: #991b1b;
    text-decoration: underline;
}

.rent-unit-row {
    display: flex;
    align-items: stretch;
    max-width: 420px;
}

.rent-unit-prefix,
.rent-unit-suffix {
    display: flex;
    align-items: center;
    padding: 0 12px;
    font-size: 15px;
    background: #f9fafb;
    border: 1px solid #d1d5db;
    white-space: nowrap;
}

.rent-unit-prefix {
    border-radius: 6px 0 0 6px;
    border-right: none;
    font-weight: 600;
    color: #374151;
}

.rent-unit-suffix {
    border-radius: 0 6px 6px 0;
    border-left: none;
    font-weight: 500;
    color: #6b7280;
}

.rent-unit-value {
    flex: 1 1 auto;
    min-width: 0;
}

.rent-unit-value .sell-ad-input {
    border-radius: 0;
    border-left: none;
    border-right: none;
}

.rent-unit-value:first-child .sell-ad-input {
    border-radius: 6px 0 0 6px;
    border-left: 1px solid #d1d5db;
}

.rent-unit-row:not(:has(.rent-unit-suffix)) .rent-unit-value .sell-ad-input {
    border-radius: 0 6px 6px 0;
    border-right: 1px solid #d1d5db;
}

.rent-unit-row:focus-within .rent-unit-prefix,
.rent-unit-row:focus-within .rent-unit-suffix,
.rent-unit-row:focus-within .sell-ad-input {
    border-color: #2563eb;
}

.sell-ad-main .hero-custom-select-search {
    background: #ffffff;
    color: #0f172a;
    border-bottom: 1px solid #e5e7eb;
}

.sell-ad-main .hero-custom-select-search::placeholder {
    color: #94a3b8;
}

.sell-ad-main .hero-custom-select-search:focus {
    background: #f8fafc;
}

@media (max-width: 768px) {
    .sell-ad-body {
        grid-template-columns: 1fr;
    }

    .sell-ad-sidebar {
        padding-top: 0;
    }
}

/* Sell — Section 3 (photos & video) */
.sell-ad-body--media {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 36px;
    padding: 28px 28px 32px;
    align-items: start;
}

.sell-media-step-head {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 18px;
}

.sell-media-step-num {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: #1e40af;
    color: #fff;
    font-weight: 800;
    font-size: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sell-media-step-copy strong {
    display: block;
    font-size: 15px;
    color: #111827;
    margin-bottom: 6px;
}

.sell-media-step-copy p {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: #6b7280;
}

/* Plain sidebar sections (no “recommended angles” block): avoid extra gap under step chip */
.sell-ad-sidebar:not(.sell-media-sidebar) > .sell-media-step-head {
    margin-bottom: 0;
}

.sell-media-examples {
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    padding: 12px 14px;
    background: #ffffff;
}

.sell-media-examples-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 10px;
}

.sell-media-info-dot {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #dbeafe;
    color: #1e40af;
    font-size: 11px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sell-media-examples-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.sell-media-example-item {
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    padding: 10px 6px;
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    background: #fff;
}

.sell-media-main {
    max-width: 720px;
}

.sell-media-panel-title {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
}

.sell-media-errors {
    margin: 0 0 12px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #fecaca;
    background: #fff1f2;
    color: #991b1b;
}

.sell-media-errors strong {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
}

.sell-media-errors p {
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
}

.sell-media-errors p + p {
    margin-top: 4px;
}

.sell-ad-card--media-error {
    border: 2px solid #ef4444;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.14);
}

.sell-media-optional {
    font-weight: 600;
    font-size: 14px;
    color: #64748b;
}

.sell-media-upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    border-radius: 10px;
    padding: 11px 18px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    background: #dbeafe;
    color: #1e3a8a;
    margin-bottom: 12px;
}

.sell-media-upload-btn:hover {
    background: #bfdbfe;
}

.sell-media-upload-btn--secondary {
    background: #eff6ff;
}

.sell-media-upload-icon {
    font-size: 20px;
    line-height: 1;
}

.sell-media-status {
    margin: 0 0 8px;
    font-size: 14px;
    color: #374151;
}

.sell-media-status-meta {
    font-size: 13px;
    font-weight: 400;
    color: #6b7280;
}

.sell-media-tip {
    margin: 0 0 16px;
    font-size: 13px;
    color: #6b7280;
}

.sell-media-panel--video {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid #eef2f7;
}

.sell-media-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.sell-media-tile {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    aspect-ratio: 4 / 3;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.sell-media-tile--cover {
    border: 2px solid #2563eb;
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.15), 0 2px 8px rgba(37, 99, 235, 0.12);
}

.sell-media-tile.is-dragging {
    opacity: 0.65;
}

.sell-media-cover-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #2563eb;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.sell-media-cover-badge__star {
    font-size: 12px;
    line-height: 1;
    color: #fff;
}

.sell-media-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sell-media-tile-actions {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    gap: 6px;
    padding: 8px;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.75), transparent);
}

.sell-media-tile-btn {
    flex: 1;
    border: none;
    border-radius: 8px;
    padding: 6px 8px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.95);
    color: #1e40af;
}

.sell-media-tile-btn--danger {
    color: #b91c1c;
}

.sell-media-video-preview {
    margin-top: 12px;
}

.sell-media-video-preview video {
    width: 100%;
    max-height: 280px;
    border-radius: 12px;
    background: #000;
}

.sell-media-remove-video {
    margin-top: 10px;
    border: 1px solid #fecaca;
    background: #fef2f2;
    color: #991b1b;
    border-radius: 8px;
    padding: 8px 14px;
    font-weight: 600;
    cursor: pointer;
}

.detail-video-wrap {
    margin-top: 16px;
}

.detail-video {
    width: 100%;
    max-height: 360px;
    border-radius: 12px;
    background: #000;
}

.detail-specs-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 20px 18px;
}

.detail-section-title {
    margin: 0 0 12px;
    font-size: 19px;
    color: #111827;
}

.detail-spec-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 34px;
}

.detail-spec-grid p {
    margin: 0;
    color: #1f2937;
}

.detail-feature-chips {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 24px;
}

.detail-feature-sections {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.detail-feature-group-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px;
}

.detail-feature-group-title {
    margin: 0 0 10px;
    font-size: 16px;
    color: #111827;
}

.detail-feature-chips li {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    background: #fff;
}

.detail-feature-icon {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 24px;
}

.detail-description-text {
    margin: 0;
    line-height: 1.6;
    color: #1f2937;
    white-space: pre-line; /* keep line breaks from the listing form / textarea */
}

.similar-cars-section {
    margin-top: 16px;
}

.similar-cars-carousel {
    display: flex;
    align-items: center;
    gap: 8px;
}

.similar-cars-carousel .thumb-arrow {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.similar-cars-track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    flex: 1;
    min-width: 0;
    /* Top padding so straddling promo badges are not clipped */
    padding: 14px 2px 8px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
}

.similar-cars-track .listing-card-wrap {
    flex: 0 0 auto;
    width: clamp(210px, 23vw, 260px);
    scroll-snap-align: start;
}

.similar-cars-track::-webkit-scrollbar {
    display: none;
}

.similar-cars-track .listing-card-image-wrap--browse {
    height: 150px;
}

.similar-cars-track .listing-card-body--browse {
    padding: 10px 12px 12px;
}

@media (max-width: 768px) {
    .similar-cars-track .listing-card-wrap {
        width: clamp(220px, 72vw, 300px);
    }
}

/* Sell — Section 4 (description) */
.sell-ad-body--description {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 36px;
    padding: 28px 28px 32px;
    align-items: start;
}

.sell-desc-main {
    max-width: 720px;
}

.sell-desc-generate-btn {
    width: 100%;
    box-sizing: border-box;
    border: none;
    border-radius: 8px;
    padding: 12px 18px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    background: #dbeafe;
    color: #1e3a8a;
    margin-bottom: 16px;
}

.sell-desc-generate-btn:hover {
    background: #bfdbfe;
    color: #172554;
}

.sell-desc-field {
    margin: 0;
}

.sell-desc-textarea {
    min-height: 200px;
}

.sell-desc-counter {
    margin: 8px 0 0;
    font-size: 13px;
    color: #6b7280;
}

.sell-desc-actions {
    margin-top: 18px;
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 768px) {
    .sell-ad-body--media {
        grid-template-columns: 1fr;
    }

    .sell-ad-body--description {
        grid-template-columns: 1fr;
    }

    .sell-media-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .sell-media-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================================================================
   DASHBOARD
   ===================================================================== */

/* Wider page wrapper just for the dashboard */
body.dashboard-page {
    background: #F5F6F8;
}

body.dashboard-page main.container {
    max-width: 1360px;
    width: calc(100% - 32px);
    margin: 0 auto;
    padding: 24px 0 48px;
}

body:has([data-msg-inbox-page]),
body:has(.msg-page--thread) {
    overflow: hidden;
}

html:has(.msg-page--thread),
body:has(.msg-page--thread) {
    height: 100dvh;
    overscroll-behavior: none;
}

body:has([data-msg-inbox-page]) main.container,
body:has(.msg-page--thread) main.container {
    padding-bottom: 16px;
}

body.dashboard-page:has(.msg-page--thread) main.container {
    display: flex;
    flex-direction: column;
    height: calc(100dvh - var(--zulu-header-height));
    max-height: calc(100dvh - var(--zulu-header-height));
    padding-top: 16px;
    padding-bottom: 16px;
    overflow: hidden;
    box-sizing: border-box;
}

body.dashboard-page:has(.msg-page--thread) .dashboard-layout {
    flex: 1 1 0%;
    min-height: 0;
    height: 100%;
    align-items: stretch;
}

body:has(.msg-page--thread) .dashboard-main {
    gap: 0;
    min-height: 0;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.dashboard-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) 320px;
    gap: 20px;
    align-items: start;
}

.dashboard-layout.dashboard-layout--two-col {
    grid-template-columns: 220px minmax(0, 1fr);
}

.dash-empty {
    color: #6B7280;
    font-size: 14px;
    text-align: center;
    padding: 48px 20px;
}

.dash-empty p { margin: 0; }
.dash-empty a { color: var(--zulu-brand-blue); text-decoration: none; }
.dash-empty a:hover { text-decoration: underline; }

/* =====================================================================
   HELP CENTER
   ===================================================================== */
.help-page { min-width: 0; }

.help-search-wrap {
    position: relative;
    margin: 18px 0 12px;
}

.help-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    width: 18px;
    height: 18px;
    color: #94a3b8;
    transform: translateY(-50%);
    pointer-events: none;
}

.help-search-icon svg { width: 18px; height: 18px; display: block; }

.help-search-input {
    width: 100%;
    height: 46px;
    padding: 0 16px 0 42px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    font-size: 15px;
    color: #0f172a;
    outline: none;
}

.help-search-input:focus {
    border-color: #93c5fd;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.help-search-empty {
    margin: 0 0 8px;
    font-size: 14px;
    color: #64748b;
}

.help-jump {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 22px;
}

.help-jump a {
    display: inline-flex;
    align-items: center;
    height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.help-jump a:hover {
    border-color: #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
}

.help-quick-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 20px;
    scroll-margin-top: 88px;
}

.help-quick-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
    min-height: 132px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.help-quick-card:hover {
    border-color: #93c5fd;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.08);
}

.help-quick-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #eff6ff;
    color: #2563eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.help-quick-icon svg { width: 18px; height: 18px; }

.help-quick-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
}

.help-quick-text {
    font-size: 13px;
    line-height: 1.45;
    color: #64748b;
}

.help-article { scroll-margin-top: 88px; }
.help-article a { color: #2563eb; text-decoration: none; }
.help-article a:hover { text-decoration: underline; }

.help-lead {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.55;
    color: #475569;
}

.help-tips {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.help-tips li {
    padding: 12px 14px 12px 16px;
    border: 1px solid #eef2f7;
    border-radius: 12px;
    background: #f8fafc;
    font-size: 14px;
    line-height: 1.5;
    color: #334155;
}

.help-tips strong { color: #0f172a; display: block; margin-bottom: 2px; }

.help-steps {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 14px;
}

.help-steps li {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    font-size: 14px;
    line-height: 1.5;
    color: #334155;
}

.help-steps span {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: #2563eb;
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.help-steps strong { display: block; color: #0f172a; margin-bottom: 2px; }

.help-split {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.help-split h3 {
    margin: 0 0 6px;
    font-size: 15px;
    color: #0f172a;
}

.help-split p,
.help-note,
.help-bullets {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #475569;
}

.help-split > div {
    padding: 14px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #eef2f7;
}

.help-note { margin-top: 14px; }

.help-bullets {
    padding-left: 18px;
    display: grid;
    gap: 8px;
}

.help-faq details {
    border-top: 1px solid #eef2f7;
    padding: 12px 0;
}

.help-faq details:first-child { border-top: 0; padding-top: 0; }

.help-faq summary {
    cursor: pointer;
    font-weight: 600;
    color: #0f172a;
    font-size: 14px;
    list-style: none;
}

.help-faq summary::-webkit-details-marker { display: none; }

.help-faq summary::after {
    content: "+";
    float: right;
    color: #2563eb;
    font-weight: 700;
}

.help-faq details[open] summary::after { content: "–"; }

.help-faq p {
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 1.5;
    color: #475569;
}

.help-support-banner {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 22px;
    border-radius: 14px;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    color: #fff;
}

.help-support-banner h2 {
    margin: 0 0 4px;
    font-size: 18px;
    color: #fff;
}

.help-support-banner p {
    margin: 0;
    font-size: 14px;
    color: #cbd5e1;
}

.help-support-banner .dash-btn-primary {
    flex-shrink: 0;
    background: #fff;
    color: #1d4ed8;
    box-shadow: none;
}

/* =====================================================================
   PROFILE PAGE
   ===================================================================== */

/* Hero card */
.profile-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.profile-hero-left {
    display: flex;
    align-items: center;
    gap: 18px;
}

.profile-photo-form {
    margin: 0;
}

.profile-photo-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.profile-photo {
    position: relative;
    display: inline-block;
    cursor: pointer;
    line-height: 0;
}

.profile-photo {
    background: transparent;
    border: none;
    padding: 0;
}

.profile-photo:hover .profile-photo-edit {
    background: #2563EB;
    color: #ffffff;
    border-color: #2563EB;
}

/* Profile photo modal */
.profile-photo-modal[hidden] {
    display: none;
}

.profile-photo-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.profile-photo-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(2px);
}

.profile-photo-modal-card {
    position: relative;
    background: #FFFFFF;
    border-radius: 16px;
    padding: 24px;
    max-width: 460px;
    width: 100%;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
    text-align: center;
    animation: profilePhotoModalIn 0.18s ease-out;
}

@keyframes profilePhotoModalIn {
    from { opacity: 0; transform: translateY(8px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.profile-photo-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #F1F5F9;
    color: #475569;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.profile-photo-modal-close:hover {
    background: #E2E8F0;
    color: #0F172A;
}

.profile-photo-modal-img {
    display: block;
    max-width: 100%;
    max-height: 60vh;
    width: auto;
    height: auto;
    margin: 0 auto;
    border-radius: 12px;
    object-fit: contain;
    background: #F8FAFC;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.12);
}

.profile-photo-modal-actions {
    margin-top: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
}

.profile-photo-modal-actions .dash-btn-primary,
.profile-photo-modal-actions .profile-btn-danger {
    width: 100%;
    justify-content: center;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.profile-photo-modal-actions .profile-btn-danger svg,
.profile-photo-modal-actions .dash-btn-primary svg {
    width: 16px;
    height: 16px;
}

.profile-photo-remove-form {
    margin: 0;
}

body.is-modal-open {
    overflow: hidden;
}

.profile-photo-img {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 2px solid #FFFFFF;
    box-shadow: 0 0 0 1px #E5E7EB;
}

.profile-photo-circle {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563EB, #6366F1);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
}

.profile-photo-edit {
    position: absolute;
    right: -4px;
    bottom: -4px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #FFFFFF;
    color: #2563EB;
    border: 1px solid #E5E7EB;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.profile-photo-edit:hover {
    background: #F8FAFC;
}

.profile-photo-edit svg {
    width: 14px;
    height: 14px;
}

.profile-hero-name {
    font-size: 20px;
    font-weight: 800;
    color: #0F172A;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.profile-hero-meta {
    color: #475569;
    font-size: 13px;
    margin-top: 4px;
}

.profile-hero-meta--muted {
    color: #94A3B8;
    font-size: 12px;
}

.profile-account-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: #E0EBFF;
    color: #2563EB;
    border-radius: 999px;
    font-weight: 700;
    font-size: 13px;
}

.profile-account-pill svg {
    width: 16px;
    height: 16px;
}

/* Forms */
.profile-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.profile-name-pair {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
    min-width: 0;
}

.profile-name-pair .profile-field {
    margin: 0;
}

.profile-form-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.profile-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.profile-field label {
    color: #334155;
    font-size: 13px;
    font-weight: 600;
}

.profile-field input,
.profile-field select {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    background: #FFFFFF;
    color: #0F172A;
    font-size: 14px;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.profile-field input:focus,
.profile-field select:focus {
    outline: none;
    border-color: #2563EB;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.profile-field input::placeholder {
    color: #94A3B8;
}

.profile-field .iti {
    width: 100%;
}

.profile-field .iti input {
    width: 100%;
    padding-left: 52px;
}

.profile-phone-row {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 8px;
}

.profile-phone-cc {
    width: 100%;
}

/* Fieldsets */
.profile-fieldset {
    margin-top: 18px;
    padding: 0;
    border: none;
}

.profile-fieldset legend {
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
    padding: 0;
}

.profile-radio-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.profile-radio-row--account-types {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.profile-radio-row--account-types .profile-radio {
    align-items: flex-start;
}

.profile-radio {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.profile-radio:hover {
    background: #F8FAFC;
}

.profile-radio input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.profile-radio-mark {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #CBD5E1;
    flex-shrink: 0;
    position: relative;
    background: #FFFFFF;
    transition: border-color 0.15s ease;
}

.profile-radio input:checked ~ .profile-radio-mark {
    border-color: #2563EB;
}

.profile-radio input:checked ~ .profile-radio-mark::after {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: #2563EB;
}

.profile-radio:has(input:checked) {
    border-color: #2563EB;
    background: #EFF6FF;
}

.profile-radio-title {
    display: block;
    font-weight: 700;
    color: #0F172A;
    font-size: 14px;
}

.profile-radio-sub {
    display: block;
    color: #6B7280;
    font-size: 12px;
    margin-top: 2px;
}

.profile-radio--compact {
    padding: 10px 14px;
}

.profile-radio--compact .profile-radio-title {
    font-size: 13px;
    font-weight: 600;
}

/* Toggle switch */
.profile-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0 18px;
    border-bottom: 1px solid #F1F5F9;
    margin-bottom: 18px;
}

.profile-toggle-title {
    font-weight: 700;
    color: #0F172A;
    font-size: 14px;
}

.profile-toggle-sub {
    color: #6B7280;
    font-size: 12px;
    margin-top: 2px;
}

.profile-switch {
    position: relative;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.profile-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.profile-switch-slider {
    position: absolute;
    inset: 0;
    background: #CBD5E1;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.profile-switch-slider::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background: #FFFFFF;
    border-radius: 50%;
    transition: transform 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.profile-switch input:checked + .profile-switch-slider {
    background: #2563EB;
}

.profile-switch input:checked + .profile-switch-slider::before {
    transform: translateX(20px);
}

/* Form actions */
.profile-form-actions {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
}

/* Danger zone */
.profile-danger {
    border-color: #FECACA;
    background: #FFF7F7;
}

.profile-danger-title {
    color: #B91C1C;
}

.profile-danger-title svg {
    color: #DC2626;
}

.profile-danger-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.profile-danger-heading {
    font-weight: 700;
    color: #991B1B;
    font-size: 14px;
}

.profile-danger-text {
    margin: 4px 0 0;
    color: #7F1D1D;
    font-size: 13px;
    max-width: 540px;
}

.profile-btn-danger {
    background: #DC2626;
    color: #FFFFFF;
    border: none;
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.profile-btn-danger:hover {
    background: #B91C1C;
}

.profile-btn-danger:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.profile-danger-note {
    margin: 10px 0 0;
    padding: 10px 12px;
    border-radius: 8px;
    background: #FFF7ED;
    border: 1px solid #FED7AA;
    color: #9A3412;
    font-size: 13px;
    line-height: 1.45;
    max-width: 540px;
}

.profile-deactivate-blockers {
    margin-top: 12px;
    max-width: 540px;
}

.profile-deactivate-blockers-title {
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 700;
    color: #991B1B;
}

.profile-deactivate-blockers ul {
    margin: 0;
    padding-left: 18px;
}

.profile-deactivate-blockers li {
    margin: 0 0 6px;
    color: #7F1D1D;
    font-size: 13px;
}

.profile-deactivate-blockers li span {
    display: block;
    color: #9F1239;
    font-weight: 400;
}

body.account-modal-open {
    overflow: hidden;
}

.account-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.account-modal[hidden] {
    display: none !important;
}

.account-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
}

.account-modal-card {
    position: relative;
    width: min(440px, 100%);
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.2);
}

.account-modal-card h3 {
    margin: 0 0 8px;
    font-size: 1.25rem;
    color: #111827;
}

.account-modal-lead {
    margin: 0 0 16px;
    color: #4B5563;
    font-size: 0.95rem;
    line-height: 1.5;
}

.account-modal-label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
}

.account-modal-input {
    width: 100%;
    min-height: 44px;
    border: 1px solid #D1D5DB;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 0.95rem;
}

.account-modal-input:focus {
    outline: none;
    border-color: #2563EB;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.account-modal-error {
    margin: 8px 0 0;
    color: #DC2626;
    font-size: 0.875rem;
}

.account-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.auth-register-layout--single {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
}

.auth-reactivate-card {
    width: 100%;
}

.auth-reactivate-lead {
    margin: 0 0 16px;
    color: #4B5563;
    line-height: 1.5;
}

.auth-reactivate-points {
    margin: 0 0 24px;
    padding-left: 20px;
    color: #4b5563;
    line-height: 1.65;
    font-size: 15px;
}

.auth-reactivate-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.auth-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 12px;
    border: 1px solid #D1D5DB;
    background: #fff;
    color: #111827;
    text-decoration: none;
    font-weight: 600;
}

.auth-btn-secondary:hover {
    background: #F9FAFB;
}

/* Responsive */
@media (max-width: 720px) {
    .profile-form-grid,
    .profile-form-grid--three,
    .profile-radio-row {
        grid-template-columns: 1fr;
    }

    .profile-radio-row--account-types {
        grid-template-columns: 1fr;
    }

    .profile-name-pair {
        grid-template-columns: 1fr;
    }
    .profile-hero {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Public seller / dealer storefront */
.seller-profile-page {
    padding: 28px 0 56px;
    display: grid;
    gap: 28px;
}

.seller-profile-card {
    position: relative;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    padding: 22px 24px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.seller-profile-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: #2563EB;
    border-radius: 14px 0 0 14px;
}

.seller-profile-identity {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.seller-profile-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid #FFFFFF;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1);
}

.seller-profile-avatar--initial {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2563EB;
    color: #FFFFFF;
    font-size: 32px;
    font-weight: 700;
}

.seller-profile-info {
    min-width: 0;
    flex: 1;
}

.seller-profile-name-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.seller-profile-name {
    margin: 0;
    font-size: 1.65rem;
    font-weight: 800;
    color: #0F172A;
    line-height: 1.2;
}

.seller-profile-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    background: #DBEAFE;
    color: #1D4ED8;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}

.seller-profile-meta {
    margin: 0;
    color: #374151;
    font-size: 14px;
}

.seller-profile-meta--muted {
    color: #6B7280;
    font-size: 13px;
}

.seller-profile-details {
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.seller-profile-details li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6B7280;
    font-size: 14px;
}

.seller-profile-details svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: #2563EB;
}

.seller-profile-details a {
    color: #2563EB;
    text-decoration: none;
}

.seller-profile-details a:hover {
    text-decoration: underline;
}

.seller-profile-desc {
    margin: 18px 0 0;
    color: #111827;
    line-height: 1.55;
    font-size: 0.95rem;
}

.seller-profile-listings-head {
    margin-bottom: 16px;
}

.seller-profile-listings-head h2 {
    margin: 0 0 4px;
    padding-left: 12px;
    border-left: 3px solid #2563EB;
    font-size: 1.15rem;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.2;
}

.seller-profile-listings-head p {
    margin: 0;
    padding-left: 15px;
    color: #6B7280;
    font-size: 14px;
}

.seller-profile-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    padding: 48px 20px;
    color: #6B7280;
    background: #F8FAFC;
    border: 1px dashed #E5E7EB;
    border-radius: 14px;
}

.seller-profile-empty svg {
    width: 36px;
    height: 36px;
    color: #2563EB;
    opacity: 0.85;
}

.seller-profile-empty p {
    margin: 0;
    font-size: 14px;
}

.seller-profile-hours-card {
    max-width: 460px;
    margin-top: 8px;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
    overflow: hidden;
}

.seller-profile-hours-head {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    border-bottom: 1px solid #EEF2F7;
    background: #F8FAFC;
}

.seller-profile-hours-title {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.02rem;
    font-weight: 700;
    color: #0F172A;
}

.seller-profile-hours-title svg {
    width: 18px;
    height: 18px;
    color: #2563EB;
    flex-shrink: 0;
}

.seller-profile-hours-list {
    list-style: none;
    margin: 0;
    padding: 6px 0;
    background: #fff;
}

.seller-profile-hours-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 11px 18px;
    border-bottom: 1px solid #F3F4F6;
    font-size: 0.9rem;
    color: #374151;
}

.seller-profile-hours-list li:last-child {
    border-bottom: 0;
}

.seller-profile-hours-list li.is-today {
    background: #EFF6FF;
}

.seller-profile-hours-day {
    font-weight: 600;
    color: #0F172A;
}

.seller-profile-hours-right {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.seller-profile-hours-time {
    color: #374151;
    font-variant-numeric: tabular-nums;
}

.seller-profile-hours-open {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    background: #DCFCE7;
    color: #15803D;
    font-weight: 700;
    font-size: 0.75rem;
}

.seller-profile-hours-closed {
    color: #9CA3AF;
    font-weight: 500;
}

@media (max-width: 640px) {
    .seller-profile-identity {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .seller-profile-name-row {
        justify-content: center;
    }

    .seller-profile-details li {
        justify-content: center;
    }

    .seller-profile-listings-head h2,
    .seller-profile-listings-head p {
        padding-left: 0;
        border-left: 0;
    }

    .seller-profile-hours-card {
        max-width: none;
    }
}

.dealer-hours-card {
    margin-top: 22px;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}

.dealer-hours-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid #EEF2F7;
}

.dealer-hours-card-title {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.98rem;
    font-weight: 700;
    color: #111827;
}

.dealer-hours-card-title svg {
    width: 18px;
    height: 18px;
    color: #4B5563;
}

.dealer-hours-apply {
    border: 0;
    background: none;
    padding: 0;
    color: #2563EB;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
}

.dealer-hours-apply:hover {
    text-decoration: underline;
}

.dealer-hours-table-head,
.dealer-hours-table-row {
    display: grid;
    grid-template-columns: 120px 140px 1fr 1fr;
    gap: 12px;
    align-items: center;
    padding: 12px 16px;
}

.dealer-hours-table-head {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #6B7280;
    background: #F9FAFB;
    border-bottom: 1px solid #EEF2F7;
}

.dealer-hours-table-row {
    border-bottom: 1px solid #F3F4F6;
}

.dealer-hours-table-row:last-child {
    border-bottom: 0;
}

.dealer-hours-day {
    font-size: 0.92rem;
    font-weight: 600;
    color: #111827;
}

.dealer-hours-switch {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.dealer-hours-switch input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.dealer-hours-switch-ui {
    position: relative;
    width: 42px;
    height: 24px;
    border-radius: 999px;
    background: #D1D5DB;
    transition: background 0.15s ease;
    flex-shrink: 0;
}

.dealer-hours-switch-ui::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    transition: transform 0.15s ease;
}

.dealer-hours-switch input:checked + .dealer-hours-switch-ui {
    background: #2563EB;
}

.dealer-hours-switch input:checked + .dealer-hours-switch-ui::after {
    transform: translateX(18px);
}

.dealer-hours-switch-label {
    font-size: 0.85rem;
    color: #4B5563;
    min-width: 52px;
}

.dealer-hours-times {
    display: contents;
}

.dealer-hours-select {
    width: 100%;
    min-height: 40px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    padding: 8px 10px;
    background: #fff;
    color: #111827;
    font-size: 0.9rem;
}

.dealer-hours-closed-label {
    display: none;
    grid-column: 3 / 5;
    color: #9CA3AF;
    font-size: 0.9rem;
}

.dealer-hours-table-row.is-closed .dealer-hours-select {
    display: none;
}

.dealer-hours-table-row.is-closed .dealer-hours-closed-label {
    display: block;
}

@media (max-width: 720px) {
    .dealer-hours-card-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .dealer-hours-table-head {
        display: none;
    }

    .dealer-hours-table-row {
        grid-template-columns: 1fr auto;
        gap: 10px;
    }

    .dealer-hours-times {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        grid-column: 1 / -1;
    }

    .dealer-hours-closed-label {
        grid-column: 1 / -1;
    }
}

/* ---------- Cards (shared) ---------- */
.dash-card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    padding: 18px 20px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.dash-card + .dash-card {
    margin-top: 20px;
}

.dash-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    gap: 12px;
}

.dash-card-title {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #0F172A;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.dash-card-title svg {
    width: 18px;
    height: 18px;
    color: #475569;
}

.dash-card-link {
    font-size: 13px;
    color: #2563EB;
    text-decoration: none;
    font-weight: 600;
}

.dash-card-link:hover { text-decoration: underline; }

.dash-section-title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #0F172A;
}

/* ---------- Left sidebar ---------- */
.dashboard-sidebar {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    padding: 14px 12px;
    position: sticky;
    top: 24px;
    align-self: start;
}

.dash-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dash-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    color: #4B5563;
    font-size: 14px;
    font-weight: 500;
    position: relative;
}

.dash-nav-link:hover {
    background: #F3F4F6;
    color: #111827;
}

.dash-nav-link.is-active {
    background: #E8F0FF;
    color: #2563EB;
    font-weight: 700;
}

.dash-nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: inherit;
}

.dash-nav-icon svg {
    width: 18px;
    height: 18px;
}

.dash-nav-badge {
    margin-left: auto;
    background: #2563EB;
    color: #fff;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.dash-nav-badge[hidden],
.dash-nav-badge:empty {
    display: none;
}

.dash-nav-divider {
    height: 1px;
    background: #E5E7EB;
    margin: 14px 6px;
}

.dash-nav-secondary .dash-nav-link {
    color: #6B7280;
}

/* ---------- Main column ---------- */
.dashboard-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Welcome row */
.dash-welcome {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.dash-welcome-title {
    margin: 0 0 4px;
    font-size: 26px;
    font-weight: 800;
    color: #0F172A;
    line-height: 1.2;
}

.dash-wave {
    display: inline-block;
    margin-left: 4px;
}

.dash-welcome-sub {
    margin: 0;
    color: #6B7280;
    font-size: 14px;
}

.dash-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #2563EB;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(37, 99, 235, 0.25);
    white-space: nowrap;
}

.dash-btn-primary:hover {
    background: #1D4ED8;
}

.dash-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FFFFFF;
    color: #374151;
    border: 1px solid #E5E7EB;
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

.dash-btn-secondary:hover {
    background: #F9FAFB;
    border-color: #D1D5DB;
    color: #111827;
}

.dash-btn-plus {
    font-size: 16px;
    line-height: 1;
    font-weight: 700;
}

/* Stat cards */
.dash-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.dash-stat {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    padding: 16px 18px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
    position: relative;
}

.dash-stat-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.dash-stat-icon svg {
    width: 20px;
    height: 20px;
}

.dash-stat--blue   .dash-stat-icon { background: #E0EBFF; color: #2563EB; }
.dash-stat--green  .dash-stat-icon { background: #DCFCE7; color: #16A34A; }
.dash-stat--purple .dash-stat-icon { background: #EDE9FE; color: #7C3AED; }
.dash-stat--orange .dash-stat-icon { background: #FFEDD5; color: #F97316; }

.dash-stat-label {
    color: #6B7280;
    font-size: 13px;
    font-weight: 500;
}

.dash-stat-value {
    font-size: 26px;
    font-weight: 800;
    color: #0F172A;
    line-height: 1.1;
    margin-top: 4px;
}

.dash-stat-delta {
    margin-top: 8px;
    font-size: 12px;
    font-weight: 600;
}

.dash-stat-delta.is-up   { color: #16A34A; }
.dash-stat-delta.is-down { color: #DC2626; }
.dash-stat-delta.is-flat { color: #6B7280; }

/* Views & Clicks analytics */
.dash-analytics-page {
    max-width: 1100px;
}

.dash-analytics-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px 24px;
    margin-bottom: 22px;
}

.dash-analytics-range-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dash-analytics-range-label {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
}

.dash-analytics-range-select {
    min-width: 160px;
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
}

.dash-analytics-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.dash-analytics-metric {
    display: flex;
    gap: 12px;
    padding: 16px 16px 14px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.dash-analytics-metric-icon {
    flex: 0 0 44px;
    height: 44px;
    border-radius: 12px;
    background: #eff6ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dash-analytics-metric-icon svg {
    width: 22px;
    height: 22px;
}

.dash-analytics-metric-icon--wa {
    background: #dcfce7;
    color: #16a34a;
}

.dash-analytics-metric-body {
    min-width: 0;
}

.dash-analytics-metric-label {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 4px;
}

.dash-analytics-metric-value {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
    line-height: 1.2;
}

.dash-analytics-metric-foot {
    margin-top: 6px;
    font-size: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 8px;
    align-items: center;
}

.dash-analytics-pct.is-up {
    color: #16a34a;
    font-weight: 700;
}

.dash-analytics-pct.is-down {
    color: #dc2626;
    font-weight: 700;
}

.dash-analytics-vs {
    color: #94a3b8;
    font-weight: 500;
}

.dash-analytics-split {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
    gap: 18px;
    align-items: start;
    margin-bottom: 22px;
}

.dash-analytics-card-head {
    align-items: center;
}

.dash-analytics-table-wrap {
    overflow-x: auto;
}

.dash-analytics-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.dash-analytics-table th {
    text-align: left;
    padding: 10px 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    border-bottom: 1px solid #e5e7eb;
    white-space: nowrap;
}

.dash-analytics-table td {
    padding: 12px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
    color: #334155;
}

.dash-analytics-table tbody tr:last-child td {
    border-bottom: none;
}

.dash-analytics-listing-cell {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    min-width: 200px;
}

.dash-analytics-listing-cell:hover .dash-analytics-listing-title {
    color: #2563eb;
}

.dash-analytics-thumb {
    width: 56px;
    height: 42px;
    object-fit: cover;
    border-radius: 8px;
    background: #f1f5f9;
    flex-shrink: 0;
}

.dash-analytics-thumb--empty {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #94a3b8;
}

.dash-analytics-listing-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.dash-analytics-listing-title {
    font-weight: 700;
    color: #0f172a;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dash-analytics-listing-sub {
    font-size: 12px;
    color: #64748b;
}

.dash-analytics-ctr {
    font-weight: 700;
    color: #0f172a;
}

.dash-analytics-empty {
    padding: 20px 16px 8px;
    color: #64748b;
    font-size: 14px;
    margin: 0;
}

.dash-home-empty {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 16px 12px;
}

.dash-subscription-plans-card {
    overflow: visible;
}

.dash-plan-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    padding: 4px 4px 8px;
}

.dash-plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 22px 18px 18px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.dash-plan-card.is-popular {
    border: 2px solid #2563eb;
    box-shadow: 0 8px 22px rgba(37, 99, 235, 0.12);
}

.dash-plan-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 4px 10px;
    border-radius: 999px;
    background: #2563eb;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    white-space: nowrap;
}

.dash-plan-name {
    margin: 8px 0 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
}

.dash-plan-price {
    margin: 0;
    font-size: 14px;
    color: #64748b;
}

.dash-plan-price span {
    font-size: 1.75rem;
    font-weight: 800;
    color: #2563eb;
    letter-spacing: -0.02em;
}

.dash-plan-tagline,
.dash-plan-limit {
    margin: 0;
    font-size: 13px;
    color: #64748b;
}

.dash-plan-limit {
    font-weight: 600;
    color: #334155;
}

.dash-plan-features {
    list-style: none;
    margin: 8px 0 14px;
    padding: 0;
    flex: 1;
}

.dash-plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 13px;
    color: #334155;
    line-height: 1.35;
}

.dash-plan-features svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    margin-top: 1px;
    color: #2563eb;
}

.dash-plan-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid #2563eb;
    color: #2563eb;
    background: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
}

.dash-plan-cta:hover {
    background: #eff6ff;
}

.dash-plan-cta.is-primary {
    background: #2563eb;
    color: #ffffff;
    box-shadow: 0 1px 2px rgba(37, 99, 235, 0.25);
}

.dash-plan-cta.is-primary:hover {
    background: #1d4ed8;
    color: #ffffff;
}

.dash-plan-form {
    margin: 0;
}

button.dash-plan-cta {
    width: 100%;
    cursor: pointer;
    font: inherit;
}

.dash-plan-cta.is-disabled {
    border-color: #e2e8f0;
    color: #64748b;
    background: #f8fafc;
    cursor: default;
    pointer-events: none;
}

.dash-plan-card.is-current {
    border-color: #94a3b8;
}

.dash-sub-overview .dash-card-head {
    align-items: center;
}

.dash-sub-status {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    background: #eff6ff;
    color: #1d4ed8;
}

.dash-sub-status--active,
.dash-sub-status--trialing {
    background: #ecfdf5;
    color: #047857;
}

.dash-sub-status--past_due,
.dash-sub-status--canceling {
    background: #fff7ed;
    color: #c2410c;
}

.dash-sub-status--canceled,
.dash-sub-status--unpaid {
    background: #fef2f2;
    color: #b91c1c;
}

.dash-sub-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 8px;
}

.dash-sub-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 16px;
    background: #f8fafc;
    border: 1px solid #eef2f7;
    border-radius: 12px;
}

.dash-sub-stat-label {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.dash-sub-stat-value {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
}

.dash-sub-stat-note {
    font-size: 12px;
    color: #64748b;
}

.dash-sub-alert {
    margin: 12px 0 0;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
}

.dash-sub-alert--warn {
    background: #fff7ed;
    color: #9a3412;
    border: 1px solid #fed7aa;
}

.dash-sub-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.dash-sub-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 10px 16px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #0f172a;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.dash-sub-btn--danger {
    border-color: #fecaca;
    color: #b91c1c;
    background: #fff;
}

.dash-sub-btn--danger:hover {
    background: #fef2f2;
}

.dash-sub-history-wrap {
    overflow-x: auto;
}

.dash-sub-history {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.dash-sub-history th,
.dash-sub-history td {
    padding: 12px 10px;
    text-align: left;
    border-bottom: 1px solid #eef2f7;
    color: #334155;
}

.dash-sub-history th {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.dash-sub-history-actions a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}

.dash-sub-history-actions a:hover {
    text-decoration: underline;
}

.dash-sub-inv-status {
    display: inline-flex;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    background: #f1f5f9;
    color: #475569;
}

.dash-sub-inv-status--paid {
    background: #ecfdf5;
    color: #047857;
}

.dash-sub-inv-status--open,
.dash-sub-inv-status--uncollectible {
    background: #fff7ed;
    color: #c2410c;
}

@media (max-width: 1100px) {
    .dash-plan-cards {
        grid-template-columns: 1fr;
    }

    .dash-sub-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .dash-sub-grid {
        grid-template-columns: 1fr;
    }
}

.dash-analytics-footer-link {
    display: inline-block;
    margin: 12px 16px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
}

.dash-analytics-footer-link:hover {
    text-decoration: underline;
}

.dash-analytics-activity-list {
    list-style: none;
    margin: 0;
    padding: 0 16px 8px;
}

.dash-analytics-activity-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}

.dash-analytics-activity-item:last-child {
    border-bottom: none;
}

.dash-analytics-activity-icon {
    flex: 0 0 10px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-top: 6px;
}

.dash-analytics-activity-icon--view {
    background: #3b82f6;
}

.dash-analytics-activity-icon--call {
    background: #16a34a;
}

.dash-analytics-activity-icon--whatsapp {
    background: #22c55e;
}

.dash-analytics-activity-icon--save {
    background: #a855f7;
}

.dash-analytics-activity-body {
    min-width: 0;
}

.dash-analytics-activity-msg {
    margin: 0 0 4px;
    font-size: 14px;
    color: #1e293b;
    line-height: 1.4;
}

.dash-analytics-activity-time {
    font-size: 12px;
    color: #94a3b8;
}

.dash-analytics-tip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 24px;
    padding: 18px 20px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 14px;
}

.dash-analytics-tip-icon {
    flex: 0 0 44px;
    height: 44px;
    border-radius: 12px;
    background: #dbeafe;
    color: #1d4ed8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dash-analytics-tip-icon svg {
    width: 22px;
    height: 22px;
}

.dash-analytics-tip-text {
    flex: 1 1 280px;
    min-width: 0;
}

.dash-analytics-tip-text strong {
    display: block;
    font-size: 15px;
    color: #0f172a;
    margin-bottom: 4px;
}

.dash-analytics-tip-text p {
    margin: 0;
    font-size: 13px;
    color: #475569;
    line-height: 1.45;
}

.dash-analytics-tip-btn {
    flex-shrink: 0;
}

@media (max-width: 960px) {
    .dash-analytics-split {
        grid-template-columns: 1fr;
    }
}

/* Table */
.dash-table-wrap {
    overflow-x: auto;
}

.dash-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.dash-table thead th {
    text-align: left;
    color: #6B7280;
    font-weight: 600;
    font-size: 12px;
    text-transform: none;
    padding: 10px 12px;
    border-bottom: 1px solid #E5E7EB;
}

.dash-table tbody td {
    padding: 14px 12px;
    border-bottom: 1px solid #F1F5F9;
    color: #334155;
    vertical-align: middle;
}

.dash-table tbody tr:last-child td { border-bottom: none; }

.dash-th-vehicle { width: 32%; }

.dash-td-strong {
    color: #0F172A;
    font-weight: 700;
}

.dash-ad-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dash-ad-thumb {
    width: 56px;
    height: 40px;
    border-radius: 8px;
    background: #E2E8F0 center/cover no-repeat;
    flex-shrink: 0;
}

.dash-ad-thumb--a { background-color: #0F172A; }
.dash-ad-thumb--b { background-color: #E2E8F0; }
.dash-ad-thumb--c { background-color: #94A3B8; }

.dash-ad-name {
    font-weight: 600;
    color: #0F172A;
    font-size: 13px;
}

.dash-ad-sub {
    color: #6B7280;
    font-size: 12px;
}

.dash-icon-btn {
    background: transparent;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    width: 32px;
    height: 32px;
    line-height: 1;
    cursor: pointer;
    color: #475569;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.dash-icon-btn:hover { background: #F8FAFC; }

.dash-card-footer-link {
    display: block;
    text-align: center;
    margin-top: 14px;
    padding: 10px;
    border-top: 1px solid #F1F5F9;
    color: #2563EB;
    font-weight: 600;
    text-decoration: none;
    font-size: 13px;
}

.dash-card-footer-link:hover { background: #F8FAFC; border-radius: 0 0 14px 14px; }

/* Pills (status badges) */
.dash-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    line-height: 1;
}

.dash-pill svg { width: 12px; height: 12px; }

.dash-pill--green  { background: #DCFCE7; color: #15803D; }
.dash-pill--yellow { background: #FEF3C7; color: #B45309; }
.dash-pill--blue   { background: #DBEAFE; color: #1D4ED8; }
.dash-pill--gray   { background: #F1F5F9; color: #64748B; }
.dash-pill--orange { background: #FFEDD5; color: #C2410C; }
.dash-pill--red    { background: #FEE2E2; color: #B91C1C; }

/* Manage Ads */
.dash-manage-ads-card {
    padding-top: 0;
    display: flex;
    flex-direction: column;
}

.dash-manage-list-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.dash-manage-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    border-bottom: 1px solid #E5E7EB;
    margin: 0 -20px;
    padding: 0 20px;
}

.dash-manage-tab {
    display: inline-flex;
    align-items: center;
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #64748B;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: color 0.15s, border-color 0.15s;
}

.dash-manage-tab:hover {
    color: #2563EB;
}

.dash-manage-tab.is-active {
    color: #2563EB;
    border-bottom-color: #2563EB;
}

/* Advertising */
.dash-advertising-card {
    padding-top: 0;
}

.dash-advertising-panel {
    padding: 20px 0 8px;
}

.dash-advertising-panel-lead {
    margin: 0 0 18px;
    font-size: 14px;
    color: #64748B;
    line-height: 1.5;
}

.ads-promote-lead {
    margin: 0 0 22px;
    font-size: 14px;
    color: #64748b;
    line-height: 1.55;
    max-width: 720px;
}

.ads-promote-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.ads-product-card {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.ads-product-head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.ads-product-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.ads-product-badge--contact {
    background: #f1f5f9;
    color: #475569;
}

.ads-product-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.ads-product-desc {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #475569;
}

.ads-product-pricing {
    background: #f8fafc;
    border: 1px solid #eef2f7;
    border-radius: 12px;
    padding: 14px 16px;
}

.ads-product-pricing-label {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ads-price-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ads-price-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    color: #334155;
}

.ads-price-list strong {
    color: #0f172a;
    font-weight: 800;
}

.ads-product-note {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #64748b;
}

.ads-product-cta {
    margin-top: auto;
    min-height: 44px;
    border: 0;
    border-radius: 10px;
    background: #2563eb;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.ads-product-cta:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    opacity: 0.85;
}

a.ads-product-cta--link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    text-align: center;
    box-sizing: border-box;
}

a.ads-product-cta--secondary {
    background: #fff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
    margin-top: 16px;
}

/* Payment confirm / success pages */
.pay-confirm-page {
    max-width: 640px;
    margin: 40px auto 64px;
    padding: 0 16px;
}

.pay-confirm-card {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #fff;
    padding: 28px 24px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.pay-confirm-eyebrow {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #2563eb;
}

.pay-confirm-title {
    margin: 0 0 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.pay-confirm-lead {
    margin: 0 0 20px;
    font-size: 15px;
    line-height: 1.55;
    color: #475569;
}

.pay-confirm-car {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #eef2f7;
    margin-bottom: 16px;
}

.pay-confirm-car strong {
    color: #0f172a;
}

.pay-confirm-car span,
.pay-confirm-car a {
    font-size: 13px;
    color: #64748b;
}

.pay-confirm-car a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
    margin-top: 4px;
}

.pay-confirm-price-box {
    padding: 14px 16px;
    border-radius: 12px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    margin-bottom: 18px;
}

.pay-confirm-price-box strong {
    display: block;
    margin-bottom: 6px;
    color: #1d4ed8;
    font-size: 1.05rem;
}

.pay-confirm-price-box p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #334155;
}

.pay-confirm-check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.45;
    color: #334155;
}

.pay-confirm-check input {
    margin-top: 3px;
}

.pay-confirm-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    width: 100%;
    border: 0;
    border-radius: 10px;
    background: #2563eb;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    box-sizing: border-box;
}

.pay-confirm-cta--secondary {
    background: #fff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
}

a.pay-confirm-cta--link {
    text-align: center;
}

.pay-confirm-cancel {
    display: block;
    text-align: center;
    margin-top: 12px;
    color: #64748b;
    font-size: 14px;
    text-decoration: none;
}

.pay-success-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.pay-success-grid > div {
    padding: 12px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #eef2f7;
}

.pay-success-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    margin-bottom: 6px;
}

.pay-success-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

@media (max-width: 640px) {
    .pay-success-grid {
        grid-template-columns: 1fr;
    }
}

.ads-checkout-back {
    margin: 0 0 8px;
    font-size: 13px;
}

.ads-checkout-back a {
    color: #64748b;
    text-decoration: none;
}

.ads-checkout-back a:hover {
    color: #2563eb;
}

.ads-checkout {
    padding: 8px 0 12px;
    max-width: 720px;
}

.ads-checkout-kind-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 22px;
}

.ads-checkout-kind {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #475569;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.ads-checkout-kind.is-active {
    border-color: #2563eb;
    background: #eff6ff;
    color: #1d4ed8;
}

.ads-checkout-step {
    border: 0;
    margin: 0 0 22px;
    padding: 0;
}

.ads-checkout-step legend {
    padding: 0;
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
}

.ads-checkout-cars,
.ads-checkout-packages {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ads-checkout-packages {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.ads-checkout-car,
.ads-checkout-package {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 14px 16px;
    background: #fff;
    cursor: pointer;
}

.ads-checkout-car.is-selected,
.ads-checkout-package.is-selected {
    border-color: #2563eb;
    background: #f8fbff;
    box-shadow: 0 0 0 1px #2563eb inset;
}

.ads-checkout-car input,
.ads-checkout-package input {
    margin-top: 3px;
}

.ads-checkout-car-body,
.ads-checkout-package-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.ads-checkout-car-body strong,
.ads-checkout-package-body strong {
    color: #0f172a;
    font-size: 14px;
}

.ads-checkout-car-body span {
    color: #64748b;
    font-size: 13px;
}

.ads-checkout-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
}

.ads-checkout-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.ads-checkout-note {
    margin: 0;
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
}

.ads-checkout-empty .ads-product-cta {
    margin-top: 12px;
    max-width: 220px;
}

.ads-my-list {
    padding-top: 4px;
}

.ads-my-items {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ads-my-item {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 14px 16px;
    background: #fff;
}

.ads-my-item-main {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.ads-my-item-main strong {
    color: #0f172a;
    font-size: 15px;
}

.ads-my-meta {
    color: #64748b;
    font-size: 13px;
}

.ads-my-item-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    color: #475569;
    font-size: 13px;
    white-space: nowrap;
}

.ads-my-item-side a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.ads-pay-table-wrap {
    overflow-x: auto;
}

.ads-pay-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.ads-pay-table th,
.ads-pay-table td {
    text-align: left;
    padding: 12px 10px;
    border-bottom: 1px solid #eef2f7;
    color: #334155;
}

.ads-pay-table th {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
}

@media (max-width: 720px) {
    .ads-checkout-packages {
        grid-template-columns: 1fr;
    }

    .ads-my-item {
        flex-direction: column;
    }

    .ads-my-item-side {
        align-items: flex-start;
    }
}

.ads-sponsor-block {
    border-top: 1px solid #eef2f7;
    padding-top: 24px;
}

.ads-sponsor-block-head {
    margin-bottom: 18px;
}

.ads-sponsor-block-title {
    margin: 0 0 8px;
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
}

.ads-sponsor-block-lead {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #64748b;
    max-width: 720px;
}

.ads-sponsor-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ads-sponsor-card {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 0;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.ads-sponsor-copy {
    padding: 22px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.ads-sponsor-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
}

.ads-sponsor-desc,
.ads-sponsor-contact-note {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #475569;
}

.ads-sponsor-contact-note {
    color: #64748b;
    font-size: 13px;
}

.ads-sponsor-email {
    display: inline-flex;
    align-items: center;
    margin-top: 4px;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 10px;
    border: 1.5px solid #2563eb;
    color: #2563eb;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    background: #fff;
}

.ads-sponsor-email:hover {
    background: #eff6ff;
}

.ads-sponsor-preview {
    background: #f8fafc;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.ads-sponsor-preview img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    border-radius: 10px;
    display: block;
}

@media (max-width: 900px) {
    .ads-promote-grid {
        grid-template-columns: 1fr;
    }

    .ads-sponsor-card {
        grid-template-columns: 1fr;
    }

    .ads-sponsor-preview {
        min-height: 180px;
        order: -1;
    }
}

.dash-advertising-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.dash-advertising-card-item {
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    overflow: hidden;
    background: #FFFFFF;
    display: flex;
    flex-direction: column;
}

.dash-advertising-card-media {
    height: 120px;
    background: linear-gradient(135deg, #E0EBFF 0%, #DBEAFE 100%);
}

.dash-advertising-card-media--a {
    background: linear-gradient(135deg, #E0EBFF 0%, #C7D2FE 100%);
}

.dash-advertising-card-media--b {
    background: linear-gradient(135deg, #FFEDD5 0%, #FED7AA 100%);
}

.dash-advertising-card-media--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F8FAFC;
    color: #94A3B8;
    font-size: 28px;
    font-weight: 300;
}

.dash-advertising-card-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.dash-advertising-card-title {
    margin: 4px 0 0;
    font-size: 15px;
    font-weight: 700;
    color: #0F172A;
}

.dash-advertising-card-meta {
    margin: 0;
    font-size: 12px;
    color: #64748B;
}

.dash-advertising-card-desc {
    margin: 0;
    font-size: 13px;
    color: #475569;
    line-height: 1.45;
}

.dash-advertising-book-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.dash-advertising-book-option {
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 18px;
    background: #F8FAFC;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dash-advertising-book-title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #0F172A;
}

.dash-advertising-book-desc {
    margin: 0;
    font-size: 13px;
    color: #64748B;
    line-height: 1.45;
    flex: 1;
}

.dash-advertising-book-price {
    font-size: 14px;
    font-weight: 600;
    color: #2563EB;
}

.dash-manage-search {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 16px 0 18px;
    padding: 0 2px;
}

.dash-manage-search-icon {
    display: inline-flex;
    color: #94A3B8;
    flex-shrink: 0;
}

.dash-manage-search-icon svg {
    width: 18px;
    height: 18px;
}

.dash-manage-search-input {
    flex: 1;
    min-width: 0;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 14px;
    color: #0F172A;
    background: #F8FAFC;
}

.dash-manage-search-input:focus {
    outline: none;
    border-color: #93C5FD;
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.dash-manage-search-input::placeholder {
    color: #94A3B8;
}

.dash-manage-table-wrap {
    margin: 0 -4px;
    height: 404px;
    overflow-y: auto;
    box-sizing: border-box;
}

.dash-manage-ads-card .dash-manage-empty.dash-manage-table-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 404px;
    overflow: hidden;
    gap: 1rem;
}

.dash-th-actions {
    text-align: right;
    width: 28%;
}

.dash-ad-thumb--empty {
    background: #E2E8F0;
}

.dash-ad-city {
    color: #94A3B8;
    font-size: 12px;
    margin-top: 2px;
}

.dash-manage-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}

.dash-manage-inline-form {
    display: inline;
    margin: 0;
}

.dash-manage-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    line-height: 1.2;
    white-space: nowrap;
    font-family: inherit;
}

.dash-manage-btn:hover {
    background: #F8FAFC;
    border-color: #CBD5E1;
}

.dash-manage-btn--primary {
    color: #FFFFFF;
    background: #2563EB;
    border-color: #2563EB;
}

.dash-manage-btn--primary:hover {
    background: #1D4ED8;
    border-color: #1D4ED8;
}

.dash-manage-btn--danger {
    color: #DC2626;
    border-color: #FECACA;
}

.dash-manage-btn--danger:hover {
    background: #FEF2F2;
}

.dash-manage-btn--icon {
    min-width: 32px;
    padding: 6px 8px;
    font-size: 16px;
    letter-spacing: 1px;
}

.dash-manage-more {
    position: relative;
}

.dash-manage-more-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 4px);
    z-index: 20;
    min-width: 160px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
    padding: 6px;
}

.dash-manage-more-menu a,
.dash-manage-more-menu button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 500;
    color: #334155;
    background: transparent;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    font-family: inherit;
}

.dash-manage-more-menu a:hover,
.dash-manage-more-menu button:hover {
    background: #F1F5F9;
}

.dash-manage-more-menu form {
    margin: 0;
}

.dash-manage-empty {
    padding: 32px 8px;
    text-align: center;
    color: #64748B;
    font-size: 14px;
}

.dash-manage-empty p {
    margin: 0;
}

.dash-manage-empty a:not(.rent-btn) {
    color: #2563EB;
    font-weight: 600;
}

.dash-manage-empty a.rent-btn-primary {
    color: #fff;
}

.dash-manage-empty a.rent-btn-primary:hover {
    color: #fff;
}

@media (max-width: 900px) {
    .dash-manage-actions {
        justify-content: flex-start;
    }

    .dash-th-actions,
    .dash-manage-table .dash-manage-actions {
        text-align: left;
    }
}

/* Bottom row */
.dash-bottom-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.dash-msg-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.dash-msg {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.dash-msg-body { flex: 1; min-width: 0; }

.dash-msg-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.dash-msg-name {
    font-weight: 600;
    color: #0F172A;
    font-size: 13px;
}

.dash-msg-time {
    color: #94A3B8;
    font-size: 11px;
    flex-shrink: 0;
}

.dash-msg-text {
    color: #475569;
    font-size: 13px;
    margin-top: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dash-dot {
    width: 8px;
    height: 8px;
    background: #2563EB;
    border-radius: 50%;
    margin-top: 8px;
    flex-shrink: 0;
}

.dash-notif-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dash-notif-icon svg { width: 16px; height: 16px; }

.dash-notif-icon--blue   { background: #DBEAFE; color: #2563EB; }
.dash-notif-icon--orange { background: #FFEDD5; color: #F97316; }
.dash-notif-icon--purple { background: #EDE9FE; color: #7C3AED; }
.dash-notif-icon--green  { background: #DCFCE7; color: #16A34A; }
.dash-notif-icon--yellow { background: #FEF9C3; color: #CA8A04; }
.dash-notif-icon--amber  { background: #FEF3C7; color: #D97706; }
.dash-notif-icon--teal   { background: #CCFBF1; color: #0D9488; }
.dash-notif-icon--slate  { background: #F1F5F9; color: #475569; }
.dash-notif-icon--red    { background: #FEE2E2; color: #DC2626; }

/* ---------- Notifications page ---------- */
.dash-notifications-page .dash-notifications-header {
    align-items: center;
}

.dash-notifications-unread-summary {
    color: #2563EB;
    font-weight: 600;
}

.dash-notifications-card {
    padding: 0;
    overflow: hidden;
}

.dash-notifications-toolbar {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 16px 18px 0;
    border-bottom: 1px solid #F1F5F9;
}

.dash-notifications-tabs {
    flex-wrap: wrap;
    gap: 6px;
    padding-bottom: 0;
    border-bottom: none;
}

.dash-notifications-tab-badge {
    margin-left: 6px;
    background: #EFF6FF;
    color: #2563EB;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.dash-manage-tab.is-active .dash-notifications-tab-badge {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.dash-notifications-status-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-bottom: 14px;
}

.dash-notifications-status-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: #64748B;
    background: #F8FAFC;
    text-decoration: none;
    border: 1px solid transparent;
}

.dash-notifications-status-pill:hover {
    color: #334155;
    background: #F1F5F9;
}

.dash-notifications-status-pill.is-active {
    color: #2563EB;
    background: #EFF6FF;
    border-color: #BFDBFE;
}

.dash-notifications-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dash-notification-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 14px;
    align-items: start;
    padding: 18px 20px;
    border-bottom: 1px solid #F1F5F9;
    transition: background 0.15s ease;
}

.dash-notification-item:last-child {
    border-bottom: none;
}

.dash-notification-item.is-unread {
    background: #F8FAFF;
}

.dash-notification-item:hover {
    background: #F8FAFC;
}

.dash-notification-body {
    min-width: 0;
}

.dash-notification-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 4px;
}

.dash-notification-title {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.35;
}

.dash-notification-time {
    color: #94A3B8;
    font-size: 11px;
    flex-shrink: 0;
    white-space: nowrap;
}

.dash-notification-message {
    margin: 0 0 10px;
    color: #475569;
    font-size: 13px;
    line-height: 1.45;
}

.dash-notification-car {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    max-width: 360px;
}

.dash-notification-car-thumb {
    width: 44px;
    height: 34px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
    background: #E2E8F0;
}

.dash-notification-car-thumb--empty {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    color: #94A3B8;
    text-transform: uppercase;
}

.dash-notification-car-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.dash-notification-car-title {
    font-size: 12px;
    font-weight: 600;
    color: #0F172A;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dash-notification-car-sub {
    font-size: 11px;
    color: #94A3B8;
}

.dash-notification-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex-shrink: 0;
}

.dash-notification-dot {
    width: 8px;
    height: 8px;
    background: #2563EB;
    border-radius: 50%;
}

.dash-notification-action {
    padding: 8px 14px;
    font-size: 12px;
}

.dash-notification-action.is-disabled {
    opacity: 0.55;
    pointer-events: none;
}

.dash-notification-read-form {
    margin: 0;
}

.dash-notification-mark-read {
    border: none;
    background: none;
    color: #64748B;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.dash-notification-mark-read:hover {
    color: #2563EB;
}

.dash-notifications-empty {
    padding: 48px 24px;
    text-align: center;
    color: #64748B;
}

.dash-notifications-empty p {
    margin: 0 0 8px;
}

.dash-notifications-empty a {
    color: #2563EB;
    font-weight: 600;
    text-decoration: none;
}

.dash-notifications-empty-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 14px;
    border-radius: 12px;
    background: #F1F5F9;
    color: #94A3B8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dash-notifications-empty-icon svg {
    width: 22px;
    height: 22px;
}

.dash-msg--unread .dash-msg-name {
    color: #2563EB;
}

@media (max-width: 900px) {
    .dash-notification-item {
        grid-template-columns: auto 1fr;
    }

    .dash-notification-actions {
        grid-column: 2;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .dash-notifications-toolbar {
        padding: 14px 14px 0;
    }

    .dash-notification-item {
        padding: 16px 14px;
    }

    .dash-notification-head {
        flex-direction: column;
        gap: 4px;
    }
}

/* Avatars */
.dash-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #CBD5E1;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    flex-shrink: 0;
}

.dash-avatar--lg {
    width: 56px;
    height: 56px;
    font-size: 18px;
}

.dash-avatar--b  { background: #2563EB; }
.dash-avatar--e  { background: #7C3AED; }
.dash-avatar--ak { background: #475569; }

/* ---------- Right sidebar ---------- */
.dashboard-rightbar {
    position: sticky;
    top: 24px;
    align-self: start;
}

.dash-profile-head {
    display: flex;
    align-items: center;
    gap: 14px;
}

.dash-profile-meta { min-width: 0; }

.dash-profile-name {
    font-size: 16px;
    font-weight: 700;
    color: #0F172A;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.dash-profile-line {
    color: #6B7280;
    font-size: 12px;
    margin-top: 2px;
}

.dash-progress-block {
    margin-top: 18px;
}

.dash-progress-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
}

.dash-progress-pct { color: #2563EB; }

.dash-progress-bar {
    width: 100%;
    height: 6px;
    background: #E5E7EB;
    border-radius: 999px;
    overflow: hidden;
}

.dash-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #2563EB, #6366F1);
    border-radius: 999px;
}

.dash-progress-note {
    margin: 10px 0 0;
    color: #6B7280;
    font-size: 12px;
    line-height: 1.4;
}

/* Quick actions */
.dash-quick-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 12px;
}

.dash-quick {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    text-decoration: none;
    color: #0F172A;
    font-weight: 600;
    font-size: 12px;
    background: #FFFFFF;
}

.dash-quick:hover {
    background: #F8FAFC;
    border-color: #CBD5E1;
}

.dash-quick-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #E0EBFF;
    color: #2563EB;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dash-quick-icon svg { width: 14px; height: 14px; }

/* Balance */
.dash-balance {
    margin-top: 4px;
    background: #F8FAFC;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.dash-balance-label {
    color: #6B7280;
    font-size: 12px;
}

.dash-balance-value {
    font-size: 22px;
    font-weight: 800;
    color: #0F172A;
    margin-top: 2px;
}

.dash-balance-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #E0EBFF;
    color: #2563EB;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.dash-balance-icon svg { width: 18px; height: 18px; }

.dash-tx-title {
    margin: 16px 0 10px;
    font-size: 13px;
    font-weight: 700;
    color: #0F172A;
}

.dash-tx-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dash-tx {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.dash-tx-name {
    font-size: 13px;
    color: #0F172A;
    font-weight: 600;
}

.dash-tx-date {
    color: #94A3B8;
    font-size: 11px;
    margin-top: 2px;
}

.dash-tx-amount {
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.dash-tx-amount.is-neg { color: #DC2626; }
.dash-tx-amount.is-pos { color: #16A34A; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
    .dashboard-layout {
        grid-template-columns: 220px minmax(0, 1fr);
    }
    .dashboard-rightbar {
        grid-column: 1 / -1;
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .dashboard-rightbar .dash-card + .dash-card {
        margin-top: 0;
    }
}

@media (max-width: 900px) {
    .dashboard-layout,
    .dashboard-layout.dashboard-layout--two-col {
        grid-template-columns: 1fr;
    }
    .dash-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .dash-bottom-row {
        grid-template-columns: 1fr;
    }
    .dashboard-rightbar {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .dash-stats {
        grid-template-columns: 1fr;
    }
    .dash-welcome {
        flex-direction: column;
    }
}

/* ---------- Auth: register (split layout + sponsor) ---------- */
body.page-auth-register,
body.page-auth-login {
    background: #f3f4f6;
}

body.page-auth-register main.container,
body.page-auth-login main.container {
    max-width: 1120px;
    width: 94%;
}

.auth-register-page {
    padding: 8px 0 32px;
}

.auth-register-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px;
    align-items: stretch;
    min-height: min(560px, calc(100vh - 200px));
}

.auth-sponsor-panel {
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(155deg, #e4e8ef 0%, #f4f5f8 42%, #dce1ea 100%);
    border: 1px solid #dde2eb;
    display: flex;
    min-height: 420px;
}

.auth-sponsor-media {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 100%;
    width: 100%;
}

.auth-sponsor-media:has(img.auth-sponsor-img) .auth-sponsor-placeholder {
    display: none;
}

.auth-sponsor-media a {
    display: block;
    width: 100%;
    height: 100%;
    min-height: inherit;
}

.auth-sponsor-img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    display: block;
}

body.page-auth-register .auth-sponsor-panel {
    background: #f7fbff;
    border-color: #e4eef8;
}

body.page-auth-register .auth-sponsor-img {
    object-fit: cover;
    object-position: center top;
}

.auth-sponsor-placeholder {
    text-align: center;
    padding: 48px 32px;
    color: #6b7280;
}

.auth-sponsor-placeholder strong {
    display: block;
    font-size: 1.65rem;
    font-weight: 800;
    color: #374151;
    letter-spacing: -0.02em;
}

.auth-sponsor-placeholder span {
    display: block;
    margin: 10px 0 6px;
    font-size: 1.15rem;
    font-weight: 700;
    color: #4b5563;
}

.auth-sponsor-placeholder p {
    margin: 0;
    font-size: 0.95rem;
    max-width: 220px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.45;
}

.auth-register-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 36px 40px 32px;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
    border: 1px solid #eef0f4;
}

.auth-register-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0 0 26px;
    letter-spacing: -0.02em;
    color: #111827;
}

.auth-register-lead {
    margin: -10px 0 24px;
    color: #6b7280;
    font-size: 15px;
    line-height: 1.55;
}

.auth-register-lead--tight {
    margin: 0 0 16px;
}

.auth-verify-email {
    margin: -8px 0 16px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #eef0f4;
    color: #111827;
    font-weight: 700;
    font-size: 15px;
    word-break: break-all;
}

.auth-verify-subtitle {
    margin: 0 0 8px;
    font-size: 1.05rem;
    font-weight: 800;
    color: #111827;
}

.auth-account-type {
    position: relative;
    margin-bottom: 18px;
}

.auth-account-type-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.auth-account-type-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.auth-account-type-radio {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.auth-account-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px 14px 18px;
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    background: #fafafa;
    cursor: pointer;
    text-align: left;
    font: inherit;
    color: inherit;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.auth-account-card:hover {
    border-color: #cbd5e1;
    background: #ffffff;
}

.auth-account-card.is-selected {
    border-color: #2f9bff;
    background: rgba(47, 155, 255, 0.09);
    box-shadow: 0 0 0 1px rgba(47, 155, 255, 0.35);
}

.auth-account-check {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: #2f9bff;
    opacity: 0;
    transform: scale(0.88);
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.auth-account-card.is-selected .auth-account-check {
    opacity: 1;
    transform: scale(1);
}

.auth-account-icon {
    color: #64748b;
    margin-bottom: 2px;
}

.auth-account-card.is-selected .auth-account-icon {
    color: #2f9bff;
}

.auth-account-title {
    font-weight: 700;
    font-size: 15px;
    color: #111827;
}

.auth-account-card.is-selected .auth-account-title {
    color: #0f172a;
}

.auth-account-desc {
    font-size: 12px;
    line-height: 1.45;
    color: #6b7280;
}

.auth-register-form {
    margin: 0;
}

.auth-register-fields {
    margin: 0;
}

.auth-register-panel-field[hidden] {
    display: none;
}

.auth-field {
    margin-bottom: 18px;
}

.auth-field--submit {
    margin-bottom: 0;
    margin-top: 6px;
}

.auth-field--terms {
    margin: 4px 0 18px;
}

.auth-terms {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.auth-terms-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.auth-terms-box {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    box-sizing: border-box;
    border: 1.5px solid #d1d5db;
    border-radius: 6px;
    background: #ffffff;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.auth-terms-check {
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 0.12s ease, transform 0.12s ease;
}

.auth-terms:hover .auth-terms-box {
    border-color: #2f9bff;
}

.auth-terms-input:focus-visible + .auth-terms-box {
    border-color: #2f9bff;
    box-shadow: 0 0 0 3px rgba(47, 155, 255, 0.18);
}

.auth-terms-input:checked + .auth-terms-box {
    background: #2f9bff;
    border-color: #2f9bff;
}

.auth-terms-input:checked + .auth-terms-box .auth-terms-check {
    opacity: 1;
    transform: scale(1);
}

.auth-terms-copy {
    font-size: 14px;
    line-height: 1.5;
    color: #4b5563;
}

.auth-terms-copy a {
    color: #2f9bff;
    font-weight: 600;
    text-decoration: none;
}

.auth-terms-copy a:hover {
    text-decoration: underline;
}

.auth-name-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 8px;
    row-gap: 0;
    margin-bottom: 18px;
    align-items: start;
}

.auth-name-row .auth-field {
    margin-bottom: 0;
    min-width: 0;
}

.auth-input-row--intl-phone {
    position: relative;
}

.auth-input-row--intl-phone .iti {
    width: 100%;
}

.auth-input-row--intl-phone .auth-input {
    width: 100%;
    padding-left: 52px;
}

.auth-input-row--intl-phone .auth-input-icon {
    display: none;
}

.auth-phone-row {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.auth-phone-cc-wrap {
    flex: 0 0 minmax(118px, 36%);
    max-width: 200px;
    min-width: 0;
}

.auth-phone-cc-select {
    width: 100%;
    height: 100%;
    min-height: 48px;
    box-sizing: border-box;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fafafa;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    padding: 0 8px;
    cursor: pointer;
    font-family: inherit;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    line-height: 1.2;
}

.auth-phone-cc-select:focus {
    outline: none;
    border-color: #2f9bff;
    box-shadow: 0 0 0 3px rgba(47, 155, 255, 0.18);
    background: #ffffff;
}

.auth-phone-row .auth-input-row--phone-value {
    flex: 1;
    min-width: 0;
}

.auth-input-row--phone-value .auth-input {
    border-radius: 0 12px 12px 0;
}

.auth-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.auth-input-row {
    display: flex;
    align-items: stretch;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fafafa;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.auth-input-row:focus-within {
    border-color: #2f9bff;
    box-shadow: 0 0 0 3px rgba(47, 155, 255, 0.18);
    background: #ffffff;
}

.auth-input-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    flex-shrink: 0;
    color: #9ca3af;
}

.auth-input-row .auth-input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    padding: 14px 14px 14px 0;
    font-size: 15px;
    font-family: inherit;
    color: #111827;
    outline: none;
    border-radius: 0 12px 12px 0;
}

.auth-input-row .auth-input::placeholder {
    color: #9ca3af;
}

.auth-input-row--password .auth-input {
    padding-right: 6px;
    border-radius: 0;
}

.auth-password-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 48px;
    border: none;
    background: transparent;
    color: #9ca3af;
    cursor: pointer;
    padding: 0;
    border-radius: 0 12px 12px 0;
    transition: color 0.12s ease;
}

.auth-password-toggle:hover {
    color: #374151;
}

.auth-password-toggle.is-visible {
    color: #2f9bff;
}

.auth-field-error {
    font-size: 13px;
    color: #b91c1c;
    margin: 6px 0 0;
}

.auth-forgot-row {
    margin: 8px 0 0;
    text-align: right;
}

.auth-forgot-link {
    color: #2f9bff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.auth-forgot-link:hover {
    text-decoration: underline;
}

input.auth-btn-primary,
button.auth-btn-primary {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    background: #2f9bff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-family: inherit;
    transition: filter 0.12s ease, transform 0.08s ease;
}

input.auth-btn-primary:hover,
button.auth-btn-primary:hover {
    filter: brightness(1.06);
}

input.auth-btn-primary:active,
button.auth-btn-primary:active {
    transform: scale(0.99);
}

.auth-divider-or {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 22px 0;
    font-size: 13px;
    color: #9ca3af;
    font-weight: 500;
}

.auth-divider-or::before,
.auth-divider-or::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

.auth-google-btn {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 600;
    color: #374151;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    cursor: not-allowed;
    font-family: inherit;
    opacity: 0.82;
}

.auth-google-btn:not(:disabled) {
    cursor: pointer;
    opacity: 1;
}

.auth-google-btn:not(:disabled):hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

.auth-register-footer {
    text-align: center;
    margin: 26px 0 0;
    font-size: 15px;
    color: #6b7280;
}

.auth-register-footer a {
    color: #2f9bff;
    font-weight: 600;
    text-decoration: none;
}

.auth-register-footer a:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .auth-register-layout {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .auth-sponsor-panel {
        min-height: 200px;
        order: -1;
    }

    .auth-sponsor-img {
        min-height: 200px;
    }

    body.page-auth-register .auth-sponsor-panel {
        min-height: 0;
        background: #ffffff;
    }

    body.page-auth-register .auth-sponsor-img {
        min-height: 280px;
        height: min(52vh, 420px);
        object-fit: contain;
        object-position: center top;
        background: #ffffff;
    }

    .auth-register-card {
        padding: 28px 22px 24px;
    }

    .auth-name-row {
        grid-template-columns: 1fr;
    }

    .auth-phone-row {
        flex-direction: column;
    }

    .auth-phone-cc-wrap {
        max-width: none;
        flex: 1 1 auto;
        width: 100%;
    }

    .auth-account-type-row {
        grid-template-columns: 1fr;
    }
}

/* ---------- Listings browse (filters + grid) ---------- */
body.page-listings-browse main.container {
    max-width: 1180px;
    width: 94%;
}

.browse-page {
    padding: 8px 0 40px;
}

.browse-layout {
    display: grid;
    grid-template-columns: 272px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.browse-sidebar {
    position: sticky;
    top: 16px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 20px 18px 22px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
}

.browse-sidebar-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
    color: #111827;
}

.browse-sidebar-head-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 18px;
    min-width: 0;
}

.browse-sidebar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.browse-btn-apply-compact {
    padding: 5px 12px;
    border: none;
    border-radius: 8px;
    background: #2f9bff;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    text-transform: lowercase;
    transition: filter 0.12s ease;
}

.browse-btn-apply-compact:hover {
    filter: brightness(1.05);
}

.browse-reset-compact {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    text-transform: lowercase;
}

.browse-reset-compact:hover {
    color: #2f9bff;
    text-decoration: underline;
}

.browse-sidebar-icon {
    flex-shrink: 0;
    color: #64748b;
}

.browse-filter-block {
    margin-bottom: 18px;
}

.browse-filter-block--split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.browse-filter-label,
.browse-filter-legend {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 8px;
}

.browse-filter-fieldset {
    margin: 0 0 18px;
    padding: 0;
    border: none;
}

.browse-filter-legend {
    padding: 0;
}

.browse-filter-select,
.browse-filter-input {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 14px;
    font-family: inherit;
    background: #fafafa;
    color: #111827;
}

.browse-filter-select:focus,
.browse-filter-input:focus {
    outline: none;
    border-color: #2f9bff;
    background: #ffffff;
}

.browse-price-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.browse-price-row .browse-filter-input {
    flex: 1;
    min-width: 0;
}

.browse-price-sep {
    color: #94a3b8;
    font-weight: 600;
}

.browse-range-hint,
.browse-filter-hint {
    margin: 8px 0 0;
    font-size: 11px;
    color: #94a3b8;
    line-height: 1.4;
}

.browse-chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.browse-chip-grid--2 .browse-chip {
    flex: 1 1 calc(50% - 6px);
    min-width: 120px;
}

.browse-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    background: #fafafa;
    transition: border-color 0.12s ease, background 0.12s ease;
}

.browse-chip:hover {
    border-color: #cbd5e1;
    background: #ffffff;
}

.browse-chip input {
    width: 15px;
    height: 15px;
    accent-color: #2f9bff;
    flex-shrink: 0;
}

.browse-chip:has(input:checked) {
    border-color: #2f9bff;
    background: rgba(47, 155, 255, 0.08);
    color: #0f172a;
}

.browse-btn-apply {
    width: 100%;
    margin-top: 4px;
    padding: 12px 16px;
    border: none;
    border-radius: 12px;
    background: #2f9bff;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: filter 0.12s ease;
}

.browse-btn-apply:hover {
    filter: brightness(1.05);
}

.browse-reset-wrap {
    text-align: center;
    margin: 12px 0 0;
}

.browse-reset-link {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
}

.browse-reset-link:hover {
    color: #2f9bff;
    text-decoration: underline;
}

.browse-main {
    min-width: 0;
}

.top-picks-carousel {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0 0 8px;
    margin-bottom: 28px;
}

.top-picks-carousel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.top-picks-carousel-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.top-picks-carousel-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
}

.top-picks-promoted-pill {
    display: none;
}

.top-picks-carousel-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.top-picks-view-all {
    color: #2563eb;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
}

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

.top-pick-badge {
    display: none;
}

/* Promo badges: straddle top edge of image (Top Pick → Boosted) */
.listing-card-tag-stack {
    display: none;
}

.listing-card-promo-row {
    position: absolute;
    top: 0;
    left: 12px;
    z-index: 6;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
    max-width: calc(100% - 56px);
    transform: translateY(-50%);
    pointer-events: none;
}

.promo-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 11px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1;
    white-space: nowrap;
    text-transform: uppercase;
    border: none;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.14);
}

.promo-tag-icon {
    display: block;
    flex-shrink: 0;
}

.promo-tag--top-pick {
    color: #0f172a;
    background: #fde68a; /* soft gold */
}

.promo-tag--boost {
    color: #ffffff;
    background: #2563eb; /* royal blue */
}

.promo-tag--inline {
    position: static;
    transform: none;
    box-shadow: none;
    text-transform: none;
    letter-spacing: 0.01em;
}

.promo-tag--on-media {
    position: absolute;
    top: 0;
    left: 12px;
    z-index: 3;
    transform: translateY(-50%);
}

.promo-tag--media-second {
    left: auto;
    /* unused when using promo-row; keep for legacy home cards */
}

.listing-card-wrap.is-top-pick,
.listing-card-wrap.is-boosted,
.listing-card-wrap.is-top-pick.is-boosted {
    border-color: #e5e7eb;
    box-shadow: none;
}

.listing-card-badge {
    position: absolute;
    left: 10px;
    bottom: 10px;
    top: auto;
    z-index: 4;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.12);
}

.listing-card-badge--new {
    background: #e5e7eb;
    color: #0f172a;
}

.listing-card-badge--used {
    background: #374151;
    color: #ffffff;
}

.top-picks-carousel-sub {
    display: none;
}

.top-picks-carousel-nav {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.top-picks-nav-btn {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1.5px solid #2563eb;
    background: #fff;
    color: #2563eb;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.top-picks-nav-btn:hover {
    background: #eff6ff;
}

.top-picks-carousel-viewport {
    overflow: hidden;
}

.top-picks-carousel-track.listing-grid,
.top-picks-carousel-track {
    display: grid;
    /* Always 3 columns so 1–2 cards stay All Cars size (do not stretch) */
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
    justify-items: stretch;
    padding-top: 14px;
}

.top-picks-carousel[data-visible-count="2"] .top-picks-carousel-track,
.top-picks-carousel[data-visible-count="1"] .top-picks-carousel-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: none;
}

.top-pick-slide {
    min-width: 0;
    max-width: 100%;
    overflow: visible;
}

.top-pick-slide[hidden] {
    display: none !important;
}

.top-pick-slide .listing-card-wrap {
    height: auto;
}

.top-picks-carousel .listing-card-image-wrap--browse {
    height: 200px;
}

.top-picks-carousel .listing-card-image-wrap--browse .listing-card-image {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center;
}

.top-pick-card[hidden] {
    display: none !important;
}

@media (max-width: 1100px) {
    .top-picks-carousel-track.listing-grid,
    .top-picks-carousel-track,
    .top-picks-carousel[data-visible-count="2"] .top-picks-carousel-track,
    .top-picks-carousel[data-visible-count="1"] .top-picks-carousel-track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .top-picks-carousel-track.listing-grid,
    .top-picks-carousel-track,
    .top-picks-carousel[data-visible-count="2"] .top-picks-carousel-track,
    .top-picks-carousel[data-visible-count="1"] .top-picks-carousel-track {
        grid-template-columns: minmax(0, 280px);
        max-width: 280px;
    }

    .top-picks-carousel .listing-card-image-wrap--browse {
        height: 180px;
    }
}

.top-pick-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    width: 100%;
    min-width: 0;
}

.top-pick-card-media {
    position: relative;
    display: block;
    background: #f1f5f9;
    aspect-ratio: 16 / 10;
    min-height: 0;
    text-decoration: none;
}

.top-pick-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    inset: 0;
}

.top-pick-card-no-image {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 600;
}

.top-pick-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    background: #2563eb;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 4px 8px;
    border-radius: 6px;
}

.top-pick-card-body {
    position: relative;
    padding: 14px 16px 14px;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.top-pick-card-main {
    text-decoration: none;
    color: inherit;
    flex: 1;
    min-width: 0;
    padding-right: 0;
}

.top-pick-card-title {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.25;
}

.top-pick-card-loc {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0 0 6px;
    font-size: 13px;
    color: #64748b;
}

.top-pick-card-specs {
    margin: 0 0 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eef0f4;
    font-size: 13px;
    color: #64748b;
}

.top-pick-card-price-row {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.top-pick-card-price {
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
}

.top-pick-card-monthly {
    font-size: 13px;
    font-weight: 600;
    color: #3b82f6;
}

.top-pick-card-save {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 4;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.top-pick-card-save.is-saved {
    color: #ef4444;
}

.top-pick-card-save.is-saved svg {
    fill: currentColor;
}

.top-picks-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
}

.top-picks-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: 1px solid #cbd5e1;
    background: #fff;
    padding: 0;
    cursor: pointer;
}

.top-picks-dot.is-active {
    background: #2563eb;
    border-color: #2563eb;
}

@media (max-width: 1100px) {
    .top-picks-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .top-picks-grid {
        grid-template-columns: 1fr;
    }
}

.browse-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 22px;
    padding-bottom: 4px;
    border-bottom: 1px solid #eef0f4;
}

.browse-page-title {
    margin: 0 0 6px;
    font-size: 1.65rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.browse-result-meta {
    margin: 0;
    font-size: 14px;
    color: #64748b;
}

.browse-result-meta strong {
    color: #111827;
}

.browse-sort {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-end;
}

.browse-sort-label {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
}

.browse-sort-select {
    min-width: 180px;
}

.browse-empty {
    padding: 40px 16px;
    text-align: center;
    color: #64748b;
    font-size: 15px;
}

.browse-empty a {
    color: #2f9bff;
    font-weight: 600;
}

.listing-grid--browse {
    gap: 18px;
    /* Room for promo badges that straddle the card top edge */
    padding-top: 14px;
}

.listing-grid.listing-grid--paged {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

#browse-results {
    scroll-margin-top: calc(var(--zulu-header-height) + 12px);
}

.browse-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 48px 0 12px;
    padding: 4px 0;
    flex-wrap: wrap;
}

.browse-pagination-page,
.browse-pagination-arrow,
.browse-pagination-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 8px;
    border: 0;
    background: transparent;
    color: #111827;
    font-size: 15px;
    font-weight: 500;
    font-family: inherit;
    line-height: 1;
    text-decoration: none;
    border-radius: 10px;
    transition: background 0.15s ease, color 0.15s ease;
}

.browse-pagination-page:hover {
    background: #f1f5f9;
}

.browse-pagination-page.is-active {
    background: #0f172a;
    color: #ffffff;
    font-weight: 600;
    pointer-events: none;
}

.browse-pagination-ellipsis {
    min-width: 28px;
    color: #94a3b8;
    letter-spacing: 0.08em;
}

.browse-pagination-arrow {
    color: #c5cdd6;
}

.browse-pagination-arrow:hover:not(.is-disabled) {
    color: #0f172a;
    background: #f8fafc;
}

.browse-pagination-arrow.is-disabled {
    color: #dbe1e8;
    pointer-events: none;
}

.browse-pagination-arrow svg {
    display: block;
}

.listing-card-wrap {
    position: relative;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: visible;
    background: #ffffff;
    transition: box-shadow 0.15s ease;
}

.listing-card-wrap:hover {
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.listing-card-wrap .listing-card--browse {
    border: none;
    border-radius: 14px;
    overflow: hidden;
    display: block;
}

.listing-card-image-wrap--browse {
    position: relative;
    width: 100%;
    height: 200px;
    background: #f1f5f9;
    overflow: hidden;
}

.listing-card-image-wrap--browse .listing-card-image {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center;
    display: block;
}

.listing-card-image-wrap--browse .listing-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 12px;
    color: #94a3b8;
}

.listing-card-body--browse {
    padding: 12px 12px 14px;
}

.listing-card-body--browse h3.listing-card-title-browse {
    margin: 0 0 10px;
}

.listing-card-title-browse {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.listing-card-loc-browse {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0 0 10px;
    font-size: 12px;
    line-height: 1.35;
    color: #64748b;
    font-weight: 500;
}

.listing-card-pin {
    flex-shrink: 0;
    color: #94a3b8;
}

.listing-card-km-browse {
    margin: 0 0 12px;
    font-size: 12px;
    line-height: 1.35;
    color: #64748b;
    font-weight: 500;
}

.listing-card-price-browse {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding-top: 2px;
}

.listing-card-price-num {
    font-size: 17px;
    font-weight: 800;
    line-height: 1.2;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.listing-card-monthly-est {
    font-size: 11px;
    line-height: 1.3;
    font-weight: 600;
    color: #2f9bff;
    letter-spacing: 0.01em;
}

.listing-card-save {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 4;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #94a3b8;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
    transition: color 0.12s ease, transform 0.1s ease;
}

.listing-card-save:hover {
    color: #ef4444;
    transform: scale(1.05);
}

.listing-card-save.is-saved {
    color: #ef4444;
}

.listing-card-save svg {
    display: block;
}

@media (max-width: 960px) {
    .browse-layout {
        grid-template-columns: 1fr;
    }

    .browse-sidebar {
        position: static;
    }

    .listing-grid.listing-grid--paged {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .listing-grid.listing-grid--paged {
        grid-template-columns: 1fr;
    }

    .browse-pagination {
        gap: 2px;
        margin-top: 28px;
    }

    .browse-pagination-page,
    .browse-pagination-arrow,
    .browse-pagination-ellipsis {
        min-width: 36px;
        height: 36px;
    }
}

/* Finance calculator */
.page-finance {
    background: #f8f9fa;
}

.page-finance header {
    background: #fff;
}

.page-finance main.container {
    max-width: 1180px;
    padding-top: 56px;
    padding-bottom: 72px;
}

.finance-calc {
    font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
}

.finance-calc-title {
    margin: 0 0 48px;
    text-align: center;
    font-size: clamp(1.875rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #000;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.finance-calc-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 400px);
    gap: 56px;
    align-items: start;
}

.finance-calc-inputs {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding-top: 4px;
}

.finance-field {
    margin: 0;
    padding: 0;
    border: 0;
}

.finance-term-field,
.finance-condition-field {
    border: none;
}

.finance-label,
.finance-term-field legend,
.finance-condition-field legend {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #4b4b4b;
}

.finance-term-field legend,
.finance-condition-field legend {
    padding: 0;
}

.finance-input-wrap {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #d1d1d1;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.finance-input-prefix {
    flex-shrink: 0;
    padding: 15px 0 15px 16px;
    font-size: 16px;
    font-weight: 600;
    color: #4b4b4b;
}

.finance-input {
    flex: 1;
    min-width: 0;
    padding: 15px 16px 15px 10px;
    border: none;
    background: transparent;
    font-size: 16px;
    font-weight: 600;
    color: #000;
    outline: none;
}

.finance-input:focus {
    outline: none;
}

.finance-input-wrap:focus-within {
    border-color: #0061d5;
    box-shadow: 0 0 0 3px rgba(0, 97, 213, 0.12);
}

.finance-segment-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.finance-condition-options .finance-segment-btn {
    flex: 1 1 calc(50% - 5px);
    min-width: 120px;
}

.finance-term-options .finance-segment-btn {
    flex: 1 1 calc(20% - 8px);
    min-width: 72px;
}

.finance-segment-btn {
    padding: 14px 10px;
    border: 1px solid #d1d1d1;
    border-radius: 8px;
    background: #fff;
    font-size: 15px;
    font-weight: 600;
    color: #000;
    cursor: pointer;
    transition: border-color 0.15s ease, color 0.15s ease;
}

.finance-segment-btn:hover {
    border-color: #9ca3af;
}

.finance-segment-btn.is-active {
    border: 2px solid #0061d5;
    color: #0061d5;
    padding: 13px 9px;
}

.finance-summary-card {
    padding: 44px 36px 40px;
    background: #eef6ff;
    border-radius: 24px;
    text-align: center;
}

.finance-summary-label {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 400;
    color: #4b4b4b;
}

.finance-summary-amount {
    margin: 0 0 14px;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    line-height: 1.2;
    color: #374151;
    letter-spacing: -0.02em;
}

.finance-payment-line {
    display: inline-block;
    max-width: 100%;
    white-space: nowrap;
}

.finance-payment-currency,
.finance-payment-value {
    font-weight: 600;
}

.finance-summary-period {
    font-size: 0.5em;
    font-weight: 500;
    color: #6b7280;
    vertical-align: baseline;
    letter-spacing: 0;
}

.finance-summary-rate {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 16px;
    font-size: 14px;
    color: #4b4b4b;
}

.finance-info-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    padding: 0;
    border: 1px solid #9ca3af;
    border-radius: 50%;
    background: transparent;
    font-size: 11px;
    font-weight: 700;
    color: #6b7280;
    cursor: help;
    line-height: 1;
}

.finance-summary-details {
    margin: 0 0 24px;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
}

.finance-cta-btn {
    display: inline-block;
    width: auto;
    min-width: 200px;
    max-width: 100%;
    padding: 12px 28px;
    border: none;
    border-radius: 999px;
    background: #0061d5;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: background 0.15s ease;
}

.finance-cta-btn:hover {
    background: #004fb3;
    color: #fff;
}

.finance-summary-footnote {
    margin: 18px 0 0;
    font-size: 13px;
    color: #4b4b4b;
    line-height: 1.45;
}

.finance-summary-footnote strong {
    color: #111827;
}

.finance-page-note {
    margin: 36px 0 0;
    text-align: center;
    font-size: 12px;
    color: #9ca3af;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 900px) {
    .finance-calc-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .finance-summary-card {
        max-width: 480px;
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .page-finance main.container {
        padding-top: 32px;
    }

    .finance-calc-title {
        margin-bottom: 32px;
    }

    .finance-summary-amount {
        font-size: clamp(1.65rem, 7vw, 2.25rem);
    }

    .finance-term-options .finance-segment-btn {
        flex: 1 1 calc(33.333% - 7px);
    }

    .finance-condition-options .finance-segment-btn {
        flex: 1 1 100%;
    }
}

/* Rent */
.page-rent {
    background: #f3f4f6;
}

.page-rent main.container {
    width: min(1280px, 94vw);
    max-width: none;
    padding-top: 0;
    padding-bottom: 48px;
}

.rent-btn {
    border: 0;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    display: inline-block;
    text-decoration: none;
}

.rent-btn-primary {
    background: #0061ff;
    color: #fff;
}

.rent-btn-primary:hover {
    background: #0052d9;
    color: #fff;
}

.rent-btn-outline {
    background: #fff;
    border: 1px solid #d1d5db;
    color: #374151;
}

.rent-btn-sm {
    padding: 8px 14px;
    font-size: 0.875rem;
}

.rent-btn-block {
    width: 100%;
    padding: 10px 14px;
}

.rent-link-btn {
    border: 0;
    background: none;
    color: #2563eb;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    padding: 0;
}

/* Hero */
.rent-hero {
    position: relative;
    min-height: 520px;
    margin-bottom: 28px;
    margin-left: 50%;
    transform: translateX(-50%);
    width: min(1500px, calc(100vw - 24px));
    background-color: #e8eaed;
    background-image: url("../images/HeroSectionRental/rentheropic.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 16px;
    overflow: visible;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 48px 24px 0;
    box-sizing: border-box;
}

.rent-hero-copy {
    position: relative;
    max-width: 560px;
    color: #fff;
    margin-bottom: 0;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.rent-hero-copy h1 {
    margin: 0 0 12px;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    line-height: 1.15;
    font-weight: 800;
}

.rent-hero-lead {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.92);
}

.rent-hero-search {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0;
    width: min(960px, 100%);
    margin: auto auto 0;
    background: #fff;
    border-radius: 14px;
    padding: 16px 16px 16px 20px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.18);
    overflow: visible;
}

.rent-hero-field {
    flex: 1 1 140px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 16px;
    border-right: 1px solid #e5e7eb;
    min-width: 0;
}

.rent-hero-field:first-of-type {
    padding-left: 0;
}

.rent-hero-field-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.rent-hero-input {
    border: 0;
    background: transparent;
    font-size: 0.95rem;
    font-weight: 600;
    color: #111827;
    padding: 4px 0;
    width: 100%;
    font-family: inherit;
}

.rent-hero-input:focus {
    outline: none;
}

.rent-hero-select {
    cursor: pointer;
    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='%236b7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    padding-right: 18px;
}

.rent-hero-field--city {
    position: relative;
}

.rent-hero-city-wrap {
    position: relative;
    min-width: 0;
}

.rent-hero-city-wrap.is-open {
    z-index: 60;
}

.rent-hero-city-wrap .rent-hero-date-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.rent-hero-city-caret {
    flex-shrink: 0;
    font-size: 12px;
    color: #6b7280;
}

.rent-hero-city-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    margin: 0;
    padding: 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
    z-index: 70;
    overflow: hidden;
}

.rent-hero-city-menu[hidden] {
    display: none !important;
}

.rent-hero-city-search {
    width: 100%;
    box-sizing: border-box;
    border: 0;
    border-bottom: 1px solid #e5e7eb;
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    color: #111827;
}

.rent-hero-city-search:focus {
    outline: none;
}

.rent-hero-city-options {
    margin: 0;
    padding: 6px 0;
    list-style: none;
    max-height: 220px;
    overflow-y: auto;
}

.rent-hero-city-option {
    padding: 9px 12px;
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    cursor: pointer;
}

.rent-hero-city-option:hover {
    background: #f3f4f6;
}

.rent-hero-city-option.is-placeholder {
    color: #6b7280;
    font-weight: 500;
}

.rent-hero-city-option[hidden] {
    display: none;
}

.rent-hero-date-btn {
    display: block;
    width: 100%;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    color: #111827;
    padding: 4px 0;
    text-align: left;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rent-hero-date-btn.is-active {
    color: #0061ff;
}

.rent-hero-date-anchor {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 0;
    pointer-events: none;
}

.rent-hero-date-anchor .rent-date-popover {
    pointer-events: auto;
    top: 10px;
    left: 12px;
    right: 12px;
}

.rent-date-popover--hero {
    z-index: 50;
}

.rent-hero-search-btn {
    flex: 0 0 auto;
    padding: 14px 28px;
    font-size: 1rem;
    border-radius: 10px;
    margin-left: 8px;
}

/* Trust bar */
.rent-trust-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 20px 24px;
    margin-bottom: 28px;
}

.rent-trust-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.rent-trust-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    color: #2563eb;
    border-radius: 50%;
    font-weight: 800;
    font-size: 0.9rem;
}

.rent-trust-item strong {
    display: block;
    font-size: 0.9rem;
    color: #111827;
    margin-bottom: 2px;
}

.rent-trust-item span {
    font-size: 0.8rem;
    color: #6b7280;
}

/* Main layout */
.rent-layout {
    display: grid;
    grid-template-columns: 272px minmax(0, 1fr) 260px;
    gap: 24px;
    align-items: start;
    margin-bottom: 40px;
}

.rent-result-meta {
    margin: 0 0 16px;
}

.rent-layout .browse-sidebar {
    position: sticky;
    top: 16px;
}

.rent-filters-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.rent-filters-head h2 {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
}

.rent-filter-block {
    margin-bottom: 18px;
}

.rent-filter-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #374151;
    margin-bottom: 8px;
}

.rent-filter-select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 0.9rem;
    background: #fff;
}

.rent-range {
    width: 100%;
    accent-color: #2563eb;
}

.rent-range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 4px;
}

.rent-filter-fieldset {
    border: 0;
    margin: 0 0 18px;
    padding: 0;
}

.rent-filter-fieldset legend {
    padding: 0;
}

.rent-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: #374151;
    margin-bottom: 8px;
    cursor: pointer;
}

.rent-seat-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rent-seat-pill {
    padding: 8px 14px;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    background: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
}

.rent-seat-pill.is-active {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
}

/* Results grid */
.rent-results {
    min-width: 0;
}

.rent-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
}

.rent-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
}

.rent-card-image-wrap {
    display: block;
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f3f4f6;
    flex-shrink: 0;
}

.rent-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rent-card-image-wrap .rent-card-no-image {
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
}

.rent-card-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 14px 16px 16px;
}

.rent-card-title {
    margin: 0 0 4px;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.3;
}

.rent-card-title a {
    color: inherit;
    text-decoration: none;
}

.rent-card-title a:hover {
    color: #2563eb;
}

.rent-card-save {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.rent-card-specs {
    margin: 0 0 10px;
    font-size: 0.8rem;
    color: #6b7280;
}

.rent-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #6b7280;
    margin-bottom: 12px;
}

.rent-card-location {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.rent-card-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #1d4ed8;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.rent-rating-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    margin: 0;
    font-size: 13px;
    line-height: 1.35;
    color: #64748b;
}

.rent-rating-line--inline {
    display: inline-flex;
    margin-left: auto;
}

.rent-rating-line-score {
    color: #64748b;
    font-weight: 500;
}

.rent-rating-line-star {
    margin: 0 4px 0 2px;
    color: #7c3aed;
    font-size: 12px;
    line-height: 1;
}

.rent-rating-line-count {
    color: #94a3b8;
    font-weight: 400;
}

a.rent-rating-line-count {
    color: #94a3b8;
    text-decoration: none;
}

a.rent-rating-line-count:hover {
    color: #64748b;
    text-decoration: underline;
}

.rent-card-body .rent-rating-line--inline {
    margin: 0;
}

.rent-detail-meta .rent-rating-line--inline {
    margin-left: 0;
}

.rent-detail-reviews-summary.rent-rating-line {
    margin: 0;
}

.rent-detail-reviews-empty-summary {
    margin: 0;
    color: #94a3b8;
    font-size: 13px;
}

.rent-card-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
}

.rent-card-pricing strong {
    font-size: 1.15rem;
    color: #111827;
}

.rent-card-pricing span {
    font-size: 0.85rem;
    color: #6b7280;
}

.rent-card-pricing small {
    display: block;
    font-size: 0.75rem;
    color: #9ca3af;
}

/* Locations sidebar */
.rent-locations {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 20px 18px;
    position: sticky;
    top: 16px;
}

.rent-locations h2 {
    margin: 0 0 14px;
    font-size: 1rem;
    font-weight: 800;
}

.rent-map-placeholder {
    position: relative;
    height: 180px;
    background: linear-gradient(180deg, #dbeafe 0%, #eff6ff 100%);
    border-radius: 12px;
    margin-bottom: 18px;
    border: 1px solid #bfdbfe;
}

.rent-map-pin {
    position: absolute;
    width: 28px;
    height: 28px;
    background: #2563eb;
    color: #fff;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
}

.rent-locations-sub {
    margin: 0 0 10px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #374151;
}

.rent-location-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rent-location-pill {
    padding: 8px 14px;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    background: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
}

.rent-location-pill:hover {
    border-color: #2563eb;
    color: #2563eb;
}

/* Categories */
.rent-categories {
    margin-bottom: 32px;
}

.rent-categories h2 {
    margin: 0 0 18px;
    font-size: 1.25rem;
    font-weight: 800;
}

.rent-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.rent-category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.12s ease, box-shadow 0.12s ease;
}

.rent-category-card:hover {
    border-color: #2f9bff;
    box-shadow: 0 4px 14px rgba(47, 155, 255, 0.12);
}

.rent-category-card.is-active {
    border-color: #2f9bff;
    box-shadow: 0 0 0 2px rgba(47, 155, 255, 0.2);
}

.rent-category-card img {
    width: 72px;
    height: 48px;
    object-fit: contain;
}

.rent-category-name {
    font-weight: 800;
    font-size: 0.95rem;
    color: #111827;
}

.rent-category-price {
    font-size: 0.8rem;
    color: #6b7280;
}

/* Footer trust */
.rent-footer-trust {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.rent-footer-trust-item {
    display: flex;
    gap: 12px;
    padding: 18px 16px;
    background: #eff6ff;
    border-radius: 12px;
    border: 1px solid #dbeafe;
}

.rent-footer-trust-icon {
    font-size: 1.25rem;
    line-height: 1;
}

.rent-footer-trust-item strong {
    display: block;
    font-size: 0.875rem;
    margin-bottom: 4px;
}

.rent-footer-trust-item span {
    font-size: 0.78rem;
    color: #6b7280;
    line-height: 1.4;
}

@media (max-width: 1100px) {
    .rent-layout {
        grid-template-columns: 240px minmax(0, 1fr);
    }

    .rent-locations {
        display: none;
    }
}

@media (max-width: 860px) {
    .rent-trust-bar,
    .rent-footer-trust {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .rent-filters {
        position: static;
    }

    .rent-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rent-category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rent-hero-search {
        flex-direction: column;
        align-items: stretch;
    }

    .rent-hero-field {
        border-right: 0;
        border-bottom: 1px solid #e5e7eb;
        padding: 12px 0;
    }

    .rent-hero-search-btn {
        margin: 8px 0 0;
        width: 100%;
    }
}

@media (max-width: 520px) {
    .rent-trust-bar,
    .rent-footer-trust,
    .rent-category-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Rental Business Dashboard ---------- */
.rental-dash-brand {
    padding: 4px 12px 16px;
}

.rental-dash-brand-label {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #2563eb;
}

.rental-dash-empty {
    margin: 0 0 16px;
    color: #6b7280;
}

.rental-dash-note {
    margin: 0 0 12px;
    color: #6b7280;
    font-size: 0.9rem;
}

.rental-dash-list {
    margin: 0;
    padding-left: 1.2rem;
    color: #374151;
}

.rental-fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.rental-fleet-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
}

.rental-fleet-card-image {
    aspect-ratio: 16 / 10;
    background: #f3f4f6;
}

.rental-fleet-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rental-fleet-card-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 0.85rem;
}

.rental-fleet-card-body {
    padding: 14px 16px 16px;
}

.rental-fleet-card-body h3 {
    margin: 0 0 4px;
    font-size: 1rem;
}

.rental-fleet-card-body p {
    margin: 0 0 6px;
    font-size: 0.82rem;
    color: #6b7280;
}

.rental-fleet-card-location {
    font-weight: 600;
}

.rental-fleet-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
}

.rental-vehicle-form textarea {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 10px 12px;
    font-family: inherit;
    font-size: 0.95rem;
    resize: vertical;
}

.profile-form-actions {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.dash-btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    background: #fff;
    color: #374151;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.dash-btn-secondary:hover {
    border-color: #9ca3af;
}

.rent-empty-state {
    grid-column: 1 / -1;
    padding: 2rem 1rem;
    text-align: center;
    color: #6b7280;
}

.rent-detail-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 0 2rem;
}

.rent-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.rent-detail-main {
    min-width: 0;
}

.rent-detail-main-image-wrap {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #f3f4f6;
    aspect-ratio: 16 / 10;
}

.rent-detail-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rent-detail-no-image,
.rent-card-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    color: #9ca3af;
    font-weight: 600;
    min-height: 180px;
}

.rent-detail-thumbs {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
    overflow-x: auto;
}

.rent-detail-thumb {
    width: 72px;
    height: 54px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.rent-detail-title {
    margin: 0 0 0.5rem;
    font-size: 1.75rem;
}

.rent-detail-specs {
    color: #6b7280;
    margin: 0 0 0.75rem;
}

.rent-detail-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
    color: #374151;
}

.rent-detail-type {
    font-size: 0.9rem;
    color: #6b7280;
}

.rent-detail-storefront-link {
    margin-left: auto;
    font-size: 0.9rem;
    font-weight: 600;
    color: #2563EB;
    text-decoration: none;
}

.rent-detail-storefront-link:hover {
    text-decoration: underline;
}

.rent-detail-message-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border-radius: 8px;
    border: 1px solid #0f172a;
    color: #0f172a;
    background: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
}

.rent-detail-message-link:hover {
    background: #0f172a;
    color: #fff;
}

.rent-detail-pricing {
    margin-bottom: 1.25rem;
}

.rent-detail-pricing strong {
    font-size: 1.5rem;
}

.rent-detail-pricing small {
    display: block;
    color: #6b7280;
    margin-top: 0.25rem;
}

.rent-detail-sections {
    display: grid;
    gap: 1rem;
}

.rent-detail-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
}

.rent-detail-card h2 {
    margin: 0 0 0.75rem;
    font-size: 1.1rem;
}

.rent-detail-card h3 {
    margin: 0 0 0.5rem;
    font-size: 0.95rem;
}

.rent-detail-text {
    margin: 0;
    line-height: 1.6;
    white-space: pre-wrap;
}

.rent-detail-grid {
    display: grid;
    gap: 0.5rem;
}

.rent-detail-grid p {
    margin: 0;
}

.rent-detail-feature-group + .rent-detail-feature-group {
    margin-top: 1rem;
}

.rent-detail-feature-list {
    margin: 0;
    padding-left: 1.2rem;
    display: grid;
    gap: 0.25rem;
}

@media (max-width: 768px) {
    .rent-detail-layout {
        grid-template-columns: 1fr;
    }
}

/* ---------- Rental Dashboard Pages ---------- */
.rental-dash-muted { color: #9ca3af; }
.rental-dash-toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rental-dash-filter-btn {
    border: 1px solid #e5e7eb;
    background: #fff;
    border-radius: 10px;
    padding: 10px 14px;
    font-weight: 600;
    color: #64748b;
    cursor: not-allowed;
}
.rental-booking-snippet { display: grid; gap: 2px; font-size: 13px; }
.rental-booking-snippet span { color: #64748b; }
.rental-customer-cell { display: flex; align-items: center; gap: 10px; }
.rental-avatar {
    width: 36px; height: 36px; border-radius: 50%;
    background: #dbeafe; color: #1d4ed8;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700; flex-shrink: 0;
}
.dash-ad-thumb--sm { width: 48px; height: 36px; }
.rental-dash-pagination {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 14px 20px; border-top: 1px solid #e5e7eb; font-size: 13px; color: #64748b;
    flex-shrink: 0;
}
.rental-dash-page-nav { display: flex; align-items: center; gap: 8px; }
.rental-dash-page-nav a {
    min-width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid #e5e7eb; border-radius: 8px; text-decoration: none; color: #374151; font-weight: 600;
}
.rental-dash-page-nav a.is-active { background: #2563eb; border-color: #2563eb; color: #fff; }
.rental-dash-page-btn {
    min-height: 32px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    text-decoration: none;
    color: #374151;
    font-size: 13px;
    font-weight: 600;
    background: #fff;
    cursor: pointer;
}
.rental-dash-page-btn:hover:not(.is-disabled) {
    border-color: #2563eb;
    color: #2563eb;
}
.rental-dash-page-btn.is-disabled {
    color: #94a3b8;
    background: #f8fafc;
    cursor: default;
}
.rental-dash-page-indicator {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    padding: 0 4px;
    white-space: nowrap;
}
.dash-manage-more-menu button.is-danger { color: #b91c1c; }

.rental-availability-layout {
    display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px;
}
.rental-availability-toolbar {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
    padding: 16px 20px 0;
}
.rental-availability-filters { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rental-availability-filters select,
.rental-modal-card select,
.rental-modal-card input[type="date"] {
    border: 1px solid #d1d5db; border-radius: 10px; padding: 8px 10px; font: inherit;
}
.rental-month-label { font-weight: 700; color: #111827; }
.rental-view-toggle { display: flex; border: 1px solid #e5e7eb; border-radius: 10px; overflow: hidden; }
.rental-view-toggle a {
    padding: 8px 12px; text-decoration: none; color: #64748b; font-weight: 600; font-size: 13px;
}
.rental-view-toggle a.is-active { background: #eff6ff; color: #2563eb; }
.rental-month-nav a {
    width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid #e5e7eb; border-radius: 8px; text-decoration: none; color: #374151; margin-left: 4px;
}
.rental-cal-legend {
    display: flex; flex-wrap: wrap; gap: 14px; padding: 12px 20px 0; font-size: 12px; color: #64748b;
}
.rental-cal-dot {
    width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 4px;
}
.rental-cal-dot--available { background: #86efac; }
.rental-cal-dot--booked { background: #1d4ed8; }
.rental-cal-dot--blocked { background: #94a3b8; }
.rental-cal-dot--maintenance { background: #f97316; }
.rental-cal-dot--custom-price { background: #a855f7; }
.rental-calendar { padding: 12px 20px 20px; }
.rental-calendar-head,
.rental-calendar-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.rental-calendar-head span {
    text-align: center; font-size: 12px; font-weight: 700; color: #64748b; padding-bottom: 6px;
}
.rental-calendar-day {
    min-height: 64px; border-radius: 10px; border: 2px solid #e5e7eb; padding: 8px;
    font-size: 13px; font-weight: 600; color: #111827; background: #fff;
    cursor: pointer; text-align: left; font-family: inherit;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.1s;
}
.rental-calendar-day:hover:not(:disabled):not(.is-outside) {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}
.rental-calendar-day.is-outside { opacity: 0.35; cursor: default; }
.rental-calendar-day-num { display: block; }
.rental-cal--available { background: #f0fdf4; border-color: #86efac; }
.rental-cal--booked {
    background: #dbeafe; border-color: #1d4ed8; color: #1e3a8a;
    box-shadow: inset 0 0 0 1px rgba(29, 78, 216, 0.15);
}
.rental-cal--blocked {
    background: #f8fafc; border-color: #64748b; color: #475569;
    border-style: dashed;
}
.rental-cal--maintenance { background: #fff7ed; border-color: #f97316; color: #9a3412; }
.rental-cal--custom-price {
    background: #faf5ff; border-color: #a855f7; color: #6b21a8;
}
.rental-calendar-day-price {
    display: block; margin-top: 4px; font-size: 10px; font-weight: 700; color: #7e22ce;
}
.rental-cal--plain { background: #fff; border-color: #f1f5f9; color: #94a3b8; cursor: default; }
.rental-calendar--plain .rental-calendar-day { pointer-events: none; min-height: 52px; }
.rental-avail-pick-car-msg {
    margin: 0; padding: 0 20px 18px; font-size: 13px; color: #64748b; text-align: center;
}
.rental-avail-empty-panel {
    padding: 28px 20px 24px; text-align: center;
}
.rental-avail-empty-icon { font-size: 2rem; margin-bottom: 8px; }
.rental-avail-empty-panel h2 { margin: 0 0 8px; font-size: 1rem; }
.rental-avail-empty-panel p {
    margin: 0 0 16px; font-size: 13px; color: #64748b; line-height: 1.5;
}
.rental-avail-empty-btn { width: 100%; }
.rental-calendar-day.is-selected,
.rental-calendar-day.is-range-start,
.rental-calendar-day.is-range-end {
    border-color: #0061ff !important;
    box-shadow: 0 0 0 3px rgba(0, 97, 255, 0.2);
    z-index: 1;
    position: relative;
}
.rental-calendar-day.is-in-range {
    background: #eff6ff !important;
    border-color: #93c5fd !important;
}
.rental-cal-footnote { margin: 0; padding: 0 20px 16px; font-size: 12px; color: #94a3b8; }
.rental-availability-side { display: grid; gap: 16px; align-content: start; }

.rental-avail-panel { padding-bottom: 18px; overflow: visible; }
.rental-avail-panel-head {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 10px;
    padding: 16px 16px 0; flex-wrap: wrap;
}
.rental-avail-panel-sub { margin: 4px 0 0; font-size: 12px; color: #64748b; line-height: 1.45; }
.rental-avail-selection-pill {
    font-size: 11px; font-weight: 700; color: #1d4ed8; background: #eff6ff;
    border: 1px solid #bfdbfe; border-radius: 999px; padding: 5px 10px; white-space: nowrap;
}
.rental-avail-picker-wrap { padding: 14px 16px 0; }
.rental-avail-picker-label {
    margin: 0 0 8px; font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.04em; color: #94a3b8;
}
.rental-avail-mini-picker { position: relative; }
.rental-avail-popover { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30; }
.rental-avail-single-cal .rent-date-calendars { grid-template-columns: 1fr; }

.rental-avail-actions {
    display: grid; gap: 8px; padding: 14px 16px 0;
}
.rental-avail-action-form { margin: 0; }
.rental-avail-action {
    width: 100%; display: flex; align-items: center; gap: 12px;
    border: 1px solid #e5e7eb; border-radius: 12px; padding: 12px 14px;
    background: #fff; cursor: pointer; text-align: left; font: inherit;
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.rental-avail-action:hover:not(:disabled) {
    border-color: #cbd5e1; box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}
.rental-avail-action:disabled { opacity: 0.45; cursor: not-allowed; }
.rental-avail-action-icon {
    width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center;
    justify-content: center; font-size: 16px; flex-shrink: 0;
}
.rental-avail-action-text { display: grid; gap: 2px; min-width: 0; }
.rental-avail-action-text strong { font-size: 13px; color: #111827; }
.rental-avail-action-text small { font-size: 11px; color: #64748b; }
.rental-avail-action--available .rental-avail-action-icon { background: #dcfce7; color: #15803d; }
.rental-avail-action--available:hover:not(:disabled) { border-color: #86efac; }
.rental-avail-action--blocked .rental-avail-action-icon { background: #f1f5f9; color: #475569; }
.rental-avail-action--blocked:hover:not(:disabled) { border-color: #94a3b8; }
.rental-avail-action--maintenance .rental-avail-action-icon { background: #ffedd5; color: #c2410c; }
.rental-avail-action--maintenance:hover:not(:disabled) { border-color: #fdba74; }
.rental-avail-custom-price-form {
    margin: 0; border: 1px solid #e9d5ff; border-radius: 12px 12px 0 0; overflow: hidden;
    background: linear-gradient(180deg, #faf5ff 0%, #fff 100%);
}
.rental-avail-custom-price-wrap {
    border: 1px solid #e9d5ff; border-radius: 12px; overflow: hidden;
    background: linear-gradient(180deg, #faf5ff 0%, #fff 100%);
}
.rental-avail-custom-price-wrap .rental-avail-custom-price-form {
    border: none; border-radius: 0; background: transparent;
}
.rental-avail-custom-price-form .rental-avail-action {
    border: none; border-radius: 0; border-bottom: 1px solid #f3e8ff;
}
.rental-avail-custom-price-fields { padding: 10px 14px 12px; }
.rental-avail-custom-price-label {
    display: block; margin: 0 0 6px; font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.04em; color: #7e22ce;
}
.rental-avail-custom-price-row { display: flex; gap: 8px; }
.rental-avail-custom-price-input {
    flex: 1; min-width: 0; border: 1px solid #d8b4fe; border-radius: 10px;
    padding: 9px 10px; font: inherit; font-size: 14px; font-weight: 600;
}
.rental-avail-custom-price-input:focus {
    outline: none; border-color: #a855f7; box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.15);
}
.rental-avail-custom-price-btn {
    border: none; border-radius: 10px; padding: 9px 14px; font: inherit;
    font-size: 13px; font-weight: 700; color: #fff; background: #7c3aed; cursor: pointer;
}
.rental-avail-custom-price-btn:hover:not(:disabled) { background: #6d28d9; }
.rental-avail-custom-price-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.rental-avail-custom-price-hint { margin: 6px 0 0; font-size: 11px; color: #64748b; }
.rental-avail-reset-price-form { margin: 0; padding: 0 14px 12px; }
.rental-avail-reset-price-btn {
    width: 100%; border: 1px dashed #c4b5fd; border-radius: 10px; padding: 8px 10px;
    background: #fff; font: inherit; font-size: 12px; font-weight: 600; color: #6d28d9;
    cursor: pointer;
}
.rental-avail-reset-price-btn:hover:not(:disabled) { background: #faf5ff; border-color: #a855f7; }
.rental-avail-reset-price-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.rental-avail-action--custom-price .rental-avail-action-icon { background: #f3e8ff; color: #7c3aed; }
.rental-avail-note {
    margin: 12px 16px 0; font-size: 12px; color: #94a3b8; line-height: 1.45;
}
.rental-modal[hidden] { display: none !important; }
.rental-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; }
.rental-modal-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, 0.45); }
.rental-modal-card {
    position: relative; background: #fff; border-radius: 14px; padding: 20px; width: min(420px, calc(100% - 32px));
    display: grid; gap: 12px; box-shadow: 0 20px 40px rgba(15, 23, 42, 0.18);
}
.rental-modal-card h3 { margin: 0; }
.rental-modal-card label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: #374151; }
.rental-modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; }

.rental-cancel-modal-card {
    text-align: center;
    gap: 10px;
}

.rental-cancel-modal-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto;
    border-radius: 999px;
    background: #fef2f2;
    color: #dc2626;
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rental-cancel-modal-lead {
    margin: 0;
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
}

.rental-cancel-modal-card form {
    display: grid;
    gap: 8px;
    text-align: left;
    margin-top: 4px;
}

.rental-cancel-modal-card textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 10px 12px;
    font: inherit;
    font-size: 0.9rem;
    resize: vertical;
    min-height: 96px;
}

.rental-cancel-modal-card textarea:focus {
    outline: none;
    border-color: #0061ff;
    box-shadow: 0 0 0 3px rgba(0, 97, 255, 0.12);
}

.rental-cancel-modal-hint {
    margin: 0;
    font-size: 0.78rem;
    color: #94a3b8;
}

.rental-cancel-submit {
    background: #dc2626 !important;
}

.rental-cancel-submit:hover {
    background: #b91c1c !important;
}

.rental-delete-modal-card {
    text-align: center;
    gap: 10px;
    width: min(480px, calc(100% - 32px));
}

.rental-delete-modal-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto;
    border-radius: 999px;
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rental-delete-modal-icon--blocked {
    background: #fff7ed;
    color: #ea580c;
}

.rental-delete-modal-icon--confirm {
    background: #fef2f2;
    color: #dc2626;
}

.rental-delete-modal-lead {
    margin: 0;
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.55;
}

.rental-delete-modal-tips {
    text-align: left;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 12px;
    margin-top: 2px;
}

.rental-delete-modal-tips-label {
    margin: 0 0 6px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.rental-delete-modal-tips ul {
    margin: 0;
    padding-left: 1.1rem;
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
}

.rental-delete-inline-form {
    display: inline;
    margin: 0;
}

.rental-delete-submit {
    background: #dc2626 !important;
}

.rental-delete-submit:hover {
    background: #b91c1c !important;
}

.listing-delete-modal-card {
    text-align: center;
}

.listing-delete-name {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
}

.listing-delete-warn {
    text-align: left;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 10px;
    padding: 12px 14px;
    margin-top: 8px;
}

.listing-delete-warn strong {
    display: block;
    color: #b91c1c;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.listing-delete-warn p {
    margin: 0;
    font-size: 0.88rem;
    color: #7f1d1d;
    line-height: 1.5;
}

.listing-delete-warn p + p {
    margin-top: 6px;
}

.listing-delete-modal-actions {
    justify-content: stretch;
    margin-top: 8px;
}

.listing-delete-modal-actions .dash-btn-secondary,
.listing-delete-modal-actions .dash-btn-primary {
    flex: 1;
    justify-content: center;
}

body.listing-delete-modal-open {
    overflow: hidden;
}

[data-delete-modal-blocked-actions] {
    flex-wrap: wrap;
    justify-content: center;
}

.rental-profile-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.rental-profile-completion { margin-bottom: 16px; padding: 16px 20px; }
.rental-profile-completion-head { display: flex; justify-content: space-between; margin-bottom: 8px; }
.rental-profile-progress { height: 8px; background: #e5e7eb; border-radius: 999px; overflow: hidden; margin-bottom: 8px; }
.rental-profile-progress span { display: block; height: 100%; background: #2563eb; border-radius: 999px; }
.rental-profile-completion p { margin: 0; font-size: 13px; color: #64748b; }

.dealer-profile-completion { margin-bottom: 16px; padding: 16px 20px; }
.dealer-profile-completion-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 10px;
    gap: 12px;
}
.dealer-profile-completion-head strong { font-size: 15px; color: #0f172a; }
.dealer-profile-completion-head span {
    font-size: 13px;
    font-weight: 600;
    color: #2563eb;
    font-variant-numeric: tabular-nums;
}
.dealer-profile-progress {
    height: 8px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 12px;
}
.dealer-profile-progress span {
    display: block;
    height: 100%;
    background: #2563eb;
    border-radius: 999px;
    transition: width 0.25s ease;
}
.dealer-profile-checklist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 16px;
}
.dealer-profile-checklist li {
    position: relative;
    padding-left: 22px;
    font-size: 13px;
    color: #64748b;
}
.dealer-profile-checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1.5px solid #cbd5e1;
    box-sizing: border-box;
}
.dealer-profile-checklist li.is-done {
    color: #0f172a;
}
.dealer-profile-checklist li.is-done::before {
    border-color: #2563eb;
    background: #2563eb;
    box-shadow: inset 0 0 0 2px #fff;
}
@media (max-width: 560px) {
    .dealer-profile-checklist { grid-template-columns: 1fr; }
}

.rental-profile-form { display: grid; gap: 16px; }
.profile-field--full { grid-column: 1 / -1; }
.rental-profile-media {
    display: grid; grid-template-columns: 160px 1fr; gap: 16px; margin-top: 16px;
}
.rental-media-preview {
    border: 1px dashed #d1d5db; border-radius: 12px; background: #f8fafc;
    display: flex; align-items: center; justify-content: center; overflow: hidden; color: #94a3b8;
}
.rental-media-preview--logo { width: 120px; height: 120px; }
.rental-media-preview--cover { width: 100%; min-height: 120px; }
.rental-media-preview img { width: 100%; height: 100%; object-fit: cover; }
.rental-hours-grid { display: grid; gap: 10px; padding: 0 16px 16px; }
.rental-hours-row {
    display: grid; grid-template-columns: 100px auto 1fr; gap: 10px; align-items: center; font-size: 13px;
}
.rental-hours-closed { color: #94a3b8; font-weight: 600; }
.rental-toggle { position: relative; width: 42px; height: 24px; }
.rental-toggle input { opacity: 0; width: 0; height: 0; }
.rental-toggle span {
    position: absolute; inset: 0; background: #d1d5db; border-radius: 999px; cursor: pointer; transition: 0.2s;
}
.rental-toggle span::after {
    content: ""; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: 0.2s;
}
.rental-toggle input:checked + span { background: #2563eb; }
.rental-toggle input:checked + span::after { transform: translateX(18px); }

@media (max-width: 1100px) {
    .rental-availability-layout { grid-template-columns: 1fr; }
}

/* ---------- Rent booking ---------- */
.rent-booking-card {
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: 18px;
    padding: 1.25rem 1.1rem;
    box-shadow: 0 10px 32px rgba(15, 23, 42, 0.08);
    overflow: visible;
}

.rent-booking-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.rent-booking-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.2rem 0.35rem;
    min-width: 0;
}

.rent-booking-price strong {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.1;
}

.rent-booking-price-unit {
    font-size: 0.95rem;
    color: #6b7280;
    font-weight: 500;
}

.rent-booking-deposit {
    flex-basis: 100%;
    font-size: 0.78rem;
    color: #9ca3af;
}

.rent-booking-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    background: #ebf2ff;
    color: #0061ff;
    white-space: nowrap;
    flex-shrink: 0;
}

.rent-booking-form {
    display: grid;
    gap: 0.75rem;
    min-width: 0;
}

.rent-booking-fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0.6rem;
}

.rent-booking-field {
    display: grid;
    gap: 0.3rem;
    min-width: 0;
}

.rent-booking-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #1a1a1a;
}

.rent-date-picker {
    position: relative;
    min-width: 0;
}

.rent-date-triggers {
    margin-bottom: 0;
}

.rent-date-trigger {
    box-sizing: border-box;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 0.5rem 0.6rem;
    background: #fff;
    font: inherit;
    font-size: 0.84rem;
    color: #1a1a1a;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.rent-date-trigger:hover {
    border-color: #93c5fd;
}

.rent-date-trigger.is-active {
    border-color: #0061ff;
    box-shadow: 0 0 0 3px rgba(0, 97, 255, 0.12);
}

.rent-date-trigger-text {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rent-date-trigger-icon {
    color: #0061ff;
    flex-shrink: 0;
}

.rent-date-popover {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 0.45rem);
    z-index: 40;
}

.rent-date-popover-inner {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
    overflow: hidden;
}

.rent-date-calendars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 0.85rem 0.75rem 0.5rem;
}

.rent-date-cal-head {
    display: grid;
    grid-template-columns: 28px 1fr 28px;
    align-items: center;
    margin-bottom: 0.65rem;
}

.rent-date-cal-title {
    text-align: center;
    font-size: 0.88rem;
    font-weight: 700;
    color: #1e293b;
}

.rent-date-nav {
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 8px;
    background: #eaf2ff;
    color: #0061ff;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rent-date-nav:hover {
    background: #dbeafe;
}

.rent-date-nav-spacer {
    width: 28px;
    height: 28px;
}

.rent-date-cal-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    margin-bottom: 4px;
}

.rent-date-cal-weekdays span {
    text-align: center;
    font-size: 0.68rem;
    font-weight: 600;
    color: #94a3b8;
    padding: 0.15rem 0;
}

.rent-date-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.rent-date-day {
    border: 0;
    background: transparent;
    border-radius: 8px;
    min-height: 36px;
    padding: 2px 0 3px;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 500;
    color: #1e293b;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.rent-date-day--empty {
    min-height: 32px;
    pointer-events: none;
}

.rent-date-day:not(.is-disabled):not(.is-start):not(.is-end):not(.is-in-range):hover {
    background: #f1f5f9;
}

.rent-date-day.is-disabled {
    color: #cbd5e1;
    background: #f8fafc;
    cursor: not-allowed;
}

.rent-date-day.is-today:not(.is-start):not(.is-end)::after {
    content: "";
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 2px;
    background: #0061ff;
    border-radius: 2px;
}

.rent-date-day.is-in-range {
    background: #eaf2ff;
    border-radius: 0;
    color: #1e293b;
}

.rent-date-day.is-start,
.rent-date-day.is-end {
    background: #0061ff;
    color: #fff;
    font-weight: 700;
}

.rent-date-day.is-start {
    border-radius: 8px 0 0 8px;
}

.rent-date-day.is-end {
    border-radius: 0 8px 8px 0;
}

.rent-date-day.is-start.is-end {
    border-radius: 8px;
}

.rent-date-popover-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 0.85rem;
    border-top: 1px solid #eef2f7;
    background: #fff;
}

.rent-date-foot-days {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.84rem;
    font-weight: 600;
    color: #374151;
}

.rent-date-foot-icon {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #eaf2ff;
    color: #0061ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rent-date-foot-actions {
    display: flex;
    gap: 0.45rem;
}

.rent-date-btn {
    border: 0;
    border-radius: 8px;
    padding: 0.45rem 0.85rem;
    font: inherit;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
}

.rent-date-btn--clear {
    background: #eaf2ff;
    color: #0061ff;
}

.rent-date-btn--clear:hover {
    background: #dbeafe;
}

.rent-date-btn--apply {
    background: #0061ff;
    color: #fff;
}

.rent-date-btn--apply:hover {
    background: #0052d9;
}

.rent-date-btn--apply:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.rent-booking-input-wrap {
    position: relative;
    min-width: 0;
}

.rent-booking-input-icon {
    position: absolute;
    left: 0.6rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    pointer-events: none;
    width: 14px;
    height: 14px;
}

.rent-booking-input,
.rent-booking-textarea {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 0.5rem 0.6rem;
    font: inherit;
    font-size: 0.84rem;
    color: #1a1a1a;
    background: #fff;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.rent-booking-input {
    padding-left: 2rem;
    padding-right: 0.45rem;
}

.rent-booking-input[type="date"] {
    appearance: none;
    -webkit-appearance: none;
}

.rent-booking-input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0;
    position: absolute;
    right: 0;
    width: 2rem;
    height: 100%;
    cursor: pointer;
}

.rent-booking-textarea {
    resize: vertical;
    min-height: 64px;
    max-height: 120px;
    line-height: 1.45;
}

.rent-booking-input:focus,
.rent-booking-textarea:focus {
    outline: none;
    border-color: #0061ff;
    box-shadow: 0 0 0 3px rgba(0, 97, 255, 0.12);
}

.rent-booking-hint,
.rent-booking-note {
    margin: 0;
    font-size: 0.78rem;
    color: #6b7280;
}

.rent-booking-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 0.85rem;
    background: #ebf2ff;
    border-radius: 10px;
    font-size: 0.84rem;
    font-weight: 600;
    color: #1a1a1a;
}

.rent-booking-summary-left {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #374151;
    min-width: 0;
}

.rent-booking-summary-left svg {
    color: #0061ff;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.rent-booking-summary-total {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0061ff;
    flex-shrink: 0;
}

.rent-booking-price-alert {
    margin-top: 0.55rem;
    padding: 0.75rem 0.85rem;
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: 12px;
    font-size: 0.78rem;
    color: #14532d;
    line-height: 1.45;
}

.rent-booking-price-alert-head {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
}

.rent-booking-price-up-badge {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #22c55e;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

.rent-booking-price-alert-head strong {
    display: block;
    font-size: 0.86rem;
    color: #166534;
    margin-bottom: 0.15rem;
}

.rent-booking-price-alert-head p {
    margin: 0;
    color: #15803d;
}

.rent-booking-price-table-wrap {
    margin-top: 0.65rem;
    overflow-x: auto;
}

.rent-booking-price-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.76rem;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #bbf7d0;
}

.rent-booking-price-table th,
.rent-booking-price-table td {
    padding: 0.45rem 0.55rem;
    text-align: left;
}

.rent-booking-price-table th {
    background: #dcfce7;
    color: #166534;
    font-weight: 700;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.rent-booking-price-table td {
    border-top: 1px solid #ecfdf5;
    color: #374151;
}

.rent-booking-price-higher {
    font-weight: 800;
    color: #15803d;
}

.rent-booking-price-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #22c55e;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    vertical-align: middle;
}

.rent-date-day-num {
    display: block;
    line-height: 1.1;
}

.rent-date-day-rate {
    display: block;
    margin-top: 1px;
    font-size: 0.58rem;
    font-weight: 800;
    line-height: 1;
    color: #15803d;
    white-space: nowrap;
}

.rent-date-day-rate.is-higher {
    color: #15803d;
    background: #dcfce7;
    border-radius: 4px;
    padding: 1px 3px;
}

.rent-date-day.is-special-rate:not(.is-disabled):not(.is-start):not(.is-end):not(.is-in-range) {
    background: #f0fdf4;
}

.rent-booking-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    border: 0;
    border-radius: 10px;
    padding: 0.75rem 0.85rem;
    background: #0061ff;
    color: #fff;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
}

.rent-booking-submit:hover {
    background: #0046db;
    color: #fff;
}

.rent-booking-submit:active {
    transform: translateY(1px);
}

.rent-my-bookings-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0.5rem 0 2rem;
}

.dashboard-main .rent-my-bookings-page {
    max-width: none;
    margin: 0;
    padding: 0;
}

.rent-my-bookings-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.rent-my-bookings-title {
    margin: 0 0 0.25rem;
    font-size: 1.75rem;
}

.rent-my-bookings-sub {
    margin: 0;
    color: #6b7280;
}

.rent-my-bookings-card,
.rent-my-bookings-empty {
    padding: 0;
    overflow: hidden;
}

.rent-my-bookings-empty {
    padding: 2rem;
    text-align: center;
}

.rent-my-bookings-empty p {
    margin: 0 0 1rem;
    color: #6b7280;
}

.rent-booking-cancel-reason {
    margin-top: 0.35rem;
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.4;
    max-width: 200px;
}

@media (max-width: 600px) {
    .rent-booking-fields {
        grid-template-columns: 1fr;
    }

    .rent-date-calendars {
        grid-template-columns: 1fr;
    }

    .rent-date-popover-foot {
        flex-direction: column;
        align-items: stretch;
    }

    .rent-date-foot-actions {
        justify-content: flex-end;
    }

    .rent-my-bookings-head {
        flex-direction: column;
    }
}

/* ---------- Dealer subscription plans (design preview) ---------- */
body.page-dealer-plans {
    background: #f8fafc;
}

body.page-dealer-plans main.container {
    max-width: 1120px;
    width: min(1120px, 100% - var(--zulu-container-pad) * 2);
}

.dealer-plans-page {
    padding: 24px 0 48px;
}

.dealer-plans-hero {
    text-align: center;
    margin-bottom: 36px;
}

.dealer-plans-title {
    margin: 0 0 10px;
    font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.25rem);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.dealer-plans-subtitle {
    margin: 0 auto 24px;
    max-width: 520px;
    font-size: var(--zulu-text-lg);
    color: var(--zulu-text-muted);
}

.dealer-plans-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    background: #ffffff;
    border: 1px solid var(--zulu-border);
    border-radius: 999px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.dealer-plans-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: #64748b;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.dealer-plans-toggle-btn.is-active {
    background: var(--zulu-brand-blue);
    color: #ffffff;
}

.dealer-plans-toggle-btn:not(.is-active):hover {
    color: #334155;
    background: #f1f5f9;
}

.dealer-plans-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.dealer-plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 28px 24px 24px;
    background: #ffffff;
    border: 1px solid var(--zulu-border);
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.dealer-plan-card.is-popular {
    border: 2px solid var(--zulu-brand-blue);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
}

.dealer-plan-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--zulu-brand-blue);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    border-radius: 999px;
    white-space: nowrap;
}

.dealer-plan-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 16px;
    color: var(--zulu-brand-blue);
}

.dealer-plan-name {
    margin: 0 0 8px;
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
}

.dealer-plan-price {
    margin: 0 0 6px;
    line-height: 1.2;
}

.dealer-plan-amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--zulu-brand-blue);
    letter-spacing: -0.02em;
}

.dealer-plan-period {
    font-size: 14px;
    color: var(--zulu-text-muted);
}

.dealer-plan-limit {
    margin: 0 0 20px;
    font-size: 14px;
    color: #64748b;
}

.dealer-plan-limit--secondary {
    margin-top: -12px;
    font-weight: 600;
    color: #334155;
}

.dealer-plan-features {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    flex: 1;
}

.dealer-plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #334155;
    line-height: 1.4;
}

.dealer-plan-check {
    flex-shrink: 0;
    margin-top: 1px;
    color: var(--zulu-brand-blue);
}

.dealer-plan-form {
    margin-top: auto;
}

.dealer-plan-btn {
    width: 100%;
    min-height: var(--zulu-touch-min);
    padding: 12px 20px;
    border: 2px solid var(--zulu-brand-blue);
    border-radius: 10px;
    background: #ffffff;
    color: var(--zulu-brand-blue);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.dealer-plan-btn:hover {
    background: #eff6ff;
}

.dealer-plan-btn--primary {
    background: var(--zulu-brand-blue);
    color: #ffffff;
}

.dealer-plan-btn--primary:hover {
    background: #1d4ed8;
}

.dealer-plans-compare {
    margin-bottom: 28px;
}

.dealer-plans-compare-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--zulu-border);
    border-radius: 16px;
    background: #ffffff;
}

.dealer-plans-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    font-size: 14px;
}

.dealer-plans-table thead th {
    padding: 18px 20px;
    text-align: center;
    font-weight: 700;
    color: #0f172a;
    border-bottom: 1px solid var(--zulu-border);
    background: #fafafa;
}

.dealer-plans-table thead th:first-child {
    text-align: left;
}

.dealer-plans-table-tag {
    display: block;
    margin-top: 4px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--zulu-brand-blue);
}

.dealer-plans-table tbody th,
.dealer-plans-table tbody td {
    padding: 16px 20px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.dealer-plans-table tbody th {
    text-align: left;
    font-weight: 600;
    color: #334155;
}

.dealer-plans-table tbody td {
    text-align: center;
    color: #475569;
}

.dealer-plans-row-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.dealer-plans-row-label svg {
    flex-shrink: 0;
    color: #94a3b8;
}

.dealer-plans-table-check {
    color: #16a34a;
}

.dealer-plans-table-empty {
    color: #cbd5e1;
}

.dealer-plans-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    color: #1e40af;
}

.dealer-plans-notice svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.dealer-plans-notice p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.dealer-plans-notice a {
    color: var(--zulu-brand-blue);
    font-weight: 600;
    text-decoration: none;
}

.dealer-plans-notice a:hover {
    text-decoration: underline;
}

body.page-dealer-subscription-success {
    background: #f8fafc;
}

body.page-dealer-subscription-success main.container {
    max-width: 720px;
}

.dealer-success-page {
    padding: 48px 0 64px;
    display: flex;
    justify-content: center;
}

.dealer-success-card {
    width: 100%;
    text-align: center;
    padding: 48px 32px;
    background: #ffffff;
    border: 1px solid var(--zulu-border);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
}

.dealer-success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: #dcfce7;
    color: #16a34a;
}

.dealer-success-title {
    margin: 0 0 12px;
    font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.25rem);
    font-weight: 800;
    color: #0f172a;
}

.dealer-success-lead {
    margin: 0 auto 8px;
    max-width: 420px;
    font-size: var(--zulu-text-lg);
    color: #334155;
}

.dealer-success-plan {
    margin: 0 0 8px;
    font-size: 15px;
    color: var(--zulu-text-muted);
}

.dealer-success-note {
    margin: 0 auto 24px;
    max-width: 420px;
    font-size: 14px;
    color: var(--zulu-text-muted);
}

.dealer-success-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 28px;
}

.dealer-success-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: var(--zulu-touch-min);
    padding: 12px 22px;
    border: 2px solid var(--zulu-brand-blue);
    border-radius: 10px;
    background: #ffffff;
    color: var(--zulu-brand-blue);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.dealer-success-btn:hover {
    background: #eff6ff;
}

.dealer-success-btn--primary {
    background: var(--zulu-brand-blue);
    color: #ffffff;
}

.dealer-success-btn--primary:hover {
    background: #1d4ed8;
    color: #ffffff;
}

.rent-form-validation-banner {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    font-size: 14px;
    font-weight: 600;
}

.sell-ad-field.is-invalid .sell-ad-select,
.sell-ad-field.is-invalid .sell-ad-input,
.sell-ad-field.is-invalid .sell-ad-textarea,
.hero-custom-select-wrap.is-invalid .hero-custom-select-toggle {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.rent-field-error {
    display: block;
    margin-top: 6px;
}

/* intl-tel-input */
.iti {
    width: 100%;
}

.iti input {
    width: 100%;
}

.iti--error .iti__tel-input {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.auth-input-row.is-invalid .auth-input,
.sell-ad-phone-field.is-invalid .sell-ad-input {
    border-color: #dc2626;
}

.intl-phone-error {
    display: block;
    margin: 6px 0 0;
    font-size: 13px;
    color: #b91c1c;
    line-height: 1.35;
}

.iti__country-list {
    z-index: 30;
}

/* intl-tel-input flag sprites (CDN relative paths break; serve locally) */
:root {
    --iti-path-flags-1x: url("../img/intl-tel-input/flags.webp");
    --iti-path-flags-2x: url("../img/intl-tel-input/flags@2x.webp");
}

/* intl-country picker */
.intl-country-field {
    position: relative;
    width: 100%;
}

.intl-country-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 44px;
    padding: 10px 14px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #111827;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    position: relative;
    z-index: 1;
}

.intl-country-trigger .iti__flag-box {
    flex-shrink: 0;
    width: 20px;
}

.intl-country-trigger .iti__flag,
.intl-country-list .iti__flag {
    display: block;
}

.intl-country-option .iti__flag-box {
    flex-shrink: 0;
    width: 20px;
    margin-right: 2px;
}

.intl-country-option .iti__country-name {
    flex: 1;
    min-width: 0;
}

.intl-country-label {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
}

.intl-country-caret {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: #6B7280;
}

.intl-country-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
    z-index: 100;
    overflow: hidden;
}

.intl-country-dropdown[hidden] {
    display: none;
}

.intl-country-search {
    display: block;
    width: calc(100% - 16px);
    margin: 8px;
    padding: 8px 10px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    color: #111827;
    background: #FFFFFF;
    box-sizing: border-box;
}

.intl-country-search:focus {
    outline: none;
    border-color: #2563EB;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.intl-country-list {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    max-height: 220px;
    overflow-y: auto;
    margin: 0;
    padding: 0;
    list-style: none;
    background: #FFFFFF;
    border: none;
    border-radius: 0;
    box-shadow: none;
    z-index: auto;
}

.intl-country-list[hidden] {
    display: none;
}

.intl-country-option--hidden {
    display: none !important;
}

.intl-country-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    cursor: pointer;
}

.intl-country-option:hover,
.intl-country-option.is-selected {
    background: #EFF6FF;
}

.intl-country-error {
    display: block;
    margin: 6px 0 0;
    font-size: 13px;
    color: #b91c1c;
    line-height: 1.35;
}

.auth-input-row--intl-country {
    position: relative;
    display: flex;
    align-items: stretch;
    overflow: visible;
}

.auth-input-row--intl-country .intl-country-field {
    flex: 1;
    min-width: 0;
}

.auth-input-row--intl-country .intl-country-trigger {
    border: none;
    background: transparent;
    border-radius: 0 12px 12px 0;
    min-height: 48px;
    padding: 14px 16px;
    box-shadow: none;
}

.auth-input-row--intl-country .intl-country-trigger:hover,
.auth-input-row--intl-country:focus-within .intl-country-trigger {
    border: none;
    box-shadow: none;
}

.auth-input-row--intl-country .intl-country-trigger.is-invalid {
    box-shadow: none;
}

.auth-input-row--intl-country.is-invalid,
.auth-input-row--intl-country:has(.intl-country-trigger.is-invalid) {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.profile-intl-country .intl-country-trigger {
    min-height: 42px;
}

.profile-intl-country .intl-country-trigger:hover {
    border-color: #D1D5DB;
}

.intl-country-trigger:hover {
    border-color: #D1D5DB;
}

.intl-country-trigger.is-invalid {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.intl-country-flag {
    flex-shrink: 0;
}

.auth-input-row--city select.auth-input {
    width: 100%;
    min-height: 48px;
    border: 0;
    background: transparent;
    padding: 0;
    box-shadow: none;
}

.auth-city-other {
    margin-top: 0.5rem;
}

.auth-city-other-input {
    width: 100%;
}

.city-field-other {
    margin-top: 0.5rem;
}

.city-field-other-label {
    display: block;
    font-size: 0.8125rem;
    color: #6B7280;
    margin-bottom: 0.35rem;
}

.profile-field .city-field select,
.profile-field .city-field-other input {
    width: 100%;
}

/* ---------- Rental reviews ---------- */
.seller-profile-rating,
.rent-detail-rating {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 8px;
    margin: 8px 0 0;
    font-size: 14px;
    color: #374151;
}

.seller-profile-rating-stars,
.rent-detail-rating-stars,
.rental-review-item-stars,
.rental-dash-rating-stars {
    color: #1d4ed8;
    letter-spacing: 1px;
    font-weight: 700;
}

.seller-profile-rating-count,
.rent-detail-rating-count {
    color: #6b7280;
}

a.seller-profile-rating-count,
a.rent-detail-rating-count {
    color: #2563eb;
    text-decoration: none;
}

a.seller-profile-rating-count:hover,
a.rent-detail-rating-count:hover {
    text-decoration: underline;
}

.rent-detail-reviews-summary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    color: #64748b;
    font-size: 13px;
}

.rent-detail-reviews-summary strong {
    color: #0f172a;
}

.rent-detail-rating-biz {
    color: #2563eb;
    text-decoration: none;
    margin-left: 4px;
}

.rent-detail-rating-biz:hover {
    text-decoration: underline;
}

.seller-profile-reviews {
    margin-top: 28px;
}

.rental-review-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.rental-review-item {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 14px 16px;
    background: #fff;
}

.rental-review-item-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
}

.rental-review-item-name {
    color: #0f172a;
    font-size: 14px;
}

.rental-review-item-date {
    margin-left: auto;
    color: #94a3b8;
    font-size: 13px;
}

.rental-review-item-car {
    margin: 6px 0 0;
    color: #64748b;
    font-size: 13px;
}

.rental-review-item-comment {
    margin: 8px 0 0;
    color: #334155;
    font-size: 14px;
    line-height: 1.5;
    white-space: pre-wrap;
}

.rent-review-done {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    color: #15803d;
}

.rent-review-modal-card {
    width: min(440px, calc(100% - 32px));
}

.rent-review-modal-lead {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}

.rent-review-stars {
    border: 0;
    margin: 0;
    padding: 0;
}

.rent-review-stars legend {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.rent-review-stars-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rent-review-star-option {
    display: inline-flex !important;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 6px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    color: #94a3b8;
    font-size: 15px;
    line-height: 1;
}

.rent-review-star-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.rent-review-star-option:has(input:checked),
.rent-review-star-option:hover {
    border-color: #93c5fd;
    background: #eff6ff;
    color: #1d4ed8;
}

.rent-review-comment-label {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}

.rent-review-comment-label span {
    font-weight: 500;
    color: #94a3b8;
}

#leaveReviewForm textarea {
    width: 100%;
    margin-top: 6px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 10px 12px;
    font: inherit;
    resize: vertical;
    min-height: 96px;
}

.rental-dash-rating-summary {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 12px;
    background: #eff6ff;
    color: #1e3a8a;
    font-size: 14px;
}

.rental-dash-review-comment {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 280px;
    color: #334155;
    font-size: 13px;
    line-height: 1.4;
}

.seller-profile-rating-stars--empty,
.rent-detail-rating-stars--empty {
    color: #cbd5e1;
}

.rental-reviews-table-wrap {
    overflow-x: auto;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
}

.rental-reviews-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.rental-reviews-table th,
.rental-reviews-table td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: top;
}

.rental-reviews-table th {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    background: #f8fafc;
}

.rental-reviews-table tbody tr:last-child td {
    border-bottom: 0;
}

.rental-reviews-table-name {
    font-weight: 600;
    color: #0f172a;
    white-space: nowrap;
}

.rental-reviews-table a {
    color: #2563eb;
    text-decoration: none;
}

.rental-reviews-table a:hover {
    text-decoration: underline;
}

.rental-reviews-table-empty-cell {
    color: #94a3b8;
}

.rental-reviews-empty {
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    padding: 28px 20px;
    text-align: center;
    background: #f8fafc;
}

.rental-reviews-empty--compact {
    padding: 20px 16px;
}

.rental-reviews-empty p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
}

.rental-reviews-empty p + p {
    margin-top: 6px;
}

.rental-reviews-empty strong {
    color: #0f172a;
    font-size: 15px;
}

.rent-detail-reviews-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.rent-detail-reviews-head h2 {
    margin: 0;
}

.rent-detail-reviews-head p {
    margin: 0;
    color: #64748b;
    font-size: 13px;
}

.rent-detail-reviews .rental-review-list {
    margin-top: 0;
}

/* ---------- Messages ---------- */
.msg-page {
    max-width: 760px;
}

.msg-page[data-msg-inbox-page] {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 0;
    height: calc(100dvh - var(--zulu-header-height) - 48px);
    max-height: calc(100dvh - var(--zulu-header-height) - 48px);
}

.msg-page[data-msg-inbox-page] .dash-welcome {
    flex: 0 0 auto;
    margin-bottom: 14px;
}

.msg-inbox-panel {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
    overflow: hidden;
}

.msg-inbox {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: #94a3b8 #f8fafc;
}

.msg-inbox::-webkit-scrollbar {
    width: 8px;
}

.msg-inbox::-webkit-scrollbar-track {
    background: #f8fafc;
}

.msg-inbox::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 999px;
    border: 2px solid #f8fafc;
}

.msg-inbox::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

.msg-inbox:has(.msg-empty) {
    align-items: center;
    justify-content: center;
}

.msg-inbox-search {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    margin: 0;
    padding: 12px 14px;
    border-bottom: 1px solid #eef2f7;
    background: #fff;
}

.msg-inbox-search-input {
    flex: 1;
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #fff;
    font-size: 14px;
    color: #0f172a;
}

.msg-inbox-search-input::-webkit-search-cancel-button,
.msg-inbox-search-input::-webkit-search-decoration {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}

.msg-inbox-search-input:focus {
    outline: none;
    border-color: #93c5fd;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.msg-inbox-search-btn {
    flex: 0 0 auto;
    padding: 10px 14px;
    border: none;
    border-radius: 10px;
    background: #1d4ed8;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.msg-inbox-search-btn:hover {
    background: #1e40af;
}

.msg-inbox-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    color: inherit;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.msg-inbox-panel .msg-inbox-row {
    border-color: transparent;
}

.msg-inbox-panel .msg-inbox-row:hover {
    border-color: #e5e7eb;
}

.msg-inbox-panel .msg-inbox-row.is-unread {
    border-color: #bfdbfe;
}

.msg-inbox-row:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.msg-inbox-row.is-unread {
    border-color: #bfdbfe;
    background: #f8fbff;
}

.msg-inbox-main {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.msg-avatar {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e2e8f0;
    color: #334155;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
}

a.msg-avatar:hover {
    opacity: 0.88;
    box-shadow: 0 0 0 2px #93c5fd;
}

.msg-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.msg-avatar--sm {
    width: 36px;
    height: 36px;
    font-size: 13px;
}

.msg-inbox-body {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.msg-inbox-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}

.msg-inbox-name {
    font-size: 15px;
    color: #0f172a;
}

.msg-inbox-time {
    font-size: 12px;
    color: #94a3b8;
    white-space: nowrap;
}

.msg-inbox-preview {
    font-size: 13px;
    color: #64748b;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.msg-inbox-row.is-unread .msg-inbox-preview {
    color: #334155;
    font-weight: 600;
}

.msg-unread-badge {
    flex: 0 0 auto;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: #1d4ed8;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.msg-empty {
    padding: 28px 20px;
}

.msg-inbox .msg-empty {
    border: none;
    background: transparent;
    box-shadow: none;
    width: 100%;
}

.msg-thread-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    margin: 0 0 8px;
    padding: 2px 2px 10px;
    border-bottom: 1px solid #eef2f7;
}

.msg-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex: 0 0 auto;
    height: 40px;
    padding: 0 10px 0 6px;
    border-radius: 999px;
    color: #334155;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.msg-back svg {
    width: 18px;
    height: 18px;
    display: block;
}

.msg-back:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.msg-thread-partner {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 auto;
    min-width: 0;
}

.msg-thread-partner-copy {
    min-width: 0;
}

.msg-thread-title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    color: #0f172a;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.msg-thread-context {
    display: inline-block;
    margin-top: 2px;
    font-size: 13px;
    color: #1d4ed8;
    text-decoration: none;
}

.msg-thread-context:hover {
    text-decoration: underline;
}

.msg-thread-panel {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}

.msg-thread-list {
    flex: 1 1 0%;
    min-height: 0;
    max-height: none;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 40%);
    scroll-behavior: auto;
    scrollbar-width: thin;
    scrollbar-color: #94a3b8 #f8fafc;
}

.msg-thread-list.is-pinning {
    opacity: 0;
    pointer-events: none;
}

.msg-thread-empty {
    margin: auto;
    color: #94a3b8;
    font-size: 14px;
    text-align: center;
}

.msg-bubble-row {
    display: flex;
    justify-content: flex-start;
}

.msg-bubble-row.is-mine {
    justify-content: flex-end;
}

.msg-bubble-row.is-vehicle-reference {
    justify-content: center;
}

.msg-vehicle-ref-card {
    display: flex;
    align-items: center;
    gap: 10px;
    width: min(420px, 92%);
    padding: 10px;
    border: 1px solid #bfdbfe;
    border-radius: 14px;
    background: #eff6ff;
    color: #0f172a;
    text-decoration: none;
}

.msg-vehicle-ref-card:hover {
    border-color: #93c5fd;
    background: #dbeafe;
}

.msg-vehicle-ref-img {
    width: 64px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
    background: #dbeafe;
    flex: 0 0 auto;
}

.msg-vehicle-ref-img--empty {
    display: block;
}

.msg-vehicle-ref-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.msg-vehicle-ref-eyebrow {
    font-size: 11px;
    font-weight: 700;
    color: #2563eb;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.msg-vehicle-ref-body strong {
    font-size: 14px;
    color: #0f172a;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.msg-vehicle-ref-body span:last-child {
    font-size: 12px;
    color: #1d4ed8;
    font-weight: 600;
}

.msg-pending-vehicle {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 12px 8px;
    padding: 8px 10px;
    border: 1px dashed #93c5fd;
    border-radius: 12px;
    background: #f8fbff;
}

.msg-pending-vehicle-img {
    width: 48px;
    height: 36px;
    border-radius: 8px;
    object-fit: cover;
    background: #dbeafe;
    flex: 0 0 auto;
}

.msg-pending-vehicle-img--empty {
    display: block;
}

.msg-pending-vehicle-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.msg-pending-vehicle-eyebrow {
    font-size: 11px;
    font-weight: 700;
    color: #2563eb;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.msg-pending-vehicle-body strong {
    font-size: 13px;
    color: #0f172a;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.msg-pending-vehicle-remove {
    margin-left: auto;
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    border: none;
    border-radius: 50%;
    background: #e0e7ff;
    color: #1e3a8a;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.msg-pending-vehicle-remove:hover {
    background: #c7d2fe;
}

.msg-bubble {
    max-width: min(78%, 420px);
    padding: 10px 12px;
    border-radius: 14px;
    background: #f1f5f9;
    color: #0f172a;
}

.msg-bubble-row.is-mine .msg-bubble {
    background: #1d4ed8;
    color: #fff;
    border-bottom-right-radius: 4px;
}

.msg-bubble-row:not(.is-mine) .msg-bubble {
    border-bottom-left-radius: 4px;
}

/* Photo-only: no bubble fill — image stands alone */
.msg-bubble.has-image.is-media-only,
.msg-bubble-row.is-mine .msg-bubble.has-image.is-media-only,
.msg-bubble-row:not(.is-mine) .msg-bubble.has-image.is-media-only {
    background: transparent;
    box-shadow: none;
    border: none;
    padding: 0;
    max-width: min(72%, 280px);
    color: #64748b;
    border-radius: 0;
}

.msg-bubble.has-image.is-media-only .msg-bubble-image {
    margin-bottom: 0;
}

.msg-bubble.has-image.is-media-only .msg-bubble-image img {
    border: 1px solid rgba(15, 23, 42, 0.1);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1);
}

.msg-bubble.has-image.is-media-only .msg-bubble-meta {
    margin-top: 6px;
    padding: 0 2px;
}

.msg-bubble-row.is-mine .msg-bubble.has-image.is-media-only .msg-bubble-meta {
    justify-content: flex-end;
}

.msg-bubble-row:not(.is-mine) .msg-bubble.has-image.is-media-only .msg-bubble-meta {
    justify-content: flex-start;
}

/* Image + text: compact card, no empty side space */
.msg-bubble.has-image.has-text {
    width: fit-content;
    max-width: min(72%, 280px);
    padding: 0;
    overflow: hidden;
}

.msg-bubble.has-image.has-text .msg-bubble-image {
    margin-bottom: 0;
}

.msg-bubble.has-image.has-text .msg-bubble-image img {
    max-width: 100%;
    border-radius: 0;
    background: transparent;
}

.msg-bubble.has-image.has-text .msg-bubble-text,
.msg-bubble.has-image.has-text .msg-safety-note {
    margin: 0;
    padding: 8px 12px 0;
}

.msg-bubble.has-image.has-text .msg-bubble-meta {
    margin-top: 0;
    padding: 6px 12px 10px;
}

.msg-bubble-context {
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    font-weight: 600;
    opacity: 0.75;
}

.msg-bubble-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    white-space: pre-wrap;
    word-break: break-word;
}

.msg-bubble-time {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    opacity: 0.7;
}

.msg-bubble-meta .msg-bubble-time {
    display: inline;
    margin-top: 0;
}

.msg-compose {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    flex: 0 0 auto;
    padding: 10px 12px;
    border-top: 1px solid #e2e8f0;
    background: #fff;
}

.msg-compose-input {
    flex: 1 1 auto;
    min-height: 42px;
    max-height: 112px;
    resize: none;
    border: 1px solid #cbd5e1;
    border-radius: 20px;
    padding: 10px 14px;
    font: inherit;
    font-size: 14px;
    line-height: 1.4;
    color: #0f172a;
    background: #f8fafc;
}

.msg-compose-input:focus {
    outline: none;
    border-color: #1d4ed8;
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12);
}

.msg-compose-send {
    flex: 0 0 auto;
    height: 44px;
    padding: 0 18px;
    border: none;
    border-radius: 10px;
    background: #1d4ed8;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
}

.msg-compose-send:hover {
    background: #1e40af;
}

.nav-msg-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    margin-left: 4px;
    padding: 0 5px;
    border-radius: 999px;
    background: #2563EB;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    vertical-align: middle;
}

.nav-msg-badge[hidden],
.nav-msg-badge:empty {
    display: none;
}

.msg-inbox-listing-thumb {
    flex: 0 0 auto;
    width: 48px;
    height: 36px;
    border-radius: 8px;
    overflow: hidden;
    background: #e2e8f0;
}

.msg-inbox-listing-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.msg-inbox-listing-title {
    font-size: 12px;
    font-weight: 600;
    color: #1d4ed8;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.msg-page--thread {
    max-width: 820px;
    width: 100%;
    display: flex;
    flex-direction: column;
    flex: 1 1 0%;
    min-height: 0;
    height: 100%;
    max-height: 100%;
    overflow: hidden;
}

.msg-thread-header-top {
    display: none;
}

.msg-presence {
    margin: 1px 0 0;
    font-size: 12px;
    color: #64748b;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.msg-menu {
    position: relative;
    flex: 0 0 auto;
}

.msg-menu-btn {
    list-style: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 50%;
    background: #f1f5f9;
    color: #334155;
    appearance: none;
    -webkit-appearance: none;
}

.msg-menu-btn svg {
    width: 18px;
    height: 18px;
    display: block;
    flex: 0 0 auto;
}

.msg-menu-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.msg-menu[open] .msg-menu-btn {
    background: #dbeafe;
    color: #1d4ed8;
}

.msg-menu-btn::-webkit-details-marker,
.msg-menu-btn::marker {
    display: none;
    content: none;
}

.msg-menu-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    min-width: 160px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    padding: 6px;
    z-index: 20;
}

.msg-menu-item {
    display: block;
    width: 100%;
    text-align: left;
    border: none;
    background: transparent;
    padding: 10px 12px;
    border-radius: 8px;
    font: inherit;
    font-size: 14px;
    color: #0f172a;
    cursor: pointer;
}

.msg-menu-item:hover { background: #f1f5f9; }

.msg-listing-card {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    padding: 8px 10px;
    margin: 0 0 8px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
}

.msg-listing-card-photo {
    width: 52px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    background: #e2e8f0;
    flex: 0 0 auto;
}

.msg-listing-card-photo--empty {
    background: #e2e8f0;
}

.msg-listing-card-body {
    min-width: 0;
    flex: 1;
}

.msg-listing-card-title {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.msg-listing-card-meta {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
    font-size: 12px;
    color: #475569;
    overflow: hidden;
}

.msg-listing-status {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    background: #e2e8f0;
    color: #334155;
    font-size: 11px;
    font-weight: 700;
    text-transform: capitalize;
}

.msg-listing-status--active,
.msg-listing-status--published,
.msg-listing-status--confirmed,
.msg-listing-status--active {
    background: #dcfce7;
    color: #166534;
}

.msg-listing-status--sold,
.msg-listing-status--expired,
.msg-listing-status--cancelled,
.msg-listing-status--unavailable,
.msg-listing-status--cancelled,
.msg-listing-status--cancelled {
    background: #fee2e2;
    color: #991b1b;
}

.msg-listing-status--paused,
.msg-listing-status--pending,
.msg-listing-status--awaiting_payment {
    background: #ffedd5;
    color: #9a3412;
}

.msg-booking-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-top: 6px;
    font-size: 12px;
    color: #64748b;
}

.msg-listing-card-actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    margin-top: 0;
    flex: 0 0 auto;
}

.msg-listing-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: #1d4ed8;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.msg-listing-btn:hover { background: #1e40af; color: #fff; }

.msg-listing-btn--secondary {
    background: #fff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.msg-listing-btn--secondary:hover {
    background: #eff6ff;
    color: #1d4ed8;
}

.msg-thread-panel {
    flex: 1 1 0%;
    min-height: 0;
    overflow: hidden;
}

.msg-bubble-image {
    display: block;
    margin-bottom: 6px;
    max-width: 100%;
    line-height: 0;
}

.msg-bubble-image img {
    display: block;
    width: auto;
    height: auto;
    max-width: min(280px, 100%);
    max-height: 320px;
    border-radius: 14px;
    object-fit: contain;
}

.msg-bubble-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}

.msg-status {
    font-size: 11px;
    opacity: 0.75;
}

.msg-safety-note,
.msg-safety-banner {
    margin: 8px 0 0;
    padding: 8px 10px;
    border-radius: 8px;
    background: #fff7ed;
    color: #9a3412;
    font-size: 12px;
    line-height: 1.4;
}

.msg-safety-banner {
    margin: 0 12px 12px;
}

.msg-typing {
    padding: 0 16px 8px;
    font-size: 12px;
    color: #64748b;
    font-style: italic;
}

.msg-quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 12px 0;
    border-top: 1px solid #e2e8f0;
    background: #fff;
}

.msg-quick-chip {
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.msg-quick-chip:hover { background: #dbeafe; }

.msg-page--thread .msg-compose {
    position: relative;
    bottom: auto;
    flex: 0 0 auto;
}

.msg-attach {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    color: #475569;
    cursor: pointer;
    background: #fff;
}

.msg-attach:hover { background: #f8fafc; }

.msg-attach.has-file {
    border-color: #1d4ed8;
    color: #1d4ed8;
    background: #eff6ff;
}

.msg-attach-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 12px 8px;
    padding: 0;
}

.msg-attach-thumbs[hidden] {
    display: none !important;
}

.msg-attach-thumb {
    position: relative;
    width: 64px;
    height: 64px;
    flex: 0 0 auto;
}

.msg-attach-thumb-open {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 12px;
    overflow: hidden;
    background: #f1f5f9;
    cursor: zoom-in;
}

.msg-attach-thumb-open img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.msg-attach-thumb-doc {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: #eff6ff;
    border-color: #bfdbfe;
}

.msg-attach-thumb-ext {
    font-size: 11px;
    font-weight: 800;
    color: #1d4ed8;
    letter-spacing: 0.02em;
}

.msg-attach-thumb-remove {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 22px;
    height: 22px;
    border: none;
    border-radius: 50%;
    background: #0f172a;
    color: #fff;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.25);
}

.msg-attach-thumb-remove:hover {
    background: #334155;
}

.msg-file-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 180px;
    max-width: 260px;
    padding: 10px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.04);
}

.msg-bubble-row.is-mine .msg-file-card {
    background: rgba(255, 255, 255, 0.14);
}

.msg-bubble.has-document.is-media-only .msg-file-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.msg-bubble-row.is-mine .msg-bubble.has-document.is-media-only .msg-file-card {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #0f172a;
}

.msg-file-card-main {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    min-width: 0;
}

.msg-file-icon {
    flex: 0 0 auto;
    min-width: 42px;
    height: 42px;
    padding: 0 6px;
    border-radius: 10px;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 11px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.msg-file-name {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-word;
}

.msg-file-download {
    align-self: flex-start;
    font-size: 12px;
    font-weight: 700;
    color: #1d4ed8;
    text-decoration: none;
}

.msg-bubble-row.is-mine .msg-bubble:not(.is-media-only) .msg-file-download {
    color: #dbeafe;
}

.msg-file-download:hover {
    text-decoration: underline;
}

.msg-compose--locked {
    justify-content: center;
}

.msg-locked-note {
    margin: 0;
    font-size: 13px;
    color: #64748b;
    text-align: center;
}

.msg-report-dialog {
    border: none;
    border-radius: 14px;
    padding: 0;
    max-width: min(440px, 92vw);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.2);
}

.msg-report-dialog::backdrop {
    background: rgba(15, 23, 42, 0.45);
}

.msg-report-form {
    padding: 20px;
}

.msg-report-form h3 {
    margin: 0 0 6px;
}

.msg-report-form p {
    margin: 0 0 14px;
    color: #64748b;
    font-size: 13px;
}

.msg-report-label {
    display: block;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}

.msg-report-select,
.msg-report-details {
    display: block;
    width: 100%;
    margin-top: 6px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 10px 12px;
    font: inherit;
}

.msg-report-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 8px;
}

.msg-lightbox {
    position: fixed;
    inset: 0;
    width: 100vw;
    width: 100dvw;
    height: 100vh;
    height: 100dvh;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    background: rgba(2, 6, 23, 0.94);
    overflow: hidden;
    box-shadow: none;
}

.msg-lightbox::backdrop {
    background: rgba(2, 6, 23, 0.94);
}

.msg-lightbox:not([open]) {
    display: none;
}

.msg-lightbox[open] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.msg-lightbox-stage {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding:
        max(56px, calc(env(safe-area-inset-top) + 48px))
        max(16px, env(safe-area-inset-right))
        max(16px, env(safe-area-inset-bottom))
        max(16px, env(safe-area-inset-left));
    overflow: hidden;
    cursor: zoom-out;
}

.msg-lightbox img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 6px;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: auto;
    cursor: default;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.msg-lightbox-close {
    position: absolute;
    top: max(12px, env(safe-area-inset-top));
    right: max(12px, env(safe-area-inset-right));
    z-index: 2;
    width: 42px;
    height: 42px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 28px;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.msg-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.22);
}

@media (max-width: 640px) {
    .msg-page--thread {
        min-height: 0;
    }

    .msg-compose {
        flex-direction: row;
        align-items: flex-end;
        position: relative;
        bottom: auto;
        padding-bottom: max(12px, env(safe-area-inset-bottom));
        box-shadow: 0 -6px 16px rgba(15, 23, 42, 0.04);
    }

    .msg-compose-send {
        width: auto;
    }

    .msg-bubble {
        max-width: 88%;
    }

    .msg-listing-card {
        flex-direction: row;
    }

    .msg-thread-list {
        max-height: none;
        flex: 1 1 0%;
    }
}

.msg-global-toast {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    width: min(340px, calc(100vw - 32px));
    padding: 12px 14px;
    border: 1px solid #bfdbfe;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
    color: #0f172a;
    text-decoration: none;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.18s ease, transform 0.18s ease;
    backdrop-filter: blur(12px);
}

.msg-global-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.msg-global-toast-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #2563eb;
    box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.12);
}

.msg-global-toast-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.msg-global-toast-body strong {
    font-size: 14px;
    color: #0f172a;
}

.msg-global-toast-body small {
    margin-top: 2px;
    color: #64748b;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 720px) {
    /* Inbox list on phone */
    body:has([data-msg-inbox-page]) .dashboard-main {
        padding-left: 12px;
        padding-right: 12px;
        min-height: 0;
    }

    .msg-page[data-msg-inbox-page] {
        height: calc(100dvh - var(--zulu-header-height) - 128px);
        max-height: calc(100dvh - var(--zulu-header-height) - 128px);
    }

    [data-msg-inbox-page] .dash-welcome {
        margin-bottom: 12px;
    }

    [data-msg-inbox-page] .dash-welcome-title {
        font-size: 24px;
    }

    .msg-inbox-panel {
        border-radius: 14px;
    }

    .msg-inbox-panel .msg-inbox-search {
        flex-wrap: nowrap;
        padding: 10px 12px;
    }

    .msg-inbox-panel .msg-inbox-search-btn {
        flex: 0 0 auto;
        width: auto;
    }

    .msg-inbox {
        gap: 6px;
        padding: 8px 8px max(10px, env(safe-area-inset-bottom));
    }

    .msg-inbox-row {
        padding: 12px;
        border-radius: 14px;
        gap: 10px;
        -webkit-tap-highlight-color: transparent;
        transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
    }

    .msg-inbox-row.is-unread {
        border-color: #93c5fd;
        background: #f0f7ff;
    }

    .msg-inbox-name {
        font-size: 15px;
    }

    .msg-inbox-preview {
        font-size: 13px;
    }

    .msg-inbox-listing-thumb {
        width: 52px;
        height: 40px;
        border-radius: 10px;
    }

    .msg-unread-badge {
        min-width: 24px;
        height: 24px;
        font-size: 12px;
    }

    body:has(.msg-page--thread) {
        background: #f8fbff;
        height: 100dvh;
        height: 100svh;
        overflow: hidden;
    }

    body.dashboard-page:has(.msg-page--thread) main.container {
        width: 100%;
        max-width: none;
        height: 100dvh;
        height: 100svh;
        max-height: none;
        padding: 0;
        margin: 0;
    }

    body:has(.msg-page--thread) > .site-header {
        display: none;
    }

    body:has(.msg-page--thread) main.container {
        width: 100%;
        max-width: none;
        padding: 0;
    }

    body:has(.msg-page--thread) .dashboard-layout {
        display: block;
        min-height: 0;
        height: 100%;
        margin: 0;
    }

    body:has(.msg-page--thread) .dashboard-sidebar,
    body:has(.msg-page--thread) .dash-mobile-bar,
    body:has(.msg-page--thread) .dash-sidebar-backdrop {
        display: none !important;
    }

    body:has(.msg-page--thread) .dashboard-main {
        padding: 0;
        margin: 0;
        min-height: 0;
        height: 100%;
        max-height: none;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .msg-page--thread {
        position: fixed;
        inset: 0;
        z-index: 80;
        max-width: none;
        width: 100%;
        min-height: 0;
        height: 100dvh;
        height: 100svh;
        max-height: 100dvh;
        max-height: 100svh;
        background: #f8fbff;
        overflow: hidden;
    }

    .msg-thread-header {
        position: relative;
        top: auto;
        z-index: 30;
        margin: 0;
        gap: 8px;
        padding: max(10px, env(safe-area-inset-top)) 12px 10px;
        border-bottom: 1px solid rgba(191, 219, 254, 0.8);
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(14px);
        box-shadow: none;
        flex: 0 0 auto;
    }

    .msg-thread-header-top {
        display: none;
    }

    .msg-back {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        padding: 0;
        border-radius: 50%;
        background: #eff6ff;
        color: #1d4ed8;
        font-size: 13px;
    }

    .msg-back span {
        display: none;
    }

    .msg-thread-partner {
        gap: 10px;
    }

    .msg-avatar--sm {
        width: 42px;
        height: 42px;
        box-shadow: 0 0 0 3px #dbeafe;
    }

    .msg-thread-title {
        font-size: 17px;
        line-height: 1.15;
        max-width: calc(100vw - 120px);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .msg-presence {
        font-size: 12px;
    }

    .msg-menu-panel {
        right: 0;
        min-width: 190px;
    }

    .msg-listing-card {
        position: static;
        top: auto;
        z-index: auto;
        margin: 0;
        padding: 8px 12px;
        border-width: 0 0 1px;
        border-radius: 0;
        background: #fff;
        backdrop-filter: none;
        flex: 0 0 auto;
    }

    .msg-listing-card-photo {
        width: 64px;
        height: 48px;
        border-radius: 12px;
    }

    .msg-listing-card-title {
        font-size: 14px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .msg-listing-card-meta,
    .msg-booking-meta {
        gap: 6px;
        font-size: 12px;
    }

    .msg-listing-card-actions {
        margin-top: 0;
    }

    .msg-listing-btn {
        padding: 6px 10px;
        font-size: 12px;
    }

    .msg-thread-panel {
        min-height: 0;
        flex: 1 1 0%;
        height: auto;
        border: none;
        border-radius: 0;
        background: transparent;
        overflow: hidden;
    }

    .msg-thread-list {
        max-height: none;
        min-height: 0;
        flex: 1 1 0%;
        padding: 14px 12px 12px;
        gap: 8px;
        background:
            radial-gradient(circle at top left, rgba(219, 234, 254, 0.75), transparent 32%),
            linear-gradient(180deg, #f8fbff 0%, #ffffff 42%, #f8fbff 100%);
        scroll-behavior: auto;
    }

    .msg-bubble-row {
        padding: 0 2px;
    }

    .msg-bubble {
        max-width: 82%;
        padding: 9px 11px;
        border-radius: 18px;
        box-shadow: 0 2px 9px rgba(15, 23, 42, 0.05);
    }

    .msg-bubble-row.is-mine .msg-bubble:not(.is-media-only) {
        border-bottom-right-radius: 6px;
        background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    }

    .msg-bubble-row:not(.is-mine) .msg-bubble:not(.is-media-only) {
        border-bottom-left-radius: 6px;
        background: #ffffff;
        border: 1px solid #e2e8f0;
    }

    .msg-bubble.has-image.is-media-only,
    .msg-bubble-row.is-mine .msg-bubble.has-image.is-media-only,
    .msg-bubble-row:not(.is-mine) .msg-bubble.has-image.is-media-only {
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
        max-width: min(72vw, 280px);
        color: #64748b;
    }

    .msg-bubble.has-image.has-text {
        max-width: min(72vw, 280px);
        box-shadow: 0 2px 9px rgba(15, 23, 42, 0.05);
    }

    .msg-bubble-text {
        font-size: 15px;
        line-height: 1.42;
    }

    .msg-bubble-meta {
        justify-content: flex-end;
        gap: 7px;
    }

    .msg-bubble-row:not(.is-mine) .msg-bubble.has-image.is-media-only .msg-bubble-meta {
        justify-content: flex-start;
    }

    .msg-bubble-time,
    .msg-status {
        font-size: 10.5px;
    }

    .msg-bubble-image img {
        max-width: min(72vw, 280px);
        max-height: min(52vh, 320px);
        border-radius: 14px;
    }

    .msg-bubble.has-image.has-text .msg-bubble-image img {
        border-radius: 0;
        max-width: 100%;
    }

    .msg-typing {
        padding: 0 14px 8px;
        background: transparent;
    }

    .msg-quick-replies {
        position: sticky;
        bottom: 66px;
        z-index: 25;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 8px 12px;
        border-top: 1px solid #e2e8f0;
        background: rgba(255, 255, 255, 0.96);
        scrollbar-width: none;
    }

    .msg-quick-replies::-webkit-scrollbar {
        display: none;
    }

    .msg-quick-chip {
        flex: 0 0 auto;
        padding: 7px 11px;
    }

    .msg-compose {
        position: relative;
        bottom: auto;
        z-index: 30;
        gap: 8px;
        padding: 10px 10px max(10px, env(safe-area-inset-bottom));
        border-top: 1px solid rgba(226, 232, 240, 0.9);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(14px);
        box-shadow: 0 -10px 30px rgba(15, 23, 42, 0.07);
    }

    .msg-compose-input {
        min-height: 42px;
        max-height: 112px;
        resize: none;
        border-radius: 18px;
        padding: 11px 13px;
        font-size: 16px;
        background: #f8fafc;
    }

    .msg-compose-input:focus {
        background: #fff;
    }

    .msg-attach,
    .msg-compose-send {
        width: 42px;
        height: 42px;
        min-width: 42px;
        border-radius: 50%;
        padding: 0;
    }

    .msg-compose-send {
        font-size: 0;
        position: relative;
    }

    .msg-compose-send::after {
        content: "";
        width: 17px;
        height: 17px;
        display: block;
        margin: auto;
        background: currentColor;
        clip-path: polygon(0 8%, 100% 50%, 0 92%, 18% 56%, 18% 44%);
    }

    .msg-safety-banner {
        position: sticky;
        bottom: 62px;
        z-index: 35;
        margin: 0 10px 8px;
    }

    .msg-report-dialog {
        width: calc(100vw - 24px);
        max-width: none;
        border-radius: 18px;
    }

    .msg-global-toast {
        left: 12px;
        right: 12px;
        bottom: max(14px, env(safe-area-inset-bottom));
        width: auto;
        border-radius: 18px;
    }
}

/* ---------- Admin dashboard ---------- */
.admin-stats {
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    margin-bottom: 16px;
}

.admin-stats--overview {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dash-stat--red .dash-stat-value {
    color: #B91C1C;
}

.dash-stat--gray .dash-stat-value {
    color: #4B5563;
}

a.admin-stat-link {
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

a.admin-stat-link:hover {
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

.admin-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 16px;
}

.admin-coupon-card {
    margin-top: 16px;
}

.admin-coupon-help {
    margin: 0 0 14px;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.45;
}

.admin-coupon-pill {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    letter-spacing: 0.02em;
}

@media (max-width: 1100px) {
    .admin-stats--overview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .admin-stats--overview {
        grid-template-columns: 1fr;
    }
}

.admin-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
    align-items: center;
}

.admin-filters .dash-manage-search-input {
    flex: 1 1 220px;
}

.admin-filter-select,
.admin-reason-input {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 14px;
    color: #0f172a;
    background: #fff;
}

.admin-kv {
    display: grid;
    gap: 10px;
    margin: 0;
}

.admin-kv > div {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 8px;
}

.admin-kv dt {
    color: #6b7280;
    font-size: 13px;
    font-weight: 600;
}

.admin-kv dd {
    margin: 0;
    font-size: 14px;
    color: #0f172a;
}

.admin-activity-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.admin-activity-list li {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    font-size: 13px;
    color: #475569;
}

.admin-activity-list strong {
    color: #0f172a;
}

.admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.admin-description {
    font-size: 14px;
    line-height: 1.55;
    color: #374151;
}

.admin-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.admin-thumbs img {
    width: 84px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

@media (max-width: 900px) {
    .admin-split {
        grid-template-columns: 1fr;
    }

    .admin-kv > div {
        grid-template-columns: 1fr;
    }
}

/* ---------- Public company / legal pages ---------- */
.site-page {
    max-width: 980px;
    margin: 12px auto 48px;
}

.site-page-kicker {
    margin: 0 0 8px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--zulu-brand-blue);
}

.site-page-intro {
    margin-bottom: 28px;
}

.site-page-intro h1,
.site-page-hero-copy h1 {
    margin: 0 0 12px;
    letter-spacing: -0.03em;
}

.site-page-intro p,
.site-page-hero-copy p,
.site-page-prose p {
    margin: 0 0 12px;
    color: #4b5563;
    font-size: 1.05rem;
    line-height: 1.65;
}

.site-page-hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 32px;
    align-items: center;
    margin-bottom: 36px;
}

.site-page-hero-media {
    border-radius: 18px;
    overflow: hidden;
    background: #eef2f7;
    min-height: 240px;
}

.site-page-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 260px;
}

.site-page-prose {
    margin-bottom: 28px;
}

.site-page-prose h2 {
    margin: 0 0 10px;
}

.about-page {
    max-width: var(--zulu-container-max);
    margin: 28px auto 64px;
}

.about-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.18fr);
    gap: 48px 56px;
    align-items: center;
    margin-bottom: 72px;
}

.about-hero-copy h1 {
    margin: 0 0 16px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #111827;
}

.about-hero-copy p:not(.site-page-kicker) {
    margin: 0;
    max-width: 38ch;
    color: #4b5563;
    font-size: 1.05rem;
    line-height: 1.65;
}

.about-hero-media {
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    background: #eef2f7;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}

.about-hero-media img {
    width: 100%;
    height: 100%;
    min-height: 340px;
    max-height: 430px;
    object-fit: cover;
    object-position: center 42%;
    display: block;
}

.about-who {
    background: #f4f8fd;
    border: 1px solid #e8eef6;
    border-radius: 16px;
    padding: 48px 40px 40px;
    margin-bottom: 72px;
}

.about-who-copy {
    max-width: 640px;
    margin-bottom: 32px;
}

.about-who-copy h2 {
    margin: 0 0 14px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #111827;
}

.about-who-copy p {
    margin: 0 0 12px;
    color: #4b5563;
    font-size: 1.02rem;
    line-height: 1.65;
}

.about-who-copy p:last-child {
    margin-bottom: 0;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.about-feature {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 22px 20px 20px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.about-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-bottom: 14px;
    border-radius: 10px;
    background: #eff6ff;
    color: var(--zulu-brand-blue);
}

.about-feature-icon svg {
    width: 20px;
    height: 20px;
}

.about-feature h3 {
    margin: 0 0 8px;
    font-weight: 800;
    color: #111827;
}

.about-feature p {
    margin: 0;
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.55;
}

.about-trust {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 48px 56px;
    align-items: center;
    margin-bottom: 72px;
}

.about-trust-media {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    background: #eef2f7;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}

.about-trust-media img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    max-height: 400px;
    object-fit: cover;
    object-position: center 40%;
    display: block;
}

.about-trust-copy {
    grid-column: 2;
    grid-row: 1;
}

.about-trust-copy h2 {
    margin: 0 0 14px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #111827;
}

.about-trust-copy > p:not(.site-page-kicker) {
    margin: 0 0 22px;
    color: #4b5563;
    font-size: 1.02rem;
    line-height: 1.65;
}

.about-trust-points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.about-trust-points li {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 10px 12px;
    background: #f8fbff;
    border: 1px solid #e8eef6;
    border-radius: 12px;
    color: #111827;
    font-weight: 600;
    font-size: 0.95rem;
}

.about-trust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #eff6ff;
    color: var(--zulu-brand-blue);
}

.about-trust-icon svg {
    width: 16px;
    height: 16px;
}

.about-cta {
    background: #f4f8fd;
    border: 1px solid #e8eef6;
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
}

.about-cta h2 {
    margin: 0 0 8px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #111827;
}

.about-cta p {
    margin: 0 auto 20px;
    max-width: 42ch;
    color: #4b5563;
}

.about-cta .site-page-cta-row {
    justify-content: center;
}

.site-page-cta {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 22px 20px;
}

.site-page-cta h2 {
    margin: 0 0 6px;
}

.site-page-cta p {
    margin: 0 0 14px;
    color: #4b5563;
}

.site-page-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.site-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--zulu-brand-blue);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.site-page-btn:hover {
    opacity: 0.92;
}

.site-page-btn--ghost {
    background: #fff;
    color: #111827;
    border: 1px solid #d1d5db;
}

.how-block {
    margin-bottom: 32px;
}

.how-block h2 {
    margin: 0 0 16px;
}

.how-steps {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.how-steps li {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 18px 16px 16px;
}

.how-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #eff6ff;
    color: var(--zulu-brand-blue);
    font-weight: 800;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.how-steps h3 {
    margin: 0 0 8px;
}

.how-steps p {
    margin: 0;
    color: #4b5563;
    font-size: 0.95rem;
}

.contact-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 22px 20px;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    background: #fff;
    text-decoration: none;
    color: inherit;
}

.contact-card:hover {
    border-color: #93c5fd;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
}

.contact-card-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6b7280;
}

.contact-card strong {
    font-size: 1.25rem;
    color: #111827;
}

.contact-card-hint {
    color: #6b7280;
    font-size: 0.9rem;
}

.help-public-faq details {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 4px 16px 12px;
    margin-bottom: 10px;
    background: #fff;
}

.help-public-faq summary {
    cursor: pointer;
    font-weight: 700;
    padding: 12px 0;
}

.help-public-faq p {
    margin: 0;
    color: #4b5563;
}

.legal-page {
    max-width: 760px;
}

.legal-switch {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.legal-switch a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    color: #374151;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
}

.legal-switch a[aria-current="page"] {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
}

.legal-body h2 {
    margin: 22px 0 8px;
}

.legal-body p,
.legal-body li {
    color: #374151;
    line-height: 1.65;
}

.legal-body ul {
    padding-left: 1.2rem;
}

@media (max-width: 900px) {
    .site-page-hero,
    .how-steps,
    .contact-cards {
        grid-template-columns: 1fr;
    }

    .about-page {
        margin: 20px auto 48px;
    }

    .about-hero,
    .about-features,
    .about-trust {
        grid-template-columns: 1fr;
    }

    .about-hero,
    .about-who,
    .about-trust {
        margin-bottom: 48px;
    }

    .about-hero {
        gap: 28px;
    }

    .about-hero-copy p:not(.site-page-kicker) {
        max-width: none;
    }

    .about-hero-media img,
    .about-trust-media img {
        min-height: 240px;
        max-height: 320px;
    }

    .about-who {
        padding: 28px 20px 22px;
    }

    .about-who-copy {
        margin-bottom: 20px;
    }

    .about-trust {
        gap: 28px;
    }

    .about-trust-media,
    .about-trust-copy {
        grid-column: auto;
        grid-row: auto;
    }

    .about-cta {
        padding: 28px 20px;
    }

    .about-cta .site-page-cta-row {
        flex-direction: column;
    }

    .about-cta .site-page-btn {
        width: 100%;
    }
}

