/*
 * La página pública del cuestionario del cliente (Presales). Se carga en el
 * tema del área de clientes, que es con el que se pinta. Clases propias con
 * prefijo `pq-`: no dependen del bundle de Tailwind ni de otro módulo.
 */

.pq-card {
    background: #fff;
    border-radius: .5rem;
    padding: 2rem;
    margin: 1.5rem 0 3rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
}

.pq-logo {
    text-align: center;
    margin-bottom: 1.25rem;
}

.pq-logo img {
    max-height: 60px;
    width: auto;
}

.pq-title {
    margin: 0 0 .75rem;
    font-weight: 600;
    text-align: center;
}

.pq-hello {
    text-align: center;
    font-weight: 600;
    margin-bottom: .25rem;
}

.pq-intro {
    color: #555;
    text-align: center;
    margin-bottom: .75rem;
}

.pq-expires {
    color: #777;
    text-align: center;
    font-size: .875rem;
    margin-bottom: 1.5rem;
}

.pq-index {
    display: flex;
    flex-wrap: wrap;
    gap: .375rem .75rem;
    justify-content: center;
    padding: 0;
    margin: 0 0 1.5rem;
    list-style: none;
    font-size: .875rem;
}

.pq-index a {
    color: inherit;
    border-bottom: 1px dashed #bbb;
    text-decoration: none;
}

.pq-section {
    border: 1px solid #e6e9ee;
    border-radius: .5rem;
    padding: 1rem 1.25rem .25rem;
    margin: 0 0 1.25rem;
    min-width: 0;
}

.pq-section legend {
    width: auto;
    border: 0;
    padding: 0 .5rem;
    margin: 0 0 .5rem -.5rem;
    font-size: 1.0625rem;
    font-weight: 600;
}

.pq-step {
    display: inline-block;
    font-size: .75rem;
    font-weight: 600;
    color: #fff;
    background: #2563eb;
    border-radius: 999px;
    padding: .125rem .5rem;
    margin-right: .375rem;
    vertical-align: middle;
}

.pq-question {
    margin-bottom: 1.125rem;
}

.pq-label {
    font-weight: 600;
}

.pq-help {
    color: #777;
    font-size: .8125rem;
    margin: .375rem 0 0;
}

.pq-captcha {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.pq-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    justify-content: flex-end;
}

.pq-note {
    color: #777;
    font-size: .8125rem;
    text-align: right;
    margin: .75rem 0 0;
}

.pq-pin {
    display: flex;
    gap: .5rem;
    max-width: 18rem;
    margin: 0 auto;
}

.pq-pin input {
    text-align: center;
    letter-spacing: .3em;
    font-size: 1.25rem;
}

.pq-done-icon,
.pq-closed-icon {
    font-size: 3rem;
    display: block;
    margin: 1rem 0;
}

.pq-done-icon {
    color: #2e7d32;
}

.pq-closed-icon {
    color: #bbb;
}

.pq-reason {
    font-size: 1.0625rem;
    margin-bottom: 1rem;
}

@media (max-width: 575px) {
    .pq-card {
        padding: 1.25rem;
    }

    .pq-actions .btn {
        flex: 1 1 100%;
    }
}
