.arraysubs-easy-setup {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 720px;

  &__card {
    background: #fff;
    border: 1px solid #c3c4c7;
    padding: 24px;
    border-radius: 4px;

    &-header {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 8px;

      h3 {
        margin: 0;
        font-size: 15px;
      }
    }

    &-description {
      color: #50575e;
      margin: 0 0 16px;
    }
  }

  &__textarea {
    width: 100%;
    min-height: 180px;
    font-family: monospace;
    font-size: 12px;
    margin-bottom: 8px;
    resize: vertical;
  }

  &__file-picker {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
  }

  &__file-input {
    display: none;
  }

  &__file-divider {
    color: #757575;
    font-size: 13px;
  }

  &__error {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #d63638;
    margin-bottom: 12px;
    font-size: 13px;
  }

  &__meta {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: #f0f6fc;
    border: 1px solid #c5d9ed;
    padding: 10px 12px;
    border-radius: 4px;
    margin-bottom: 12px;
    font-size: 13px;

    > div {
      display: flex;
      flex-wrap: wrap;
    }
  }

  &__note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: #fcf9e8;
    border: 1px solid #dba617;
    padding: 10px 12px;
    border-radius: 4px;
    margin-bottom: 16px;
    font-size: 13px;
    color: #6e4e00;
  }

  &__sections {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
  }

  &__section-toggle-all,
  &__section-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 10px;
    cursor: pointer;

    input[type="checkbox"] {
      margin-top: 3px;
    }

    > div {
      display: flex;
      flex-direction: column;
    }
  }

  &__section-item {
    border: 1px solid #dcdcde;
    border-radius: 4px;

    &:hover {
      background: #f6f7f7;
    }
  }

  &__section-desc {
    font-size: 12px;
    color: #757575;
    margin-top: 2px;
  }

  &__actions {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  &__importing {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 0;

    .spinner {
      float: none;
      margin: 0;
    }
  }

  &__result {
    border: 1px solid #00a32a;
    background: #edfaef;
    padding: 16px;
    border-radius: 4px;
    margin-top: 12px;

    &-header {
      display: flex;
      align-items: center;
      gap: 8px;
      color: #00a32a;
      margin-bottom: 12px;
    }

    &-section {
      margin-bottom: 8px;
      font-size: 13px;

      ul {
        margin: 4px 0 0 20px;
        list-style: disc;
      }
    }

    &-warnings {
      display: flex;
      align-items: flex-start;
      gap: 6px;
      color: #996800;
      font-size: 13px;
      margin-bottom: 8px;

      ul {
        margin: 0;
        list-style: none;
        padding: 0;
      }
    }
  }

  &__confirm {
    &-warning {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      padding: 16px;
      background: #fcf9e8;
      border: 1px solid #dba617;
      border-radius: 4px;
      margin-bottom: 16px;

      svg {
        flex-shrink: 0;
        color: #996800;
      }

      p {
        margin: 0;
        font-size: 13px;
        color: #6e4e00;
      }
    }

    &-actions {
      display: flex;
      justify-content: flex-end;
      gap: 12px;
    }

    &-btn {
      background: #d63638 !important;
      border-color: #d63638 !important;

      &:hover {
        background: #b32d2e !important;
        border-color: #b32d2e !important;
      }
    }
  }
}
