/* CEDAFIT Certificados - Consulta pública */
.cedafit-consulta-wrap {
    max-width: 760px;
    margin: 40px auto;
    padding: 0 16px;
    font-family: inherit;
}

.cedafit-consulta-card,
.cedafit-message,
.cedafit-result-actions {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 8px 24px rgba(0,0,0,.05);
}

.cedafit-consulta-card h2 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: clamp(24px, 4vw, 34px);
    line-height: 1.1;
    color: #111;
}

.cedafit-consulta-card p {
    margin-top: 0;
    color: #555;
}

.cedafit-consulta-form label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
}

.cedafit-consulta-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.cedafit-consulta-row input {
    width: 100%;
    height: 48px;
    border: 1px solid #cfcfcf;
    border-radius: 10px;
    padding: 0 14px;
    font-size: 16px;
}

.cedafit-consulta-row button,
.cedafit-pdf-button {
    min-height: 48px;
    border: 0;
    border-radius: 10px;
    padding: 0 18px;
    background: #111;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.cedafit-message {
    margin-top: 18px;
}

.cedafit-message-error {
    border-color: #f1b8b8;
    background: #fff7f7;
    color: #8a1f1f;
}

.cedafit-result-actions {
    margin-top: 18px;
    text-align: right;
}

@media (max-width: 640px) {
    .cedafit-consulta-wrap {
        margin: 24px auto;
    }

    .cedafit-consulta-row {
        grid-template-columns: 1fr;
    }

    .cedafit-consulta-row button,
    .cedafit-pdf-button {
        width: 100%;
    }

    .cedafit-result-actions {
        text-align: stretch;
    }
}
