.loader {
  transform: translate(-50%, -50%);
  position: absolute;
  top: 50%;
  left: 50%;
}

.upload-button {
  position: fixed;
  top: 32px;
  right: 32px;
  z-index: 3000;
}

.toast-container {
  position: fixed;
  bottom: calc(0dvh + 16px);
  width: 100%;
  z-index: 3000;
  padding: 0 16px;
}

.toast-content {
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
  justify-content: space-between;

  &>button,
  &>.buttons-container>button,
  &>.toast-buttons-container>button {
    padding: 6px 18px;
    border: none;
    background-color: #fff;
    color: #000;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
  }

  &>.buttons-container>button {
    width: 100%;
  }

  &>.buttons-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  &>.toast-buttons-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
}

.buttonUpload {
  padding: 0 !important;
}

.labelUpload {
  display: block;
  padding: 6px 18px;
  width: 100%;
  height: 100%;
}

.modal {
  z-index: 4000;
}

.modal-container {
  max-width: 290px;
  padding: 24px 0px 0px;
  overflow: hidden;


  &>.modal-title {
    font-weight: 600;
    margin-bottom: 16px;
    padding-inline: 32px;
  }

  &>.modal-answers {
    display: flex;
    flex-direction: row;
    margin-top: 24px;
    border-top: 1px solid #D9D9D9;

    &>.modal-answer {
      width: 50%;
      height: 52px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #275DA7;
      font-weight: 600;
      cursor: pointer;

      &:first-child {
        border-right: 1px solid #D9D9D9;
      }
    }
  }
}

:global(.dark-theme) .modal-container {
  background-color: #343639;
}