/**
 * OPP56 – PD Inline Embed
 * Look oscuro tipo VTO. Sin position:fixed, sin z-index global alto.
 */
#opp-pd-inline {
    position: relative;
    width: 100%;
}

.opp-pd-inline-wrapper {
    position: relative;
    width: 100%;
    min-height: 420px;
    background: #111;
    border-radius: 8px;
    overflow: hidden;
}

@media (max-width: 767px) {
    .opp-pd-inline-wrapper {
        min-height: 360px;
    }
}

.opp-pd-inline-iframe-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: inherit;
}

#opp-pd-inline .opp-pd-inline-iframe-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.opp-pd-inline-confirmation {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    padding: 10px 14px;
    background: rgba(0, 0, 0, 0.8);
    color: #4ade80;
    font-size: 14px;
    border-radius: 6px;
    text-align: center;
}

/* OPP92: PD overlay elegante (mantener estética institucional) */
#opp-pd-inline {
    position: relative;
    width: 100%;
    min-height: 420px;
}

#opp-pd-inline .opp-pd-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.35);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    border-radius: 18px;
    z-index: 50;
    padding: 20px;
}

#opp-pd-inline .opp-pd-start-btn {
    appearance: none;
    border: 2px solid #e02424;
    background: rgba(255,255,255,.92);
    color: #e02424;
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
    padding: 14px 18px;
    border-radius: 14px;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(0,0,0,.18);
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}

#opp-pd-inline .opp-pd-start-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 40px rgba(0,0,0,.22);
    background: #fff;
}

#opp-pd-inline .opp-pd-start-btn:active {
    transform: translateY(0);
    box-shadow: 0 10px 25px rgba(0,0,0,.18);
}

#opp-pd-inline .opp-pd-start-btn:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(224,36,36,.18), 0 12px 30px rgba(0,0,0,.18);
}

@media (max-width: 480px) {
    #opp-pd-inline .opp-pd-start-btn {
        width: 100%;
        max-width: 320px;
    }
}
