/* =========================================================================
   Portal de Financiación — pantalla de identificación/referencia del
   "Formulario de Financiación" (/nivus_credit_portal/login), rediseñada.
   Mismos ids/name/acción de formulario — solo cambia la presentación.
   ========================================================================= */

.frm-card {
    background: var(--surface, #ffffff);
    border: 1px solid var(--line, #dde3ea);
    border-radius: 20px;
    box-shadow: 0 16px 34px -14px rgba(10, 30, 55, .3);
    overflow: hidden;
    max-width: 760px;
    margin: 0 auto;
}

.frm-body {
    padding: 26px;
}

.frm-notice {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 12.5px;
    background: #e7f1f8;
    border: 1px solid #2e86ab;
    margin-bottom: 22px;
}

.frm-notice .ic {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    color: #2e86ab;
}

.frm-sec {
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #2e86ab;
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 0 0 14px;
}

.frm-sec:not(:first-child) {
    margin-top: 22px;
}

.frm-sec::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line, #dde3ea);
}

.frm-row2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

@media (max-width: 560px) {
    .frm-row2 {
        grid-template-columns: 1fr;
    }
}

.frm-field label {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--text-soft, #566274);
    text-transform: uppercase;
    letter-spacing: .03em;
    margin-bottom: 7px;
}

.frm-field .wrap {
    display: flex;
    align-items: center;
    gap: 9px;
    border: 1.5px solid var(--line, #dde3ea);
    border-radius: 11px;
    background: #eef2f6;
    height: 46px;
    padding: 0 14px;
}

.frm-field .wrap:focus-within {
    border-color: #2e86ab;
    box-shadow: 0 0 0 3px #e7f1f8;
}

.frm-field .wrap .ic {
    color: #2e86ab;
    font-size: 13px;
    flex: none;
}

.frm-field input,
.frm-field select {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    font-size: 13px;
    color: var(--text, #1c2530);
    font-family: inherit;
    height: 100%;
}

.frm-ref-row {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.frm-ref-row .frm-field {
    flex: 1;
    min-width: 200px;
}

.frm-btn-login {
    height: 46px;
    padding: 0 26px;
    border-radius: 11px;
    border: none;
    background: #03386b;
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.frm-btn-login:hover {
    filter: brightness(1.08);
    color: #fff;
}

.frm-hint {
    margin-top: 18px;
    text-align: center;
    font-size: 11.5px;
    color: var(--text-faint, #8894a3);
}
