/* ==========================================================
   POPUP COLABORADORES / INFLUENCERS - PROPUBLI
   Archivo: /css/popup-colaboradores.css
========================================================== */

.pp-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(15, 23, 42, 0.58);
    backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.pp-modal.is-visible {
    display: flex;
}

.pp-modal__box {
    width: 100%;
    max-width: 440px;
    background: #ffffff;
    border-radius: 24px;
    padding: 34px 30px 28px;
    position: relative;
    text-align: center;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.28);
    border: 1px solid rgba(15, 23, 42, 0.08);
    animation: ppModalEnter 0.35s ease forwards;
}

.pp-modal__close {
    position: absolute;
    top: 16px;
    right: 18px;
    width: 34px;
    height: 34px;
    border: 0;
    background: #f1f5f9;
    color: #475569;
    border-radius: 999px;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.pp-modal__close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.pp-modal__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    padding: 7px 14px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
    font-size: 13px;
    font-weight: 700;
}

.pp-modal h2 {
    margin: 0 0 14px;
    color: #0f172a;
    font-size: 27px;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.pp-modal__text {
    margin: 0 0 14px;
    color: #475569;
    font-size: 16px;
    line-height: 1.55;
}

.pp-modal__highlight {
    margin: 0;
    color: #111827;
    font-size: 16px;
    line-height: 1.55;
    font-weight: 700;
}

.pp-modal__actions {
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin: 24px 0 16px;
}

.pp-modal__primary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    border-radius: 14px;
    padding: 15px 20px;
    background: linear-gradient(135deg, #16a34a, #059669);
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    box-shadow: 0 14px 30px rgba(5, 150, 105, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pp-modal__primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(5, 150, 105, 0.34);
}

.pp-modal__secondary {
    border: 0;
    background: transparent;
    color: #64748b;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    padding: 10px;
}

.pp-modal__secondary:hover {
    color: #0f172a;
}

.pp-modal__note {
    margin: 0;
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.45;
}

@keyframes ppModalEnter {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 480px) {
    .pp-modal__box {
        padding: 30px 22px 24px;
        border-radius: 20px;
    }

    .pp-modal h2 {
        font-size: 23px;
    }

    .pp-modal__text,
    .pp-modal__highlight {
        font-size: 15px;
    }
}