.c-toggle-wrap {
  &.c-toggle-wrap--disabled {
    opacity: 40%;
    pointer-events: none;
  }

  .c-toggle-inner {
    display: flex;
    align-items: center;
  }
  .c-toggle {
    display: inline-block;
    appearance: none;
    width: 48px;
    height: 28px;
    border-radius: 15px;
    background-color: var(--color-icon-normal-operation);
    border: 1px solid var(--color-icon-normal-operation);
    cursor: pointer;
    position: relative;
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    letter-spacing: var(--letter-spacing-base);
    &::before {
      content: '';
      display: block;
      width: 24px;
      height: 24px;
      background-color: var(--color-white);
      border-radius: 50%;
      cursor: pointer;
      transition: left 0.3s ease, background-color 0.3s ease;
      position: absolute;
      top: 1px;
      left: 1px;
    }
    &:checked {
      background-color: var(--color-selected);
      border: 1px solid var(--color-selected);
      &::before {
        left: 21px;
      }
    }
  }

  .c-toggle-label {
    padding-left: 12px;
    cursor: pointer;
  }
  .c-toggle-error {
    font-size: 12px;
    margin-top: 6px;
    margin-bottom: 0px;
    color: var(--color-emergency);
  }
}
.dark{
  .c-toggle{
    background-color: var(--checkbox);
    border: 1px solid var(--checkbox);
  }
}