/* Availability badge: green "Available", red "Sold". */
.vcu-status {
    display: inline-block;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
}

.vcu-status--available {
    background-color: #1e9e4a;
}

.vcu-status--sold {
    background-color: #c62828;
}

/* On the car card image */
.featured-car-card__img-wrap {
    position: relative;
}

.featured-car-card__img-wrap .vcu-status {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 2;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.featured-car-card--sold .featured-car-card__img {
    filter: grayscale(0.85);
    opacity: 0.75;
}

/* On the single car page */
.single-car__info-panel > .vcu-status {
    margin-bottom: 0.75rem;
}

/* Public vehicle ID on the single car page */
.single-car__uid {
    margin: 0.75rem 0 1rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.single-car__uid span {
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #212529;
}
