
.stats-container {
  display: flex;
  flex-direction: column;
  gap: 16px;

  ::ng-deep {
    .ant-table {
      background: white;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);

      .ant-table-thead > tr > th {
        background: #fafafa;
        color: #262626;
        font-weight: 600;
        border-bottom: 2px solid #f0f0f0;
      }

      .ant-table-tbody > tr {
        &:hover {
          td {
            background: #e6f7ff;
          }
        }

        td {
          transition: background 0.3s ease;
        }

        &:last-child td {
          border-bottom: none;
        }
      }
    }
  }

  .action-buttons {
    display: flex;
    justify-content: flex-end;
    margin-top: 16px;
    
    .ant-btn {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 8px 16px;
      height: auto;
      border-radius: 4px;
      transition: all 0.3s ease;

      &:hover {
        transform: translateY(-1px);
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
      }

      i {
        font-size: 16px;
      }
    }
  }
}

::ng-deep {
  .ant-empty {
    padding: 40px 0;

    .ant-empty-image {
      height: 80px;
    }

    .ant-empty-description {
      color: #8c8c8c;
      font-size: 14px;
    }

    .ant-empty-footer {
      margin-top: 24px;

      .ant-btn {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 8px 16px;
        height: auto;
        border-radius: 4px;
        transition: all 0.3s ease;

        &:hover {
          transform: translateY(-1px);
          box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
        }

        i {
          font-size: 16px;
        }
      }
    }
  }
}

// Responsive adjustments
@media (max-width: 768px) {
  .stats-container {
    ::ng-deep {
      .ant-table {
        .ant-table-thead > tr > th,
        .ant-table-tbody > tr > td {
          padding: 12px 8px;
          font-size: 14px;
        }
      }
    }
  }
}