.c-table{
  width: 100%;
  table-layout: fixed;
  overflow-x: scroll;
  th,
  td{
    font-size: 16px;
    line-height: 24px;   
    border-bottom: 1px solid var(--line-list-primary);
  }
  th{
    background-color: var(--color-bg-operation);
    font-weight: 700;
    letter-spacing: 0.07em;
    color: var(--color-text);
    &.c-table-th{
      padding: 12px 16px;
      .c-table-th-inner{
        cursor: pointer;
        font-weight: inherit;
        display: flex;
        align-items: center;
        gap: 8px;
        &:hover{
          opacity: 0.7;
        }
        .arrow-wrapper{
          width: 24px;
          height: 24px;
          transition: transform 0.3s ease;
          &.descending{
            transform: rotate(180deg);
            transition: transform 0.3s ease;
          }
          .svg{
            width: 100%;
            height: 100%;
          }
        }
      }
    }
    &.c-table-checkbox{
      padding: 12px 16px;
    }
  }
  td{
    background-color: var(--color-white);
    font-weight: 400;
    letter-spacing:0.04em ;
    &.c-table-td{
      padding: 16px;
      &.c-table-link{
        color: var(--color-selected);
        text-decoration: underline;
        span{
          cursor: pointer;
          &:hover{
            opacity: 0.7;
          }
        }
      }
    }
    .svg{
      vertical-align: middle;
      transform: translateY(-50%);
    }
  }
  .c-table-number{
    padding: 19px 18px;
  }
  .c-table-checkbox{
    padding: 16px;
    .c-checkBox-label{
      display: none;
    }
  }
}
.dark{
  .c-table{
    th,
    td{
      border-bottom: 1px solid var(--line-button_gray);
      color: var(--color-white-operation);
    }
    th{
      background-color: var(--color-black-table-operation);
      .c-table-th-inner{
        .arrow-wrapper{
          .svg{
            path{
              stroke: var(--arrow-bg-operation);
            }
          }
        }
      }
    }
    td{
      background-color: var(--color-black-table);
      .c-table-td-inner{
        color: var(--color-white);
      }
      &.c-table-link{
        .c-table-td-inner{
          color: var(--color-link-selected);
        }
      }
    }
  }
}