.total-volume-card {
  width: 100%;
  background: rgba(26, 26, 46, 0.95);
  border: 1px solid rgba(249, 115, 22, 0.3);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  box-sizing: border-box;
  min-width: 340px;
  max-width: 380px;
  min-height: 80px;
  max-height: 120px;
}

.total-volume-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(249, 115, 22, 0.15);
  border: 1px solid rgba(249, 115, 22, 0.3);
  padding: 5px;
  flex-shrink: 0;
}

.total-volume-card__icon svg {
  width: 20px;
  height: 20px;
  color: #f97316;
}

.total-volume-card__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.total-volume-card__title {
  font-weight: 800;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.2;
  margin: 0;
}

.total-volume-card__subtitle {
  font-size: 10px;
  color: #f97316;
  margin: 0;
  line-height: 1;
  padding: 0;
}

.total-volume-card__amount {
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  margin-left: auto;
}

.total-volume-card__value {
  font-weight: 700;
  font-size: 20px;
  color: #ffffff;
  line-height: 1;
}

.total-volume-card__unit {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
}

/* Remove constraints on screens under 400px */
@media (max-width: 400px) {
  .total-volume-card {
    min-width: unset;
    max-width: unset;
    min-height: unset;
    max-height: unset;
  }
}

