/* Utilitário simples */
.hidden { display: none !important; }

/* Indicador de passos */
.step-indicator .step { height: 4px; background: #e9ecef; border-radius: 999px; }
.step-indicator .step.active { background: #0d6efd; }

#resultModal .modal-content { border-radius: 1rem; }
#resultModal .modal-header { border-bottom: none; }
#resultModal .modal-footer { border-top: none; }

.data-alerta {
    color: #b91c1c;    /* vermelho */
    font-weight: 600;  /* destaca um pouco */
}


/* Link do edital – estilo institucional */
a.edital {
    color: #222;                 /* quase preto */
    text-decoration: none;       /* sem underline */
    font-weight: 600;            /* leve destaque */
    transition: color 0.15s ease-in-out;
}

a.edital:hover,
a.edital:focus {
    color: #000;                 /* escurece no hover */
    text-decoration: none;       /* mantém sem underline */
}

a.edital:active {
    color: #000;                 /* cor fixa ao clicar */
}


.grupo-instrumento {
    border-left: 3px solid #dee2e6;
    margin-left: 0;
    padding-left: 0.75rem;
}

/* Cabeçalho */
.brand-header {
    background: #cccccc;     /* você pode voltar para o gradiente escuro se quiser */
    color: #666666;
    border-radius: 1rem;
    padding: clamp(1rem, 2.5vw, 2rem);
    box-shadow: 0 10px 24px rgba(0,0,0,.15);
}
.brand-accent {
    width: .5rem;
    background: #f2c200; /* amarelo Fundarte (aprox) */
    border-radius: .5rem;
}
.brand-title {
    letter-spacing: .04em;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.15;
    margin-top: 25px !important;
    font-size: 18px !important;
}
.brand-subtitle { opacity: .95; }

.date-chip {
    background: #0d6efd10;
    border: 1px solid #0d6efd50;
    color: #1b3d6b;
    border-radius: .75rem;
    padding: .5rem .75rem;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    white-space: nowrap;
}
.date-chip strong { color: #0b2447; }

.tz-note {
    color: #666666;
    font-size: .9rem;
}

/* Logo responsiva */
.brand-logo {
    height: clamp(36px, 6vw, 64px);
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,.25));
}


/* Ajustes responsivos do cabeçalho / chips de datas */
@media (max-width: 576px) {

    .brand-header {
        padding: 1rem 1rem 1.25rem;
        border-radius: 0 0 1rem 1rem; /* se quiser, deixa só embaixo arredondado no mobile */
    }

    .brand-title {
        font-size: 1rem !important;
        margin-top: .5rem !important;
    }

    .brand-logo {
        height: 40px;
    }

    .date-chip {
        width: 100%;          /* chip vira “linha inteira” */
        white-space: normal;  /* permite quebrar a linha */
        align-items: flex-start;
    }

    .date-chip svg {
        flex-shrink: 0;       /* ícone não deforma */
        margin-top: 2px;
    }

    .tz-note {
        text-align: left;
        margin-top: .75rem;
    }
}
.help-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid #6c757d;
    font-size: 12px;
    line-height: 1;
    cursor: help;
    color: #6c757d;
}


/* ALTCHA no padrão da stnt (caixa de estado; substitui o reCAPTCHA em 19/11/2026) */
.altcha {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px; max-width: 520px;
  border: 1px dashed #b8bec6; border-radius: 10px; background: #fff;
  font-size: 13px; line-height: 19px; color: #4a5059; cursor: default;
}
.altcha-icone { width: 16px; height: 16px; flex: none; border-radius: 50%; border: 2px solid #9aa1aa; }
.altcha[data-estado="verificando"] .altcha-icone { border-color: #f6e08a; border-top-color: #1d1d1b; animation: altcha-girar .8s linear infinite; }
.altcha[data-estado="ok"] { border-style: solid; border-color: #A7DDBF; background: #F1FAF5; color: #15864A; }
.altcha[data-estado="ok"] .altcha-icone { border-color: #15864A; background: #15864A url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 11px no-repeat; }
.altcha[data-estado="erro"] { border-color: #EBB7B4; color: #C2362F; cursor: pointer; }
.altcha[data-estado="erro"] .altcha-icone { border-color: #C2362F; }
@keyframes altcha-girar { to { transform: rotate(360deg); } }
