/* Manual de acceso APRODAP */
.aprodap-login-manual-button {
    width: 100%;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: transform .2s ease, border-color .2s ease,
        box-shadow .2s ease, background .2s ease;
}

.aprodap-login-manual-button:hover {
    transform: translateY(-2px);
    border-color: #83ddd4;
    background: linear-gradient(145deg, #f2fffd, #eef9ff);
    box-shadow: 0 16px 32px #0f274716;
}

.aprodap-login-manual-button:focus-visible {
    outline: 3px solid #14b8a64d;
    outline-offset: 3px;
}

.aprodap-login-manual-button > i {
    color: #13a89e;
    font-size: 1.9rem;
    transition: transform .2s ease, color .2s ease;
}

.aprodap-login-manual-button:hover > i {
    color: #087f88;
    transform: translate(3px, -3px);
}

.aprodap-login-support-note {
    margin: 9px 0 0;
    color: #718399;
    font-size: .64rem;
    line-height: 1.45;
    text-align: center;
}

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

.aprodap-manual-modal {
    width: min(1460px, 100%);
    height: min(920px, calc(100dvh - 32px));
    min-height: 420px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 26px;
    background: #e8eef4;
    box-shadow: 0 40px 110px rgba(0, 0, 0, .52);
    animation: aprodapManualModalIn .3s cubic-bezier(.2, .9, .25, 1.05) both;
}

.aprodap-manual-header {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 14px 18px 14px 22px;
    color: #fff;
    background:
        radial-gradient(circle at 8% 0, rgba(45, 212, 191, .28), transparent 33%),
        linear-gradient(120deg, #053b47, #07506a 52%, #073556);
}

.aprodap-manual-heading {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 14px;
}

.aprodap-manual-heading > span {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: #d9fffb;
    background: rgba(45, 212, 191, .18);
    border: 1px solid rgba(94, 234, 212, .3);
}

.aprodap-manual-heading > span i {
    font-size: 1.35rem;
}

.aprodap-manual-heading small {
    display: block;
    margin-bottom: 3px;
    color: #8ff5ea;
    font-size: .61rem;
    font-weight: 900;
    letter-spacing: .12em;
}

.aprodap-manual-heading h2 {
    margin: 0;
    overflow: hidden;
    color: #fff;
    font-size: 1.23rem;
    font-weight: 950;
    letter-spacing: -.02em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.aprodap-manual-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.aprodap-manual-actions a,
.aprodap-manual-actions button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 13px;
    color: #fff;
    background: rgba(255, 255, 255, .1);
    font: inherit;
    font-size: .7rem;
    font-weight: 850;
    text-decoration: none;
    cursor: pointer;
    transition: background .18s ease, transform .18s ease;
}

.aprodap-manual-actions a:hover,
.aprodap-manual-actions button:hover {
    color: #fff;
    background: rgba(255, 255, 255, .19);
    transform: translateY(-1px);
}

.aprodap-manual-actions button {
    width: 42px;
    padding: 0;
    border-color: rgba(254, 202, 202, .25);
    background: rgba(239, 68, 68, .16);
}

.aprodap-manual-frame-wrap {
    min-height: 0;
    flex: 1 1 auto;
    background: #dbe4ec;
}

.aprodap-manual-frame {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
    background: #e8eef4;
}

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

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

@media (max-width: 700px) {
    .aprodap-manual-backdrop {
        padding: 0;
    }

    .aprodap-manual-modal {
        width: 100%;
        height: 100dvh;
        min-height: 100dvh;
        border: 0;
        border-radius: 0;
    }

    .aprodap-manual-header {
        min-height: 70px;
        gap: 10px;
        padding: 10px 10px 10px 14px;
    }

    .aprodap-manual-heading {
        gap: 10px;
    }

    .aprodap-manual-heading > span {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
        border-radius: 14px;
    }

    .aprodap-manual-heading small {
        font-size: .52rem;
    }

    .aprodap-manual-heading h2 {
        font-size: 1rem;
    }

    .aprodap-manual-actions {
        gap: 5px;
    }

    .aprodap-manual-actions a,
    .aprodap-manual-actions button {
        width: 40px;
        min-height: 40px;
        padding: 0;
    }

    .aprodap-manual-actions span {
        display: none;
    }
}

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