/* Car profile — offer badge navigation. Extracted from Views/Web/Car/Profile.php. */
.offers-badges {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.badge-link {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
    border-radius: 10px;
    transition: background 0.3s ease, color 0.3s ease;
    border: 1px solid #0066ff;
}

.badge-link:hover {
    background: #e9ecef;
    color: #333;
}

.badge-link.active {
    background: #0066ff;
    color: #fff;
}

.badge-link.active:hover {
    background: #0066ff;
}

.badge-label {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    line-height: 1.2;
}

.badge-label strong {
    font-size: 1.1rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.15rem;
}

.badge-label small {
    font-size: 0.7rem;
    font-weight: 400;
    opacity: 0.65;
    line-height: 1.3;
    display: block;
}

.badge-link:not(.active) .badge-label small {
    color: #777;
}

.badge-link.active .badge-label small {
    opacity: 0.8;
}

/* Responsive badges - tablet */
@media (max-width: 991px) {
    .offers-badges {
        flex-wrap: wrap;
    }

    .badge-link {
        flex: 1 1 calc(50% - 0.5rem);
        min-width: calc(50% - 0.5rem);
        text-align: center;
    }

    .badge-link:last-child {
        flex: 1 1 calc(50% - 0.5rem);
    }

    .badge-label {
        align-items: center;
    }
}

/* Responsive badges - mobile */
@media (max-width: 576px) {
    .badge-link {
        padding: 0.5rem 1rem;
    }

    .badge-label small {
        display: none;
    }

    .badge-label strong {
        margin-bottom: 0;
    }
}
