// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
//
// Copyright (c) KALEIDOS INC

@import "refactor/common-refactor.scss";

.modal-overlay {
  @extend .modal-overlay-base;
}

.modal-container {
  @extend .modal-container-base;
  border: $s-1 solid var(--modal-border-color);
}

.modal-header {
  margin-bottom: $s-24;
}

.modal-title {
  @include tabTitleTipography;
  color: var(--modal-title-foreground-color);
}

.modal-close-btn {
  @extend .modal-close-btn-base;
}

.modal-content {
  margin-bottom: $s-24;
}

.group-name-input {
  @extend .input-element-label;
  label {
    @include flexColumn;
    @include titleTipography;
    align-items: flex-start;
    width: 100%;
    border: none;
    background-color: transparent;
    height: 100%;

    input {
      @include titleTipography;
      margin-top: $s-8;
    }
  }
}

.action-buttons {
  @extend .modal-action-btns;
}

.cancel-button {
  @extend .modal-cancel-btn;
}
.accept-btn {
  @extend .modal-accept-btn;
  &.danger {
    @extend .modal-danger-btn;
  }
}
