/* =========================================================
   PSR / Seller panel and admin panel, phones and tablets: a "live" green dot on
   the ☰ menu icon that blinks all the time, so people open the menu.
   The class fl-pulse is added in resources/views/agent/layouts/header.blade.php
   and resources/views/backend/layouts/header.blade.php.
   ========================================================= */

.top-header .navbar .mobile-toggle-icon.fl-pulse {
    position: relative;
}

.top-header .navbar .mobile-toggle-icon.fl-pulse::after,
.top-header .navbar .mobile-toggle-icon.fl-pulse::before {
    content: '';
    position: absolute;
    top: 4px;
    right: 4px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #26ae61;
    pointer-events: none;
}

/* the dot: white edge + a "breathing" blink */
.top-header .navbar .mobile-toggle-icon.fl-pulse::after {
    border: 2px solid #f7f8fa;
    animation: fl-breathe 1.4s ease-in-out infinite;
}

/* the ripple ring that keeps spreading out from the dot */
.top-header .navbar .mobile-toggle-icon.fl-pulse::before {
    background: rgba(38, 174, 97, .55);
    animation: fl-ripple 1.4s ease-out infinite;
}

/* menu open: the sidebar covers the icon anyway */
.wrapper.toggled .top-header .navbar .mobile-toggle-icon.fl-pulse::after,
.wrapper.toggled .top-header .navbar .mobile-toggle-icon.fl-pulse::before {
    display: none;
}

@keyframes fl-ripple {
    0% {
        transform: scale(1);
        opacity: .9;
    }

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

@keyframes fl-breathe {
    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.25);
    }
}

/* No prefers-reduced-motion override on purpose: the client wants the dot to blink all the time. */
