/*
Template Name: Velzon - Admin & Dashboard Template
Author: Themesbrand
Website: https://themesbrand.com/
Contact: support@themesbrand.com
File: Custom Css File
*/

/* CONTADOR DE SESSÃO FLUTUANTE */
.session-timer {
    display: none;
    /* Oculto por padrão, aparece via JS quando < 10 min */
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #ffffff;
    padding: 8px 15px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 9999 !important;
    border: 1px solid #e0e0e0;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.session-timer span#countdown {
    font-weight: 600;
    color: #495057;
    font-variant-numeric: tabular-nums;
    font-size: 14px;
}

.session-timer.blink {
    animation: blink-red 1s infinite;
    border-color: #f06548;
}

.session-timer.blink span#countdown {
    color: #f06548;
}

@keyframes blink-red {
    0% {
        box-shadow: 0 4px 15px rgba(240, 101, 72, 0.2);
    }

    50% {
        box-shadow: 0 4px 25px rgba(240, 101, 72, 0.5);
    }

    100% {
        box-shadow: 0 4px 15px rgba(240, 101, 72, 0.2);
    }
}

.renew-btn {
    background-color: #0ab39c;
    /* Success Color or Brand Color */
    color: white;
    border: none;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.2s;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.renew-btn:hover {
    background-color: #099885;
}

/* Responsividade para telas menores */
@media (max-width: 768px) {
    .session-timer {
        bottom: 10px;
        left: 10px;
        padding: 6px 12px;
    }

    .session-timer span#countdown {
        font-size: 12px;
    }

    .renew-btn {
        padding: 3px 10px;
        font-size: 11px;
    }
}