/* ════════════════════════════════════════════════════════════
   ADL — Compatibilidade com Nicepage
   Reforça a especificidade dos seletores do plugin para vencer
   os resets globais do Nicepage. NÃO usa "all:revert" — ajustes
   cirúrgicos apenas nos elementos de formulário e botões.
   Carregado por último, depois dos demais CSS do plugin.
   ════════════════════════════════════════════════════════════ */

/* ── Inputs, selects e textareas dos formulários ADL ───────── */
body .adl-f input[type="text"],
body .adl-f input[type="email"],
body .adl-f input[type="password"],
body .adl-f input[type="date"],
body .adl-f input[type="datetime-local"],
body .adl-f input[type="number"],
body .adl-f input[type="url"],
body .adl-f input[type="tel"],
body .adl-f select,
body .adl-f textarea {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.4;
    background: #fff;
    color: #333;
    box-sizing: border-box;
    margin: 0;
    max-width: 100%;
    -webkit-appearance: none;
    appearance: none;
}
body .adl-f select {
    -webkit-appearance: menulist;
    appearance: menulist;
}
body .adl-f input:focus,
body .adl-f select:focus,
body .adl-f textarea:focus {
    border-color: #1a472a;
    outline: none;
    box-shadow: 0 0 0 3px rgba(26,71,42,.15);
}

/* ── Checkboxes e radios não devem ser esticados ──────────── */
body .adl-f input[type="checkbox"],
body .adl-f input[type="radio"] {
    width: auto;
    margin-right: 6px;
    display: inline-block;
    vertical-align: middle;
    -webkit-appearance: checkbox;
    appearance: checkbox;
}
body .adl-f input[type="radio"] {
    -webkit-appearance: radio;
    appearance: radio;
}

/* ── Botões do plugin ─────────────────────────────────────── */
body .adl-btn-submit,
body .adl-btn-primary,
body .adl-btn-sec,
body .adl-btn-full,
body .adl-btn-whatsapp {
    box-sizing: border-box;
    cursor: pointer;
    text-decoration: none;
    line-height: normal;
    font-family: inherit;
    display: inline-block;
}
body .adl-btn-submit,
body .adl-btn-primary {
    background: #1a472a;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 700;
}
body .adl-btn-submit:hover,
body .adl-btn-primary:hover {
    background: #145222;
    color: #fff;
}
body .adl-btn-sec {
    background: #f0f5f0;
    color: #1a472a;
    border: 1px solid #1a472a;
    border-radius: 6px;
}

/* ── Sliders de avaliação do jurado ───────────────────────── */
body .adl-criterio-wrap input[type="range"],
body .adl-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: #ddd;
    border-radius: 3px;
    outline: none;
    padding: 0;
    margin: 0;
}
body .adl-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #1a472a;
    cursor: pointer;
    border: none;
}
body .adl-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #1a472a;
    cursor: pointer;
    border: none;
}

/* ── Caixas, tabelas e grids do plugin ────────────────────── */
body .adl-auth-box,
body .adl-prot-card,
body .adl-cert-wrap,
body .adl-galeria {
    box-sizing: border-box;
    max-width: 100%;
}
body .adl-info-table,
body .adl-info-table td,
body .adl-info-table th {
    box-sizing: border-box;
}

/* ── Labels não herdam estilos de heading do Nicepage ─────── */
body .adl-f label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 5px;
    color: #222;
    text-transform: none;
    letter-spacing: normal;
    line-height: 1.4;
}
body .adl-f label input[type="checkbox"] + span,
body .adl-f label > * {
    font-weight: inherit;
}

/* ── Garante que parágrafos dentro das caixas ADL fiquem ok ─ */
body .adl-auth-box p,
body .adl-prot-card p,
body .adl-msg-estado {
    margin: 0 0 12px;
    line-height: 1.6;
}
