@font-face {
    font-family: 'DS-DIGI';
    src: url('/cursos-config/fonts/DS-DIGI.TTF') format('truetype');
}

#promo-timer {
    background: linear-gradient(to bottom, #ff6666, #ff0000, #770000);
    color: #ffff00;
    font-weight: bold;
    text-align: center;
    padding: 14px 10px; /* Garante boa altura */
    position: fixed;
    top: 40px; /* Ajuste para alinhar com a navbar (mude se necessário) */
    left: 0;
    width: 100vw; /* Mantém dentro da tela */
    max-width: 100vw;
    font-size: 24px;
    z-index: 999;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto; /* Evita que fique muito fina */
}

#promo-timer .digit {
    font-family: 'DS-DIGI', sans-serif;
    font-size: 30px;
    font-weight: bold;
    color: yellow;
    background-color: black;
    padding: 4px 8px;
    margin: 2px;
    border-radius: 3px;
    display: inline-block;
    line-height: 1;
}

/* Ajustes para telas menores */
@media (max-width: 768px) {
    #promo-timer {
        font-size: 16px;
        padding: 8px 6px;
        height: auto;
        top: 60px; /* Ajuste para evitar sobreposição com a navbar */
    }
    #promo-timer .digit {
        font-size: 20px;
        padding: 3px 5px;
    }
}

/* Ajustes para celulares pequenos */
@media (max-width: 480px) {
    #promo-timer {
        font-size: 14px;
        padding: 6px 4px;
        height: auto;
        top: 55px; /* Pequeno ajuste para alinhar corretamente */
    }
    #promo-timer .digit {
        font-size: 18px;
        padding: 2px 4px;
    }
}
