/* Neutral styles: fonts and colours come from the theme. */
.arqres {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 20px;
    max-width: 640px;
    margin: 0 auto;
}

.arqres .arqres-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0 0 16px;
}

.arqres .arqres-field-full,
.arqres .arqres-error-form,
.arqres .arqres-note {
    grid-column: 1 / -1;
}

.arqres label {
    font-weight: 600;
}

.arqres input,
.arqres select,
.arqres textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    font: inherit;
}

.arqres [aria-invalid="true"] {
    border-color: #b32d2e;
}

.arqres button[type="submit"] {
    padding: 12px 28px;
    font: inherit;
    cursor: pointer;
}

.arqres-error {
    color: #b32d2e;
    font-size: 0.9em;
}

.arqres-error-form {
    margin: 0 0 16px;
    padding: 10px 14px;
    border-left: 4px solid #b32d2e;
    background: rgba(179, 45, 46, 0.06);
}

.arqres-note {
    margin: 0;
    font-size: 0.9em;
    opacity: 0.8;
}

.arqres-success {
    max-width: 640px;
    margin: 0 auto;
    padding: 16px 20px;
    border-left: 4px solid #2e7d32;
    background: rgba(46, 125, 50, 0.07);
}

/* Honeypot: hidden from people, visible to bots. */
.arqres .arqres-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 600px) {
    .arqres {
        grid-template-columns: 1fr;
    }
}
