/* 
 * Modern Badge - Octor (Desktop Style)
 */

.modern-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 6px 18px;
    background: rgba(12, 224, 122, 0.08);
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    color: #0CE07A;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s ease;
    line-height: 1.5;
    overflow: hidden;
    animation: modernBadgeEntrance 0.8s cubic-bezier(0.23, 1, 0.32, 1) both;
}

/* Shine Effect */
.modern-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.4),
            transparent);
    transform: skewX(-25deg);
    animation: modernBadgeShine 2s ease-in-out infinite;
    animation-delay: 1s;
    z-index: 1;
}

@keyframes modernBadgeShine {
    0% {
        left: -150%;
    }

    30% {
        left: 150%;
    }

    100% {
        left: 150%;
    }
}

@keyframes modernBadgeEntrance {
    0% {
        opacity: 0;
        transform: translateY(10px) scale(0.95);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

[data-theme="light"] .modern-badge {
    background: rgba(1, 99, 53, 0.06);
    color: #016335;
}

.modern-badge i {
    margin-right: 10px;
    font-size: 1.1em;
}

.modern-badge.badge-light {
    background: rgba(8, 193, 106, 0.1);
    border: 1px solid rgba(8, 193, 106, 0.28);
    color: #08C16A;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.3px;
    animation: heroBadgePulse 3.5s ease-in-out infinite;
}

[data-theme="dark"] .modern-badge.badge-light {
    background: rgba(8, 193, 106, 0.1);
    border: 1px solid rgba(8, 193, 106, 0.28);
    color: #08C16A;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.3px;
    animation: heroBadgePulse 3.5s ease-in-out infinite;
}
