/* =========================================================
   POPUP REPORTAR APORTE — post-public.html
========================================================= */

.pr-overlay {
    position: fixed;
    inset: 0;
    background: rgba(4, 8, 20, 0.85);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
    animation: prFadeIn 0.2s ease;
}

.pr-overlay.hidden {
    display: none;
}

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

.pr-popup {
    background: #111827;
    border: 1px solid #1e2d45;
    border-radius: 20px;
    width: 100%;
    max-width: 420px;
    padding: 32px 36px;
    position: relative;
    animation: prSlideUp 0.25s ease;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes prSlideUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

.pr-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: transparent;
    border: none;
    color: #475569;
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.15s;
}

.pr-close:hover { color: #94a3b8; }

.pr-logo {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.5px;
    margin-bottom: 18px;
}

.pr-logo span { color: #00bcd4; }

.pr-title {
    font-size: 20px;
    font-weight: 700;
    color: #f59e0b;
    margin: 0 0 6px;
}

.pr-subtitle {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin: 0 0 20px;
}

.pr-field {
    margin-bottom: 14px;
}

.pr-field label {
    display: block;
    font-size: 11.5px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.pr-field input,
.pr-field select,
.pr-field textarea {
    width: 100%;
    background: #0d1829;
    border: 1px solid #1e2d45;
    border-radius: 10px;
    padding: 10px 14px;
    color: #f1f5f9;
    font-size: 13.5px;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.pr-field input:focus,
.pr-field select:focus,
.pr-field textarea:focus {
    outline: none;
    border-color: #f59e0b;
}

.pr-field select option {
    background: #0d1829;
    color: #f1f5f9;
}

.pr-field textarea { resize: vertical; }

.pr-submit {
    width: 100%;
    background: #f59e0b;
    color: #04111f;
    font-size: 14.5px;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    padding: 13px;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 4px;
}

.pr-submit:hover { background: #fbbf24; }
.pr-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.pr-message {
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    margin-bottom: 14px;
    text-align: center;
}

.pr-message.success {
    background: rgba(34,197,94,.12);
    color: #22c55e;
    border: 1px solid rgba(34,197,94,.25);
}

.pr-message.error {
    background: rgba(239,68,68,.12);
    color: #ef4444;
    border: 1px solid rgba(239,68,68,.25);
}

/* Botón deshabilitado cuando ya hay un reporte activo */
.report-btn:disabled,
.report-btn.is-reported {
    opacity: 0.45;
    cursor: not-allowed;
    border-color: #475569;
    color: #475569;
}
