/* ============================================================
   InverPep - Componentes compartidos
   ============================================================ */

/* ===== Banner ===== */
.inverpep-bannerCard{
  width:100%;
  background:#fff;
  border-radius: 26px;
  border: 3px solid rgba(48,163,106,.30);
  box-shadow: var(--shadow);
  overflow:hidden;
  position:relative;
}

.inverpep-bannerCard::after{
  content:"";
  position:absolute;
  inset:10px;
  border-radius: 18px;
  border: 1px solid rgba(12,84,132,.18);
  pointer-events:none;
}

.inverpep-banner{
  width:100%;
  display:block;
  object-fit:cover;
  max-height:190px;
}

@media (max-width: 991px){
  .inverpep-banner{
    max-height:160px;
  }
}

/* ===== SubRow ===== */
.inverpep-subRow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:16px 2px 18px;
}

.inverpep-subPill{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  border-radius:999px;
  background:#fff;
  border: 1px solid rgba(12,84,132,.14);
  box-shadow: var(--shadow2);
}

.inverpep-dot{
  width:10px;
  height:10px;
  border-radius:999px;
  background:var(--green);
  box-shadow: 0 0 0 5px rgba(48,163,106,.10);
}

.inverpep-subtitle{
  margin:0;
  font-weight:900;
  color:var(--blue);
  letter-spacing:.1px;
  font-size:16px;
}

@media (max-width: 767px){
  .inverpep-subRow{
    flex-direction:column;
    align-items:stretch;
  }
}

/* ===== Top actions ===== */
.inverpep-actionsTop{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}

.inverpep-topBtn{
  height:40px;
  border-radius:14px;
  padding:0 14px;
  border:1px solid rgba(12,84,132,.16);
  background:#fff;
  color:var(--blue);
  font-weight:900;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  gap:10px;
  box-shadow: 0 10px 18px rgba(2,12,27,.06);
  transition: transform .18s ease, box-shadow .18s ease;
  cursor:pointer;
}

.inverpep-topBtn:hover{
  text-decoration:none;
  color:var(--blue);
  transform:translateY(-2px);
  box-shadow:var(--shadow2);
}

.inverpep-topBtn--primary{
  border:0;
  color:#fff;
  background: linear-gradient(90deg, var(--green), var(--blue));
}

/* ===== Help floating button ===== */
.inverpep-help{
  width:34px;
  height:34px;
  border-radius:12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-weight:1000;
  text-decoration:none;
  background: linear-gradient(180deg, var(--green), var(--blue));
  box-shadow: 0 10px 18px rgba(12,84,132,.12);
}

.inverpep-help:hover{
  text-decoration:none;
  color:#fff;
}

/* ===== Cards ===== */
.inverpep-card{
  background:var(--card);
  border:1px solid var(--cardBorder);
  border-radius: 24px;
  box-shadow: var(--shadow2);
  padding:18px;
  margin-bottom:22px;
}

.inverpep-cardTitle{
  display:flex;
  align-items:center;
  gap:10px;
  margin:0 0 16px;
  font-weight:1000;
  color:var(--blue);
  font-size:18px;
  line-height:1.25;
}

.inverpep-ico{
  width:28px;
  height:28px;
  border-radius:12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-weight:1000;
  background: linear-gradient(180deg, var(--green), var(--blue));
  box-shadow: 0 10px 18px rgba(12,84,132,.12);
  flex:0 0 auto;
}

.inverpep-text{
  color:var(--text);
  font-size:15px;
  line-height:1.75;
  margin:0 0 12px;
}

.inverpep-muted{
  color:var(--muted);
}

.inverpep-divider{
  height:1px;
  background: rgba(12,84,132,.10);
  margin:14px 0;
}

.inverpep-actions{
  display:flex;
  gap:12px;
  align-items:center;
  flex-wrap:wrap;
  margin-top:18px;
}

.inverpep-btn{
  min-height:44px;
  padding:0 18px;
  border-radius:14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  text-decoration:none;
  border:0;
  color:#fff;
  font-weight:1000;
  background: linear-gradient(90deg, var(--green), var(--blue));
  box-shadow: 0 12px 24px rgba(12,84,132,.16);
  transition: transform .18s ease, box-shadow .18s ease;
}

.inverpep-btn:hover{
  color:#fff;
  text-decoration:none;
  transform:translateY(-2px);
  box-shadow: var(--shadowHover);
}

.inverpep-btn--ghost{
  background:#fff;
  color:var(--blue);
  border:1px solid rgba(12,84,132,.18);
  box-shadow: 0 10px 18px rgba(2,12,27,.06);
}

.inverpep-btn--ghost:hover{
  color:var(--blue);
}

.inverpep-meta{
  color:var(--muted);
  font-size:14px;
  line-height:1.6;
}

.inverpep-statBox{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}

.inverpep-statLeft{
  display:flex;
  align-items:flex-end;
  gap:10px;
  flex-wrap:wrap;
}

.inverpep-statValue{
  font-size:60px;
  font-weight:1000;
  line-height:1;
  color:var(--blue);
}

.inverpep-statLabel{
  font-size:16px;
  font-weight:1000;
  color:var(--green);
  margin-bottom:8px;
}

.inverpep-tag{
  padding:8px 12px;
  border-radius:999px;
  color:#fff;
  font-size:12px;
  font-weight:1000;
  background: linear-gradient(90deg, var(--green), var(--blue));
  white-space:nowrap;
}

.inverpep-miniRow{
  display:flex;
  justify-content:space-between;
  gap:12px;
  color:var(--muted);
  font-size:14px;
}

.inverpep-citation{
  margin:0;
  color:var(--text);
  line-height:1.8;
  font-size:15px;
}

@media (max-width: 767px){
  .inverpep-card{
    padding:16px;
    border-radius:20px;
  }

  .inverpep-statValue{
    font-size:46px;
  }

  .inverpep-statBox{
    flex-direction:column;
    align-items:flex-start;
  }

  .inverpep-miniRow{
    flex-direction:column;
    gap:4px;
  }
}