/* Fonte e fundo geral */
body {
    font-family: 'Montserrat', sans-serif;
    background: #f9f9f9;
    margin: 0;
}

/* Títulos */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
}

/* Placeholder personalizado para diminuir o tamanho da letra */
.placeholder-sm::placeholder {
    font-size: 0.7rem; /* menor */
    color: #6c757d;     /* cinza elegante */
}

/* Navbar */
.navbar-brand {
    font-size: 1.8rem;
    letter-spacing: 2px;
    color: #6b8e23 !important;
}

/* Botão padrão do site */
.btn-olive {
    background: #6b8e23;
    color: #fff;
    border: none;
}

.btn-olive:hover {
    background: #5a7a1d;
    color: #fff;
}

/* Animação fade */
.fade-in {
    animation: fadeIn 1.2s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
footer {
    background: #fff;
    padding: 25px 0;
    margin-top: 60px;
    box-shadow: 0 -2px 10px rgba(0,0,0,.05);
}

/* Links do menu com efeito underline ao passar o mouse */
.navbar-nav .nav-link {
    position: relative;
    color: #333;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #6b8e23;
}

.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background-color: #6b8e23;
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* Item ativo */
.navbar-nav .nav-link.active {
    color: #6b8e23;
    font-weight: 600;
}

/* Linha embaixo do ativo 
.navbar-nav .nav-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background-color: #6b8e23;
}
*/

.text-justificado {
    text-align: justify;
    text-justify: inter-word;
    line-height: 1.7;
}

.content-600 {
    max-width: 600px;
    margin: 0 auto;
}

/* Cards animados */
.stat-card {
    transition: transform .3s ease, box-shadow .3s ease;
    cursor: pointer;
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,.12);
}

/* Pulse (alertas) */
.pulse {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(25, 135, 84, 0.6);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(25, 135, 84, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(25, 135, 84, 0);
    }
}

/* Gráfico */
.chart-container {
    width: 220px;
    height: 220px;
    margin: 0 auto;
}

.chart-container canvas {
    width: 100% !important;
    height: auto !important;
}

.badge-flavia {
    background-color: #e83e8c !important;
    color: #fff !important;
    font-weight: 600;
}

/* Corrigir badge dentro do DataTable */
table.dataTable span.badge-flavia {
    background-color: #e83e8c !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    display: inline-block !important;
}

/* Contador de dias e tempo restante */
/* Fundo elegante para o bloco */ 
.contador-dias,
.contador-tempo {
    display: flex;
    justify-content: center;
}

/* Card individual */
.card-tempo {
    background: linear-gradient(135deg, #7a5c3e, #b08b57);
    color: white;
    padding: 5px 35px;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    min-width: 110px;
    position: relative;
    overflow: hidden;
    transition: 0.3s ease;
}

/* Número grande */
.card-tempo span {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 2px;
    transition: transform 0.3s ease;
}

/* Texto pequeno */
.card-tempo small {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hover elegante */
.card-tempo:hover {
    transform: translateY(-5px);
}

/* Efeito brilho animado */
.card-tempo::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255,255,255,0.08);
    transform: rotate(25deg);
}

/* Responsivo */
@media (max-width: 768px) {
    .card-tempo span {
        font-size: 2rem;
    }
}
