.asprofecias-wrap {
    max-width: 620px;
    margin: 24px auto;
}

.asprofecias-form {
    padding: clamp(20px, 4vw, 36px);
    border: 1px solid #d8dce3;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(20, 35, 60, 0.07);
}

.asprofecias-form h2 {
    margin: 0 0 8px;
    color: #172b4d;
    font-size: 1.6rem;
    line-height: 1.25;
}

.asprofecias-intro,
.asprofecias-help {
    color: #596579;
    font-size: 0.94rem;
}

.asprofecias-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin: 18px 0;
}

.asprofecias-field label {
    color: #26364d;
    font-weight: 600;
}

.asprofecias-field input {
    box-sizing: border-box;
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid #b9c1cd;
    border-radius: 7px;
    background: #fff;
    color: #172b4d;
    font: inherit;
}

.asprofecias-field input:focus {
    border-color: #2458a6;
    outline: 3px solid rgba(36, 88, 166, 0.16);
}

.asprofecias-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
}

.asprofecias-button {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    margin-top: 8px;
    padding: 12px 18px;
    border: 0;
    border-radius: 7px;
    background: #174a8b;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.asprofecias-button:hover,
.asprofecias-button:focus-visible {
    background: #10396f;
}

.asprofecias-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 18px 0;
    color: #26364d;
}

.asprofecias-notice {
    margin: 0 0 18px;
    padding: 14px 16px;
    border: 1px solid #b6dfc4;
    border-radius: 8px;
    background: #effaf2;
    color: #174b2c;
}

.asprofecias-notice-error {
    border-color: #efc2c2;
    background: #fff3f2;
    color: #8b2525;
}

.asprofecias-help {
    margin: 16px 0 0;
    text-align: center;
}

.asprofecias-portal {
    padding: clamp(28px, 7vw, 64px) clamp(22px, 6vw, 56px);
    border: 1px solid #d8dce3;
    border-radius: 16px;
    background: linear-gradient(145deg, #f5f8fc 0%, #fff 70%);
    box-shadow: 0 12px 36px rgba(20, 35, 60, 0.09);
    text-align: center;
}

.asprofecias-portal-eyebrow {
    margin: 0 0 12px;
    color: #2458a6;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.asprofecias-portal h1 {
    margin: 0;
    color: #172b4d;
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.15;
}

.asprofecias-portal-copy {
    margin: 16px auto 28px;
    color: #596579;
    font-size: 1.08rem;
}

.asprofecias-portal-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.asprofecias-portal-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 190px;
    min-height: 48px;
    padding: 12px 20px;
    border: 1px solid #174a8b;
    border-radius: 7px;
    background: #174a8b;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.asprofecias-portal-button:hover,
.asprofecias-portal-button:focus-visible {
    border-color: #10396f;
    background: #10396f;
    color: #fff;
}

.asprofecias-portal-button-secondary {
    background: #fff;
    color: #174a8b;
}

.asprofecias-portal-button-secondary:hover,
.asprofecias-portal-button-secondary:focus-visible {
    background: #edf3fb;
    color: #10396f;
}

.asprofecias-portal-help {
    margin: 24px 0 0;
    color: #8b2525;
    font-size: 0.94rem;
}

@media (max-width: 520px) {
    .asprofecias-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .asprofecias-portal-actions {
        flex-direction: column;
    }

    .asprofecias-portal-button {
        width: 100%;
        box-sizing: border-box;
    }
}
