/* eRasadnik - Konverzije: plutajući tajmer ponude */

.ek-floating-timer {
    position: fixed;
    left: 16px;
    bottom: 70px;
    z-index: 99990;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3d8a56, #2c6b40);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .3), 0 0 0 0 rgba(61, 138, 86, .55);
    cursor: pointer;
    animation: ek-floating-timer-in .35s cubic-bezier(.34, 1.56, .64, 1),
               ek-floating-timer-pulse 2.4s ease-in-out .4s infinite;
}

.ek-floating-timer:hover,
.ek-floating-timer:focus {
    color: #fff;
    transform: scale( 1.06 );
}

.ek-floating-timer__percent {
    font-size: 21px;
    font-weight: 800;
    line-height: 1;
}

.ek-floating-timer__value {
    font-size: 11px;
    font-weight: 700;
    margin-top: 2px;
    font-variant-numeric: tabular-nums;
    letter-spacing: .02em;
    opacity: .95;
}

@keyframes ek-floating-timer-pulse {
    0%, 100% { box-shadow: 0 8px 22px rgba(0, 0, 0, .3), 0 0 0 0 rgba(61, 138, 86, .55); }
    50% { box-shadow: 0 8px 22px rgba(0, 0, 0, .3), 0 0 0 12px rgba(61, 138, 86, 0); }
}

@keyframes ek-floating-timer-in {
    from { opacity: 0; transform: scale( .3 ); }
    to { opacity: 1; transform: scale( 1 ); }
}

@media (max-width: 480px) {
    .ek-floating-timer {
        left: 10px;
        bottom: 90px;
        width: 56px;
        height: 56px;
    }

    .ek-floating-timer__percent { font-size: 18px; }
    .ek-floating-timer__value { font-size: 10px; }
}
