/* Recuperación de contraseña del acceso APRODAP */
.aprodap-login-forgot-button {
    margin: 0;
    padding: 0;
    border: 0;
    color: #0f8f8a;
    background: transparent;
    font-size: .69rem;
    font-weight: 850;
    cursor: pointer;
    transition: color .18s ease, transform .18s ease;
}

.aprodap-login-forgot-button:hover {
    color: #075f69;
    transform: translateY(-1px);
}

.aprodap-login-forgot-button:focus-visible {
    outline: 3px solid rgba(20, 184, 166, .25);
    outline-offset: 4px;
    border-radius: 4px;
}

.aprodap-recovery-backdrop {
    position: fixed;
    inset: 0;
    z-index: 10020;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(2, 18, 31, .78);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    animation: aprodapRecoveryBackdropIn .22s ease both;
}

.aprodap-recovery-modal {
    position: relative;
    width: min(500px, 100%);
    max-height: calc(100dvh - 36px);
    overflow: auto;
    padding: 38px 38px 30px;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 28px;
    color: #17314d;
    background:
        radial-gradient(circle at 92% 5%, rgba(45, 212, 191, .13), transparent 26%),
        linear-gradient(145deg, #ffffff, #f7fbff);
    box-shadow: 0 38px 100px rgba(0, 0, 0, .44);
    animation: aprodapRecoveryModalIn .3s cubic-bezier(.2, .9, .25, 1.05) both;
}

.aprodap-recovery-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid #dce6ef;
    border-radius: 13px;
    color: #526b83;
    background: rgba(255, 255, 255, .82);
    cursor: pointer;
    transition: color .18s ease, background .18s ease, transform .18s ease;
}

.aprodap-recovery-close:hover {
    color: #b91c1c;
    background: #fff1f2;
    transform: rotate(3deg);
}

.aprodap-recovery-icon {
    width: 70px;
    height: 70px;
    display: grid;
    place-items: center;
    margin-bottom: 19px;
    border-radius: 23px;
    color: #fff;
    background: linear-gradient(145deg, #0f9d96, #0b7f9f);
    box-shadow: 0 18px 38px rgba(13, 148, 136, .28);
}

.aprodap-recovery-icon i {
    font-size: 1.75rem;
}

.aprodap-recovery-eyebrow {
    display: block;
    color: #0f9d96;
    font-size: .64rem;
    font-weight: 950;
    letter-spacing: .13em;
}

.aprodap-recovery-modal h2 {
    margin: 7px 0 0;
    color: #102c4b;
    font-size: clamp(2rem, 6vw, 2.65rem);
    line-height: 1;
    font-weight: 1000;
    letter-spacing: -.045em;
}

.aprodap-recovery-description {
    margin: 14px 0 0;
    color: #62768c;
    font-size: .86rem;
    line-height: 1.55;
}

.aprodap-recovery-form {
    display: grid;
    gap: 10px;
    margin-top: 25px;
}

.aprodap-recovery-form label {
    color: #183554;
    font-size: .76rem;
    font-weight: 850;
}

.aprodap-recovery-control {
    min-height: 56px;
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    align-items: center;
    gap: 9px;
    padding: 0 15px;
    border: 1px solid #bdcce0;
    border-radius: 12px;
    background: #fff;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.aprodap-recovery-control:focus-within {
    border-color: #14b8a6;
    box-shadow: 0 0 0 4px rgba(20, 184, 166, .12);
}

.aprodap-recovery-control.has-error {
    border-color: #ef4444;
    background: #fffafa;
}

.aprodap-recovery-control > i {
    color: #0f9d96;
}

.aprodap-recovery-control input {
    width: 100%;
    height: 54px;
    padding: 0;
    border: 0;
    outline: 0;
    color: #102746;
    background: transparent;
    font-size: .9rem;
    font-weight: 650;
}

.aprodap-recovery-error {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #c02626;
    font-size: .7rem;
    font-weight: 750;
}

.aprodap-recovery-submit {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 7px;
    padding: 0 17px;
    border: 0;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(105deg, #0b8e8b, #10bbb5, #0c8da8);
    box-shadow: 0 15px 30px rgba(13, 148, 136, .26);
    font-size: .82rem;
    font-weight: 900;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease;
}

.aprodap-recovery-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 20px 38px rgba(13, 148, 136, .34);
}

.aprodap-recovery-submit:disabled {
    opacity: .76;
    cursor: wait;
}

.aprodap-recovery-security {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 19px;
    padding: 12px 14px;
    border-radius: 13px;
    color: #61748a;
    background: #edf5f8;
    font-size: .66rem;
    line-height: 1.45;
}

.aprodap-recovery-security i {
    flex: 0 0 auto;
    color: #0f9d96;
    font-size: .9rem;
}

.aprodap-recovery-message {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: center;
    gap: 13px;
    margin-top: 24px;
    padding: 16px;
    border-radius: 17px;
}

.aprodap-recovery-message.is-success {
    color: #166534;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}

.aprodap-recovery-message > i {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    color: #fff;
    background: #16a34a;
    font-size: 1.2rem;
}

.aprodap-recovery-message strong,
.aprodap-recovery-message span {
    display: block;
}

.aprodap-recovery-message strong {
    font-size: .8rem;
    font-weight: 900;
}

.aprodap-recovery-message span {
    margin-top: 4px;
    font-size: .72rem;
    line-height: 1.45;
}

@keyframes aprodapRecoveryBackdropIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes aprodapRecoveryModalIn {
    from {
        opacity: 0;
        transform: translateY(18px) scale(.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 575px) {
    .aprodap-login-password-meta {
        gap: 10px;
    }

    .aprodap-login-forgot-button {
        max-width: 145px;
        font-size: .63rem;
        line-height: 1.25;
        text-align: right;
    }

    .aprodap-recovery-backdrop {
        align-items: end;
        padding: 0;
    }

    .aprodap-recovery-modal {
        width: 100%;
        max-height: min(92dvh, 760px);
        padding: 31px 21px calc(24px + env(safe-area-inset-bottom));
        border: 0;
        border-radius: 27px 27px 0 0;
    }

    .aprodap-recovery-close {
        top: 13px;
        right: 13px;
    }

    .aprodap-recovery-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 16px;
        border-radius: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .aprodap-recovery-backdrop,
    .aprodap-recovery-modal {
        animation: none !important;
    }
}
