@font-face {
  font-family: "Read Aim Noto Bengali";
  src: url("../vendor/fonts/NotoSansBengali-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Read Aim Noto Bengali";
  src: url("../vendor/fonts/NotoSansBengali-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

.ra-pdf-forms {
  --ra-white: #ffffff;
  --ra-title: #0907aa;
  --ra-navy: #010022;
  --ra-deep-blue: #05014e;
  --ra-blue: #1710ef;
  --ra-purple: #8114dc;
  --ra-violet: #a21fff;
  --ra-lilac: #c88df0;
  --ra-focus: #5d7cff;
  width: 100%;
  padding: clamp(3.25rem, 4vw, 3.9rem) 1.25rem;
  overflow: hidden;
  color: #11113a;
  background: var(--ra-white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.4;
}

.ra-pdf-forms,
.ra-pdf-forms * {
  box-sizing: border-box;
}

.ra-pdf-forms button,
.ra-pdf-forms input,
.ra-pdf-forms textarea,
.ra-pdf-forms select,
.ra-pdf-forms a {
  font: inherit;
}

.ra-pdf-forms [hidden] {
  display: none !important;
}

.ra-pdf-forms__heading {
  width: min(100%, 62.5rem);
  margin: 0 auto 2.65rem;
  padding-inline-start: clamp(0rem, 7.5vw, 7.45rem);
}

.ra-pdf-forms__brand {
  width: max-content;
  max-width: 100%;
  margin: 0 0 0.1rem;
  color: #6977ff;
  background: linear-gradient(90deg, #5f7cff 0%, #9f63f2 57%, #db5acb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  -webkit-text-fill-color: transparent;
}

.ra-pdf-forms__title {
  max-width: 100%;
  margin: 0;
  color: var(--ra-title);
  font-size: clamp(3rem, 4.4vw, 4.4rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.ra-pdf-forms__dropzone {
  position: relative;
  display: flex;
  min-height: 20rem;
  width: min(100%, 62.5rem);
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding: 2.7rem;
  overflow: hidden;
  border: 0.125rem solid transparent;
  border-radius: 3.25rem;
  outline: none;
  background:
    radial-gradient(circle at 50% 115%, rgba(38, 30, 255, 0.82), transparent 58%),
    linear-gradient(180deg, var(--ra-navy) 0%, var(--ra-deep-blue) 53%, var(--ra-blue) 100%);
  box-shadow: inset 0 -0.2rem 1rem rgba(56, 34, 255, 0.24);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.ra-pdf-forms__dropzone::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0;
  background: rgba(126, 68, 255, 0.12);
  transition: opacity 180ms ease;
}

.ra-pdf-forms__dropzone:focus-visible,
.ra-pdf-forms__dropzone.is-dragging {
  border-color: #a64dff;
  box-shadow: 0 0 0 0.32rem rgba(135, 60, 255, 0.18), inset 0 -0.2rem 1rem rgba(56, 34, 255, 0.24);
}

.ra-pdf-forms__dropzone.is-dragging {
  transform: translateY(-0.15rem);
}

.ra-pdf-forms__dropzone.is-dragging::before {
  opacity: 1;
}

.ra-pdf-forms__input {
  position: absolute !important;
  width: 0.0625rem !important;
  height: 0.0625rem !important;
  padding: 0 !important;
  margin: -0.0625rem !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.ra-pdf-forms__button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: auto;
  max-width: 100%;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 1.08rem 2.55rem;
  border: 0.18rem solid #7838df;
  border-radius: 1.05rem;
  color: var(--ra-white);
  background: linear-gradient(100deg, var(--ra-purple) 0%, var(--ra-violet) 52%, var(--ra-lilac) 100%);
  box-shadow: inset 0 -0.2rem 0 rgba(91, 19, 181, 0.45), 0 0.35rem 0.9rem rgba(85, 34, 179, 0.13);
  font-size: clamp(1.05rem, 2vw, 1.55rem);
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  appearance: none;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.ra-pdf-forms__button:hover:not(:disabled) {
  color: var(--ra-white);
  filter: saturate(1.08) brightness(1.04);
  transform: translateY(-0.15rem);
  box-shadow: inset 0 -0.2rem 0 rgba(91, 19, 181, 0.45), 0 0.6rem 1.3rem rgba(85, 34, 179, 0.22);
}

.ra-pdf-forms__button:focus-visible,
.ra-pdf-forms__tool-button:focus-visible,
.ra-pdf-forms__mode-button:focus-visible,
.ra-pdf-forms__document-select:focus-visible,
.ra-pdf-forms__document-remove:focus-visible,
.ra-pdf-forms__page-card button:focus-visible,
.ra-pdf-forms__field input:focus-visible,
.ra-pdf-forms__existing-field input:focus-visible,
.ra-pdf-forms__existing-field textarea:focus-visible,
.ra-pdf-forms__existing-field select:focus-visible {
  outline: 0.2rem solid var(--ra-focus);
  outline-offset: 0.2rem;
}

.ra-pdf-forms__button:disabled,
.ra-pdf-forms__tool-button:disabled,
.ra-pdf-forms__mode-button:disabled {
  opacity: 0.48;
  cursor: not-allowed;
  filter: grayscale(0.12);
}

.ra-pdf-forms__drop-prompt {
  padding-inline: clamp(2.25rem, 6vw, 4.35rem);
}

.ra-pdf-forms__arrow {
  flex: 0 0 auto;
  font-size: 1.18em;
  font-weight: 500;
  line-height: 0.8;
}

.ra-pdf-forms__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.6rem 3rem;
  margin: 1.65rem auto 0;
}

.ra-pdf-forms__workspace {
  position: relative;
  z-index: 1;
  width: 100%;
  color: var(--ra-white);
}

.ra-pdf-forms__workspace-top,
.ra-pdf-forms__section-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}

.ra-pdf-forms__workspace-top {
  margin-bottom: 1rem;
}

.ra-pdf-forms__summary {
  min-width: 12rem;
}

.ra-pdf-forms__summary strong,
.ra-pdf-forms__summary span,
.ra-pdf-forms__section-title strong,
.ra-pdf-forms__section-title span {
  display: block;
}

.ra-pdf-forms__summary strong,
.ra-pdf-forms__section-title strong {
  font-size: 1.05rem;
}

.ra-pdf-forms__summary span,
.ra-pdf-forms__section-title span {
  margin-top: 0.15rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.75rem;
}

.ra-pdf-forms__toolbar,
.ra-pdf-forms__toolbox,
.ra-pdf-forms__page-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.ra-pdf-forms__toolbar {
  justify-content: flex-end;
}

.ra-pdf-forms__tool-button,
.ra-pdf-forms__mode-button {
  display: inline-flex;
  width: auto;
  max-width: 100%;
  min-width: 0;
  align-items: center;
  justify-content: center;
  padding: 0.58rem 0.82rem;
  border: 0.0625rem solid rgba(255, 255, 255, 0.34);
  border-radius: 0.68rem;
  color: var(--ra-white);
  background: linear-gradient(110deg, rgba(129, 20, 220, 0.95), rgba(190, 115, 237, 0.9));
  box-shadow: 0 0.25rem 0.6rem rgba(0, 0, 0, 0.13);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  appearance: none;
  transition: transform 150ms ease, filter 150ms ease;
}

.ra-pdf-forms__tool-button:hover:not(:disabled),
.ra-pdf-forms__mode-button:hover:not(:disabled) {
  filter: brightness(1.08);
  transform: translateY(-0.05rem);
}

.ra-pdf-forms__tool-button.is-danger {
  border-color: rgba(255, 180, 199, 0.52);
  background: rgba(139, 15, 52, 0.86);
}

.ra-pdf-forms__documents {
  display: flex;
  gap: 0.65rem;
  margin-bottom: 0.95rem;
  padding: 0.12rem 0.1rem 0.45rem;
  overflow-x: auto;
  scrollbar-color: rgba(255, 255, 255, 0.62) rgba(255, 255, 255, 0.1);
}

.ra-pdf-forms__document {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  min-width: 10rem;
  max-width: 15rem;
  align-items: stretch;
  overflow: hidden;
  border: 0.0625rem solid rgba(255, 255, 255, 0.28);
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.1);
}

.ra-pdf-forms__document.is-active {
  border-color: #c56bff;
  background: rgba(157, 68, 244, 0.28);
  box-shadow: 0 0 0 0.12rem rgba(197, 107, 255, 0.18);
}

.ra-pdf-forms__document-select,
.ra-pdf-forms__document-remove {
  border: 0;
  color: #fff;
  background: transparent;
  cursor: pointer;
}

.ra-pdf-forms__document-select {
  min-width: 0;
  flex: 1 1 auto;
  padding: 0.62rem 0.72rem;
  text-align: left;
}

.ra-pdf-forms__document-select strong,
.ra-pdf-forms__document-select span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ra-pdf-forms__document-select strong {
  font-size: 0.78rem;
}

.ra-pdf-forms__document-select span {
  margin-top: 0.12rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.63rem;
  font-weight: 700;
}

.ra-pdf-forms__document-remove {
  flex: 0 0 2.2rem;
  border-inline-start: 0.0625rem solid rgba(255, 255, 255, 0.2);
  color: #ffd5df;
  font-size: 1.2rem;
  font-weight: 800;
}

.ra-pdf-forms__form-workspace {
  display: grid;
  gap: 0.85rem;
}

.ra-pdf-forms__existing,
.ra-pdf-forms__builder,
.ra-pdf-forms__output-settings {
  padding: 0.9rem;
  border: 0.0625rem solid rgba(255, 255, 255, 0.26);
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.09);
}

.ra-pdf-forms__section-title {
  margin-bottom: 0.75rem;
}

.ra-pdf-forms__existing-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-height: 20rem;
  gap: 0.7rem;
  overflow-y: auto;
  padding: 0.2rem;
}

.ra-pdf-forms__existing-field {
  display: grid;
  min-width: 0;
  gap: 0.42rem;
  padding: 0.65rem;
  border: 0.0625rem solid rgba(255, 255, 255, 0.2);
  border-radius: 0.78rem;
  background: rgba(0, 0, 25, 0.27);
}

.ra-pdf-forms__existing-field.is-checkbox {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.ra-pdf-forms__existing-label {
  min-width: 0;
}

.ra-pdf-forms__existing-label strong,
.ra-pdf-forms__existing-label small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ra-pdf-forms__existing-label strong {
  font-size: 0.76rem;
}

.ra-pdf-forms__existing-label small {
  margin-top: 0.12rem;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.62rem;
  text-transform: capitalize;
}

.ra-pdf-forms__existing-field input:not([type="checkbox"]),
.ra-pdf-forms__existing-field textarea,
.ra-pdf-forms__existing-field select {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0.45rem 0.55rem;
  border: 0.0625rem solid rgba(255, 255, 255, 0.36);
  border-radius: 0.58rem;
  color: #171441;
  background: rgba(255, 255, 255, 0.97);
  font-family: "Read Aim Noto Bengali", Arial, Helvetica, sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
}

.ra-pdf-forms__existing-field textarea {
  min-height: 4.5rem;
  resize: vertical;
}

.ra-pdf-forms__existing-field input[type="checkbox"],
.ra-pdf-forms__check input {
  width: 1.15rem;
  height: 1.15rem;
  margin: 0;
  accent-color: var(--ra-violet);
}

.ra-pdf-forms__empty {
  margin: 0;
  padding: 0.8rem;
  border-radius: 0.7rem;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(0, 0, 25, 0.22);
  font-size: 0.72rem;
  text-align: center;
}

.ra-pdf-forms__toolbox {
  justify-content: center;
  margin-bottom: 0.8rem;
}

.ra-pdf-forms__mode-button {
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.09);
}

.ra-pdf-forms__mode-button.is-active {
  color: #fff;
  border-color: #b65aff;
  background: linear-gradient(110deg, var(--ra-purple), var(--ra-violet) 58%, var(--ra-lilac));
  box-shadow: 0 0.3rem 0.7rem rgba(0, 0, 0, 0.16);
}

.ra-pdf-forms__settings {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: end;
  gap: 0.7rem;
  margin-bottom: 0.8rem;
  padding: 0.8rem;
  border: 0.0625rem solid rgba(255, 255, 255, 0.22);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.08);
}

.ra-pdf-forms__field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.35rem;
}

.ra-pdf-forms__field--wide {
  grid-column: span 2;
}

.ra-pdf-forms__field > span {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.69rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ra-pdf-forms__field input {
  width: 100%;
  min-width: 0;
  height: 2.35rem;
  margin: 0;
  padding: 0.42rem 0.55rem;
  border: 0.0625rem solid rgba(255, 255, 255, 0.36);
  border-radius: 0.58rem;
  color: #171441;
  background: rgba(255, 255, 255, 0.96);
  font-family: "Read Aim Noto Bengali", Arial, Helvetica, sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
}

.ra-pdf-forms__check {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  min-height: 2.35rem;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.72rem;
  font-weight: 800;
}

.ra-pdf-forms__page-actions {
  justify-content: center;
  margin-bottom: 0.9rem;
}

.ra-pdf-forms__stage-wrap {
  display: flex;
  min-height: 22rem;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow: auto;
  border: 0.0625rem solid rgba(255, 255, 255, 0.24);
  border-radius: 1rem;
  background:
    linear-gradient(45deg, rgba(255, 255, 255, 0.055) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255, 255, 255, 0.055) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.055) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.055) 75%),
    rgba(0, 0, 28, 0.36);
  background-position: 0 0, 0 0.75rem, 0.75rem -0.75rem, -0.75rem 0;
  background-size: 1.5rem 1.5rem;
}

.ra-pdf-forms__stage {
  position: relative;
  display: inline-block;
  max-width: 100%;
  outline: none;
  line-height: 0;
  touch-action: none;
  box-shadow: 0 0.85rem 2rem rgba(0, 0, 0, 0.35);
}

.ra-pdf-forms__stage:focus-visible {
  box-shadow: 0 0 0 0.22rem var(--ra-focus), 0 0.85rem 2rem rgba(0, 0, 0, 0.35);
}

.ra-pdf-forms__stage canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

.ra-pdf-forms__stage [data-ra-overlay-canvas] {
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: crosshair;
}

.ra-pdf-forms__stage-message {
  display: flex;
  width: min(70vw, 34rem);
  min-height: 20rem;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  color: #5e587e;
  background: rgba(255, 255, 255, 0.96);
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
}

.ra-pdf-forms__pages {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr));
  max-height: 19rem;
  gap: 0.75rem;
  margin: 0.9rem 0 0;
  padding: 0.2rem 0.25rem 0.45rem;
  overflow-x: hidden;
  overflow-y: auto;
  list-style: none;
  scrollbar-color: rgba(255, 255, 255, 0.62) rgba(255, 255, 255, 0.1);
}

.ra-pdf-forms__page-card {
  min-width: 0;
}

.ra-pdf-forms__page-card > button {
  width: 100%;
  height: 100%;
  padding: 0.55rem;
  border: 0.125rem solid rgba(255, 255, 255, 0.28);
  border-radius: 0.9rem;
  color: #171441;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 0.45rem 0.9rem rgba(0, 0, 0, 0.18);
  cursor: pointer;
}

.ra-pdf-forms__page-card.is-active > button {
  border-color: #b13cff;
  box-shadow: 0 0 0 0.15rem rgba(177, 60, 255, 0.24), 0 0.55rem 1rem rgba(0, 0, 0, 0.22);
}

.ra-pdf-forms__page-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  margin-bottom: 0.4rem;
}

.ra-pdf-forms__page-order {
  display: inline-flex;
  min-width: 1.5rem;
  height: 1.5rem;
  align-items: center;
  justify-content: center;
  padding-inline: 0.3rem;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--ra-purple), var(--ra-blue));
  font-size: 0.67rem;
  font-weight: 900;
}

.ra-pdf-forms__page-state {
  overflow: hidden;
  color: #716a94;
  font-size: 0.59rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ra-pdf-forms__preview {
  position: relative;
  display: flex;
  min-height: 7.7rem;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 0.0625rem solid #ddd9ef;
  border-radius: 0.55rem;
  background: #f8f7fd;
}

.ra-pdf-forms__preview canvas {
  display: block;
  max-width: 100%;
  max-height: 9.2rem;
  background: #fff;
}

.ra-pdf-forms__preview-message {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem;
  color: #6b6690;
  background: rgba(250, 249, 255, 0.9);
  font-size: 0.63rem;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
}

.ra-pdf-forms__page-label {
  display: block;
  margin-top: 0.45rem;
  overflow: hidden;
  color: #1a1748;
  font-size: 0.67rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ra-pdf-forms__output-settings {
  display: grid;
  gap: 0.25rem;
}

.ra-pdf-forms__output-settings p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.68rem;
}

.ra-pdf-forms__note {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
}

.ra-pdf-forms__progress {
  display: grid;
  grid-template-columns: minmax(0, 36rem) auto;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin: 1.55rem auto 0;
}

.ra-pdf-forms__progress-track {
  width: min(70vw, 36rem);
  height: 0.72rem;
  overflow: hidden;
  border-radius: 999px;
  background: #e9e6fb;
}

.ra-pdf-forms__progress-track > span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--ra-purple), var(--ra-blue));
  transition: width 150ms ease;
}

.ra-pdf-forms__progress-value {
  min-width: 3.1rem;
  color: #484372;
  font-weight: 800;
}

.ra-pdf-forms__status {
  min-height: 1.45em;
  margin: 0.8rem auto 0;
  color: #4f4b70;
  font-weight: 700;
  text-align: center;
}

.ra-pdf-forms__status.is-error {
  color: #ad1538;
}

.ra-pdf-forms__status.is-success {
  color: #16814a;
}

.ra-pdf-forms__result {
  margin: 1rem auto 0;
  text-align: center;
}

.ra-pdf-forms.is-busy .ra-pdf-forms__dropzone {
  cursor: wait;
}

@media (max-width: 56rem) {
  .ra-pdf-forms__workspace-top,
  .ra-pdf-forms__section-title {
    align-items: stretch;
    flex-direction: column;
  }

  .ra-pdf-forms__toolbar {
    justify-content: flex-start;
  }

  .ra-pdf-forms__settings {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 48rem) {
  .ra-pdf-forms {
    padding-inline: 1rem;
  }

  .ra-pdf-forms__heading {
    margin-bottom: 2rem;
    padding-inline: 0;
    text-align: center;
  }

  .ra-pdf-forms__brand {
    margin-inline: auto;
  }

  .ra-pdf-forms__title {
    font-size: clamp(2.4rem, 10.8vw, 4rem);
    line-height: 1.02;
  }

  .ra-pdf-forms__dropzone {
    min-height: 18rem;
    padding: 1.2rem;
    border-radius: 2rem;
  }

  .ra-pdf-forms__button {
    padding: 0.95rem 1.45rem;
    font-size: clamp(0.95rem, 4.5vw, 1.2rem);
  }

  .ra-pdf-forms__drop-prompt {
    padding-inline: 1.55rem;
  }

  .ra-pdf-forms__actions {
    gap: 1rem;
  }

  .ra-pdf-forms__existing-fields,
  .ra-pdf-forms__settings {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ra-pdf-forms__pages {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ra-pdf-forms__stage-wrap {
    min-height: 17rem;
    padding: 0.6rem;
  }
}

@media (max-width: 27rem) {
  .ra-pdf-forms__actions {
    flex-direction: column;
  }

  .ra-pdf-forms__toolbar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ra-pdf-forms__tool-button,
  .ra-pdf-forms__mode-button {
    white-space: normal;
  }

  .ra-pdf-forms__existing-fields,
  .ra-pdf-forms__settings {
    grid-template-columns: minmax(0, 1fr);
  }

  .ra-pdf-forms__field--wide {
    grid-column: auto;
  }

  .ra-pdf-forms__progress {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .ra-pdf-forms__progress-track {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ra-pdf-forms *,
  .ra-pdf-forms *::before,
  .ra-pdf-forms *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
