/* =========================================
   RijschoolHero – Social Proof Popup
   ========================================= */

.rshero-popup {
    position: fixed;
    bottom: 20px;
    left: 80px;
    z-index: 999999;

    display: none;
    align-items: center;
    gap: 14px;

    background: #ffffff;
    border-radius: 14px;
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.06),
        0 12px 32px rgba(0, 0, 0, 0.10);

    padding: 16px 44px 16px 18px;
    max-width: 320px;
    min-width: 270px;

    border-left: 4px solid #063288;
    cursor: pointer;

    /* enter state */
    opacity: 0;
    transform: translateY(16px);
    transition:
        opacity   0.38s ease,
        transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.rshero-popup--visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Close button ---- */
.rshero-popup__close {
    position: absolute;
    top: 9px;
    right: 11px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 17px;
    line-height: 1;
    color: #bbb;
    padding: 2px 5px;
    border-radius: 50%;
    transition: color 0.2s, background 0.2s;
}

.rshero-popup__close:hover {
    color: #555;
    background: #f0f0f0;
}

/* ---- Icon ---- */
.rshero-popup__icon {
    font-size: 32px;
    line-height: 1;
    flex-shrink: 0;
    user-select: none;
}

/* ---- Body ---- */
.rshero-popup__body {
    flex: 1;
    min-width: 0;
}

.rshero-popup__message {
    margin: 0 0 5px 0;
    font-size: 13.5px;
    line-height: 1.45;
    color: #444;
    font-family: 'Gilroy', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.rshero-popup__message strong {
    color: #063288;
    font-weight: 700;
}

.rshero-popup__badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: #00B900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Gilroy', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ---- Pulse dot on badge ---- */
.rshero-popup__badge::before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    background: #00B900;
    border-radius: 50%;
    margin-right: 5px;
    vertical-align: middle;
    animation: rshero-pulse 1.6s ease-in-out infinite;
}

@keyframes rshero-pulse {
    0%, 100% { opacity: 1;   transform: scale(1);    }
    50%       { opacity: 0.4; transform: scale(0.75); }
}

/* ---- Large screen tweak ---- */
@media (max-width: 1400px) {
    .rshero-popup {
        bottom: 85px;
        left: 80px;
    }
}

/* ---- Mobile tweak ---- */
@media (max-width: 480px) {
    .rshero-popup {
        left: 70px;
        right: 16px;
        bottom: 84px;
        max-width: none;
        padding: 12px 36px 12px 14px;
        gap: 10px;
    }
}
