@use "src/styles/framework" as *;

.feedback-form {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;

  z-index: 1009;

  display: flex;
  justify-content: center;
  align-items: center;

  padding: 24px;

  background-color: $dark-blue-opacity;

  @include mobile() {
    padding: $space-m;
  }

  &__iframe {
    width: 640px;
    height: 480px;

    @include mobile() {
      height: 100%;
    }
  }

  &__close {
    position: absolute;
    top: 24px;
    right: 24px;

    display: none;
    width: 40px;
    height: 40px;

    background-color: transparent;

    border: none;
    color: white;

    @include mobile() {
      display: flex;
      align-items: center;
      justify-content: center;
    }

    svg {
      width: 28px;
      height: 28px;
    }
  }
}
