.data-state-panel.ant-card {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(125, 211, 252, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.96) 100%);
  box-shadow:
    0 18px 40px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

.data-state-panel .ant-card-body {
  padding: 22px;
}

.data-state-panel__inner {
  min-width: 0;
}

.data-state-panel__hero {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}

.data-state-panel__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 10px 24px rgba(15, 23, 42, 0.08);
  color: #0f172a;
  font-size: 20px;
  flex-shrink: 0;
}

.data-state-panel__copy {
  min-width: 0;
  flex: 1 1 auto;
}

.data-state-panel__title.ant-typography,
.data-state-panel__title--compact.ant-typography {
  margin: 0;
}

.data-state-panel__description.ant-typography {
  margin: 0;
  line-height: 1.6;
  word-break: break-word;
}

.data-state-panel__content {
  min-width: 0;
}

.data-state-panel__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.data-state-panel__skeleton .ant-skeleton {
  width: 100%;
}

.data-state-panel--compact {
  border-radius: 18px;
}

.data-state-panel--compact .ant-card-body {
  padding: 16px;
}

.data-state-panel--compact .data-state-panel__hero {
  gap: 12px;
}

.data-state-panel--compact .data-state-panel__icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  font-size: 16px;
}

.data-state-panel--loading {
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(241, 245, 249, 0.96) 100%);
}

.data-state-panel--loading .data-state-panel__icon {
  color: #2563eb;
}

.data-state-panel--empty {
  background:
    radial-gradient(circle at top left, rgba(226, 232, 240, 0.56), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.96) 100%);
}

.data-state-panel--empty .data-state-panel__icon {
  color: #475569;
}

.data-state-panel--error {
  background:
    radial-gradient(circle at top left, rgba(254, 202, 202, 0.48), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(254, 242, 242, 0.94) 100%);
}

.data-state-panel--error .data-state-panel__icon {
  color: #dc2626;
}

.data-state-panel--ready {
  background:
    radial-gradient(circle at top left, rgba(187, 247, 208, 0.46), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 253, 244, 0.94) 100%);
}

.data-state-panel--ready .data-state-panel__icon {
  color: #16a34a;
}

@media (max-width: 768px) {
  .data-state-panel.ant-card {
    border-radius: 20px;
  }

  .data-state-panel .ant-card-body {
    padding: 18px;
  }

  .data-state-panel__hero {
    gap: 12px;
  }

  .data-state-panel__icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    font-size: 18px;
  }

  .data-state-panel__actions {
    width: 100%;
  }

  .data-state-panel__actions .ant-btn {
    flex: 1 1 140px;
  }
}
