/* Drawing of the vehicle class shown when an offer has no photo (see ajaree-vehicle-illustration.js). */
.ajaree-vehicle-illustration {
    position: relative;
    display: grid;
    width: 100%;
    height: 100%;
    min-height: inherit;
    place-items: center;
    background: linear-gradient(180deg, #eef7f6 0%, #e2efed 100%);
    color: #0f766e;
}

.ajaree-vehicle-illustration svg {
    width: 72%;
    max-width: 260px;
    height: auto;
}

.ajaree-vehicle-illustration .ajv-shadow { fill: currentColor; opacity: .12; }
.ajaree-vehicle-illustration .ajv-body { fill: currentColor; opacity: .32; }
.ajaree-vehicle-illustration .ajv-window { fill: #ffffff; opacity: .75; }
.ajaree-vehicle-illustration .ajv-wheel { fill: #334155; opacity: .78; }
.ajaree-vehicle-illustration .ajv-hub { fill: #e2e8f0; }

.ajaree-vehicle-illustration__label {
    position: absolute;
    inset-block-end: 8px;
    inset-inline-end: 10px;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .82);
    color: #475569;
    font-size: .7rem;
    font-weight: 700;
}

/* Public pages switch to dark through data-theme, which public-theme.js sets. */
html[data-theme="dark"] .ajaree-vehicle-illustration {
    background: linear-gradient(180deg, #16302e 0%, #102523 100%);
    color: #5eead4;
}

html[data-theme="dark"] .ajaree-vehicle-illustration .ajv-window { fill: #0b1716; opacity: .7; }
html[data-theme="dark"] .ajaree-vehicle-illustration__label { background: rgba(15, 23, 42, .75); color: #cbd5e1; }
