.report-task {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;

  .toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 4px;
    padding: 12px 16px;

    .create-btn {
      background: rgba(0, 212, 138, 1);
      border-color: rgba(0, 212, 138, 1);
      color: #fff;
      height: 32px;
      font-size: 14px;
      padding: 0 14px;

      &:hover {
        background: rgba(0, 232, 151, 1);
        border-color: rgba(0, 232, 151, 1);
      }
    }

    .filter-group {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 12px;

      .filter-item {
        display: inline-flex;
        align-items: center;
        gap: 8px;

        .filter-label {
          color: #666;
          font-size: 14px;
          white-space: nowrap;
        }

        .filter-control {
          width: 180px;
        }

        .ant-picker-range {
          width: 260px;
        }
      }

      .ant-btn-primary {
        background: #1890ff;
        border-color: #1890ff;

        &:hover {
          background: #40a9ff;
          border-color: #40a9ff;
        }
      }
    }
  }

  .table-wrapper {
    flex: 1;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 4px;
    padding: 12px 16px 16px;
    overflow: hidden;

    .ant-table {
      .status-tag {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        border: none;
        border-radius: 2px;
        height: 26px;
        padding: 0 10px;
        font-size: 12px;
      }

      .status-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        display: inline-block;
        background: currentColor;
      }

      .type-tag {
        border: none;
        border-radius: 2px;
        padding: 2px 10px;
        font-size: 12px;
      }

      .type-monthly {
        background: #d6f4f1;
        color: #0a9c8c;
      }

      .type-annual {
        background: #ffe3e0;
        color: #d4380d;
      }

      .action-links {
        display: inline-flex;
        align-items: center;
        gap: 4px;

        .ant-btn-link {
          padding: 0 6px;
        }
      }
    }
  }


}
// Drawer is rendered to body portal, so style globally
:global(.detail-drawer) {
  width: 100%;
  height: calc(100vh - 160px);
  overflow: auto;
  display: flex;
  justify-content: center;

  img {
    width: 200px !important;
    height: auto;
    object-fit: contain;
    vertical-align: middle !important;
    border-style: none !important;
    box-shadow: none;
  }
}
