/* Chip Label Component
   A reusable chip/badge component for labels throughout the site
*/

.chip-label {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 9999px;
    background: rgba(6, 245, 98, 0.10);
    position: relative;
    color: rgba(59, 224, 90, 0.80);
    font-family: Bahnschrift, sans-serif;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
    transition: all 0.2s ease;
    overflow: hidden;
}

/* Light reflection border effect */
.chip-label::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 9999px;
    border: 1px solid rgba(6, 245, 98, 0.30);
    z-index: 1;
}

.chip-label::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(30deg);
    z-index: 0;
    animation: shine 3s infinite linear;
}

/* Content needs to be above the effects */
.chip-label > * {
    position: relative;
    z-index: 2;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) rotate(30deg);
    }
    100% {
        transform: translateX(100%) rotate(30deg);
    }
}

.chip-label:hover {
    background: rgba(6, 245, 98, 0.15);
    box-shadow: 0 0 8px rgba(6, 245, 98, 0.20);
}

.chip-label:hover::after {
    animation: shine 1.5s infinite linear;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .chip-label {
        font-size: 12px;
        padding: 4px 10px;
    }
}
