/* ==============================
   INVOICES RIGHT PANEL
   ============================== */

.rpPanelWrap[data-panel-key="invoices"]{
  width: 100%;
}

.rpPanelWrap[data-panel-key="invoices"] .rp-card{
  border-radius: 18px;
  padding: 14px;
  background: rgba(20,18,40,.48);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow:
    0 14px 34px rgba(0,0,0,.30),
    inset 0 1px 0 rgba(255,255,255,.05);
}

.rpPanelWrap[data-panel-key="invoices"] .rp-card__header{
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.rpPanelWrap[data-panel-key="invoices"] .rp-title{
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  color: rgba(255,255,255,.96);
}

.rpPanelWrap[data-panel-key="invoices"] .rp-subtitle{
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255,255,255,.66);
}

.rpPanelWrap[data-panel-key="invoices"] .rp-card__body{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rpPanelWrap[data-panel-key="invoices"] .rp-kpi{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.rpPanelWrap[data-panel-key="invoices"] .rp-kpi__item{
  border-radius: 16px;
  padding: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.rpPanelWrap[data-panel-key="invoices"] .rp-kpi__label{
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2px;
  color: rgba(255,255,255,.68);
}

.rpPanelWrap[data-panel-key="invoices"] .rp-kpi__value{
  margin-top: 8px;
  font-size: 28px;
  line-height: 1;
  font-weight: 800;
  color: rgba(255,255,255,.98);
}

.rpPanelWrap[data-panel-key="invoices"] .rp-section{
  border-radius: 16px;
  padding: 14px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
}

.rpPanelWrap[data-panel-key="invoices"] .rp-section__title{
  font-size: 13px;
  font-weight: 800;
  color: rgba(255,255,255,.90);
  margin-bottom: 12px;
}

.rpPanelWrap[data-panel-key="invoices"] .rp-list{
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: rgba(255,255,255,.74);
  font-size: 13px;
  line-height: 1.5;
}

.rpPanelWrap[data-panel-key="invoices"] .rp-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.rpPanelWrap[data-panel-key="invoices"] .rp-btn{
  appearance: none;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.94);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition:
    transform .12s ease,
    background .12s ease,
    border-color .12s ease,
    box-shadow .12s ease;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

.rpPanelWrap[data-panel-key="invoices"] .rp-btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.18);
}

.rpPanelWrap[data-panel-key="invoices"] .rp-btn:active{
  transform: translateY(0);
}

.rpPanelWrap[data-panel-key="invoices"] .rp-btn--ghost{
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.09);
}

@media (max-width: 560px){
  .rpPanelWrap[data-panel-key="invoices"] .rp-kpi{
    grid-template-columns: 1fr;
  }

  .rpPanelWrap[data-panel-key="invoices"] .rp-actions{
    flex-direction: column;
  }

  .rpPanelWrap[data-panel-key="invoices"] .rp-btn{
    width: 100%;
    justify-content: center;
  }
}
