.main-div {
  width: 100%;
}

.scroll-bar {
  display: block;
  overflow-y: scroll;
  overflow-x: hidden;
  max-height: 80vh;
  scrollbar-width: thin;
  border-radius: 6px;
}

.ctc-radio-div {
  display: flex;
  flex-direction: row;
  margin-top: 20px;
  margin-bottom: 15px;
  font-size: 12px;
  align-items: center;
}

.radio-div {
  padding-left: 10px;
  display: flex;
  align-items: center;
  height: 24px;
}

.check-div {
  margin-left: 30px;
  height: 24px;
  display: flex;
  align-items: center;
}

input[type='checkbox'] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 16px;
  height: 16px;
  border: 2px solid var(--radio-checked-border);
  border-radius: 3px;
  background-color: var(--bg-surface);
  cursor: pointer;
  position: relative;
}

input[type='checkbox']:checked {
  background-color: var(--radio-checked-dot);
}

input[type='checkbox']:checked::after {
  content: '';
  position: absolute;
  top: 1px;
  left: 4px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkboxstyle {
  padding-left: 5px;
  color: var(--text-secondary);
}

.pointer-cursor {
  cursor: pointer;
}

.export-div {
  display: flex;
  margin-right: 10px;
  margin-left: auto;
  height: 24px;
}

button {
  margin-left: 10px;
  color: #fff;
  background-color: var(--button-primary-bg-default);
  width: 90px;
  height: 24px;
  border-radius: 6px;
  font-size: 12px;
  align-items: center;
  justify-content: center;
}

button:hover {
  background-color: var(--button-primary-bg-hover);
}
@media screen and (max-width: 768px) {
  :host ::ng-deep .main-div.scroll-bar {
    overflow-x: visible !important;
    overflow-y: visible !important;
    max-height: none !important;
  }

  :host ::ng-deep .ctc-radio-div {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    height: auto !important;
    width: 100% !important;
    gap: 12px !important;
    padding: 0 10px !important;
    box-sizing: border-box !important;
  }

  :host ::ng-deep .radio-div {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    height: auto !important;
    width: 100% !important;
    padding-left: 0 !important;
    gap: 10px !important;
  }

  :host ::ng-deep .radio-div > div:first-child {
    font-weight: 600 !important;
    margin-bottom: 2px !important;
  }

  :host ::ng-deep .radio-div {
    display: grid !important;
    grid-template-columns: max-content 1fr 1fr !important;
    grid-template-areas:
      'label label label'
      'c1 c1 c1'
      'c2 c2 c2' !important;
  }

  :host ::ng-deep .radio-div > div:first-child {
    grid-column: 1 / -1 !important;
  }

  :host ::ng-deep .radio-div .check-div {
    margin: 0 !important;
    height: auto !important;
    display: flex !important;
    align-items: center !important;
  }

  :host ::ng-deep .radio-div {
    display: flex !important;
    flex-direction: column !important;
  }

  :host ::ng-deep .radio-div .checkbox-row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
    row-gap: 10px !important;
    width: 100% !important;
  }

  :host ::ng-deep .export-div {
    display: flex !important;
    flex-direction: row !important;
    width: 100% !important;
    margin: 0 !important;
    height: auto !important;
    gap: 10px !important;
  }

  :host ::ng-deep .export-div button {
    flex: 1 1 0 !important;
    width: auto !important;
    margin: 0 !important;
    height: 36px !important;
    font-size: 13px !important;
  }
}

@media screen and (max-width: 340px) {
  :host ::ng-deep .export-div {
    flex-direction: column !important;
  }
  :host ::ng-deep .export-div button {
    width: 100% !important;
  }
}
