.section-title-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  margin-right: 8px;
  color: rgba(185, 227, 255, 0.95);
}

.section-title-icon.small {
  width: 16px;
  height: 16px;
  margin-right: 6px;
}

.section-title-icon svg {
  width: 100%;
  height: 100%;
}

#details-modal .modal-content {
  max-width: 560px;
}

.details-summary {
  margin-bottom: 14px;
}

.details-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.details-stat {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.details-stat .k {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
}

.details-stat .v {
  font-size: 15px;
  font-weight: 700;
  color: #eaf7ff;
}

.details-list {
  max-height: 320px;
  overflow-y: auto;
  padding-right: 4px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 12px;
}

.detail-row + .detail-row {
  margin-top: 8px;
}

.detail-type {
  font-size: 13px;
  color: #ffffff;
}

.detail-date {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
}

.detail-amount {
  font-weight: 700;
}

.detail-amount.pos {
  color: #62d77f;
}

.detail-amount.neg {
  color: #ff7f8f;
}

.details-empty,
.details-loading,
.details-error {
  padding: 20px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  text-align: center;
}
