/**
 * Flash News Button Styles
 * Premium Pill Design with shimmer hover & glowing shadow
 */

/* Container for positioning badge and button */
.flash-news-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-right: 0;
    margin-left: auto;
    z-index: 100;
    height: 50px;
}

/* Red Trending Button */
.flash-news-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e11b22;
    border: none;
    border-radius: 0;
    padding: 0 18px;
    cursor: pointer;
    box-shadow: none;
    transition: background 0.3s;
    outline: none;
    height: 50px;
    position: relative;
}

/* Hover state for button */
.flash-news-btn:hover {
    background: #b7161b;
}

.flash-news-btn:active {
    transform: none;
    box-shadow: none;
}

/* Icon wrapper */
.flash-icon {
    display: flex;
    align-items: center;
    margin-right: 7px;
    animation: flash-pulse 1.8s infinite ease-in-out;
}

/* SVG Adjustments */
.flash-icon svg {
    width: 20px;
    height: 20px;
    display: block;
}

/* Text Styling */
.flash-text {
    font-family: 'Mukta', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #333;
    line-height: 1;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* 
 * Notification Badge
 * White pill badge with red border & shadow
 */
.flash-count-badge {
    position: absolute;
    top: 6px;
    right: 8px;
    left: auto;
    background-color: #ffffff;
    color: #e11b22;
    font-size: 11px;
    font-weight: 800;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    padding: 0 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 110;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    border: 2px solid #e11b22;
    pointer-events: none;
}

/* Flame Icon pulse animation */
@keyframes flash-pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.12);
        opacity: 0.95;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .flash-news-container {
        display: inline-flex;
        margin-right: 0;
        height: 50px;
    }

    .flash-news-btn {
        padding: 0 15px;
        height: 50px;
        border-radius: 0;
    }

    .flash-icon {
        margin-right: 0;
    }

    .flash-text {
        display: none;
    }
}