:root {
    --brand: #2563eb;
    --brand-dark: #1d4ed8;
    --success: #16a34a;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #0ea5e9;
    --violet: #7c3aed;
    --ink: #111827;
    --muted: #64748b;
    --surface: #f6f8fc;
}

body {
    background: var(--surface);
    color: var(--ink);
}

html,
body.admin-shell {
    height: 100%;
}

body.admin-shell {
    overflow: hidden;
}

.hero-band {
    background: linear-gradient(135deg, #126b5f, #233044);
    color: #fff;
}

.vehicle-visual {
    min-height: 260px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 8px;
    position: relative;
    background:
        linear-gradient(160deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .04)),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .08) 0 1px, transparent 1px 36px);
}

.vehicle-visual__shape {
    position: absolute;
    left: 12%;
    right: 12%;
    bottom: 34%;
    height: 72px;
    border-radius: 8px 28px 8px 8px;
    background: #fff;
    box-shadow: 0 28px 0 -16px rgba(0, 0, 0, .32);
}

.vehicle-visual__plate {
    position: absolute;
    left: 50%;
    bottom: 22%;
    transform: translateX(-50%);
    background: #f8ca4d;
    color: #111827;
    border-radius: 4px;
    padding: 4px 12px;
    font-weight: 700;
    letter-spacing: 0;
}

.vehicle-thumb,
.vehicle-photo-large {
    background:
        linear-gradient(135deg, rgba(18, 107, 95, .18), rgba(35, 48, 68, .12)),
        linear-gradient(0deg, #e8eef2, #f8fafc);
}

.vehicle-thumb {
    aspect-ratio: 16 / 9;
    border-radius: 8px 8px 0 0;
}

.vehicle-photo-large {
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.vehicle-card,
.auth-box,
.info-panel,
.stat-box,
.content-panel {
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: #fff;
}

.info-panel {
    padding: 18px;
    display: grid;
    gap: 6px;
    min-height: 120px;
}

.auth-page {
    max-width: 520px;
}

.auth-box,
.content-panel {
    padding: 24px;
}

.stat-box {
    padding: 18px;
    display: grid;
    gap: 8px;
}

.stat-box span {
    color: var(--muted);
    font-size: .9rem;
}

.stat-box strong {
    font-size: 1.5rem;
}

.btn-primary {
    --bs-btn-bg: var(--brand);
    --bs-btn-border-color: var(--brand);
    --bs-btn-hover-bg: var(--brand-dark);
    --bs-btn-hover-border-color: var(--brand-dark);
}

.booking-form {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    padding: 20px;
}

.admin-reject-note {
    width: 140px;
}

.calendar-stack {
    display: grid;
    gap: 12px;
}

.calendar-vehicle {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.calendar-vehicle__head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    padding: 12px 14px;
    background: #f8fafc;
}

.calendar-vehicle__items {
    display: grid;
    gap: 8px;
    padding: 12px;
}

.calendar-event {
    display: grid;
    gap: 2px;
    padding: 10px 12px;
    border-left: 4px solid var(--brand);
    border-radius: 6px;
    background: #f7f9fb;
    color: var(--ink);
    text-decoration: none;
}

.calendar-event:hover {
    background: #eef4f3;
}

.calendar-event__time {
    font-weight: 700;
}

.calendar-event__meta {
    color: var(--muted);
    font-size: .9rem;
}

.admin-shell__frame {
    height: 100vh;
    display: grid;
    grid-template-columns: 272px minmax(0, 1fr);
    background: #f6f8fc;
    overflow: hidden;
}

.admin-main {
    min-width: 0;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    height: 100vh;
    min-height: 0;
    overflow: hidden;
}

.admin-content {
    padding: 18px 18px 24px;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 0;
}

.admin-sidebar {
    height: 100vh;
    background: linear-gradient(180deg, #0b1739 0%, #09132f 100%);
    color: #f8fafc;
    padding: 18px 14px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    overflow-y: auto;
    border-right: 1px solid rgba(255, 255, 255, .06);
}

.admin-sidebar__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 8px 18px;
}

.admin-sidebar__logo {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .08);
    color: #f8c24e;
    font-weight: 800;
    font-size: .92rem;
}

.admin-sidebar__title {
    font-size: 1.02rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
}

.admin-sidebar__title span {
    color: #f8c24e;
}

.admin-sidebar__subtitle {
    color: rgba(255, 255, 255, .68);
    font-size: .84rem;
}

.admin-sidebar__nav {
    display: grid;
    gap: 6px;
}

.admin-sidebar__link {
    color: rgba(255, 255, 255, .88);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    font-weight: 600;
    transition: background-color .2s ease, transform .2s ease, color .2s ease;
}

.admin-sidebar__link:hover,
.admin-sidebar__link.is-active {
    color: #fff;
    background: linear-gradient(180deg, #2f72ff 0%, #2563eb 100%);
    box-shadow: 0 10px 24px rgba(37, 99, 235, .24);
}

.admin-sidebar__icon {
    width: 24px;
    color: currentColor;
    font-size: .72rem;
    letter-spacing: .06em;
}

.admin-sidebar__profile {
    margin-top: auto;
    border: 1px solid rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .06);
    border-radius: 14px;
    padding: 10px 12px;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .05);
}

.admin-sidebar__profile-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, #ffd772 0%, #f8b84d 100%);
    color: #111827;
    font-weight: 800;
}

.admin-sidebar__profile-meta {
    display: grid;
    min-width: 0;
}

.admin-sidebar__profile-meta strong {
    color: #ffffff;
    font-size: .88rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-sidebar__profile-meta small {
    color: rgba(255, 255, 255, .68);
    font-size: .76rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-sidebar__profile-caret {
    color: rgba(255, 255, 255, .72);
    font-size: .86rem;
    font-weight: 700;
}

.admin-topbar {
    background: rgba(255, 255, 255, .92);
    border-bottom: 1px solid #e7edf6;
    padding: 16px 18px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    backdrop-filter: blur(10px);
}

.admin-topbar__left,
.admin-topbar__right {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.admin-topbar__menu,
.admin-topbar__alert {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    border: 1px solid #d9e2ef;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    display: grid;
    place-items: center;
    position: relative;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .05);
}

.admin-topbar__menu span {
    display: block;
    width: 16px;
    height: 2px;
    background: #334155;
    border-radius: 999px;
    margin: 2px 0;
}

.admin-search {
    width: min(520px, 100%);
    flex: 1 1 420px;
    position: relative;
    min-width: 0;
}

.admin-search input {
    width: 100%;
    height: 48px;
    border-radius: 16px;
    border: 1px solid #d9e2ef;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    padding: 0 54px 0 42px;
    outline: none;
    color: #334155;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .04);
}

.admin-search::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 50%;
    width: 14px;
    height: 14px;
    border: 2px solid #64748b;
    border-radius: 50%;
    transform: translateY(-50%);
}

.admin-search::after {
    content: "";
    position: absolute;
    left: 28px;
    top: 26px;
    width: 7px;
    height: 2px;
    background: #64748b;
    transform: rotate(45deg);
    border-radius: 999px;
}

.admin-search__hint {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: .82rem;
    font-weight: 700;
}

.admin-topbar__date,
.admin-user {
    min-height: 48px;
    border-radius: 16px;
    border: 1px solid #d9e2ef;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    box-shadow: 0 8px 18px rgba(15, 23, 42, .05);
}

.admin-topbar__date {
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #0f172a;
    font-weight: 600;
    min-width: 0;
    width: clamp(190px, 18vw, 246px);
    justify-content: space-between;
}

.admin-topbar__date-icon,
.admin-topbar__caret,
.admin-user__caret {
    color: #1e3a8a;
    font-weight: 700;
    font-size: .92rem;
}

.admin-topbar__date-copy {
    display: grid;
    gap: 2px;
    flex: 1 1 auto;
    text-align: left;
}

.admin-topbar__date-copy strong {
    color: #0f172a;
    font-size: .96rem;
    line-height: 1.15;
}

.admin-topbar__date-copy small {
    color: #64748b;
    font-size: .82rem;
    line-height: 1.1;
}

.admin-topbar__alert::after {
    content: attr(data-count);
    position: absolute;
    top: 6px;
    right: 5px;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    display: grid;
    place-items: center;
}

.admin-topbar__bell {
    width: 18px;
    height: 18px;
    border: 2px solid #334155;
    border-bottom-width: 3px;
    border-radius: 10px 10px 6px 6px;
    position: relative;
}

.admin-topbar__bell::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -5px;
    width: 8px;
    height: 3px;
    background: #334155;
    transform: translateX(-50%);
    border-radius: 999px;
}

.admin-user {
    padding: 8px 14px 8px 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    width: clamp(190px, 18vw, 224px);
}

.admin-user__meta {
    min-width: 0;
    flex: 1 1 auto;
}

.admin-user__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f7d36b, #ed9e3b);
    color: #111827;
    display: grid;
    place-items: center;
    font-weight: 800;
}

.admin-user__name {
    display: block;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-user__role {
    display: block;
    color: #64748b;
    font-size: .88rem;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-logout {
    min-height: 48px;
    border-radius: 12px;
    border: 1px solid #fee2e2;
    background: linear-gradient(180deg, #fff 0%, #fff7f7 100%);
    color: #dc2626;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 0 14px;
    text-decoration: none;
    font-weight: 900;
    box-shadow: 0 10px 18px rgba(220, 38, 38, .08);
    white-space: nowrap;
}

.admin-logout:hover {
    color: #b91c1c;
    border-color: #fecaca;
    background: linear-gradient(180deg, #fff8f8 0%, #fee2e2 100%);
}

.admin-logout__icon {
    width: 18px;
    height: 18px;
    position: relative;
    display: inline-block;
}

.admin-logout__icon::before {
    content: "";
    position: absolute;
    inset: 2px 6px 2px 0;
    border: 2px solid currentColor;
    border-right: 0;
    border-radius: 5px 0 0 5px;
}

.admin-logout__icon::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 12px;
    height: 8px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: translateY(-50%) rotate(45deg);
    border-radius: 1px;
}

.admin-dashboard {
    display: grid;
    gap: 18px;
}

.admin-dashboard__stats,
.admin-dashboard__highlights,
.admin-dashboard__details {
    display: grid;
    gap: 18px;
}

.admin-dashboard__stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-dashboard__highlights {
    grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.55fr) minmax(280px, 1.3fr);
}

.admin-dashboard__details {
    grid-template-columns: minmax(0, 1.8fr) minmax(280px, 1.3fr) minmax(280px, 1.05fr);
}

.dashboard-card {
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow:
        0 10px 24px rgba(15, 23, 42, .05),
        0 1px 0 rgba(255, 255, 255, .9) inset;
}

.metric-card {
    padding: 20px;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    position: relative;
}

.metric-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7);
}

.metric-card__icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-size: 1rem;
    font-weight: 800;
}

.metric-card__icon--blue { background: #e9f1ff; color: #206cff; }
.metric-card__icon--teal { background: #ddf7f4; color: #129487; }
.metric-card__icon--amber { background: #fff1c8; color: #b7791f; }
.metric-card__icon--gold { background: #fff1c8; color: #b7791f; }
.metric-card__icon--violet { background: #f1e8ff; color: #7c3aed; }

.metric-card__body {
    display: grid;
    gap: 8px;
}

.metric-card__head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #475569;
    font-weight: 600;
}

.metric-card__menu {
    border: 0;
    background: transparent;
    color: #64748b;
    padding: 0;
    font-weight: 700;
}

.metric-card strong {
    font-size: 1.05rem;
    line-height: 1.25;
    color: #0f172a;
}

.metric-card__meta {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    color: #64748b;
    font-size: .92rem;
}

.metric-card__change {
    color: #16a34a;
    font-weight: 700;
}

.panel-card__head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    padding: 18px 18px 10px;
}

.panel-card__head h2,
.agenda-list h3 {
    margin: 0;
    font-size: 1.08rem;
    font-weight: 700;
    color: #0f172a;
}

.panel-card__head p {
    margin: 4px 0 0;
    color: #64748b;
    font-size: .92rem;
}

.panel-card__pill,
.panel-card__link {
    border-radius: 12px;
    border: 1px solid #e6ebf2;
    padding: 8px 12px;
    color: #334155;
    text-decoration: none;
    font-size: .88rem;
    font-weight: 600;
    background: #fff;
}

.panel-chart,
.panel-fleet,
.panel-actions,
.panel-table,
.panel-vehicles,
.panel-calendar {
    overflow: hidden;
}

.trend-chart {
    padding: 0 18px 18px;
}

.trend-chart__grid {
    height: 220px;
    display: grid;
    grid-template-rows: repeat(5, 1fr);
}

.trend-chart__grid span {
    border-top: 1px solid #edf2f7;
}

.trend-chart__svg {
    width: 100%;
    height: 220px;
    margin-top: -220px;
    display: block;
}

.trend-chart__labels {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
    color: #64748b;
    font-size: .86rem;
}

.panel-fleet {
    padding-bottom: 18px;
}

.fleet-ring {
    position: relative;
    width: 220px;
    max-width: 100%;
    margin: 4px auto 12px;
}

.fleet-ring__chart {
    width: 100%;
    height: auto;
    display: block;
}

.fleet-ring__center {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    text-align: center;
}

.fleet-ring__center span {
    color: #64748b;
    font-size: .92rem;
}

.fleet-ring__center strong {
    color: #0f172a;
    font-size: 2rem;
}

.fleet-list {
    display: grid;
    gap: 12px;
    padding: 0 18px;
}

.fleet-list__item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.fleet-list__item strong,
.fleet-list__item span {
    display: block;
}

.fleet-list__item span {
    color: #64748b;
    font-size: .9rem;
}

.fleet-list__dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    flex: 0 0 auto;
}

.action-list {
    display: grid;
    gap: 12px;
    padding: 0 18px 18px;
}

.action-list__item {
    border-radius: 16px;
    padding: 16px;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    color: #0f172a;
    text-decoration: none;
}

.action-list__item--blue { background: #edf4ff; }
.action-list__item--teal { background: #e8fbf7; }
.action-list__item--amber { background: #fff5de; }
.action-list__item--gold { background: #fff5de; }

.action-list__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .65);
    font-weight: 800;
}

.action-list__body {
    display: grid;
    gap: 2px;
}

.action-list__body strong {
    color: #0f172a;
}

.action-list__body small {
    color: #64748b;
    font-size: .88rem;
}

.action-list__arrow {
    color: #475569;
    font-size: 1.1rem;
}

.dashboard-table {
    padding: 0 18px 18px;
}

.dashboard-table__head,
.dashboard-table__row {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr .8fr .8fr .8fr;
    gap: 14px;
    align-items: center;
}

.dashboard-table__head {
    padding: 12px 2px;
    color: #64748b;
    font-size: .82rem;
    font-weight: 700;
    border-bottom: 1px solid #edf2f7;
}

.dashboard-table__row {
    padding: 14px 2px;
    border-bottom: 1px solid #f1f5f9;
    color: #0f172a;
    font-size: .92rem;
}

.dashboard-table__empty {
    padding: 24px 0 8px;
    color: #64748b;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    font-style: normal;
    font-size: .78rem;
    font-weight: 700;
}

.status-pill--info { background: #e8f1ff; color: #2563eb; }
.status-pill--success { background: #e7f8ec; color: #16a34a; }
.status-pill--neutral { background: #eefaf0; color: #16a34a; }
.status-pill--warning { background: #fff4d8; color: #c27b17; }
.status-pill--danger { background: #fee2e2; color: #dc2626; }
.status-pill--muted { background: #eef2f7; color: #64748b; }

.popular-list {
    display: grid;
    gap: 12px;
    padding: 0 18px 18px;
}

.popular-list__item {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.popular-list__thumb {
    height: 52px;
    border-radius: 12px;
    background:
        linear-gradient(140deg, rgba(15, 23, 42, .10), rgba(15, 23, 42, .02)),
        linear-gradient(180deg, #dbe3ee, #f5f7fb);
}

.popular-list__body,
.popular-list__meta {
    display: grid;
    gap: 4px;
}

.popular-list__body span,
.popular-list__meta strong {
    color: #475569;
    font-size: .9rem;
}

.popular-list__meta {
    justify-items: end;
}

.panel-calendar {
    padding-bottom: 18px;
}

.calendar-widget {
    padding: 0 18px;
}

.calendar-widget__weekdays,
.calendar-widget__days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
}

.calendar-widget__weekdays {
    color: #64748b;
    font-size: .82rem;
    text-align: center;
    margin-bottom: 10px;
}

.calendar-day {
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: #0f172a;
    font-size: .9rem;
}

.calendar-day.is-muted {
    color: #cbd5e1;
}

.calendar-day.is-today {
    background: #2563eb;
    color: #fff;
    font-weight: 700;
}

.agenda-list {
    display: grid;
    gap: 12px;
    padding: 18px 18px 0;
}

.agenda-list__item {
    display: grid;
    gap: 4px;
    padding-left: 14px;
    border-left: 3px solid #8b5cf6;
}

.agenda-list__item strong {
    color: #0f172a;
    font-size: .9rem;
}

.agenda-list__item span,
.agenda-list__empty {
    color: #475569;
    font-size: .9rem;
}

.admin-page {
    display: grid;
    gap: 18px;
}

.admin-page__hero {
    padding: 22px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: end;
}

.admin-page__eyebrow {
    margin: 0 0 8px;
    color: #2563eb;
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
}

.admin-page__hero h1 {
    margin: 0;
    font-size: 1.65rem;
    color: #0f172a;
}

.admin-page__lead {
    margin: 8px 0 0;
    color: #64748b;
    max-width: 700px;
}

.admin-page__filters {
    display: grid;
    gap: 12px;
    align-items: end;
}

.admin-field {
    display: grid;
    gap: 8px;
    min-width: 220px;
}

.admin-field span {
    color: #475569;
    font-size: .88rem;
    font-weight: 600;
}

.admin-field select,
.admin-field input {
    height: 44px;
    border-radius: 14px;
    border: 1px solid #dbe4ef;
    background: #fbfcfe;
    padding: 0 14px;
    outline: none;
}

.admin-mini-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.admin-mini-stat {
    padding: 18px 20px;
    display: grid;
    gap: 6px;
}

.admin-mini-stat span,
.admin-mini-stat small {
    color: #64748b;
}

.admin-mini-stat strong {
    color: #0f172a;
    font-size: 1.7rem;
}

.booking-board {
    overflow: hidden;
}

.booking-board__empty {
    padding: 4px 18px 22px;
    color: #64748b;
}

.booking-board__list {
    display: grid;
    gap: 14px;
    padding: 0 18px 18px;
}

.booking-item {
    border: 1px solid #ccd8e8;
    border-radius: 18px;
    padding: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow:
        0 10px 24px rgba(15, 23, 42, .05),
        0 1px 0 rgba(255, 255, 255, .85) inset;
}

.booking-item__top {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: start;
    padding-bottom: 14px;
    border-bottom: 1px solid #eef2f7;
}

.booking-item__code {
    display: grid;
    gap: 4px;
}

.booking-item__code a {
    color: #0f172a;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
}

.booking-item__code span {
    color: #64748b;
    font-size: .92rem;
}

.booking-item__chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: end;
}

.booking-item__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    padding-top: 16px;
}

.booking-item__label {
    display: block;
    margin-bottom: 6px;
    color: #64748b;
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
}

.booking-item__grid strong,
.booking-item__grid small {
    display: block;
}

.booking-item__grid strong {
    color: #0f172a;
}

.booking-item__grid small {
    color: #64748b;
    font-size: .88rem;
    margin-top: 3px;
}

.booking-item__actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.booking-showcase {
    display: grid;
    gap: 18px;
}

.booking-showcase__hero {
    padding: 22px;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, .9fr);
    gap: 20px;
    align-items: center;
    min-width: 0;
}

.booking-showcase__hero-copy h1 {
    margin: 0;
    color: #16213e;
    font-size: 2rem;
}

.booking-showcase__hero-copy p {
    margin: 12px 0 0;
    color: #64748b;
    max-width: 560px;
    line-height: 1.7;
}

.booking-showcase__hero-side {
    display: grid;
    grid-template-columns: minmax(180px, 220px) 1fr;
    gap: 16px;
    align-items: center;
    min-width: 0;
}

.booking-showcase__filter {
    display: grid;
    gap: 8px;
}

.booking-showcase__filter label {
    color: #475569;
    font-size: .88rem;
    font-weight: 700;
}

.booking-showcase__filter select {
    height: 48px;
    border-radius: 14px;
    border: 1px solid #d6dfec;
    background: #fff;
    padding: 0 14px;
}

.booking-showcase__illustration {
    min-height: 124px;
    border-radius: 18px;
    background:
        radial-gradient(circle at 85% 25%, rgba(37, 99, 235, .08), transparent 28%),
        linear-gradient(180deg, #f8fbff 0%, #edf4ff 100%);
    position: relative;
    overflow: hidden;
    min-width: 0;
}

.booking-showcase__car {
    position: absolute;
    left: 28px;
    bottom: 26px;
    width: 92px;
    height: 34px;
    border-radius: 18px 18px 10px 10px;
    background: linear-gradient(180deg, #68a3ff, #2563eb);
    box-shadow: 0 12px 22px rgba(37, 99, 235, .24);
}

.booking-showcase__car::before,
.booking-showcase__car::after {
    content: "";
    position: absolute;
    bottom: -8px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #334155;
}

.booking-showcase__car::before { left: 12px; }
.booking-showcase__car::after { right: 12px; }

.booking-showcase__tile {
    position: absolute;
    border-radius: 10px;
    background: rgba(37, 99, 235, .12);
}

.booking-showcase__tile--a {
    right: 28px;
    top: 20px;
    width: 64px;
    height: 44px;
}

.booking-showcase__tile--b {
    right: 52px;
    top: 72px;
    width: 42px;
    height: 26px;
}

.booking-showcase__tile--c {
    right: 18px;
    top: 80px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(34, 197, 94, .22);
}

.booking-showcase__stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    min-width: 0;
}

.booking-stat {
    padding: 20px;
    border-radius: 18px;
    border: 1px solid #d7e2f0;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
    box-shadow: 0 12px 28px rgba(15, 23, 42, .06);
    display: grid;
    gap: 12px;
}

.booking-stat__head span {
    font-size: .9rem;
    font-weight: 700;
}

.booking-stat strong {
    font-size: 1.05rem;
    color: #16213e;
}

.booking-stat small {
    font-size: .86rem;
}

.booking-stat__note {
    margin: -2px 0 0;
    color: #64748b;
    font-size: .83rem;
    line-height: 1.55;
    min-height: 40px;
}

.booking-stat--blue .booking-stat__head span,
.booking-stat--blue small { color: #2563eb; }
.booking-stat--amber .booking-stat__head span,
.booking-stat--amber small { color: #f59e0b; }
.booking-stat--green .booking-stat__head span,
.booking-stat--green small { color: #16a34a; }
.booking-stat--violet .booking-stat__head span,
.booking-stat--violet small { color: #7c3aed; }

.booking-stat__spark {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    align-items: end;
    gap: 6px;
    height: 34px;
}

.booking-stat__spark span {
    border-radius: 999px;
    background: currentColor;
    opacity: .35;
}

.booking-stat__spark span:nth-child(1) { height: 10px; }
.booking-stat__spark span:nth-child(2) { height: 17px; }
.booking-stat__spark span:nth-child(3) { height: 12px; }
.booking-stat__spark span:nth-child(4) { height: 22px; }
.booking-stat__spark span:nth-child(5) { height: 15px; }
.booking-stat__spark span:nth-child(6) { height: 24px; }
.booking-stat__spark span:nth-child(7) { height: 18px; }

.booking-showcase__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(360px, .9fr);
    gap: 18px;
    min-width: 0;
}

.booking-activity,
.booking-latest {
    overflow: hidden;
}

.booking-activity__tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.booking-activity__tabs span {
    border-radius: 10px;
    padding: 6px 10px;
    color: #64748b;
    font-size: .8rem;
    font-weight: 700;
}

.booking-activity__tabs .is-active {
    background: #eef4ff;
    color: #2563eb;
}

.booking-activity__legend {
    display: flex;
    gap: 18px;
    padding: 0 18px 10px;
    color: #64748b;
    font-size: .88rem;
}

.booking-activity__legend span {
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

.booking-activity__legend i {
    width: 14px;
    height: 4px;
    border-radius: 999px;
    display: inline-block;
}

.booking-activity__legend .is-booking { background: #2563eb; }
.booking-activity__legend .is-payment { background: #22c55e; }

.booking-activity__chart {
    padding: 0 18px 18px;
}

.booking-activity__gridlines {
    height: 230px;
    display: grid;
    grid-template-rows: repeat(5, 1fr);
}

.booking-activity__gridlines span {
    border-top: 1px solid #edf2f7;
}

.booking-activity__svg {
    width: 100%;
    height: 230px;
    margin-top: -230px;
    display: block;
}

.booking-activity__labels {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
    color: #64748b;
    font-size: .83rem;
}

.booking-latest__list {
    display: grid;
    gap: 12px;
    padding: 0 18px 18px;
}

.booking-latest__item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    text-decoration: none;
    padding: 10px 0;
    border-bottom: 1px solid #edf2f7;
    min-width: 0;
}

.booking-latest__avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 800;
    color: #1e293b;
    background: linear-gradient(180deg, #ffe2a8 0%, #ffbf52 100%);
}

.booking-latest__meta,
.booking-latest__status {
    display: grid;
    gap: 4px;
}

.booking-latest__meta strong,
.booking-latest__status small {
    color: #16213e;
}

.booking-latest__meta small {
    color: #64748b;
}

.booking-latest__status {
    justify-items: end;
}

.booking-latest__empty {
    color: #64748b;
    padding: 8px 0;
}

.booking-board--mockup {
    overflow: hidden;
}

.booking-table .dashboard-table__head,
.booking-table .dashboard-table__row {
    grid-template-columns: 1fr 1fr 1fr .9fr .9fr .9fr;
}

.booking-table__link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 700;
}

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

.enterprise-dashboard {
    display: grid;
    gap: 18px;
}

.enterprise-dashboard__kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.enterprise-kpi {
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    box-shadow: 0 10px 24px rgba(15, 23, 42, .05);
    padding: 20px;
    display: grid;
    gap: 10px;
}

.enterprise-kpi__header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.enterprise-kpi__header span {
    font-size: .96rem;
    font-weight: 700;
    color: #111827;
}

.enterprise-kpi__header em {
    font-style: normal;
    color: #94a3b8;
    font-size: .82rem;
    font-weight: 700;
}

.enterprise-kpi strong {
    color: #0f172a;
    font-size: 2rem;
    line-height: 1.1;
}

.enterprise-kpi__delta {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.enterprise-kpi__delta span {
    font-size: .92rem;
    font-weight: 700;
}

.enterprise-kpi__delta small,
.enterprise-kpi p {
    color: #64748b;
    font-size: .86rem;
}

.enterprise-kpi p {
    margin: 0;
    line-height: 1.55;
    min-height: 42px;
}

.enterprise-kpi--blue .enterprise-kpi__delta span,
.enterprise-kpi--blue .enterprise-kpi__spark span { color: #2563eb; background: #2563eb; }
.enterprise-kpi--teal .enterprise-kpi__delta span,
.enterprise-kpi--teal .enterprise-kpi__spark span { color: #0f766e; background: #14b8a6; }
.enterprise-kpi--amber .enterprise-kpi__delta span,
.enterprise-kpi--amber .enterprise-kpi__spark span { color: #d97706; background: #f59e0b; }
.enterprise-kpi--violet .enterprise-kpi__delta span,
.enterprise-kpi--violet .enterprise-kpi__spark span { color: #7c3aed; background: #8b5cf6; }

.enterprise-kpi__spark {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 6px;
    align-items: end;
    height: 40px;
}

.enterprise-kpi__spark span {
    display: block;
    border-radius: 999px;
    opacity: .32;
}

.enterprise-kpi__spark span:nth-child(1) { height: 12px; }
.enterprise-kpi__spark span:nth-child(2) { height: 22px; }
.enterprise-kpi__spark span:nth-child(3) { height: 15px; }
.enterprise-kpi__spark span:nth-child(4) { height: 28px; }
.enterprise-kpi__spark span:nth-child(5) { height: 18px; }
.enterprise-kpi__spark span:nth-child(6) { height: 30px; }
.enterprise-kpi__spark span:nth-child(7) { height: 20px; }

.enterprise-dashboard__main {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(320px, .9fr);
    gap: 18px;
}

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

.enterprise-panel {
    overflow: hidden;
}

.enterprise-panel--wide {
    min-width: 0;
}

.enterprise-panel__head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    padding: 18px 18px 10px;
}

.enterprise-panel__head h2 {
    margin: 0;
    color: #0f172a;
    font-size: 1.08rem;
    font-weight: 700;
}

.enterprise-panel__head p {
    margin: 4px 0 0;
    color: #64748b;
    font-size: .9rem;
}

.enterprise-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.enterprise-tabs span {
    border-radius: 10px;
    padding: 7px 10px;
    font-size: .78rem;
    font-weight: 700;
    color: #64748b;
}

.enterprise-tabs .is-active {
    background: #eef4ff;
    color: #2563eb;
}

.enterprise-chart {
    padding: 0 18px 18px;
    display: grid;
    gap: 14px;
}

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

.enterprise-chart__summary div {
    border: 1px solid #edf2f7;
    border-radius: 14px;
    padding: 12px 14px;
    background: #fbfdff;
}

.enterprise-chart__summary span {
    display: block;
    color: #64748b;
    font-size: .82rem;
}

.enterprise-chart__summary strong {
    display: block;
    margin-top: 4px;
    color: #0f172a;
    font-size: 1.2rem;
}

.enterprise-chart__canvas {
    min-width: 0;
}

.enterprise-chart__grid {
    height: 250px;
    display: grid;
    grid-template-rows: repeat(5, 1fr);
}

.enterprise-chart__grid span {
    border-top: 1px solid #edf2f7;
}

.enterprise-chart__svg {
    width: 100%;
    height: 250px;
    display: block;
    margin-top: -250px;
}

.enterprise-chart__labels {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
    color: #64748b;
    font-size: .82rem;
}

.status-bars {
    display: grid;
    gap: 16px;
    padding: 0 18px 18px;
}

.status-bars__row {
    display: grid;
    gap: 8px;
}

.status-bars__meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.status-bars__meta span {
    color: #475569;
    font-size: .88rem;
    font-weight: 600;
}

.status-bars__meta strong {
    color: #0f172a;
    font-size: .92rem;
}

.status-bars__track {
    height: 10px;
    border-radius: 999px;
    background: #edf2f7;
    overflow: hidden;
}

.status-bars__track span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #2563eb 0%, #60a5fa 100%);
}

.revenue-card {
    padding: 0 18px 18px;
    display: grid;
    gap: 10px;
}

.revenue-card strong {
    color: #0f172a;
    font-size: 1.8rem;
}

.revenue-card span {
    color: #64748b;
    font-size: .9rem;
    line-height: 1.55;
}

.revenue-card__bars {
    height: 110px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    align-items: end;
    padding-top: 8px;
}

.revenue-card__bars span {
    display: block;
    border-radius: 12px 12px 0 0;
    background: linear-gradient(180deg, #60a5fa 0%, #2563eb 100%);
}

@media (max-width: 1300px) {
    .admin-dashboard__stats,
    .admin-dashboard__highlights,
    .admin-dashboard__details {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .panel-chart,
    .panel-table {
        grid-column: 1 / -1;
    }

    .admin-mini-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

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

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

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

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

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

    .enterprise-dashboard__main,
    .enterprise-dashboard__secondary,
    .enterprise-dashboard__bottom {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .admin-shell__frame {
        height: auto;
        grid-template-columns: 1fr;
        overflow: visible;
    }

    .admin-sidebar {
        height: auto;
        overflow: visible;
    }

    .admin-topbar {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-topbar__left,
    .admin-topbar__right {
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .admin-search {
        width: 100%;
    }

    .admin-dashboard__stats,
    .admin-dashboard__highlights,
    .admin-dashboard__details {
        grid-template-columns: 1fr;
    }

    .admin-page__hero {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-page__filters,
    .admin-mini-stats,
    .booking-item__grid {
        grid-template-columns: 1fr;
    }

    .admin-field {
        min-width: 0;
    }

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

    .booking-showcase__hero-side,
    .booking-showcase__stats,
    .booking-showcase__grid {
        grid-template-columns: 1fr;
    }

    .booking-latest__item,
    .booking-table .dashboard-table__head,
    .booking-table .dashboard-table__row {
        grid-template-columns: 1fr;
    }

    .booking-latest__status {
        justify-items: start;
    }

    .admin-home__grid {
        grid-template-columns: 1fr;
    }

    .enterprise-dashboard__kpis,
    .enterprise-chart__summary {
        grid-template-columns: 1fr;
    }

    .admin-content {
        overflow: visible;
    }

    .dashboard-table__head,
    .dashboard-table__row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* RentDrive admin dashboard refresh */
.admin-shell {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.admin-shell__frame {
    grid-template-columns: 250px minmax(0, 1fr);
    background: #f7f9fc;
}

.admin-sidebar {
    background:
        radial-gradient(circle at 40% 0%, rgba(37, 99, 235, .2), transparent 34%),
        linear-gradient(180deg, #071b3d 0%, #03152f 54%, #04152d 100%);
    padding: 18px 14px;
    gap: 16px;
}

.admin-sidebar__brand {
    padding: 0 14px 8px;
}

.admin-sidebar__logo {
    width: 42px;
    height: 48px;
    border-radius: 14px;
    border: 3px solid #f4b733;
    background: rgba(244, 183, 51, .06);
    color: #f4b733;
    font-size: 1.15rem;
    position: relative;
}

.admin-sidebar__logo::before {
    content: "";
    position: absolute;
    width: 18px;
    height: 8px;
    top: -10px;
    border-top: 3px solid #f4b733;
    border-left: 3px solid #f4b733;
    border-right: 3px solid #f4b733;
    transform: rotate(-10deg);
}

.admin-sidebar__logo-img {
    width: 50px;
    height: 56px;
    border-radius: 10px;
    display: block;
    object-fit: contain;
    padding: 5px;
    background: rgba(255, 255, 255, .96);
    border: 1px solid rgba(255, 255, 255, .22);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .12);
    flex: 0 0 auto;
}

.admin-sidebar__title {
    font-size: 1.22rem;
    letter-spacing: 0;
}

.admin-sidebar__subtitle {
    margin-top: 4px;
    color: rgba(255, 255, 255, .86);
    font-weight: 600;
}

.admin-sidebar__nav {
    gap: 10px;
}

.admin-sidebar__link {
    border-radius: 8px;
    padding: 11px 14px;
    gap: 13px;
    font-size: .92rem;
}

.admin-sidebar__link:hover,
.admin-sidebar__link.is-active {
    background: linear-gradient(180deg, #2f7cff 0%, #1768e8 100%);
    box-shadow: 0 12px 24px rgba(23, 104, 232, .28);
}

.admin-sidebar__icon,
.admin-icon {
    width: 24px;
    height: 24px;
    display: inline-grid;
    place-items: center;
    position: relative;
    flex: 0 0 auto;
    color: currentColor;
    font-size: 0;
}

.admin-icon::before,
.admin-icon::after {
    content: "";
    position: absolute;
    box-sizing: border-box;
}

.admin-icon--grid::before {
    width: 7px;
    height: 7px;
    background: currentColor;
    box-shadow: 11px 0 currentColor, 0 11px currentColor, 11px 11px currentColor;
    border-radius: 2px;
}

.admin-icon--cal::before {
    width: 20px;
    height: 18px;
    border: 2px solid currentColor;
    border-radius: 5px;
}

.admin-icon--cal::after {
    width: 14px;
    height: 2px;
    background: currentColor;
    top: 8px;
}

.admin-icon--car::before {
    width: 22px;
    height: 12px;
    border: 2px solid currentColor;
    border-radius: 8px 8px 4px 4px;
    top: 6px;
}

.admin-icon--car::after {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
    bottom: 3px;
    box-shadow: 13px 0 currentColor;
}

.admin-icon--users::before,
.admin-icon--user::before {
    width: 8px;
    height: 8px;
    border: 2px solid currentColor;
    border-radius: 50%;
    top: 3px;
}

.admin-icon--users::after,
.admin-icon--user::after {
    width: 18px;
    height: 9px;
    border: 2px solid currentColor;
    border-bottom: 0;
    border-radius: 12px 12px 0 0;
    bottom: 3px;
}

.admin-icon--card::before {
    width: 22px;
    height: 16px;
    border: 2px solid currentColor;
    border-radius: 4px;
}

.admin-icon--card::after {
    width: 16px;
    height: 2px;
    background: currentColor;
    top: 8px;
}

.admin-icon--file::before {
    width: 18px;
    height: 21px;
    border: 2px solid currentColor;
    border-radius: 4px;
}

.admin-icon--file::after {
    width: 8px;
    height: 2px;
    background: currentColor;
    box-shadow: 0 5px currentColor;
}

.admin-icon--tag::before {
    width: 18px;
    height: 14px;
    border: 2px solid currentColor;
    border-radius: 4px;
    transform: rotate(45deg);
}

.admin-icon--gear::before {
    width: 18px;
    height: 18px;
    border: 3px solid currentColor;
    border-radius: 50%;
}

.admin-icon--money::before {
    width: 22px;
    height: 22px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.admin-icon--money::after {
    content: "$";
    font-size: 15px;
    font-weight: 800;
}

.admin-icon--check::before {
    width: 19px;
    height: 21px;
    border: 2px solid currentColor;
    border-radius: 5px;
}

.admin-icon--check::after {
    width: 10px;
    height: 6px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
}

.admin-sidebar__upgrade,
.admin-sidebar__help {
    border-radius: 8px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .08);
}

.admin-sidebar__upgrade {
    margin-top: auto;
    padding: 16px;
    display: grid;
    gap: 8px;
}

.admin-sidebar__upgrade-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #f4b733;
    border: 3px solid #f4b733;
    font-size: 1.3rem;
}

.admin-sidebar__upgrade strong,
.admin-sidebar__help strong {
    color: #fff;
}

.admin-sidebar__upgrade span,
.admin-sidebar__help small {
    color: rgba(255, 255, 255, .78);
    line-height: 1.5;
}

.admin-sidebar__upgrade a {
    margin-top: 6px;
    color: #1f2937;
    background: linear-gradient(180deg, #ffd56c, #f3b630);
    text-align: center;
    border-radius: 8px;
    padding: 9px;
    text-decoration: none;
    font-weight: 800;
}

.admin-sidebar__help {
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-sidebar__help-icon {
    width: 34px;
    height: 34px;
    border: 2px solid #fff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 800;
}

.admin-topbar {
    min-height: 72px;
    padding: 12px 18px;
    background: rgba(255, 255, 255, .96);
}

.admin-topbar__menu,
.admin-topbar__alert,
.admin-search input,
.admin-topbar__date,
.admin-user {
    border-radius: 12px;
    box-shadow: none;
    border-color: #dfe7f2;
    background: #fff;
}

.admin-topbar__menu,
.admin-topbar__alert {
    width: 44px;
    height: 44px;
}

.admin-search {
    width: min(620px, 42vw);
    flex-basis: 620px;
}

.admin-search input {
    height: 44px;
}

.admin-search__hint {
    border-left: 1px solid #e2e8f0;
    padding-left: 12px;
    color: #1e293b;
}

.admin-user {
    width: 220px;
}

.admin-user__avatar {
    background: linear-gradient(135deg, #14213d, #374151);
    color: #fff;
    position: relative;
}

.admin-user__avatar::after {
    content: "";
    position: absolute;
    right: -1px;
    bottom: -1px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #16a34a;
    border: 2px solid #fff;
}

.admin-content {
    padding: 14px;
}

.rd-dashboard {
    display: grid;
    gap: 12px;
}

.rd-card {
    background: #fff;
    border: 1px solid #e3e9f1;
    border-radius: 8px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .07);
}

.rd-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.rd-kpi {
    min-height: 112px;
    padding: 16px;
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
}

.rd-kpi__icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
}

.rd-kpi--blue .rd-kpi__icon { background: #e6f0ff; color: #1768e8; }
.rd-kpi--teal .rd-kpi__icon { background: #dff7f3; color: #0f9f92; }
.rd-kpi--amber .rd-kpi__icon { background: #fff0c7; color: #9a6700; }
.rd-kpi--violet .rd-kpi__icon { background: #efe8ff; color: #7c3aed; }

.rd-kpi__body {
    display: grid;
    gap: 5px;
}

.rd-kpi__title {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #25314d;
    font-weight: 800;
    font-size: .88rem;
}

.rd-kpi__title button {
    border: 0;
    background: transparent;
    color: #64748b;
    font-weight: 900;
}

.rd-kpi strong {
    color: #030712;
    font-size: 1.42rem;
    line-height: 1.1;
}

.rd-kpi small {
    color: #475569;
}

.rd-kpi small b {
    color: #16a34a;
}

.rd-grid {
    display: grid;
    gap: 12px;
}

.rd-grid--top {
    grid-template-columns: minmax(0, 1.65fr) minmax(320px, 1.08fr) minmax(280px, .95fr);
}

.rd-grid--bottom {
    grid-template-columns: minmax(0, 1.85fr) minmax(320px, 1.08fr) minmax(280px, .98fr);
}

.rd-panel {
    padding: 14px;
    overflow: hidden;
}

.rd-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 10px;
}

.rd-panel__head h2 {
    margin: 0;
    font-size: .95rem;
    color: #17213a;
    font-weight: 850;
}

.rd-panel__head button,
.rd-panel__head a {
    border: 1px solid #e3e9f1;
    border-radius: 8px;
    background: #fff;
    color: #17213a;
    font-size: .86rem;
    font-weight: 700;
    padding: 6px 10px;
    text-decoration: none;
}

.rd-info {
    color: #94a3b8;
    border: 1px solid #94a3b8;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: grid;
    place-items: center;
    font-size: .72rem;
    font-weight: 800;
}

.rd-chart__legend {
    display: flex;
    gap: 8px;
    align-items: center;
    color: #17213a;
    font-size: .86rem;
    margin-bottom: 6px;
}

.rd-chart__legend i {
    width: 20px;
    height: 8px;
    border-bottom: 3px solid #2563eb;
    position: relative;
}

.rd-chart__legend i::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -5px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2563eb;
}

.rd-chart__canvas {
    height: 172px;
    position: relative;
}

.rd-chart__grid {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-rows: repeat(5, 1fr);
}

.rd-chart__grid span {
    border-top: 1px solid #e8edf5;
}

.rd-chart svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.rd-chart__labels {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    color: #64748b;
    font-size: .78rem;
    margin-top: 8px;
}

.rd-chart__labels span {
    text-align: center;
}

.rd-fleet {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
}

.rd-fleet__ring {
    position: relative;
}

.rd-fleet__ring svg {
    width: 150px;
    height: 150px;
}

.rd-fleet__ring div {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    text-align: center;
}

.rd-fleet__ring span {
    color: #64748b;
}

.rd-fleet__ring strong {
    font-size: 1.35rem;
    color: #17213a;
}

.rd-fleet__list {
    display: grid;
    gap: 12px;
}

.rd-fleet__list div {
    display: grid;
    grid-template-columns: 10px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.rd-fleet__list i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-top: 6px;
}

.rd-fleet__list span {
    display: grid;
    color: #475569;
    font-size: .9rem;
}

.rd-fleet__list b {
    color: #17213a;
}

.rd-panel__link {
    display: block;
    text-align: right;
    color: #17213a;
    text-decoration: none;
    font-weight: 800;
    font-size: .88rem;
    margin-top: 8px;
}

.rd-actions {
    display: grid;
    gap: 12px;
}

.rd-action {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 11px;
    border-radius: 8px;
    text-decoration: none;
    color: #17213a;
}

.rd-action--blue { background: #edf5ff; }
.rd-action--teal { background: #e7f8f4; }
.rd-action--amber { background: #fff6e1; }

.rd-action .admin-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .72);
}

.rd-action--blue .admin-icon { color: #1768e8; }
.rd-action--teal .admin-icon { color: #0f9f92; }
.rd-action--amber .admin-icon { color: #9a6700; }

.rd-action span:nth-child(2) {
    display: grid;
    gap: 3px;
}

.rd-action strong {
    color: #1768e8;
}

.rd-action small {
    color: #475569;
}

.rd-action b {
    color: #475569;
    font-size: 1.5rem;
}

.rd-table {
    overflow-x: auto;
}

.rd-table__head,
.rd-table__row {
    display: grid;
    grid-template-columns: 1fr 1.15fr 1.15fr .9fr .9fr .9fr;
    min-width: 700px;
    gap: 10px;
    align-items: center;
}

.rd-table__head {
    background: #f8fafc;
    color: #64748b;
    font-size: .76rem;
    font-weight: 800;
    padding: 10px 8px;
}

.rd-table__row {
    color: #17213a;
    text-decoration: none;
    font-size: .8rem;
    padding: 9px 8px;
    border-bottom: 1px solid #edf2f7;
}

.rd-table__row span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rd-table__row i {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    background: #fde2a7;
    color: #17213a;
    font-style: normal;
    font-size: .74rem;
    font-weight: 800;
    margin-right: 8px;
}

.rd-popular {
    display: grid;
}

.rd-popular__item {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px solid #edf2f7;
}

.rd-popular__thumb {
    height: 44px;
    border-radius: 8px;
    background:
        linear-gradient(140deg, rgba(3, 7, 18, .14), rgba(255, 255, 255, .18)),
        linear-gradient(180deg, #cbd5e1, #f8fafc);
}

.rd-popular__item div:nth-child(2),
.rd-popular__item div:nth-child(3) {
    display: grid;
    gap: 5px;
}

.rd-popular__item strong {
    color: #17213a;
}

.rd-popular__item span,
.rd-popular__item small {
    color: #475569;
}

.rd-popular__item div:nth-child(3) {
    justify-items: end;
}

.rd-popular__item b {
    color: #17213a;
    font-size: 1.15rem;
}

.rd-popular__item small {
    display: block;
    font-size: .82rem;
    font-weight: 500;
}

.rd-calendar__weekdays,
.rd-calendar__days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    text-align: center;
}

.rd-calendar__weekdays {
    color: #64748b;
    font-size: .78rem;
    margin-bottom: 5px;
}

.rd-calendar__days {
    gap: 2px;
}

.rd-calendar__days span {
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #17213a;
    font-size: .78rem;
}

.rd-calendar__days .is-muted {
    color: #cbd5e1;
}

.rd-calendar__days .is-today {
    color: #fff;
    background: #2563eb;
    font-weight: 800;
}

.rd-agenda {
    margin-top: 12px;
    display: grid;
    gap: 10px;
}

.rd-agenda h3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    color: #17213a;
    font-size: 1rem;
}

.rd-agenda h3 small {
    width: 28px;
    height: 24px;
    border-radius: 999px;
    background: #eef2f7;
    display: grid;
    place-items: center;
    font-size: .8rem;
}

.rd-agenda__item {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 9px;
    border-radius: 8px;
    background: #f8fafc;
    border-left: 4px solid #14b8a6;
}

.rd-agenda__item:nth-child(odd) {
    border-left-color: #7c3aed;
}

.rd-agenda__item strong,
.rd-agenda__item span {
    color: #17213a;
    font-size: .84rem;
}

.rd-empty {
    color: #64748b;
    padding: 16px 0;
}

.rd-pagebar {
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
}

.rd-pagebar span {
    color: #2563eb;
    font-size: .76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.rd-pagebar h1 {
    margin: 3px 0 0;
    color: #17213a;
    font-size: 1.35rem;
    line-height: 1.1;
}

.rd-pagebar__actions {
    display: flex;
    gap: 10px;
    align-items: center;
    min-width: 0;
}

.rd-search-mini {
    display: flex;
    gap: 8px;
    min-width: 0;
}

.rd-search-mini input {
    width: min(320px, 26vw);
    min-width: 180px;
    height: 38px;
    border: 1px solid #dfe7f2;
    border-radius: 8px;
    background: #fff;
    color: #17213a;
    padding: 0 12px;
    outline: none;
}

.rd-search-mini button,
.rd-primary-action {
    height: 38px;
    border: 1px solid #dfe7f2;
    border-radius: 8px;
    background: #fff;
    color: #17213a;
    padding: 0 12px;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.rd-primary-action {
    border-color: #2563eb;
    background: #2563eb;
    color: #fff;
}

.rd-primary-action .admin-icon {
    width: 18px;
    height: 18px;
}

.rd-filter {
    display: flex;
    gap: 10px;
    align-items: center;
}

.rd-filter label {
    color: #475569;
    font-size: .86rem;
    font-weight: 800;
}

.rd-filter select {
    height: 38px;
    min-width: 210px;
    border: 1px solid #dfe7f2;
    border-radius: 8px;
    background: #fff;
    color: #17213a;
    padding: 0 12px;
    font-weight: 700;
}

.rd-booking-grid {
    grid-template-columns: minmax(0, 1.7fr) minmax(320px, .9fr);
}

.rd-booking-legend {
    display: flex;
    gap: 18px;
    align-items: center;
    color: #475569;
    font-size: .86rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.rd-booking-legend span {
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

.rd-booking-legend i {
    width: 18px;
    height: 4px;
    border-radius: 999px;
    display: inline-block;
}

.rd-booking-legend .is-booking {
    background: #2563eb;
}

.rd-booking-legend .is-payment {
    background: #14b8a6;
}

.rd-booking-list {
    display: grid;
    gap: 8px;
}

.rd-booking-item {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #edf2f7;
    color: #17213a;
    text-decoration: none;
}

.rd-booking-item > span {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fde2a7;
    color: #17213a;
    font-weight: 900;
}

.rd-booking-item div {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.rd-booking-item strong,
.rd-booking-item small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rd-booking-item small {
    color: #64748b;
}

.rd-panel__sub {
    margin: 4px 0 0;
    color: #64748b;
    font-size: .86rem;
}

.rd-booking-table .rd-table__head,
.rd-booking-table .rd-table__row {
    grid-template-columns: .95fr 1.15fr 1.1fr .82fr .95fr .95fr .9fr;
    min-width: 860px;
}

.rd-calendar-filter {
    display: grid;
    grid-template-columns: repeat(5, minmax(130px, 1fr)) auto;
    gap: 10px;
    align-items: end;
}

.rd-payment-filter {
    display: grid;
    grid-template-columns: minmax(220px, 1.35fr) minmax(180px, 1fr) minmax(180px, 1fr) minmax(140px, .8fr) auto;
    gap: 10px;
    align-items: end;
}

.rd-report-filter {
    display: grid;
    grid-template-columns: repeat(4, minmax(150px, 1fr));
    gap: 10px;
    align-items: end;
}

.rd-report-filter label {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.rd-report-filter span,
.rd-period-note {
    color: #64748b;
    font-size: .84rem;
    font-weight: 800;
}

.rd-report-filter input,
.rd-report-filter select {
    height: 38px;
    min-width: 0;
    border: 1px solid #dfe7f2;
    border-radius: 8px;
    background: #fff;
    color: #17213a;
    padding: 0 10px;
    font-weight: 700;
}

.rd-report-filter__actions {
    display: flex;
    gap: 8px;
}

.rd-report-filter__actions button,
.rd-report-filter__actions a {
    height: 38px;
    border-radius: 8px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    border: 1px solid #dfe7f2;
    background: #fff;
    color: #17213a;
    text-decoration: none;
    font-weight: 800;
}

.rd-report-filter__actions button {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
}

.rd-report-grid {
    grid-template-columns: minmax(300px, .8fr) minmax(0, 1.4fr);
}

.rd-report-summary {
    display: grid;
    gap: 10px;
}

.rd-report-summary div {
    border: 1px solid #edf2f7;
    border-radius: 8px;
    padding: 12px;
    background: #fbfdff;
}

.rd-report-summary span {
    display: block;
    color: #64748b;
    font-size: .82rem;
    font-weight: 800;
}

.rd-report-summary strong {
    display: block;
    margin-top: 5px;
    color: #17213a;
    font-size: 1.05rem;
}

.rd-settings-grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(330px, .7fr);
    align-items: start;
}

.rd-settings-side {
    display: grid;
    gap: 12px;
    align-content: start;
}

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

.rd-settings-form--single {
    grid-template-columns: 1fr;
}

.rd-settings-form label {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.rd-settings-form label span {
    color: #475569;
    font-size: .82rem;
    font-weight: 800;
}

.rd-settings-form input,
.rd-settings-form textarea {
    width: 100%;
    border: 1px solid #dfe7f2;
    border-radius: 8px;
    background: #fff;
    color: #17213a;
    padding: 10px 12px;
    outline: none;
    font-weight: 700;
}

.rd-settings-form input {
    height: 42px;
}

.rd-settings-form textarea {
    resize: vertical;
    min-height: 96px;
}

.rd-field-wide,
.rd-setting-toggle,
.rd-form-actions {
    grid-column: 1 / -1;
}

.rd-setting-toggle {
    display: flex !important;
    grid-template-columns: none !important;
    align-items: center;
    gap: 10px !important;
    padding: 12px;
    border: 1px solid #edf2f7;
    border-radius: 8px;
    background: #fbfdff;
}

.rd-setting-toggle input {
    width: 18px;
    height: 18px;
}

.rd-form-actions {
    display: flex;
    justify-content: flex-end;
}

.rd-form-actions button {
    min-height: 40px;
    border: 0;
    border-radius: 8px;
    background: #2563eb;
    color: #fff;
    padding: 0 16px;
    font-weight: 900;
}

.rd-brand-preview {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 14px;
    border: 1px solid #edf2f7;
    border-radius: 8px;
    background: #fbfdff;
}

.rd-brand-preview img,
.rd-brand-preview > span {
    width: 64px;
    height: 64px;
    border-radius: 12px;
}

.rd-brand-preview img {
    object-fit: cover;
}

.rd-brand-preview > span {
    display: grid;
    place-items: center;
    background: #071b3d;
    color: #f4b733;
    font-weight: 900;
    font-size: 1.4rem;
}

.rd-brand-preview div {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.rd-brand-preview strong {
    color: #17213a;
    font-size: 1.04rem;
}

.rd-brand-preview small {
    color: #64748b;
}

.rd-brand-summary {
    display: grid;
    gap: 12px;
}

.rd-brand-checks {
    display: grid;
    gap: 10px;
}

.rd-brand-checks span {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    padding: 12px 14px;
    border: 1px solid #edf2f7;
    border-radius: 8px;
    background: #fbfdff;
}

.rd-brand-checks b {
    color: #17213a;
}

.rd-brand-checks small {
    color: #64748b;
    line-height: 1.6;
}

.rd-inline-branding {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(170px, 220px) minmax(150px, 200px);
    gap: 14px;
    align-items: stretch;
    padding: 14px;
    border: 1px solid #edf2f7;
    border-radius: 8px;
    background: #fbfdff;
}

.rd-inline-branding .rd-brand-preview {
    padding: 0;
    border: 0;
    background: transparent;
}

.rd-file-field {
    align-self: stretch;
    justify-content: center;
    padding: 12px;
    border: 1px dashed #cbd7e8;
    border-radius: 8px;
    background: #fff;
}

.rd-file-field input[type="file"] {
    height: auto;
    min-height: 42px;
    padding: 6px;
    font-size: .82rem;
    line-height: 1.2;
}

.rd-file-field input[type="file"]::file-selector-button {
    min-height: 30px;
    margin-right: 8px;
    border: 0;
    border-radius: 7px;
    background: #edf4ff;
    color: #2563eb;
    padding: 0 10px;
    font-weight: 900;
}

.rd-file-field small {
    color: #64748b;
    font-size: .76rem;
}

.rd-settings-page .rd-panel {
    padding: 20px;
}

.rd-settings-page .rd-panel__head {
    margin-bottom: 16px;
}

.rd-settings-page .rd-panel__head h2 {
    font-size: 1.05rem;
}

.rd-settings-page .rd-panel__sub {
    max-width: 760px;
    line-height: 1.55;
}

.rd-payment-filter label {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.rd-payment-filter span {
    color: #475569;
    font-size: .82rem;
    font-weight: 800;
}

.rd-payment-filter input,
.rd-payment-filter select {
    height: 38px;
    min-width: 0;
    border: 1px solid #dfe7f2;
    border-radius: 8px;
    background: #fff;
    color: #17213a;
    padding: 0 10px;
    font-weight: 700;
}

.rd-payment-filter__actions {
    display: flex;
    gap: 8px;
}

.rd-payment-filter__actions button,
.rd-payment-filter__actions a {
    height: 38px;
    border-radius: 8px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    border: 1px solid #dfe7f2;
    background: #fff;
    color: #17213a;
    text-decoration: none;
    font-weight: 800;
}

.rd-payment-filter__actions button {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
}

.rd-calendar-filter label {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.rd-calendar-filter span {
    color: #475569;
    font-size: .82rem;
    font-weight: 800;
}

.rd-calendar-filter input,
.rd-calendar-filter select {
    height: 38px;
    min-width: 0;
    border: 1px solid #dfe7f2;
    border-radius: 8px;
    background: #fff;
    color: #17213a;
    padding: 0 10px;
    font-weight: 700;
}

.rd-calendar-filter__actions {
    display: flex;
    gap: 8px;
}

.rd-calendar-filter__actions button,
.rd-calendar-filter__actions a {
    height: 38px;
    border-radius: 8px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    border: 1px solid #dfe7f2;
    background: #fff;
    color: #17213a;
    text-decoration: none;
    font-weight: 800;
}

.rd-calendar-filter__actions button {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
}

.rd-calendar-grid {
    grid-template-columns: minmax(0, 1.65fr) minmax(300px, .85fr);
}

.rd-schedule-stack {
    display: grid;
    gap: 12px;
}

.rd-schedule-vehicle {
    border: 1px solid #e3e9f1;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.rd-schedule-vehicle__head {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
    background: #f8fafc;
}

.rd-schedule-vehicle__head .admin-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: #e6f0ff;
    color: #1768e8;
}

.rd-schedule-vehicle__head div {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.rd-schedule-vehicle__head strong {
    color: #17213a;
}

.rd-schedule-vehicle__head small {
    color: #64748b;
}

.rd-schedule-vehicle__head em {
    border-radius: 999px;
    background: #eef2f7;
    color: #475569;
    font-style: normal;
    font-size: .78rem;
    font-weight: 800;
    padding: 5px 9px;
}

.rd-schedule-events {
    display: grid;
    gap: 8px;
    padding: 12px;
}

.rd-schedule-event {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(160px, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 8px;
    border-left: 4px solid #14b8a6;
    background: #fbfdff;
    text-decoration: none;
}

.rd-schedule-event time {
    color: #17213a;
    font-weight: 800;
    font-size: .84rem;
}

.rd-schedule-event span {
    color: #475569;
    font-size: .84rem;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rd-agenda__link {
    color: #17213a;
    text-decoration: none;
}

.rd-calendar-table .rd-table__head,
.rd-calendar-table .rd-table__row {
    grid-template-columns: .85fr 1.15fr 1.1fr 1fr 1fr .9fr .9fr;
    min-width: 980px;
}

.rd-payment-table .rd-table__head,
.rd-payment-table .rd-table__row {
    grid-template-columns: .95fr 1.05fr 1fr .7fr .8fr .78fr minmax(360px, 1.7fr);
    min-width: 1120px;
}

.rd-report-vehicle-table .rd-table__head,
.rd-report-vehicle-table .rd-table__row {
    grid-template-columns: 1.2fr .7fr .6fr .9fr .5fr .5fr;
    min-width: 720px;
}

.rd-report-booking-table .rd-table__head,
.rd-report-booking-table .rd-table__row {
    grid-template-columns: .85fr 1.1fr 1.1fr 1.2fr .9fr .95fr .85fr;
    min-width: 1040px;
}

.rd-report-payment-table .rd-table__head,
.rd-report-payment-table .rd-table__row {
    grid-template-columns: .85fr 1.1fr 1fr .75fr .9fr .95fr .8fr .9fr;
    min-width: 1120px;
}

.rd-report-page .rd-table b,
.rd-report-page .rd-table small {
    display: block;
}

.rd-report-page .rd-table b {
    color: #17213a;
}

.rd-report-page .rd-table small {
    color: #64748b;
}

.rd-payment-row {
    align-items: center;
}

.rd-payment-row small,
.rd-payment-row b {
    display: block;
}

.rd-payment-row b,
.rd-table-link {
    color: #17213a;
}

.rd-payment-row small {
    color: #64748b;
}

.rd-table-link {
    font-weight: 900;
    text-decoration: none;
}

.rd-payment-customer {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    column-gap: 10px;
    row-gap: 2px;
    align-items: center;
}

.rd-payment-customer i {
    grid-row: 1 / span 2;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff0c7;
    color: #9a6700;
    font-style: normal;
    font-weight: 900;
}

.rd-slider-list {
    display: grid;
    gap: 12px;
}

.rd-slider-item {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    border: 1px solid #edf2f7;
    border-radius: 8px;
    padding: 12px;
    background: #fbfdff;
}

.rd-slider-item__image {
    border-radius: 8px;
    overflow: hidden;
    background: #e5e7eb;
}

.rd-slider-item__image img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.rd-slider-item__body {
    display: grid;
    gap: 10px;
    min-width: 0;
}

.rd-slider-item__body strong {
    display: block;
    color: #17213a;
    font-size: 1.05rem;
}

.rd-slider-item__body span {
    color: #64748b;
    line-height: 1.55;
}

.rd-slider-item__meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.rd-slider-item__meta small {
    color: #64748b;
}

.rd-slider-item__actions {
    min-width: 210px;
}

.rd-slider-preview {
    display: grid;
    gap: 10px;
}

.rd-slider-preview img,
.rd-slider-preview__empty {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    object-fit: cover;
    background: #eef2f7;
}

.rd-slider-preview__empty {
    display: grid;
    place-items: center;
    color: #64748b;
    font-weight: 800;
}

.rd-slider-preview strong {
    color: #17213a;
}

.rd-slider-preview span {
    color: #64748b;
    line-height: 1.55;
}

.rd-payment-actions {
    justify-content: flex-start;
}

.rd-payment-actions small {
    align-self: center;
    color: #64748b;
    font-size: .78rem;
}

.rd-reject-form {
    display: inline-flex;
    gap: 6px;
    align-items: center;
}

.rd-reject-form input {
    width: 108px;
    min-height: 30px;
    border: 1px solid #dfe7f2;
    border-radius: 8px;
    padding: 0 8px;
    font-size: .78rem;
}

.rd-calendar-table b,
.rd-calendar-table small {
    display: block;
}

.rd-calendar-table b {
    color: #17213a;
}

.rd-calendar-table small {
    color: #64748b;
}

.rd-vehicle-table .rd-table__head,
.rd-vehicle-table .rd-table__row {
    grid-template-columns: minmax(220px, 1.4fr) .75fr 1fr .72fr .72fr minmax(260px, 1.1fr);
    min-width: 980px;
}

.rd-customer-table .rd-table__head,
.rd-customer-table .rd-table__row {
    grid-template-columns: minmax(220px, 1.35fr) minmax(210px, 1.2fr) .8fr .72fr .62fr .85fr .9fr .58fr;
    min-width: 1120px;
}

.rd-vehicle-row {
    align-items: center;
}

.rd-vehicle-unit {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    column-gap: 10px;
    row-gap: 2px;
    align-items: center;
}

.rd-customer-name {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    column-gap: 10px;
    row-gap: 2px;
    align-items: center;
}

.rd-customer-name i {
    grid-row: 1 / span 2;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #efe8ff;
    color: #7c3aed;
    font-style: normal;
    font-weight: 900;
}

.rd-vehicle-unit i {
    grid-row: 1 / span 2;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: #e6f0ff;
    color: #1768e8;
    font-style: normal;
    font-weight: 900;
}

.rd-vehicle-unit b,
.rd-vehicle-row b,
.rd-customer-row b {
    color: #17213a;
}

.rd-vehicle-unit small,
.rd-vehicle-row small,
.rd-customer-row small {
    color: #64748b;
}

.rd-row-actions {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    flex-wrap: wrap;
    overflow: visible !important;
    white-space: normal !important;
}

.rd-row-actions a,
.rd-row-actions button {
    min-height: 30px;
    border: 1px solid #dfe7f2;
    border-radius: 8px;
    background: #fff;
    color: #17213a;
    padding: 5px 9px;
    font-size: .78rem;
    font-weight: 800;
    text-decoration: none;
}

.rd-row-actions form {
    margin: 0;
}

.rd-row-actions button.is-danger {
    border-color: #fecaca;
    color: #dc2626;
    background: #fff7f7;
}

@media (max-width: 1100px) {
    .rd-kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rd-grid--top,
    .rd-grid--bottom,
    .rd-booking-grid,
    .rd-calendar-grid {
        grid-template-columns: 1fr;
    }

    .rd-calendar-filter {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rd-payment-filter {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rd-report-filter,
    .rd-report-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rd-settings-grid {
        grid-template-columns: 1fr;
    }

    .rd-slider-item {
        grid-template-columns: 1fr;
    }

    .rd-slider-item__actions {
        min-width: 0;
        justify-content: flex-start;
    }

    .rd-inline-branding {
        grid-template-columns: 1fr 1fr;
    }

    .rd-inline-branding .rd-brand-preview {
        grid-column: 1 / -1;
    }
}

@media (max-width: 992px) {
    .admin-shell__frame {
        grid-template-columns: 1fr;
    }

    .admin-sidebar__upgrade,
    .admin-sidebar__help {
        display: none;
    }

    .admin-search {
        width: 100%;
        flex-basis: auto;
    }

    .rd-kpis,
    .rd-kpi,
    .rd-fleet {
        grid-template-columns: 1fr;
    }

    .rd-pagebar {
        align-items: stretch;
        flex-direction: column;
    }

    .rd-pagebar__actions,
    .rd-search-mini {
        align-items: stretch;
        flex-direction: column;
    }

    .rd-search-mini input {
        min-width: 0;
        width: 100%;
    }

    .rd-filter {
        align-items: stretch;
        flex-direction: column;
    }

    .rd-filter select {
        min-width: 0;
        width: 100%;
    }

    .rd-calendar-filter,
    .rd-calendar-filter__actions,
    .rd-payment-filter,
    .rd-payment-filter__actions,
    .rd-report-filter,
    .rd-report-filter__actions,
    .rd-report-grid,
    .rd-settings-form,
    .rd-inline-branding,
    .rd-schedule-event {
        grid-template-columns: 1fr;
    }

    .rd-inline-branding .rd-brand-preview {
        grid-column: auto;
    }

    .rd-reject-form {
        width: 100%;
    }

    .rd-reject-form input {
        flex: 1;
        width: auto;
    }

    .rd-kpi {
        min-height: 0;
    }
}

/* Keep the desktop admin header inside the viewport at common PC zoom levels. */
body {
    overflow-x: hidden;
}

.admin-topbar,
.admin-topbar__left,
.admin-topbar__right,
.admin-main {
    min-width: 0;
}

.admin-topbar {
    overflow: hidden;
}

.admin-topbar__left {
    flex: 1 1 auto;
}

.admin-topbar__right {
    flex: 0 1 auto;
}

.admin-search {
    flex: 1 1 280px;
    max-width: 560px;
    min-width: 180px;
    width: auto;
}

.admin-topbar__date {
    flex: 0 1 210px;
    min-width: 168px;
    width: auto;
    padding-inline: 10px;
}

.admin-topbar__date-copy,
.admin-user__meta {
    min-width: 0;
}

.admin-topbar__date-copy strong {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-user {
    flex: 0 1 190px;
    min-width: 132px;
    max-width: 190px;
    width: auto;
}

@media (max-width: 1280px) {
    .admin-shell__frame {
        grid-template-columns: 220px minmax(0, 1fr);
    }

    .admin-sidebar__title {
        font-size: 1.05rem;
    }

    .admin-sidebar__link {
        padding: 10px 12px;
        font-size: .86rem;
    }

    .admin-topbar {
        gap: 10px;
        padding-inline: 12px;
    }

    .admin-topbar__left,
    .admin-topbar__right {
        gap: 8px;
    }

.admin-topbar__menu,
.admin-topbar__alert,
.admin-logout {
    width: 40px;
    height: 40px;
}

    .admin-logout {
        min-width: 40px;
        padding: 0;
        justify-content: center;
    }

    .admin-logout span:last-child {
        display: none;
    }

    .admin-search input {
        height: 40px;
        padding-right: 48px;
    }

    .admin-search__hint {
        font-size: .76rem;
        padding-left: 8px;
    }

    .admin-topbar__date {
        min-width: 154px;
        flex-basis: 174px;
        min-height: 40px;
    }

    .admin-user {
        min-width: 86px;
        flex-basis: 92px;
        padding: 6px;
    }

    .admin-user__meta,
    .admin-user__caret {
        display: none;
    }
}

/* Public storefront */
.public-nav {
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid #e5edf7;
    backdrop-filter: blur(14px);
}

.public-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.public-brand img,
.public-brand > span {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    flex: 0 0 auto;
}

.public-brand img {
    object-fit: contain;
    padding: 4px;
    background: #fff;
    border: 1px solid #dfe7f2;
}

.public-brand > span {
    display: grid;
    place-items: center;
    background: #071b3d;
    color: #f4b733;
    font-weight: 900;
}

.public-brand strong {
    display: grid;
    color: #17213a;
    font-size: 1.05rem;
    line-height: 1.05;
}

.public-brand small {
    margin-top: 3px;
    color: #64748b;
    font-size: .74rem;
    font-weight: 700;
}

.public-nav .nav-link {
    color: #34445f;
    font-weight: 750;
}

.public-hero {
    background:
        linear-gradient(90deg, rgba(7, 27, 61, .94), rgba(18, 50, 86, .84)),
        linear-gradient(135deg, #0f766e, #071b3d);
    color: #fff;
    min-height: min(680px, calc(100vh - 70px));
    display: grid;
    align-items: center;
    overflow: hidden;
}

.public-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, .85fr);
    gap: 42px;
    align-items: center;
    padding-block: 64px;
}

.public-eyebrow {
    color: #f4b733;
    font-size: .8rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.public-hero h1 {
    margin: 12px 0 0;
    font-size: clamp(2.5rem, 5vw, 5.2rem);
    line-height: .98;
    font-weight: 950;
    letter-spacing: 0;
}

.public-hero p {
    margin: 20px 0 0;
    max-width: 680px;
    color: rgba(255, 255, 255, .78);
    font-size: 1.14rem;
    line-height: 1.75;
}

.public-searchbar {
    margin-top: 28px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    max-width: 720px;
    padding: 6px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .18);
}

.public-searchbar input {
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 0 16px;
    color: #17213a;
    font-weight: 700;
}

.public-searchbar button,
.public-btn,
.public-section__head a,
.public-vehicle-card__body a,
.public-cta a {
    border-radius: 8px;
    text-decoration: none;
    font-weight: 900;
}

.public-searchbar button {
    min-height: 48px;
    border: 0;
    background: #2563eb;
    color: #fff;
    padding: 0 18px;
}

.public-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.public-btn {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    padding: 0 18px;
}

.public-btn--primary {
    background: #f4b733;
    color: #17213a;
}

.public-btn--ghost {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .38);
}

.public-hero__visual {
    min-width: 0;
}

.public-car-scene {
    min-height: 430px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .03)),
        linear-gradient(135deg, rgba(244, 183, 51, .18), rgba(20, 184, 166, .22));
    border: 1px solid rgba(255, 255, 255, .22);
    box-shadow: 0 24px 64px rgba(0, 0, 0, .2);
}

.public-car-scene__sun {
    position: absolute;
    right: 58px;
    top: 46px;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: #f4b733;
}

.public-car-scene__road {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 74px;
    height: 58px;
    background: rgba(255, 255, 255, .18);
}

.public-car-scene__car {
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: 118px;
    height: 118px;
    border-radius: 46px 64px 22px 22px;
    background: linear-gradient(180deg, #ffffff, #dbeafe);
    box-shadow: 0 26px 0 rgba(3, 7, 18, .24);
}

.public-car-scene__car::before {
    content: "";
    position: absolute;
    left: 26%;
    top: -45px;
    width: 42%;
    height: 64px;
    border-radius: 54px 54px 0 0;
    background: linear-gradient(180deg, #bfdbfe, #eff6ff);
}

.public-car-scene__wheel {
    position: absolute;
    bottom: 92px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #111827;
    border: 10px solid #64748b;
}

.public-car-scene__wheel--left { left: 20%; }
.public-car-scene__wheel--right { right: 20%; }

.public-car-scene__card {
    position: absolute;
    left: 28px;
    bottom: 26px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .94);
    color: #17213a;
    padding: 14px 16px;
    display: grid;
    gap: 2px;
}

.public-car-scene__card small {
    color: #64748b;
}

.public-stats {
    margin-top: -38px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    position: relative;
    z-index: 2;
}

.public-stats div,
.public-vehicle-card,
.public-step-grid div,
.public-cta {
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e3e9f1;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
}

.public-stats div {
    padding: 18px;
    display: grid;
    gap: 4px;
}

.public-stats strong {
    color: #17213a;
    font-size: 1.15rem;
}

.public-stats span {
    color: #64748b;
    font-size: .9rem;
}

.public-section {
    padding-block: 64px 8px;
}

.public-section__head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: end;
    margin-bottom: 20px;
}

.public-section__head h2 {
    margin: 6px 0 0;
    color: #17213a;
    font-weight: 950;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.public-section__head a {
    color: #2563eb;
    border: 1px solid #dbe7ff;
    padding: 10px 14px;
}

.public-vehicle-grid,
.public-step-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.public-vehicle-card {
    overflow: hidden;
}

.public-vehicle-card img,
.public-vehicle-card__placeholder {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: linear-gradient(135deg, #dbeafe, #f8fafc);
}

.public-vehicle-card__placeholder {
    position: relative;
}

.public-vehicle-card__placeholder span {
    position: absolute;
    left: 18%;
    right: 18%;
    bottom: 32%;
    height: 54px;
    border-radius: 28px 36px 14px 14px;
    background: #fff;
    box-shadow: 0 18px 0 -8px rgba(15, 23, 42, .25);
}

.public-vehicle-card__body {
    padding: 16px;
    display: grid;
    gap: 10px;
}

.public-vehicle-card__body > div:first-child {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: start;
}

.public-vehicle-card strong {
    color: #17213a;
}

.public-vehicle-card em {
    font-style: normal;
    color: #16a34a;
    background: #e8f8ed;
    border-radius: 999px;
    padding: 4px 9px;
    font-size: .78rem;
    font-weight: 900;
}

.public-vehicle-card p,
.public-vehicle-card__price span,
.public-step-grid p,
.public-cta span {
    color: #64748b;
}

.public-vehicle-card__price {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.public-vehicle-card__price b {
    color: #17213a;
}

.public-vehicle-card__body a {
    min-height: 42px;
    display: grid;
    place-items: center;
    background: #2563eb;
    color: #fff;
}

.public-step-grid div {
    padding: 22px;
}

.public-step-grid span {
    color: #2563eb;
    font-weight: 950;
}

.public-step-grid strong {
    display: block;
    margin-top: 12px;
    color: #17213a;
    font-size: 1.1rem;
}

.public-step-grid p {
    margin: 8px 0 0;
    line-height: 1.65;
}

.public-cta {
    margin-block: 56px 16px;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    background: #071b3d;
}

.public-cta strong {
    display: block;
    color: #fff;
    font-size: 1.2rem;
}

.public-cta a {
    color: #17213a;
    background: #f4b733;
    padding: 12px 16px;
}

.public-footer {
    margin-top: 56px;
    padding: 24px 0;
    border-top: 1px solid #e3e9f1;
    color: #64748b;
    background: #fff;
}

.public-empty {
    grid-column: 1 / -1;
    border: 1px solid #e3e9f1;
    border-radius: 8px;
    padding: 18px;
    color: #64748b;
    background: #fff;
}

@media (max-width: 992px) {
    .public-hero__inner,
    .public-stats,
    .public-vehicle-grid,
    .public-step-grid {
        grid-template-columns: 1fr;
    }

    .public-hero__inner {
        padding-block: 48px;
    }

    .public-car-scene {
        min-height: 320px;
    }

    .public-section__head,
    .public-cta {
        align-items: stretch;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .public-searchbar {
        grid-template-columns: 1fr;
    }

    .public-searchbar input {
        min-height: 46px;
    }
}

/* DriveRent-inspired public landing */
.public-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    backdrop-filter: none;
}

.public-nav .container {
    margin-top: 0;
    max-width: 1400px;
    min-height: 78px;
    padding-inline: 72px;
    background: rgba(255, 255, 255, .96);
    border-radius: 0 0 6px 6px;
    box-shadow: 0 14px 40px rgba(15, 23, 42, .08);
}

.public-brand img,
.public-brand > span {
    width: 34px;
    height: 34px;
    border-radius: 8px;
}

.public-brand strong {
    color: #111827;
    font-size: 1.22rem;
}

.public-brand small {
    display: none;
}

.public-nav .nav-link {
    color: #111827;
    font-size: .9rem;
    font-weight: 800;
    padding-inline: 12px !important;
}

.public-nav .nav-link:hover,
.public-nav .nav-link:focus {
    color: #b7791f;
}

.public-help-link .nav-link::before {
    content: "?";
    display: inline-grid;
    place-items: center;
    width: 18px;
    height: 18px;
    margin-right: 7px;
    border: 2px solid currentColor;
    border-radius: 50%;
    font-size: .72rem;
}

.public-login-btn {
    min-width: 144px;
    min-height: 46px;
    border: 0;
    border-radius: 6px;
    background: #070d20 !important;
    color: #fff !important;
    display: inline-grid;
    place-items: center;
    font-weight: 900;
}

.dr-hero {
    min-height: 590px;
    margin-top: -78px;
    background-size: cover;
    background-position: center right;
    display: grid;
    align-items: center;
    position: relative;
}

.dr-hero--fallback {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .78), rgba(255, 255, 255, .18)),
        linear-gradient(135deg, #f4eadc 0%, #e4cba8 42%, #55606b 100%);
}

.dr-hero__content {
    padding-top: 98px;
}

.dr-hero__copy {
    max-width: 640px;
}

.dr-hero h1 {
    margin: 0;
    color: #080f24;
    font-size: clamp(2.8rem, 5.3vw, 4.8rem);
    line-height: 1.12;
    font-weight: 950;
    letter-spacing: 0;
}

.dr-hero p {
    margin: 24px 0 0;
    max-width: 560px;
    color: #344052;
    font-size: 1.12rem;
    line-height: 1.65;
}

.dr-primary-btn {
    margin-top: 26px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    background: #070d20;
    color: #fff;
    padding: 0 22px;
    text-decoration: none;
    font-weight: 900;
    box-shadow: 0 14px 28px rgba(7, 13, 32, .18);
}

.dr-primary-btn .admin-icon {
    width: 18px;
    height: 18px;
}

.dr-slider-control {
    width: 54px;
    height: 54px;
    top: 50%;
    margin-inline: 28px;
    border-radius: 50%;
    background: rgba(7, 13, 32, .44);
    opacity: 1;
}

.dr-search-panel {
    position: relative;
    z-index: 4;
    margin-top: -62px;
}

.dr-search-panel form {
    display: grid;
    grid-template-columns: minmax(220px, 1.35fr) minmax(170px, .9fr) minmax(170px, .9fr) minmax(170px, .85fr) 160px;
    gap: 20px;
    align-items: end;
    padding: 24px 30px;
    background: rgba(255, 255, 255, .98);
    border: 1px solid #eef0f4;
    border-radius: 10px;
    box-shadow: 0 18px 48px rgba(15, 23, 42, .12);
}

.dr-search-panel label {
    display: grid;
    gap: 10px;
    min-width: 0;
}

.dr-search-panel span {
    color: #111827;
    font-size: .84rem;
    font-weight: 850;
}

.dr-search-panel input,
.dr-search-panel select {
    height: 48px;
    min-width: 0;
    border: 1px solid #e1e6ee;
    border-radius: 8px;
    background: #fff;
    color: #667085;
    padding: 0 14px;
    outline: none;
    font-weight: 700;
}

.dr-search-panel button {
    height: 48px;
    border: 0;
    border-radius: 8px;
    background: #070d20;
    color: #fff;
    font-weight: 900;
}

.dr-benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    padding-block: 42px 44px;
}

.dr-benefits div {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    column-gap: 18px;
    row-gap: 3px;
    align-items: center;
    padding-inline: 24px;
    border-right: 1px solid #e5e7eb;
}

.dr-benefits div:last-child {
    border-right: 0;
}

.dr-benefits .admin-icon {
    grid-row: 1 / span 2;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #f4eadc;
    color: #070d20;
}

.dr-benefits strong {
    color: #111827;
    font-size: .95rem;
}

.dr-benefits small {
    color: #667085;
    line-height: 1.45;
}

.dr-section {
    padding-block: 36px 36px;
}

.dr-section__head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 18px;
    margin-bottom: 22px;
}

.dr-section__head span,
.dr-info-grid span,
.dr-contact span {
    color: #b7791f;
    text-transform: uppercase;
    font-size: .78rem;
    font-weight: 950;
    letter-spacing: .05em;
}

.dr-section__head h2,
.dr-info-grid h2 {
    margin: 8px 0 0;
    color: #080f24;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 950;
    line-height: 1.05;
}

.dr-section__head a {
    min-height: 42px;
    border: 1px solid #d9a65d;
    border-radius: 8px;
    color: #b7791f;
    display: inline-flex;
    align-items: center;
    padding: 0 18px;
    text-decoration: none;
    font-weight: 900;
}

.dr-car-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.dr-car-card {
    position: relative;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(15, 23, 42, .06);
}

.dr-car-card__heart {
    position: absolute;
    right: 14px;
    top: 14px;
    z-index: 2;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .94);
    color: #111827;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .08);
}

.dr-car-card img,
.dr-car-card__placeholder {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: linear-gradient(180deg, #fff, #f8fafc);
}

.dr-car-card__placeholder {
    position: relative;
}

.dr-car-card__placeholder span {
    position: absolute;
    left: 16%;
    right: 16%;
    bottom: 34%;
    height: 58px;
    border-radius: 34px 42px 14px 14px;
    background: linear-gradient(180deg, #111827, #334155);
    box-shadow: 0 18px 0 -8px rgba(15, 23, 42, .28);
}

.dr-car-card__body {
    padding: 16px;
    display: grid;
    gap: 10px;
}

.dr-car-card__title {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.dr-car-card strong,
.dr-info-grid strong,
.dr-contact strong {
    color: #080f24;
}

.dr-car-card b {
    color: #b7791f;
    font-size: .94rem;
}

.dr-car-card__meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    color: #7b8494;
    font-size: .78rem;
}

.dr-car-card__body > a {
    min-height: 40px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #070d20;
    color: #fff;
    text-decoration: none;
    font-weight: 900;
}

.dr-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    padding-block: 28px;
}

.dr-info-grid > div,
.dr-contact {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    padding: 24px;
    box-shadow: 0 12px 34px rgba(15, 23, 42, .05);
}

.dr-info-grid p,
.dr-contact small {
    margin: 12px 0 0;
    color: #667085;
    line-height: 1.7;
}

.dr-contact {
    margin-block: 30px 14px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
}

.dr-contact strong {
    display: block;
    margin-top: 8px;
    font-size: 1.2rem;
}

.dr-contact a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    border-radius: 8px;
    background: #070d20;
    color: #fff;
    padding: 0 18px;
    text-decoration: none;
    font-weight: 900;
}

@media (max-width: 1200px) {
    .public-nav .container {
        padding-inline: 24px;
    }

    .dr-search-panel form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dr-search-panel button {
        grid-column: 1 / -1;
    }
}

@media (max-width: 992px) {
    .public-nav {
        background: rgba(255, 255, 255, .96);
        box-shadow: 0 10px 30px rgba(15, 23, 42, .08);
    }

    .public-nav .container {
        margin-top: 0;
        border-radius: 0;
        min-height: 68px;
    }

    .dr-hero {
        margin-top: 0;
        min-height: 560px;
        background-position: center;
    }

    .dr-hero__content {
        padding-top: 40px;
    }

    .dr-benefits,
    .dr-car-grid,
    .dr-info-grid {
        grid-template-columns: 1fr;
    }

    .dr-benefits div {
        border-right: 0;
        border-bottom: 1px solid #e5e7eb;
        padding-block: 16px;
    }

    .dr-section__head,
    .dr-contact {
        align-items: stretch;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .dr-search-panel form {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .dr-hero h1 {
        font-size: 2.55rem;
    }
}

/* Public hero search refinement */
.dr-search-panel {
    margin-top: 24px;
}

.dr-search-panel form {
    grid-template-columns: minmax(240px, 1.35fr) minmax(170px, .9fr) minmax(170px, .9fr) minmax(170px, .85fr) 170px;
    gap: 18px;
    padding: 28px 34px 30px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .99), rgba(255, 255, 255, .96)),
        #fff;
    border: 1px solid rgba(218, 225, 236, .9);
    border-radius: 14px;
    box-shadow:
        0 28px 70px rgba(15, 23, 42, .12),
        0 12px 24px rgba(15, 23, 42, .06);
}

.dr-search-panel label {
    gap: 12px;
}

.dr-search-panel span {
    color: #111827;
    font-size: .86rem;
    font-weight: 900;
}

.dr-search-panel input,
.dr-search-panel select {
    height: 58px;
    border-color: #dbe3ef;
    border-radius: 10px;
    color: #111827;
    padding-inline: 18px;
    font-size: .98rem;
    font-weight: 750;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.dr-search-panel input::placeholder {
    color: #7a8494;
}

.dr-search-panel input:focus,
.dr-search-panel select:focus {
    border-color: #b88a43;
    box-shadow: 0 0 0 4px rgba(184, 138, 67, .14);
    background-color: #fff;
}

.dr-search-panel button {
    height: 58px;
    border-radius: 10px;
    background: linear-gradient(180deg, #0b1226, #070d20);
    box-shadow: 0 16px 32px rgba(7, 13, 32, .18);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.dr-search-panel button:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 38px rgba(7, 13, 32, .22);
    background: linear-gradient(180deg, #111a33, #070d20);
}

.dr-benefits {
    margin-top: 18px;
    padding: 42px 0 48px;
    background: transparent;
}

.dr-benefits div {
    grid-template-columns: 64px minmax(0, 1fr);
    column-gap: 20px;
    padding-inline: 28px;
    border-right-color: #dfe5ee;
}

.dr-benefits .admin-icon {
    width: 64px;
    height: 64px;
    background:
        radial-gradient(circle at 30% 22%, rgba(255, 255, 255, .85), transparent 36%),
        #f4eadc;
    box-shadow: inset 0 0 0 1px rgba(184, 138, 67, .06);
}

.dr-benefits strong {
    color: #070d20;
    font-size: 1.03rem;
    font-weight: 950;
}

.dr-benefits small {
    max-width: 230px;
    color: #536176;
    font-size: .95rem;
    line-height: 1.55;
}

@media (max-width: 1200px) {
    .dr-search-panel form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dr-search-panel button {
        grid-column: 1 / -1;
    }
}

@media (max-width: 992px) {
    .dr-search-panel {
        margin-top: 18px;
    }

    .dr-benefits {
        margin-top: 8px;
    }

    .dr-benefits div {
        padding-inline: 18px;
    }
}

@media (max-width: 640px) {
    .dr-search-panel {
        margin-top: 14px;
    }

    .dr-search-panel form {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 20px;
        border-radius: 12px;
    }

    .dr-search-panel input,
    .dr-search-panel select,
    .dr-search-panel button {
        height: 54px;
    }

    .dr-benefits {
        padding-top: 28px;
    }
}

/* Public information blocks */
.dr-info-grid {
    gap: 28px;
    padding-block: 42px 26px;
}

.dr-info-grid > .dr-info-card,
.dr-contact {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(218, 225, 236, .9);
    border-radius: 14px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .99), rgba(248, 250, 252, .96)),
        #fff;
    box-shadow:
        0 22px 56px rgba(15, 23, 42, .08),
        0 8px 18px rgba(15, 23, 42, .04);
}

.dr-info-grid > .dr-info-card {
    min-height: 286px;
    padding: 34px 38px;
}

.dr-info-card::before,
.dr-contact::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #c18a32, #070d20);
    opacity: .86;
}

.dr-info-grid span,
.dr-contact span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(193, 138, 50, .1);
    color: #a96f18;
    font-size: .73rem;
    letter-spacing: .08em;
}

.dr-info-grid h2 {
    margin-top: 18px;
    max-width: 520px;
    font-size: clamp(2rem, 3vw, 3.1rem);
    line-height: 1.02;
}

.dr-info-grid p {
    max-width: 650px;
    margin-top: 18px;
    color: #536176;
    font-size: 1.02rem;
    line-height: 1.8;
}

.dr-info-card ul,
.dr-step-list {
    margin: 24px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.dr-info-card li,
.dr-step-list b {
    list-style: none;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    border: 1px solid #e3e9f2;
    border-radius: 999px;
    background: #fff;
    color: #182235;
    padding: 0 13px;
    font-size: .86rem;
    font-weight: 850;
}

.dr-step-list b {
    border-color: rgba(193, 138, 50, .24);
    background: rgba(193, 138, 50, .08);
}

.dr-contact {
    margin-block: 30px 28px;
    padding: 30px 36px 30px 40px;
    background:
        linear-gradient(135deg, #ffffff 0%, #f8fafc 58%, #f5ead9 100%);
}

.dr-contact strong {
    margin-top: 14px;
    font-size: clamp(1.4rem, 2.2vw, 2rem);
    line-height: 1.15;
}

.dr-contact small {
    display: block;
    max-width: 760px;
    color: #536176;
    font-size: 1rem;
}

.dr-contact a {
    min-height: 54px;
    border-radius: 10px;
    padding: 0 26px;
    background: linear-gradient(180deg, #0b1226, #070d20);
    box-shadow: 0 16px 30px rgba(7, 13, 32, .18);
    white-space: nowrap;
    transition: transform .18s ease, box-shadow .18s ease;
}

.dr-contact a:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 36px rgba(7, 13, 32, .24);
}

.rd-form-divider {
    margin-top: 8px;
    padding: 16px 18px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
}

.rd-form-divider strong,
.rd-form-divider small {
    display: block;
}

.rd-form-divider strong {
    color: #172033;
    font-weight: 900;
}

.rd-form-divider small {
    margin-top: 4px;
    color: #64748b;
}

@media (max-width: 992px) {
    .dr-info-grid {
        gap: 18px;
        padding-block: 28px 20px;
    }

    .dr-info-grid > .dr-info-card {
        min-height: 0;
        padding: 28px;
    }

    .dr-contact {
        padding: 28px;
    }

    .dr-contact a {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 640px) {
    .dr-info-grid > .dr-info-card,
    .dr-contact {
        border-radius: 12px;
    }

    .dr-info-grid > .dr-info-card {
        padding: 24px;
    }

    .dr-info-card ul,
    .dr-step-list {
        flex-direction: column;
        align-items: stretch;
    }

    .dr-info-card li,
    .dr-step-list b {
        justify-content: center;
    }
}

/* Public vehicle listing */
.dr-list-hero {
    margin-top: -78px;
    padding: 170px 0 82px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .84), rgba(255, 255, 255, .28)),
        linear-gradient(135deg, #f8fafc 0%, #f1e7d8 48%, #111827 100%);
}

.dr-list-hero span,
.dr-vehicle-toolbar label span {
    color: #b7791f;
    text-transform: uppercase;
    font-size: .76rem;
    font-weight: 950;
    letter-spacing: .08em;
}

.dr-list-hero h1 {
    max-width: 760px;
    margin: 12px 0 0;
    color: #080f24;
    font-size: clamp(2.4rem, 4.4vw, 4.6rem);
    line-height: 1.06;
    font-weight: 950;
}

.dr-list-hero p {
    max-width: 650px;
    margin: 22px 0 0;
    color: #475569;
    font-size: 1.08rem;
    line-height: 1.75;
}

.dr-vehicle-toolbar {
    position: relative;
    z-index: 2;
    margin-top: -38px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    border: 1px solid rgba(218, 225, 236, .9);
    border-radius: 14px;
    background: rgba(255, 255, 255, .98);
    padding: 20px;
    box-shadow: 0 24px 56px rgba(15, 23, 42, .1);
}

.dr-vehicle-toolbar form {
    flex: 1;
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto auto;
    gap: 12px;
    align-items: end;
}

.dr-vehicle-toolbar label {
    display: grid;
    gap: 10px;
}

.dr-vehicle-toolbar input {
    height: 52px;
    border: 1px solid #dbe3ef;
    border-radius: 10px;
    outline: none;
    padding: 0 16px;
    color: #111827;
    font-weight: 750;
}

.dr-vehicle-toolbar input:focus {
    border-color: #b88a43;
    box-shadow: 0 0 0 4px rgba(184, 138, 67, .14);
}

.dr-vehicle-toolbar button,
.dr-vehicle-toolbar form > a {
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 0 22px;
    font-weight: 900;
    text-decoration: none;
}

.dr-vehicle-toolbar button {
    border: 0;
    background: #070d20;
    color: #fff;
}

.dr-vehicle-toolbar form > a {
    border: 1px solid #dbe3ef;
    color: #172033;
    background: #fff;
}

.dr-vehicle-toolbar > small {
    color: #64748b;
    font-weight: 800;
    white-space: nowrap;
}

.dr-vehicle-page {
    padding-top: 38px;
}

.dr-car-card__title b small {
    color: #64748b;
    font-size: .74rem;
    font-weight: 800;
}

.dr-car-card__meta--details {
    padding-top: 8px;
    border-top: 1px solid #edf1f7;
}

.dr-empty-state {
    grid-column: 1 / -1;
    min-height: 280px;
    display: grid;
    place-items: center;
    text-align: center;
    gap: 10px;
    border: 1px solid rgba(218, 225, 236, .9);
    border-radius: 14px;
    background: #fff;
    padding: 42px;
    box-shadow: 0 18px 46px rgba(15, 23, 42, .06);
}

.dr-empty-state .admin-icon {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #f4eadc;
    color: #070d20;
}

.dr-empty-state strong {
    color: #080f24;
    font-size: 1.35rem;
    font-weight: 950;
}

.dr-empty-state p {
    max-width: 460px;
    margin: 0;
    color: #64748b;
}

.dr-empty-state a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    border-radius: 10px;
    background: #070d20;
    color: #fff;
    padding: 0 18px;
    text-decoration: none;
    font-weight: 900;
}

@media (max-width: 992px) {
    .dr-list-hero {
        margin-top: 0;
        padding: 82px 0 64px;
    }

    .dr-vehicle-toolbar {
        margin-top: 18px;
        align-items: stretch;
        flex-direction: column;
    }

    .dr-vehicle-toolbar form {
        grid-template-columns: 1fr;
    }

    .dr-vehicle-toolbar > small {
        white-space: normal;
    }
}

/* Enterprise public footer */
.public-footer.dr-footer {
    margin-top: 70px;
    padding: 0;
    border-top: 0;
    background:
        radial-gradient(circle at 12% 0%, rgba(193, 138, 50, .18), transparent 28%),
        linear-gradient(135deg, #070d20 0%, #0d172b 56%, #111827 100%);
    color: #cbd5e1;
}

.dr-footer__main {
    display: grid;
    grid-template-columns: minmax(280px, 1.5fr) repeat(2, minmax(150px, .7fr)) minmax(230px, 1fr);
    gap: 42px;
    padding: 58px 0 44px;
}

.dr-footer__brand {
    display: grid;
    gap: 18px;
}

.dr-footer__logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: #fff;
    text-decoration: none;
}

.dr-footer__logo img,
.dr-footer__logo > span {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    object-fit: contain;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
}

.dr-footer__logo > span {
    display: grid;
    place-items: center;
    color: #f7c46b;
    font-size: 1.35rem;
    font-weight: 950;
}

.dr-footer__logo strong {
    display: grid;
    gap: 2px;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 950;
}

.dr-footer__logo small {
    color: #94a3b8;
    font-size: .82rem;
    font-weight: 750;
}

.dr-footer__brand p,
.dr-footer__contact p {
    margin: 0;
    max-width: 420px;
    color: #aab6c7;
    line-height: 1.75;
}

.dr-footer__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dr-footer__badges span {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    color: #e2e8f0;
    padding: 0 12px;
    font-size: .78rem;
    font-weight: 850;
}

.dr-footer__nav,
.dr-footer__contact {
    display: grid;
    align-content: start;
    gap: 12px;
}

.dr-footer h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: .92rem;
    font-weight: 950;
    letter-spacing: .02em;
}

.dr-footer__nav a,
.dr-footer__contact a,
.dr-footer__bottom a {
    color: #aab6c7;
    text-decoration: none;
    font-weight: 750;
    transition: color .18s ease, transform .18s ease;
}

.dr-footer__nav a:hover,
.dr-footer__contact a:hover,
.dr-footer__bottom a:hover {
    color: #f7c46b;
}

.dr-footer__nav a:hover {
    transform: translateX(2px);
}

.dr-footer__bottom {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    color: #94a3b8;
    font-size: .92rem;
}

.dr-footer__bottom div {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 18px;
}

@media (max-width: 992px) {
    .dr-footer__main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px;
    }

    .dr-footer__brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .public-footer.dr-footer {
        margin-top: 48px;
    }

    .dr-footer__main {
        grid-template-columns: 1fr;
        padding: 42px 0 30px;
    }

    .dr-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
        padding: 22px 0;
    }

    .dr-footer__bottom div {
        justify-content: flex-start;
    }
}

/* Public booking payment */
.dr-payment-hero {
    margin-top: -78px;
    padding: 160px 0 78px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .97), rgba(255, 255, 255, .84), rgba(255, 255, 255, .32)),
        linear-gradient(135deg, #f8fafc 0%, #f0e4d2 52%, #0b1226 100%);
}

.dr-payment-hero a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    border: 1px solid #dbe3ef;
    border-radius: 999px;
    background: rgba(255, 255, 255, .8);
    color: #172033;
    padding: 0 14px;
    text-decoration: none;
    font-size: .85rem;
    font-weight: 850;
}

.dr-payment-hero span,
.dr-payment-card__head span {
    display: inline-flex;
    margin-top: 20px;
    color: #b7791f;
    text-transform: uppercase;
    font-size: .76rem;
    font-weight: 950;
    letter-spacing: .08em;
}

.dr-payment-hero h1 {
    max-width: 720px;
    margin: 12px 0 0;
    color: #080f24;
    font-size: clamp(2.3rem, 4.2vw, 4.5rem);
    line-height: 1.05;
    font-weight: 950;
}

.dr-payment-hero p {
    max-width: 720px;
    margin: 20px 0 0;
    color: #475569;
    font-size: 1.06rem;
    line-height: 1.75;
}

.dr-payment-hero p strong {
    color: #080f24;
}

.dr-payment-page {
    margin-top: -34px;
    position: relative;
    z-index: 2;
}

.dr-payment-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(340px, .75fr);
    gap: 24px;
    align-items: start;
}

.dr-payment-main {
    display: grid;
    gap: 24px;
}

.dr-payment-side {
    position: sticky;
    top: 96px;
}

.dr-payment-card {
    border: 1px solid rgba(218, 225, 236, .92);
    border-radius: 14px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .99), rgba(248, 250, 252, .96)),
        #fff;
    padding: 28px;
    box-shadow: 0 22px 56px rgba(15, 23, 42, .08);
}

.dr-payment-card__head {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 18px;
}

.dr-payment-card__head span {
    margin-top: 0;
}

.dr-payment-card__head h2 {
    margin: 8px 0 0;
    color: #080f24;
    font-size: clamp(1.45rem, 2vw, 2rem);
    line-height: 1.15;
    font-weight: 950;
}

.dr-payment-card__head em {
    flex: 0 0 auto;
    border-radius: 999px;
    background: #eef6ff;
    color: #1d4ed8;
    padding: 7px 11px;
    font-style: normal;
    font-size: .78rem;
    font-weight: 900;
}

.dr-payment-total {
    margin-top: 24px;
    border-radius: 14px;
    background:
        radial-gradient(circle at 88% 18%, rgba(247, 196, 107, .2), transparent 32%),
        #070d20;
    padding: 24px;
    color: #fff;
}

.dr-payment-total small {
    display: block;
    color: #cbd5e1;
    font-weight: 800;
}

.dr-payment-total strong {
    display: block;
    margin-top: 6px;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1;
    font-weight: 950;
}

.dr-payment-details {
    margin: 22px 0 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.dr-payment-details div {
    border: 1px solid #e7edf5;
    border-radius: 12px;
    background: #fff;
    padding: 14px;
}

.dr-payment-details dt {
    color: #64748b;
    font-size: .78rem;
    font-weight: 850;
}

.dr-payment-details dd {
    margin: 6px 0 0;
    color: #172033;
    font-weight: 900;
}

.dr-payment-methods {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.dr-payment-methods > div {
    display: grid;
    align-content: start;
    gap: 8px;
    border: 1px solid #e7edf5;
    border-radius: 14px;
    background: #fff;
    padding: 18px;
}

.dr-payment-methods .admin-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #f4eadc;
    color: #070d20;
}

.dr-payment-methods strong {
    color: #080f24;
    font-size: 1rem;
    font-weight: 950;
}

.dr-payment-methods small {
    margin-top: 4px;
    color: #64748b;
    font-size: .76rem;
    font-weight: 850;
}

.dr-payment-methods b,
.dr-payment-methods p {
    margin: 0;
    color: #172033;
    font-weight: 850;
    overflow-wrap: anywhere;
}

.dr-payment-methods p {
    color: #536176;
    line-height: 1.65;
}

.dr-payment-form {
    margin-top: 22px;
    display: grid;
    gap: 18px;
}

.dr-payment-form label {
    display: grid;
    gap: 10px;
}

.dr-payment-form label > span {
    color: #172033;
    font-size: .9rem;
    font-weight: 900;
}

.dr-payment-form select,
.dr-payment-form input[type="file"] {
    min-height: 54px;
    border: 1px solid #dbe3ef;
    border-radius: 10px;
    background: #fff;
    color: #172033;
    padding: 12px 14px;
    font-weight: 800;
}

.dr-payment-form select:focus,
.dr-payment-form input[type="file"]:focus {
    outline: none;
    border-color: #b88a43;
    box-shadow: 0 0 0 4px rgba(184, 138, 67, .14);
}

.dr-payment-form label small {
    color: #64748b;
    line-height: 1.55;
}

.dr-payment-note {
    border: 1px solid rgba(193, 138, 50, .22);
    border-radius: 12px;
    background: rgba(193, 138, 50, .08);
    padding: 14px;
}

.dr-payment-note strong,
.dr-payment-note small {
    display: block;
}

.dr-payment-note strong {
    color: #080f24;
    font-weight: 950;
}

.dr-payment-note small {
    margin-top: 4px;
    color: #64748b;
}

.dr-payment-form button {
    min-height: 54px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(180deg, #0b1226, #070d20);
    color: #fff;
    font-weight: 950;
    box-shadow: 0 16px 32px rgba(7, 13, 32, .18);
}

@media (max-width: 992px) {
    .dr-payment-hero {
        margin-top: 0;
        padding: 82px 0 64px;
    }

    .dr-payment-page {
        margin-top: 22px;
    }

    .dr-payment-grid,
    .dr-payment-methods {
        grid-template-columns: 1fr;
    }

    .dr-payment-side {
        position: static;
    }
}

@media (max-width: 640px) {
    .dr-payment-card {
        padding: 22px;
        border-radius: 12px;
    }

    .dr-payment-card__head,
    .dr-payment-details {
        grid-template-columns: 1fr;
    }

    .dr-payment-card__head {
        flex-direction: column;
    }
}

/* Public vehicle detail */
.dr-detail-hero {
    margin-top: -78px;
    padding: 156px 0 78px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .97), rgba(255, 255, 255, .84), rgba(255, 255, 255, .24)),
        linear-gradient(135deg, #f8fafc 0%, #f0e4d2 48%, #0b1226 100%);
}

.dr-detail-hero a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    border: 1px solid #dbe3ef;
    border-radius: 999px;
    background: rgba(255, 255, 255, .84);
    color: #172033;
    padding: 0 14px;
    text-decoration: none;
    font-size: .85rem;
    font-weight: 850;
}

.dr-detail-hero span,
.dr-detail-panel > span {
    display: inline-flex;
    margin-top: 20px;
    color: #b7791f;
    text-transform: uppercase;
    font-size: .76rem;
    font-weight: 950;
    letter-spacing: .08em;
}

.dr-detail-hero h1 {
    max-width: 760px;
    margin: 12px 0 0;
    color: #080f24;
    font-size: clamp(2.5rem, 4.4vw, 4.8rem);
    line-height: 1.04;
    font-weight: 950;
}

.dr-detail-hero p {
    max-width: 660px;
    margin: 20px 0 0;
    color: #475569;
    font-size: 1.06rem;
    line-height: 1.75;
}

.dr-detail-page {
    position: relative;
    z-index: 2;
    margin-top: -36px;
}

.dr-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(340px, .75fr);
    gap: 24px;
    align-items: start;
}

.dr-detail-media,
.dr-detail-panel {
    border: 1px solid rgba(218, 225, 236, .92);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 22px 56px rgba(15, 23, 42, .08);
}

.dr-detail-media {
    position: relative;
    overflow: hidden;
}

.dr-detail-media img,
.dr-detail-placeholder {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
    background: linear-gradient(180deg, #fff, #f8fafc);
}

.dr-detail-placeholder {
    position: relative;
}

.dr-detail-placeholder span {
    position: absolute;
    left: 18%;
    right: 18%;
    bottom: 35%;
    height: 86px;
    border-radius: 46px 58px 18px 18px;
    background: linear-gradient(180deg, #111827, #334155);
    box-shadow: 0 24px 0 -10px rgba(15, 23, 42, .28);
}

.dr-detail-media em {
    position: absolute;
    top: 18px;
    right: 18px;
    border-radius: 999px;
    background: #dcfce7;
    color: #16a34a;
    padding: 8px 12px;
    font-style: normal;
    font-size: .8rem;
    font-weight: 950;
}

.dr-detail-panel {
    padding: 28px;
}

.dr-detail-panel > span {
    margin-top: 0;
}

.dr-detail-panel h2 {
    margin: 10px 0 0;
    color: #080f24;
    font-size: clamp(1.7rem, 2.5vw, 2.45rem);
    line-height: 1.1;
    font-weight: 950;
}

.dr-detail-panel p {
    margin: 10px 0 0;
    color: #64748b;
    font-weight: 750;
}

.dr-detail-price {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.dr-detail-price div {
    border-radius: 12px;
    background: #070d20;
    padding: 16px;
}

.dr-detail-price small,
.dr-detail-price strong {
    display: block;
}

.dr-detail-price small {
    color: #cbd5e1;
    font-weight: 850;
}

.dr-detail-price strong {
    margin-top: 4px;
    color: #fff;
    font-size: 1.18rem;
    font-weight: 950;
}

.dr-detail-specs {
    margin: 20px 0 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.dr-detail-specs div {
    border: 1px solid #e7edf5;
    border-radius: 12px;
    background: #fff;
    padding: 14px;
}

.dr-detail-specs dt {
    color: #64748b;
    font-size: .78rem;
    font-weight: 850;
}

.dr-detail-specs dd {
    margin: 6px 0 0;
    color: #172033;
    font-weight: 900;
}

.dr-detail-actions {
    margin-top: 22px;
    display: grid;
    gap: 10px;
}

.dr-detail-actions a {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 950;
}

.dr-detail-actions a:first-child {
    background: linear-gradient(180deg, #0b1226, #070d20);
    color: #fff;
    box-shadow: 0 16px 32px rgba(7, 13, 32, .18);
}

.dr-detail-actions a + a {
    border: 1px solid #dbe3ef;
    background: #fff;
    color: #172033;
}

@media (max-width: 992px) {
    .dr-detail-hero {
        margin-top: 0;
        padding: 82px 0 64px;
    }

    .dr-detail-page {
        margin-top: 22px;
    }

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

@media (max-width: 640px) {
    .dr-detail-panel {
        padding: 22px;
    }

    .dr-detail-price,
    .dr-detail-specs {
        grid-template-columns: 1fr;
    }
}

/* Public booking create */
.dr-booking-hero {
    margin-top: -78px;
    padding: 156px 0 78px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .97), rgba(255, 255, 255, .84), rgba(255, 255, 255, .28)),
        linear-gradient(135deg, #f8fafc 0%, #f0e4d2 50%, #0b1226 100%);
}

.dr-booking-hero a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    border: 1px solid #dbe3ef;
    border-radius: 999px;
    background: rgba(255, 255, 255, .84);
    color: #172033;
    padding: 0 14px;
    text-decoration: none;
    font-size: .85rem;
    font-weight: 850;
}

.dr-booking-hero span,
.dr-booking-card__head span {
    display: inline-flex;
    margin-top: 20px;
    color: #b7791f;
    text-transform: uppercase;
    font-size: .76rem;
    font-weight: 950;
    letter-spacing: .08em;
}

.dr-booking-hero h1 {
    max-width: 760px;
    margin: 12px 0 0;
    color: #080f24;
    font-size: clamp(2.5rem, 4.3vw, 4.7rem);
    line-height: 1.04;
    font-weight: 950;
}

.dr-booking-hero p {
    max-width: 680px;
    margin: 20px 0 0;
    color: #475569;
    font-size: 1.06rem;
    line-height: 1.75;
}

.dr-booking-page {
    position: relative;
    z-index: 2;
    margin-top: -36px;
}

.dr-booking-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(340px, .75fr);
    gap: 24px;
    align-items: start;
}

.dr-booking-main {
    display: grid;
    gap: 24px;
}

.dr-booking-side {
    position: sticky;
    top: 96px;
}

.dr-booking-card {
    overflow: hidden;
    border: 1px solid rgba(218, 225, 236, .92);
    border-radius: 14px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .99), rgba(248, 250, 252, .96)),
        #fff;
    padding: 28px;
    box-shadow: 0 22px 56px rgba(15, 23, 42, .08);
}

.dr-booking-card__head span {
    margin-top: 0;
}

.dr-booking-card__head h2 {
    margin: 8px 0 0;
    color: #080f24;
    font-size: clamp(1.45rem, 2vw, 2rem);
    line-height: 1.15;
    font-weight: 950;
}

.dr-booking-fields {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.dr-booking-fields label {
    display: grid;
    gap: 10px;
}

.dr-booking-fields label > span {
    color: #172033;
    font-size: .9rem;
    font-weight: 900;
}

.dr-booking-fields input,
.dr-booking-fields select {
    height: 54px;
    min-width: 0;
    border: 1px solid #dbe3ef;
    border-radius: 10px;
    background: #fff;
    color: #172033;
    padding: 0 14px;
    outline: none;
    font-weight: 800;
}

.dr-booking-fields input:focus,
.dr-booking-fields select:focus {
    border-color: #b88a43;
    box-shadow: 0 0 0 4px rgba(184, 138, 67, .14);
}

.dr-booking-fields input[readonly] {
    background: #f8fafc;
    color: #64748b;
}

.dr-booking-field-wide {
    grid-column: 1 / -1;
}

.dr-booking-options {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.dr-booking-options label {
    position: relative;
    min-height: 180px;
    display: grid;
    align-content: start;
    gap: 9px;
    border: 1px solid #e7edf5;
    border-radius: 14px;
    background: #fff;
    padding: 18px;
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.dr-booking-options input {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 18px;
    height: 18px;
    accent-color: #b7791f;
}

.dr-booking-options label:has(input:checked) {
    border-color: rgba(183, 121, 31, .55);
    box-shadow: 0 16px 34px rgba(183, 121, 31, .12);
}

.dr-booking-options .admin-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #f4eadc;
    color: #070d20;
}

.dr-booking-options strong {
    color: #080f24;
    font-size: 1rem;
    font-weight: 950;
}

.dr-booking-options small {
    color: #64748b;
    line-height: 1.55;
}

.dr-booking-vehicle {
    padding: 0;
}

.dr-booking-vehicle img,
.dr-booking-placeholder {
    width: 100%;
    aspect-ratio: 16 / 11;
    display: block;
    object-fit: cover;
    background: linear-gradient(180deg, #fff, #f8fafc);
}

.dr-booking-placeholder {
    position: relative;
}

.dr-booking-placeholder span {
    position: absolute;
    left: 18%;
    right: 18%;
    bottom: 35%;
    height: 66px;
    border-radius: 42px 50px 16px 16px;
    background: linear-gradient(180deg, #111827, #334155);
    box-shadow: 0 20px 0 -9px rgba(15, 23, 42, .28);
}

.dr-booking-vehicle__body {
    padding: 22px;
    display: grid;
    gap: 12px;
}

.dr-booking-vehicle__body em {
    justify-self: start;
    border-radius: 999px;
    background: #dcfce7;
    color: #16a34a;
    padding: 7px 11px;
    font-style: normal;
    font-size: .78rem;
    font-weight: 950;
}

.dr-booking-vehicle__body h2 {
    margin: 0;
    color: #080f24;
    font-size: 1.55rem;
    font-weight: 950;
}

.dr-booking-vehicle__body p,
.dr-booking-note {
    margin: 0;
    color: #64748b;
    line-height: 1.6;
}

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

.dr-booking-price div {
    border-radius: 12px;
    background: #070d20;
    padding: 14px;
}

.dr-booking-price small,
.dr-booking-price strong {
    display: block;
}

.dr-booking-price small {
    color: #cbd5e1;
    font-weight: 850;
}

.dr-booking-price strong {
    margin-top: 4px;
    color: #fff;
    font-weight: 950;
}

.dr-booking-vehicle button {
    min-height: 54px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(180deg, #0b1226, #070d20);
    color: #fff;
    font-weight: 950;
    box-shadow: 0 16px 32px rgba(7, 13, 32, .18);
}

@media (max-width: 992px) {
    .dr-booking-hero {
        margin-top: 0;
        padding: 82px 0 64px;
    }

    .dr-booking-page {
        margin-top: 22px;
    }

    .dr-booking-grid,
    .dr-booking-options {
        grid-template-columns: 1fr;
    }

    .dr-booking-side {
        position: static;
    }
}

@media (max-width: 640px) {
    .dr-booking-card {
        padding: 22px;
        border-radius: 12px;
    }

    .dr-booking-fields,
    .dr-booking-price {
        grid-template-columns: 1fr;
    }
}

/* WhatsApp order handoff */
.dr-whatsapp-card {
    margin-bottom: 18px;
    display: grid;
    gap: 18px;
    background:
        radial-gradient(circle at 88% 10%, rgba(34, 197, 94, .22), transparent 30%),
        linear-gradient(145deg, #ffffff, #f8fafc);
}

.dr-whatsapp-card--highlight {
    border-color: rgba(34, 197, 94, .35);
    box-shadow:
        0 24px 58px rgba(34, 197, 94, .12),
        0 18px 42px rgba(15, 23, 42, .08);
}

.dr-whatsapp-card span {
    color: #16a34a;
    text-transform: uppercase;
    font-size: .76rem;
    font-weight: 950;
    letter-spacing: .08em;
}

.dr-whatsapp-card h2 {
    margin: 8px 0 0;
    color: #080f24;
    font-size: 1.45rem;
    font-weight: 950;
}

.dr-whatsapp-card p {
    margin: 10px 0 0;
    color: #536176;
    line-height: 1.65;
}

.dr-whatsapp-card a {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #16a34a;
    color: #fff;
    text-decoration: none;
    font-weight: 950;
    box-shadow: 0 16px 30px rgba(22, 163, 74, .2);
}
