/* Garage module */
.garage-page, .vehicle-form-page, .vehicle-details-page {
    padding-bottom: 18px
}

.garage-hero-copy {
    position: relative;
    z-index: 2;
    max-width: 76%
}

.garage-eyebrow {
    font-size: 9px;
    color: rgba(255,255,255,.66)
}

.garage-hero h1 {
    margin: 7px 0;
    font-size: 20px;
    line-height: 1.7;
    font-weight: 600
}

.garage-hero p {
    margin: 0;
    color: rgba(255,255,255,.65);
    font-size: 10px
}

.garage-add-btn {
    position: absolute;
    left: 18px;
    top: 10px;
    z-index: 3;
    min-height: 38px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: var(--app-button-radius);
    padding: 0 12px;
    display: flex;
    align-items: center;
    gap: 7px;
    color: #fff;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(10px);
    cursor: pointer;
}

    .garage-add-btn svg {
        width: 17px;
        height: 17px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2
    }

.garage-hero-mark {
    position: absolute;
    left: -35px;
    bottom: -45px;
    width: 180px;
    height: 180px
}

    .garage-hero-mark span {
        position: absolute;
        inset: 0;
        border: 1px solid rgba(255,255,255,.1);
        border-radius: 50%
    }

        .garage-hero-mark span:nth-child(2) {
            inset: 25px
        }

        .garage-hero-mark span:nth-child(3) {
            inset: 50px
        }

.garage-summary-item {
    min-width: 0;
    padding: 10px;
    border: 1px solid var(--app-border);
    border-radius: var(--app-card-radius);
    background: var(--app-surface);
    box-shadow: var(--app-shadow-sm);
    text-align: center
}

    .garage-summary-item strong {
        display: block;
        font-size: 14px;
        font-weight: 600
    }

    .garage-summary-item span {
        display: block;
        color: var(--app-muted);
        font-size: 8px
    }
 

.garage-filter-btn {
    width: 38px;
    height: 38px;
    border: 1px solid var(--app-border);
    border-radius: var(--app-button-radius);
    display: grid;
    place-items: center;
    color: var(--app-primary-dark);
    background: var(--app-surface);
    cursor: pointer
}

    .garage-filter-btn svg {
        width: 18px;
        height: 18px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8
    }

.garage-list {
    display: flex;
    flex-direction: column;
    gap: 12px
}
 
.garage-vehicle-active {
    position: relative;
    z-index: 2;
    display: inline-flex;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(255,255,255,.14);
    font-size: 8px
}

.garage-vehicle-image {
    position: absolute;
    left: 12px;
    bottom: 6px;
    width: 61%;
    max-height: 110px;
    object-fit: contain;
    filter: drop-shadow(0 16px 14px rgba(0,0,0,.25))
}

    .garage-vehicle-image.fallback {
        color: rgba(255,255,255,.9)
    }

        .garage-vehicle-image.fallback svg {
            width: 100%;
            height: 100%;
            fill: none;
            stroke: currentColor;
            stroke-width: 1.2
        }

.garage-vehicle-title {
    position: absolute;
    right: 14px;
    bottom: 15px;
    z-index: 2;
    max-width: 45%
}

    .garage-vehicle-title h3 {
        margin: 0;
        font-size: 15px;
        font-weight: 600
    }

    .garage-vehicle-title span {
        font-size: 9px;
        color: rgba(255,255,255,.65)
    }
 
.garage-vehicle-metrics {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 7px
}

.garage-vehicle-metric {
    padding: 8px;
    background: var(--app-surface-2);
    border-radius: var(--app-button-radius)
}

    .garage-vehicle-metric span {
        display: block;
        color: var(--app-muted);
        font-size: 8px
    }

    .garage-vehicle-metric strong {
        display: block;
        margin-top: 2px;
        font-size: 10px;
        font-weight: 600;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis
    }

.garage-vehicle-footer {
    margin-top: 11px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.garage-health {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 9px
}

    .garage-health i {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: var(--app-success);
        box-shadow: 0 0 0 4px rgba(22,163,74,.1)
    }

.garage-card-actions {
    display: flex;
    gap: 5px
}

    .garage-card-actions button {
        height: 30px;
        border: 1px solid var(--app-border);
        border-radius: var(--app-button-radius);
        padding: 0 9px;
        color: var(--app-text);
        background: var(--app-surface);
        font-size: 9px;
        cursor: pointer
    }

.garage-empty {
    padding: 42px 20px;
    text-align: center
}

.garage-empty-art {
    width: 110px;
    height: 110px;
    margin: 0 auto 12px;
    color: var(--app-primary);
    background: var(--app-primary-soft);
    border-radius: 50%;
    display: grid;
    place-items: center
}

    .garage-empty-art svg {
        width: 72px;
        height: 72px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.3
    }

.garage-empty h3 {
    margin: 0;
    font-size: 16px
}

.garage-empty p {
    margin: 6px auto 14px;
    max-width: 260px;
    color: var(--app-muted);
    font-size: 10px
}


/* garage new Form*/
.garage-page {
    position: relative;
    min-height: 100%;
    padding: 18px 16px 110px;
    overflow-x: hidden;
    
}

/* =========================
   Header
   ========================= */

.garage-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.garage-header-copy {
    min-width: 0;
}

.garage-header-label {
    display: block;
    margin-bottom: 3px;
    font-size: 12px;
    font-weight: 600;
    color: var(--app-primary-dark);
}
.garage-header h1 {
    margin: 0;
    font-size: 18px;
    line-height: 1.45;
    font-weight: 700;
    color: var(--app-text);
}

.garage-header p {
    margin: 3px 0 0;
    font-size: 12px;
    font-weight: 500;
    color: var(--app-muted);
}

.garage-refresh-btn {
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--app-border);
    border-radius: 50%;
    background: var(--app-surface);
    color: var(--app-text);
    box-shadow: 0 8px 20px rgba(25, 36, 54, 0.06);
    cursor: pointer;
}

    .garage-refresh-btn svg {
        width: 20px;
        height: 20px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .garage-refresh-btn:active {
        transform: rotate(-25deg) scale(0.94);
    }

/* =========================
   Overview
   ========================= */

.garage-overview {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 22px;
}
.garage-overview-card {
    position: relative;
    min-height: 87px;
    padding: 12px 10px;
    overflow: hidden;
    border: 1px solid var(--app-border);
    border-radius: var(--app-card-radius);
    background: radial-gradient( circle at 85% 12%, rgba(255, 255, 255, 0.14), transparent 30% ), linear-gradient( 145deg, var(--app-primary-dark), #0d111b 96% );
    box-shadow: 0 7px 22px rgba(25, 36, 54, 0.055);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--app-surface);
}

    .garage-overview-card::after {
        content: "";
        position: absolute;
        width: 48px;
        height: 48px;
        left: -15px;
        bottom: -18px;
        border-radius: 50%;
        background: rgba(var(--app-primary-rgb), 0.07);
    }

.garage-overview-icon {
    width: 36px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    border-radius: 8px;
    background: var(--app-primary-soft);
    color: currentColor;
}

    .garage-overview-icon svg {
        width: 42px;
        height: 42px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.garage-overview-card strong {
    display: block;
    margin-bottom: 1px;
    font-size: 17px;
    line-height: 1.3;
    font-weight: 800;
    color: var(--app-primary);
}
.garage-overview-card span {
    display: block;
    font-size: 10px;
    line-height: 1.5;
    font-weight: 500;
    color: var(--app-border-strong);
}

/* =========================
   Section title
   ========================= */

.garage-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

    .garage-section-title > div:first-child {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .garage-section-title span {
        font-size: 15px;
        font-weight: 800;
        color: var(--app-text);
    }

    .garage-section-title strong {
        font-size: 10px;
        font-weight: 500;
        color: var(--app-muted);
    }

.garage-swipe-hint {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--app-muted);
}

    .garage-swipe-hint svg {
        width: 38px;
        height: 36px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.1px;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

/* =========================
   Vehicle slider
   ========================= */

.garage-slider {
    display: flex;
    gap: 13px;
    margin: 0 -16px;
    padding: 0 16px 22px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    scroll-padding-inline: 16px;
    -webkit-overflow-scrolling: touch;
}

    .garage-slider::-webkit-scrollbar {
        display: none;
    }

/* =========================
   Main vehicle card
   ========================= */

.garage-main-card {
    position: relative;
    min-width: min(88vw, 370px);
    width: min(88vw, 370px);
    min-height: 470px;
    flex: 0 0 auto;
    overflow: hidden;
    scroll-snap-align: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--app-card-radius);
    background: radial-gradient( circle at 85% 12%, rgba(255, 255, 255, 0.14), transparent 30% ), linear-gradient( 145deg, var(--vehicle-color, #172033), #0d111b 68% );
    color: #fff;
    box-shadow: 0 25px 50px rgba(12, 18, 30, 0.19), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

    .garage-main-card::before {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: linear-gradient( 115deg, rgba(255, 255, 255, 0.08), transparent 25%, transparent 75%, rgba(255, 255, 255, 0.025) );
    }

.garage-card-top {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 18px 0;
}

.garage-card-title {
    min-width: 0;
}

    .garage-card-title h3 {
        margin: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 20px;
        line-height: 1.45;
        font-weight: 800;
        color: #fff;
    }

    .garage-card-title p {
        margin: 3px 0 0;
        font-size: 11px;
        font-weight: 500;
        color: rgba(255, 255, 255, 0.62);
    }

.garage-active-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    min-height: 29px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--app-card-radius);
    background: rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(12px);
    font-size: 10px;
    font-weight: 700;
    color: #fff;
}

    .garage-active-badge i {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #55e29b;
        box-shadow: 0 0 0 4px rgba(85, 226, 155, 0.12);
    }

/* =========================
   Vehicle image
   ========================= */

.garage-car-visual {
    position: relative;
    z-index: 1;
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 9px 16px 0;
}

    .garage-car-visual::after {
        content: "";
        position: absolute;
        left: 20%;
        right: 20%;
        bottom: 17px;
        height: 18px;
        border-radius: 50%;
        background: rgba(0, 0, 0, 0.42);
        filter: blur(12px);
    }

    .garage-car-visual img {
        position: relative;
        z-index: 2;
        width: 100%;
        height: 100%;
        object-fit: contain;
        filter: drop-shadow(0 17px 13px rgba(0, 0, 0, 0.32));
    }

    .garage-car-visual .fallback {
        position: relative;
        z-index: 2;
        width: 84%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .garage-car-visual .fallback svg {
            width: 100%;
            height: 100%;
        }

/* =========================
   Plate
   ========================= */

.garage-plate-row {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    margin: -2px 18px 14px;
}

.garage-plate {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 152px;
    min-height: 31px;
    padding: 0 12px;
    border: 2px solid rgba(15, 18, 25, 0.78);
    border-radius: 5px;
    background: #f8f8f5;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.16), inset 0 0 0 1px rgba(255, 255, 255, 0.8);
    direction: rtl;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.3px;
    color: #12151b;
}

/* =========================
   Metrics
   ========================= */

.garage-car-metrics {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 14px;
    padding: 13px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--app-card-radius);
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(15px);
}

.garage-car-metric {
    position: relative;
    min-width: 0;
    padding: 0 9px;
    text-align: center;
}

    .garage-car-metric:not(:last-child)::after {
        content: "";
        position: absolute;
        top: 5px;
        bottom: 5px;
        left: 0;
        width: 1px;
        background: rgba(255, 255, 255, 0.09);
    }

    .garage-car-metric span {
        display: block;
        margin-bottom: 4px;
        font-size: 9px;
        font-weight: 500;
        color: rgba(255, 255, 255, 0.52);
    }

    .garage-car-metric strong {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 11px;
        font-weight: 700;
        color: #fff;
    }

/* =========================
   Health
   ========================= */

.garage-health-row {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 13px 16px 0;
}

.garage-health-ring {
    --progress: 0;
    position: relative;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: radial-gradient( closest-side, #161d2b 76%, transparent 78% 100% ), conic-gradient( #5de0a2 calc(var(--progress) * 1%), rgba(255, 255, 255, 0.1) 0 );
}

    .garage-health-ring strong {
        font-size: 11px;
        font-weight: 800;
        color: #fff;
    }

.garage-health-copy {
    flex: 1;
    min-width: 0;
}

    .garage-health-copy strong {
        display: block;
        margin-bottom: 3px;
        font-size: 12px;
        font-weight: 700;
        color: #fff;
    }

    .garage-health-copy span {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 9px;
        line-height: 1.6;
        color: rgba(255, 255, 255, 0.5);
    }

.garage-alert-count {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 27px;
    padding: 0 9px;
    border-radius: 8px;
    background: rgba(255, 178, 75, 0.13);
    color: #ffc069;
    font-size: 9px;
    font-weight: 700;
}

    .garage-alert-count svg {
        width: 13px;
        height: 13px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

/* =========================
   Actions
   ========================= */

.garage-card-actions {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 7px;
    padding: 14px 16px 17px;
}

.garage-card-action {
    min-height: 38px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.075);
    color: #fff;
    font-family: inherit;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
}

    .garage-card-action.primary {
        border-color: transparent;
        background: #fff;
        color: #161b26;
        font-weight: 700;
    }

    .garage-card-action.icon {
        width: 39px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .garage-card-action svg {
        width: 17px;
        height: 17px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

/* =========================
   Empty state
   ========================= */

.garage-empty {
    width: calc(100vw - 32px);
    min-height: 390px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 26px 24px;
    border: 1px dashed var(--app-border);
    border-radius: 19px;
    background: var(--app-surface);
    text-align: center;
}

.garage-empty-art {
    width: 210px;
    height: 155px;
    margin-bottom: 10px;
}

    .garage-empty-art svg {
        width: 100%;
        height: 100%;
    }

.garage-empty h3 {
    margin: 0 0 7px;
    font-size: 17px;
    font-weight: 800;
    color: var(--app-text);
}

.garage-empty p {
    max-width: 290px;
    margin: 0 0 18px;
    font-size: 11px;
    line-height: 1.9;
    font-weight: 500;
    color: var(--app-muted);
}

/* =========================
   Floating add button
   ========================= */

.garage-floating-add {
    position: fixed;
    z-index: 25;
    right: max(17px, calc((100vw - var(--app-max-width)) / 2 + 17px));
    bottom: 82px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 17px;
    border: 0;
    border-radius: 24px;
    background: var(--app-info);
    color: #fff;
    box-shadow: 0 13px 28px rgba(var(--app-primary-rgb), 0.3), 0 5px 12px rgba(0, 0, 0, 0.12);
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

    .garage-floating-add svg {
        width: 19px;
        height: 19px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
    }

    .garage-floating-add:active {
        transform: scale(0.95);
    }

/* =========================
   Responsive
   ========================= */

@media (min-width: 700px) {
    .garage-page {
        padding-right: 24px;
        padding-left: 24px;
    }

    .garage-slider {
        margin-right: -24px;
        margin-left: -24px;
        padding-right: 24px;
        padding-left: 24px;
    }

    .garage-main-card {
        min-width: 365px;
        width: 365px;
    }

    .garage-floating-add {
        bottom: 25px;
    }
}
/* garage new Form END*/
.vehicle-form-head {
    display: grid;
    grid-template-columns: 42px 1fr auto;
    gap: 10px;
    align-items: center;
    margin-bottom: 18px;
    direction: ltr;
    text-align: right;
}

    .vehicle-form-head span {
        color: var(--app-muted);
        font-size: 9px
    }

    .vehicle-form-head h1 {
        margin: 0;
        font-size: 17px
    }

.vehicle-form-progress {
    padding: 5px 9px;
    border-radius: 999px;
    color: var(--app-primary-dark);
    background: var(--app-primary-soft);
    font-size: 9px
}

.vehicle-step {
    display: none
}

    .vehicle-step.active {
        display: block
    }

.vehicle-step-intro {
    margin-bottom: 14px
}

    .vehicle-step-intro > span {
        color: var(--app-primary-dark);
        font-size: 9px
    }

    .vehicle-step-intro h2 {
        margin: 3px 0;
        font-size: 19px
    }

    .vehicle-step-intro p {
        margin: 0;
        color: var(--app-muted);
        font-size: 10px
    }

.vehicle-visual-picker {
    position: relative;
    height: 180px;
    margin-bottom: 16px;
    border: 1px solid var(--app-border);
    border-radius: var(--app-card-radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 12px;
    background: linear-gradient(145deg,var(--app-surface),var(--app-surface-2));
    overflow: hidden
}

    .vehicle-visual-picker svg {
        position: relative;
        z-index: 2;
        width: 230px;
        height: 110px;
        color: var(--app-primary-dark);
        fill: none;
        stroke: currentColor;
        stroke-width: 1.3
    }

.vehicle-visual-glow {
    position: absolute;
    top: -75px;
    width: 230px;
    height: 230px;
    border-radius: 50%;
    background: radial-gradient(circle,var(--app-primary-soft),transparent 68%)
}

.vehicle-visual-picker strong {
    font-size: 13px
}

.vehicle-visual-picker span {
    color: var(--app-muted);
    font-size: 8px
}

.vehicle-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px
}

.iran-plate-input {
    height: 58px;
    border: 1px solid var(--app-border);
    border-radius: var(--app-input-radius);
    display: grid;
    grid-template-columns: 52px 44px 1fr 42px 48px;
    align-items: center;
    overflow: hidden;
    background: var(--app-surface);
    direction: ltr
}

    .iran-plate-input input {
        width: 100%;
        height: 100%;
        border: 0;
        border-right: 1px solid var(--app-border);
        outline: 0;
        text-align: center;
        background: transparent;
        color: var(--app-text)
    }

    .iran-plate-input span {
        height: 100%;
        display: grid;
        place-items: center;
        background: #2196F3;
        font-size: 9px;
        color: #fff;
    }

.vehicle-active-option {
    margin: 8px 0 18px;
    padding: 13px;
    border: 1px solid var(--app-border);
    border-radius: var(--app-card-radius);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--app-surface)
}

    .vehicle-active-option strong, .vehicle-active-option small {
        display: block
    }

    .vehicle-active-option strong {
        font-size: 11px
    }

    .vehicle-active-option small {
        color: var(--app-muted);
        font-size: 8px
    }

.vehicle-form-actions {
    position: sticky;
    bottom: calc(var(--app-bottom-height) + 5px);
    z-index: 12;
    margin-top: 15px;
    padding: 9px;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 8px;
    border: 1px solid var(--app-border);
    border-radius: var(--app-card-radius);
    background: color-mix(in srgb,var(--app-surface) 92%,transparent);
    backdrop-filter: blur(14px);
    direction: ltr;
}

.vehicle-details-cover {
    position: relative;
    height: 300px;
    margin: -1px -14px 0;
    padding: 18px;
    color: #fff;
    background: linear-gradient(145deg,var(--app-primary-dark),#14242c);
    overflow: hidden
}

.vehicle-details-back, .vehicle-details-more {
    position: absolute;
    top: 16px;
    z-index: 4;
    width: 39px;
    height: 39px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(255,255,255,.1);
    cursor: pointer
}

.vehicle-details-back {
    right: 16px
}

.vehicle-details-more {
    left: 16px
}

    .vehicle-details-back svg, .vehicle-details-more svg {
        width: 19px;
        height: 19px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8
    }

.vehicle-details-orbit span {
    position: absolute;
    width: 310px;
    height: 310px;
    left: -60px;
    top: -90px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 50%
}

    .vehicle-details-orbit span:nth-child(2) {
        inset: auto auto -130px -10px;
        width: 250px;
        height: 250px
    }

.vehicle-details-car {
    position: absolute;
    left: 20px;
    top: 64px;
    width: 78%;
    height: 145px;
    color: rgba(255,255,255,.9)
}

    .vehicle-details-car img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        filter: drop-shadow(0 18px 15px rgba(0,0,0,.25))
    }

    .vehicle-details-car svg {
        width: 100%;
        height: 100%;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.25
    }

.vehicle-details-heading {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 3
}

    .vehicle-details-heading > span {
        display: inline-flex;
        padding: 3px 8px;
        border-radius: 999px;
        background: rgba(255,255,255,.13);
        font-size: 8px
    }

    .vehicle-details-heading h1 {
        margin: 6px 0 1px;
        font-size: 22px
    }

    .vehicle-details-heading p {
        margin: 0;
        color: rgba(255,255,255,.65);
        font-size: 9px
    }

.vehicle-health-card {
    position: relative;
    z-index: 3;
    margin: -14px 0 14px;
    padding: 12px;
    border: 1px solid var(--app-border);
    border-radius: var(--app-card-radius);
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--app-surface);
    box-shadow: var(--app-shadow-md)
}

.vehicle-health-score {
    position: relative;
    width: 72px;
    height: 72px;
    flex: 0 0 72px
}

    .vehicle-health-score svg {
        width: 100%;
        height: 100%;
        transform: rotate(-90deg)
    }

    .vehicle-health-score circle {
        fill: none;
        stroke: var(--app-surface-3);
        stroke-width: 8
    }

    .vehicle-health-score .value {
        stroke: var(--app-success);
        stroke-linecap: round;
        stroke-dasharray: 308;
        stroke-dashoffset: 80
    }

    .vehicle-health-score > div {
        position: absolute;
        inset: 0;
        display: grid;
        place-content: center;
        text-align: center
    }

    .vehicle-health-score strong {
        font-size: 16px
    }

    .vehicle-health-score span {
        font-size: 7px;
        color: var(--app-muted)
    }

.vehicle-health-copy strong, .vehicle-health-copy span {
    display: block
}

.vehicle-health-copy strong {
    font-size: 12px
}

.vehicle-health-copy span {
    color: var(--app-muted);
    font-size: 9px
}

.vehicle-metric-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 8px;
    margin-bottom: 14px
}

.vehicle-metric-card {
    padding: 12px;
    border: 1px solid var(--app-border);
    border-radius: var(--app-card-radius);
    background: var(--app-surface)
}

    .vehicle-metric-card .icon {
        width: 34px;
        height: 34px;
        margin-bottom: 8px;
        border-radius: var(--app-button-radius);
        display: grid;
        place-items: center;
        color: var(--app-primary-dark);
        background: var(--app-primary-soft)
    }

        .vehicle-metric-card .icon svg {
            width: 18px;
            height: 18px;
            fill: none;
            stroke: currentColor;
            stroke-width: 1.8
        }

    .vehicle-metric-card span {
        display: block;
        color: var(--app-muted);
        font-size: 8px
    }

    .vehicle-metric-card strong {
        display: block;
        font-size: 12px;
        font-weight: 600
    }

.vehicle-details-tabs {
    position: sticky;
    top: calc(var(--app-header-height) + 5px);
    z-index: 9;
    margin-bottom: 12px;
    padding: 5px;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 4px;
    border: 1px solid var(--app-border);
    border-radius: var(--app-card-radius);
    background: var(--app-surface)
}

    .vehicle-details-tabs button {
        min-height: 36px;
        border: 0;
        border-radius: var(--app-button-radius);
        color: var(--app-muted);
        background: transparent;
        font-size: 9px;
        cursor: pointer
    }

        .vehicle-details-tabs button.active {
            color: #fff;
            background: var(--app-primary-dark)
        }

.vehicle-tab-panel {
    display: none
}

    .vehicle-tab-panel.active {
        display: block
    }

.vehicle-info-card {
    padding: 14px;
    border: 1px solid var(--app-border);
    border-radius: var(--app-card-radius);
    background: var(--app-surface)
}

.vehicle-info-row {
    min-height: 42px;
    border-bottom: 1px solid var(--app-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px
}

    .vehicle-info-row:last-child {
        border-bottom: 0
    }

    .vehicle-info-row span {
        color: var(--app-muted);
        font-size: 9px
    }

    .vehicle-info-row strong {
        font-size: 10px;
        font-weight: 600
    }

.vehicle-alerts {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px
}

.vehicle-alert {
    padding: 11px;
    border: 1px solid var(--app-border);
    border-right: 3px solid var(--app-warning);
    border-radius: var(--app-card-radius);
    background: var(--app-surface)
}

    .vehicle-alert strong, .vehicle-alert span {
        display: block
    }

    .vehicle-alert strong {
        font-size: 10px
    }

    .vehicle-alert span {
        color: var(--app-muted);
        font-size: 8px
    }

.vehicle-document-head, .vehicle-service-head {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

    .vehicle-document-head h2, .vehicle-service-head h2 {
        margin: 0;
        font-size: 14px
    }

    .vehicle-document-head span, .vehicle-service-head span {
        color: var(--app-muted);
        font-size: 8px
    }

.vehicle-document-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 8px
}

.vehicle-document-card {
    position: relative;
    min-height: 130px;
    padding: 12px;
    border: 1px solid var(--app-border);
    border-radius: var(--app-card-radius);
    background: var(--app-surface);
    overflow: hidden
}

    .vehicle-document-card img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover
    }

    .vehicle-document-card:has(img):after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(transparent,rgba(0,0,0,.7))
    }

    .vehicle-document-card strong, .vehicle-document-card span {
        position: relative;
        z-index: 2;
        display: block
    }

    .vehicle-document-card:has(img) strong, .vehicle-document-card:has(img) span {
        color: #fff
    }

    .vehicle-document-card strong {
        margin-top: 75px;
        font-size: 10px
    }

    .vehicle-document-card span {
        font-size: 8px;
        color: var(--app-muted)
    }

.vehicle-service-timeline {
    position: relative;
    padding-right: 17px
}

    .vehicle-service-timeline:before {
        content: "";
        position: absolute;
        right: 5px;
        top: 10px;
        bottom: 10px;
        width: 1px;
        background: var(--app-border)
    }

.vehicle-service-item {
    position: relative;
    margin-bottom: 10px;
    padding: 12px;
    border: 1px solid var(--app-border);
    border-radius: var(--app-card-radius);
    background: var(--app-surface)
}

    .vehicle-service-item:before {
        content: "";
        position: absolute;
        right: -17px;
        top: 17px;
        width: 9px;
        height: 9px;
        border: 3px solid var(--app-bg);
        border-radius: 50%;
        background: var(--app-primary)
    }

    .vehicle-service-item strong {
        display: block;
        font-size: 11px
    }

    .vehicle-service-item span {
        display: block;
        color: var(--app-muted);
        font-size: 8px
    }

    .vehicle-service-item footer {
        margin-top: 8px;
        display: flex;
        justify-content: space-between;
        color: var(--app-text-soft);
        font-size: 8px
    }

@media(max-width:360px) {
    .garage-hero-copy {
        max-width: 88%
    }

    .vehicle-form-grid {
        grid-template-columns: 1fr
    }

    .iran-plate-input {
        grid-template-columns: 45px 38px 1fr 38px 43px
    }
}
