/* ============================================================
   SearchMAS — plataforma-reputacion.css
   Estilos del template Reputación (plataforma de gestión)
   Depende de producto.css (clases tp-* compartidas)
   ============================================================ */

/* ── Hero: badge y H1 más chicos para evitar wrap excesivo ── */
.tp-hero .tp-tag { font-size: 12px; }
.tp-hero .tp-h1  { font-size: clamp(24px, 2.8vw, 44px); }

/* ── Review Monitor Panel ─────────────────────────────────── */
.prp-panel {
    background: #0f1520;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 16px;
    overflow: hidden;
    width: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 40px 80px rgba(0,0,0,.5);
}
.prp-chrome {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(255,255,255,.04);
    border-bottom: 1px solid rgba(255,255,255,.07);
}
.prp-chrome-dots { display: flex; gap: 5px; }
.prp-chrome-dots span { width: 8px; height: 8px; border-radius: 50%; }
.prp-chrome-dots span:nth-child(1) { background: #FF5F57; }
.prp-chrome-dots span:nth-child(2) { background: #FEBC2E; }
.prp-chrome-dots span:nth-child(3) { background: #28C840; }
.prp-chrome-url {
    flex: 1;
    font-size: 10px;
    color: rgba(255,255,255,.32);
    text-align: center;
    font-family: monospace;
    letter-spacing: .3px;
}
.prp-agent-live {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 9px;
    font-weight: 700;
    color: #00d4aa;
    letter-spacing: .5px;
    white-space: nowrap;
}
.prp-alive-dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: #00d4aa;
    animation: pulseDot 1.5s ease-in-out infinite;
    flex-shrink: 0;
}

/* Panel body */
.prp-panel-body {
    padding: 12px 12px 10px;
    display: flex;
    flex-direction: column;
}
.prp-panel-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 10px;
    gap: 8px;
}
.prp-pt-left { display: flex; flex-direction: column; gap: 2px; }
.prp-pt-title { font-size: 12px; font-weight: 700; color: #fff; }
.prp-pt-sub   { font-size: 10px; color: rgba(255,255,255,.32); }

.prp-alert-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 9px;
    font-weight: 700;
    background: rgba(255,95,87,.1);
    color: #FF5F57;
    border: 1px solid rgba(255,95,87,.22);
    border-radius: 100px;
    padding: 3px 8px;
    white-space: nowrap;
    flex-shrink: 0;
}
.prp-alert-dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: #FF5F57;
    animation: pulseDot 1.5s ease-in-out infinite;
    flex-shrink: 0;
}

/* Review rows */
.prp-review-list { display: flex; flex-direction: column; }
.prp-review-row {
    display: flex;
    flex-direction: column;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
    gap: 4px;
}
.prp-rr-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}
.prp-rr-left {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}
.prp-stars { display: flex; gap: 2px; flex-shrink: 0; }
.prp-star  { width: 7px; height: 7px; border-radius: 1px; }
.prp-star-full  { background: #FBBC05; }
.prp-star-empty { background: rgba(255,255,255,.15); }

.prp-plat-badge {
    font-size: 8px;
    font-weight: 700;
    border-radius: 4px;
    padding: 1px 5px;
    flex-shrink: 0;
}
.prp-pb-google { background: rgba(66,133,244,.14); color: #4285F4; }
.prp-pb-apple  { background: rgba(52,199,89,.12);  color: #34C759; }
.prp-pb-bing   { background: rgba(0,120,212,.12);  color: #0078D4; }

.prp-loc-name {
    font-size: 9px;
    font-weight: 600;
    color: rgba(255,255,255,.7);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 110px;
}
.prp-review-status {
    font-size: 9px;
    font-weight: 600;
    border-radius: 100px;
    padding: 2px 7px;
    letter-spacing: .3px;
    white-space: nowrap;
    flex-shrink: 0;
}
.prp-s-responded { background: rgba(0,212,170,.1);  color: #00d4aa; border: 1px solid rgba(0,212,170,.22); }
.prp-s-pending   { background: rgba(251,188,5,.1);   color: #FBBC05; border: 1px solid rgba(251,188,5,.22); }
.prp-s-critical  { background: rgba(255,95,87,.1);   color: #FF5F57; border: 1px solid rgba(255,95,87,.22); }

.prp-review-text {
    font-size: 9px;
    color: rgba(255,255,255,.32);
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Metrics bar */
.prp-panel-mets {
    display: flex;
    justify-content: space-between;
    padding: 10px 0 2px;
    border-top: 1px solid rgba(255,255,255,.07);
    margin-top: 6px;
}
.prp-pmet {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    flex: 1;
    padding: 0 4px;
    border-right: 1px solid rgba(255,255,255,.06);
}
.prp-pmet:last-child { border-right: none; }
.prp-pmet-val {
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -.5px;
    line-height: 1;
}
.prp-pmet-teal .prp-pmet-val { color: #00d4aa; }
.prp-pmet-lbl {
    font-size: 8px;
    color: rgba(255,255,255,.32);
    text-align: center;
    line-height: 1.3;
}

/* ── Funcionalidades: 4 cards en 2×2 ─────────────────────────*/
.tp-cap-grid {
    grid-template-columns: repeat(2, 1fr);
}

/* ── Funcionalidades: feature list (bullets en sección oscura) */
.prp-feat-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 1.5rem;
}
.prp-feat-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.prp-feat-icon {
    flex-shrink: 0;
    margin-top: 2px;
}
.prp-feat-text {
    font-size: 14px;
    color: rgba(255,255,255,.65);
    line-height: 1.65;
    margin: 0;
}

/* ── Callout: feedback → tráfico (pre-form) ───────────────── */
.prp-callout {
    background: rgba(0,212,170,.06);
    border: 1px solid rgba(0,212,170,.18);
    border-radius: 16px;
    padding: 32px 40px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.prp-callout-title {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
    margin: 0 0 12px;
}
.prp-callout-title em { font-style: normal; color: #00d4aa; }
.prp-callout-desc {
    font-size: 15px;
    color: rgba(255,255,255,.55);
    line-height: 1.7;
    margin: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 640px) {
    .prp-callout { padding: 24px 20px; }
    .prp-callout-title { font-size: 18px; }
    .tp-cap-grid { grid-template-columns: 1fr; }
}
