/* ===== Formulário Principal ===== */
.dispensa-form {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    max-width: 850px;
    margin: 20px auto;
    font-family: "Segoe UI", Arial, sans-serif;
}

.dispensa-form h2 {
    text-align: center;
    margin-bottom: 10px;
    font-size: 26px;
    font-weight: bold;
    color: #1a202c;
}

.dispensa-form p.subtitulo {
    text-align: center;
    font-size: 15px;
    color: #4a5568;
    margin-bottom: 20px;
}

.dispensa-form label {
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
    color: #2d3748;
}

.dispensa-form input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cbd5e0;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 15px;
    background: #f9fafb;
    transition: border 0.3s ease;
}

.dispensa-form input:focus {
    outline: none;
    border-color: #3182ce;
    background: #fff;
}

#consultar-btn {
    display: block;
    width: 100%;
    padding: 14px;
    background: #2f855a;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s;
}

#consultar-btn:hover {
    background: #38a169;
}

.btn-reset {
    display: block;
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    background: #6c757d;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    transition: background 0.3s;
}

.btn-reset:hover {
    background: #5a6268;
}

/* ===== Resultado ===== */
.resultado-box {
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
}

.resultado-box.sucesso {
    border: 2px solid #2f855a;
    background: #f0fff4;
}

.resultado-box.erro {
    border: 2px solid #e53e3e;
    background: #fff5f5;
}

.resultado-box h3 {
    margin-top: 0;
    font-size: 20px;
    font-weight: bold;
}

.cnae-box {
    background: #e6fffa;
    border-left: 5px solid #2b6cb0;
    padding: 10px;
    margin: 10px 0;
    border-radius: 6px;
}

.obs {
    background: #fffbea;
    border-left: 5px solid #ecc94b;
    padding: 12px 16px;
    margin: 15px 0;
    border-radius: 8px;
    font-size: 14px;
    color: #744210;
}

.badge.verde {
    display: inline-block;
    background: #77B255;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: bold;
    margin: 10px 0;
}

.badge.vermelho {
    display: inline-block;
    background: #e53e3e;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: bold;
    margin: 10px 0;
}

/* ===== Informações Legais ===== */
.info-legal {
    background: #ebf8ff;            /* azul claro */
    border-left: 5px solid #3182ce; /* azul mais forte */
    padding: 16px 20px;
    border-radius: 10px;
    margin-top: 20px;
    font-size: 14px;
    color: #2b4366;
    box-shadow: inset 0 1px 4px rgba(0,0,0,0.05);
}

.info-legal p {
    margin: 6px 0;
    line-height: 1.5;
}

.info-legal strong {
    color: #1a365d; /* azul escuro para títulos */
}

/* ===== Botão de Contato ===== */
.btn-center {
    text-align: center;
    margin-top: 20px;
}

.btn-contato {
    display: inline-block;
    background: #25d366;
    color: #fff !important;
    padding: 14px 24px;
    border-radius: 10px;
    font-weight: bold;
    text-decoration: none;
    font-size: 16px;
    transition: background 0.3s;
}

.btn-contato:hover {
    background: #1da851;
}

/* ===== Autocomplete ===== */
.ui-autocomplete {
    max-height: 220px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 2000 !important;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #fff;
    font-size: 14px;
}
.ui-menu-item-wrapper {
    padding: 8px 12px;
}
.ui-menu-item-wrapper.ui-state-active {
    background: #3182ce;
    color: #fff;
    border-radius: 6px;
}
