/*
|--------------------------------------------------------------------------
| Tropikeau Parrainage V3.3.1
|--------------------------------------------------------------------------
*/


.tk-sponsor-notification {
    position: relative;

    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    display: grid;
    place-items: center;

    border:
        1px solid
        rgba(245, 158, 11, .34);

    border-radius:
        12px;

    color:
        #f59e0b !important;

    background:
        rgba(245, 158, 11, .09);

    text-decoration:
        none !important;

    box-shadow:
        0 8px 22px
        rgba(0,0,0,.10);

    transition:
        transform .14s ease,
        background .14s ease,
        border-color .14s ease;
}


.tk-sponsor-notification:hover {
    transform:
        translateY(-1px);

    border-color:
        rgba(245, 158, 11, .60);

    background:
        rgba(245, 158, 11, .14);
}


.tk-sponsor-notification svg {
    width: 23px;
    height: 23px;
}


.tk-sponsor-notification-count {
    position: absolute;

    top: -6px;
    right: -6px;

    min-width: 20px;
    height: 20px;

    display: grid;
    place-items: center;

    padding: 0 5px;

    border:
        2px solid
        var(
            --tk-bg,
            #080b17
        );

    border-radius:
        999px;

    color:
        #fff !important;

    background:
        #ef4444;

    font-size:
        10px;

    font-weight:
        950;

    line-height:
        1;
}


@media (prefers-reduced-motion: no-preference) {

    .tk-sponsor-notification-count {
        animation:
            tkSponsorPulse
            2.2s
            ease-in-out
            infinite;
    }

}


@keyframes tkSponsorPulse {

    0%,
    100% {
        box-shadow:
            0 0 0 0
            rgba(239,68,68,0);
    }

    50% {
        box-shadow:
            0 0 0 5px
            rgba(239,68,68,.11);
    }

}


/* Thème clair */

html[data-theme="light"]
.tk-sponsor-notification {
    color:
        #b86e00 !important;

    background:
        #fff8e8;

    border-color:
        #f2c66e;
}


/* Tropical */

html[data-theme="tropical"]
.tk-sponsor-notification {
    color:
        #c26437 !important;

    background:
        rgba(242,127,102,.10);

    border-color:
        rgba(242,127,102,.30);
}


/* Neon */

html[data-theme="neon"]
.tk-sponsor-notification {
    color:
        #f0b84d !important;

    box-shadow:
        0 0 18px
        rgba(240,184,77,.08);
}


/* Mobile */

@media (max-width: 640px) {

    .tk-sponsor-notification {
        width: 40px;
        height: 40px;

        flex-basis:
            40px;
    }

}
