/**
 * Vehicle Tags CSS
 * Styling for vehicle availability tags and badges
 */

/* Base tag style */
.vehicle-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.vehicle-tag:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Availability tags */
.tag-sale-and-rental {
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    border: 1px solid #0072ff;
}

.tag-sale-only {
    background: linear-gradient(135deg, #36d1dc, #5b86e5);
    border: 1px solid #5b86e5;
}

.tag-rental-only {
    background: linear-gradient(135deg, #ff9966, #ff5e62);
    border: 1px solid #ff5e62;
}

.tag-for-sale {
    background: linear-gradient(135deg, #43cea2, #185a9d);
    border: 1px solid #185a9d;
}

.tag-for-rent {
    background: linear-gradient(135deg, #f857a6, #ff5858);
    border: 1px solid #ff5858;
}

/* Status tags */
.tag-verified {
    background: linear-gradient(135deg, #11998e, #38ef7d);
    border: 1px solid #11998e;
}

.tag-unverified {
    background: linear-gradient(135deg, #f7b733, #fc4a1a);
    border: 1px solid #fc4a1a;
}

/* Feature tags */
.tag-featured {
    background: linear-gradient(135deg, #8e2de2, #4a00e0);
    border: 1px solid #4a00e0;
}

.tag-new {
    background: linear-gradient(135deg, #f953c6, #b91d73);
    border: 1px solid #b91d73;
}

.tag-popular {
    background: linear-gradient(135deg, #f12711, #f5af19);
    border: 1px solid #f12711;
}

/* Vehicle status badges (larger version of tags) */
.vehicle-status-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    padding: 0.35rem 1rem;
    border-radius: 0.25rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.vehicle-status-badge.for-sale-rental {
    background: linear-gradient(135deg, #00c6ff, #0072ff);
}

.vehicle-status-badge.for-sale-only {
    background: linear-gradient(135deg, #36d1dc, #5b86e5);
}

.vehicle-status-badge.rental-only {
    background: linear-gradient(135deg, #ff9966, #ff5e62);
}

/* Cyberpunk-themed tags for consistency with the platform's design */
.cyberpunk-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 0;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    color: #fff;
    clip-path: polygon(0 0, 100% 0, 95% 100%, 0% 100%);
    position: relative;
    overflow: hidden;
}

.cyberpunk-tag::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    clip-path: polygon(0 50%, 100% 0, 100% 100%);
}

/* Tag container */
.vehicle-tags-container {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .vehicle-tag {
        padding: 0.2rem 0.5rem;
        font-size: 0.7rem;
    }
    
    .vehicle-status-badge {
        padding: 0.25rem 0.75rem;
        font-size: 0.7rem;
    }
}
