/*
! tailwindcss v3.2.7 | MIT License | https://tailwindcss.com
*/

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box;
  /* 1 */
  border-width: 0;
  /* 2 */
  border-style: solid;
  /* 2 */
  border-color: #e5e7eb;
  /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
*/

html {
  line-height: 1.5;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  -moz-tab-size: 4;
  /* 3 */
  -o-tab-size: 4;
     tab-size: 4;
  /* 3 */
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  /* 4 */
  font-feature-settings: normal;
  /* 5 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0;
  /* 1 */
  line-height: inherit;
  /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0;
  /* 1 */
  color: inherit;
  /* 2 */
  border-top-width: 1px;
  /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
  color: inherit;
  text-decoration: inherit;
}

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font family by default.
2. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0;
  /* 1 */
  border-color: inherit;
  /* 2 */
  border-collapse: collapse;
  /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  font-weight: inherit;
  /* 1 */
  line-height: inherit;
  /* 1 */
  color: inherit;
  /* 1 */
  margin: 0;
  /* 2 */
  padding: 0;
  /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
[type='button'],
[type='reset'],
[type='submit'] {
  -webkit-appearance: button;
  /* 1 */
  background-color: transparent;
  /* 2 */
  background-image: none;
  /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

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

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/

:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  /* 1 */
  vertical-align: middle;
  /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */

[hidden] {
  display: none;
}

*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
}

.container {
  width: 100%;
}

@media (min-width: 360px) {
  .container {
    max-width: 360px;
  }
}

@media (min-width: 640px) {
  .container {
    max-width: 640px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

@media (min-width: 1536px) {
  .container {
    max-width: 1536px;
  }
}

.visible {
  visibility: visible;
}

.static {
  position: static;
}

.fixed {
  position: fixed;
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.block {
  display: block;
}

.inline-block {
  display: inline-block;
}

.inline {
  display: inline;
}

.table {
  display: table;
}

.contents {
  display: contents;
}

.hidden {
  display: none;
}

.w-full {
  width: 100%;
}

.resize {
  resize: both;
}

.border {
  border-width: 1px;
}

.blur {
  --tw-blur: blur(8px);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

body {
  position: relative;
  height: 100%;
  min-height: 100vh;
  width: 100%;
  min-width: 320px;
  font-family: 'Open Sans';
}

:focus,
:focus-visible {
  outline: 0;
  box-shadow: none;
}

h1 {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.finish-button {
  margin-left: auto;
  margin-right: auto;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.overlay {
  position: fixed;
  top: 0px;
  bottom: 0px;
  left: 0px;
  right: 0px;
  z-index: 980;
  height: 100%;
  width: 100%;
  background-color: rgb(0 0 0 / 0.2);
  --tw-backdrop-blur: blur(4px);
  -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
          backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}

.page-wrapper {
  display: flex;
  height: 100%;
  min-height: 100vh;
  flex-direction: column;
}

.content-wrapper {
  margin-left: auto;
  margin-right: auto;
  height: 100%;
  width: 100%;
  max-width: 80rem;
}

@media (min-width: 640px) {
  .content-wrapper {
    margin: auto;
    width: calc(100% - 4rem);
  }
}

.content-wrapper h1 {
  margin-top: 1rem;
  margin-bottom: 1rem;
  text-align: center;
}

@media (min-width: 640px) {
  .content-wrapper h1 {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
  }
}

.content-wrapper h1 a {
  --tw-text-opacity: 1;
  color: rgb(115 115 115 / var(--tw-text-opacity));
}

.content-wrapper h1 a:hover {
  --tw-text-opacity: 1;
  color: rgb(163 203 0 / var(--tw-text-opacity));
}

.upload-form {
  border-width: 1px;
  border-color: transparent;
  padding: 1rem;
}

@media (min-width: 640px) {
  .upload-form {
    border-radius: 0.25rem;
    --tw-border-opacity: 1;
    border-color: rgb(137 143 150 / var(--tw-border-opacity));
    padding: 2rem;
  }
}

.form-wrapper {
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .field {
    flex-direction: row;
  }
}

.field.no-show {
  display: none;
}

.drop-zone {
  margin-top: 1rem;
  display: flex;
  min-height: 30vw;
  width: 100%;
  align-items: center;
  justify-content: center;
  border-radius: 0.25rem;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(137 143 150 / var(--tw-border-opacity));
  --tw-bg-opacity: 1;
  background-color: rgb(220 227 234 / var(--tw-bg-opacity));
  background-image: url('../svg/upload.svg');
  background-position: center;
  background-repeat: no-repeat;
}

@media (min-width: 640px) {
  @media (orientation: portrait) {
    .drop-zone {
      min-height: 30vw;
    }
  }

  @media (orientation: landscape) {
    .drop-zone {
      min-height: 20vw;
    }
  }
}

input[type="text"],
input[type="password"] {
  border-radius: 0.125rem;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(161 172 189 / var(--tw-border-opacity));
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.pass-view {
  position: relative;
  display: flex;
  min-height: 40px;
  align-items: center;
}

.pass-view.hide {
  display: none;
}

.pass-view input[type="text"],
.pass-view input[type="password"] {
  width: 100%;
  padding-top: 7px;
  padding-bottom: 7px;
  padding-right: 2rem;
}

.pass-view .password-view {
  position: absolute;
  top: 8px;
  right: 10px;
  height: 1.5rem;
  width: 1.5rem;
}

.pass-view .password-view:hover {
  cursor: pointer;
}

.password-view svg {
  height: 1.5rem;
  width: 1.5rem;
  --tw-text-opacity: 1;
  color: rgb(209 213 219 / var(--tw-text-opacity));
}

.password-view:hover svg {
  --tw-text-opacity: 1;
  color: rgb(75 85 99 / var(--tw-text-opacity));
}

.btn-gray {
}

.btn {
  white-space: nowrap;
  border-radius: 0.125rem;
  --tw-bg-opacity: 1;
  background-color: rgb(62 71 86 / var(--tw-bg-opacity));
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
}

.btn:hover {
  --tw-bg-opacity: 0.8;
}

.btn:disabled {
  opacity: 0.5;
}

.btn-sm {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.btn-greeny {
  --tw-bg-opacity: 1;
  background-color: rgb(163 203 0 / var(--tw-bg-opacity));
}

.btn-danger {
  --tw-bg-opacity: 1;
  background-color: rgb(185 28 28 / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
}

/* alert message */

.alert-message,
.block-message {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  min-height: 42px;
  width: 100%;
  border-radius: 0.25rem;
  --tw-border-opacity: 1;
  border-color: rgb(108 155 59 / var(--tw-border-opacity));
  --tw-bg-opacity: 1;
  background-color: rgb(239 247 205 / var(--tw-bg-opacity));
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
  --tw-text-opacity: 1;
  color: rgb(9 105 28 / var(--tw-text-opacity));
}

.alert-message:empty,
.block-message:empty {
  display: none;
}

.alert-message.floating {
  position: fixed;
  top: 30%;
  right: 0.5rem;
  left: 0.5rem;
  bottom: auto;
  z-index: 2000;
  width: auto;
  padding-right: 2.5rem;
  text-align: center;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.alert-message.floating::after {
  position: absolute;
  top: 0.25rem;
  right: 0.25rem;
  height: 1rem;
  width: 1rem;
  background-image: url('../svg/small-cancel.svg');
  background-size: 100%;
  background-position: center;
  content: var(--tw-content);
  opacity: 0.4;
}

.alert-message.floating:empty {
  top: auto;
  bottom: 0.5rem;
  left: auto;
  right: 0.5rem;
}

.alert-message.floating:hover::after {
  content: var(--tw-content);
  opacity: 0.8;
}

@media (min-width: 640px) {
  .alert-message.floating {
    top: 0.5rem;
    right: 0.5rem;
    left: auto;
    width: 40vw;
  }
}

@media (min-width: 768px) {
  .alert-message.floating {
    top: 1rem;
    right: 1rem;
    left: auto;
    width: -moz-fit-content;
    width: fit-content;
  }
}

.alert-message a,
.block-message a {
  font-weight: 500;
  text-decoration-line: underline;
}

.alert-message a:hover,
.block-message a:hover {
  text-decoration-line: none;
}

.alert-message {
  display: flex;
  cursor: pointer;
  align-items: center;
  justify-content: flex-start;
  gap: 0.25rem;
}

.alert-message.centered {
  justify-content: center;
}

.alert-message.error,
.block-message.error {
  --tw-bg-opacity: 1;
  background-color: rgb(247 214 211 / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(217 48 37 / var(--tw-text-opacity));
}

.alert-message.warning,
.block-message.warning {
  --tw-bg-opacity: 1;
  background-color: rgb(254 241 225 / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(186 100 3 / var(--tw-text-opacity));
}

.text-danger {
  --tw-text-opacity: 1;
  color: rgb(217 48 37 / var(--tw-text-opacity));
}

ul.crumbs + .block-message,
ul.crumbs + .alert-message {
  margin-top: 0px;
}

.error a {
  --tw-text-opacity: 1;
  color: rgb(217 48 37 / var(--tw-text-opacity));
}

.warning a {
  --tw-text-opacity: 1;
  color: rgb(186 100 3 / var(--tw-text-opacity));
}

/* templates */

.files-list {
  height: 100%;
  width: 100%;
  padding: 1rem;
}

.files-list .files {
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 0.5rem;
}

.files-list .files:empty {
  display: none;
}

.template-upload,
.template-download {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  border-radius: 0.125rem;
  background-color: rgb(255 255 255 / 0.8);
  padding: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.files .filename {
  display: flex;
  width: 100%;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem;
  --tw-text-opacity: 1;
  color: rgb(83 83 83 / var(--tw-text-opacity));
}

.files .filename .name {
  width: auto;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 700;
}

.files .filename .size {
  width: auto;
  flex-shrink: 0;
  white-space: nowrap;
  padding: 0.25rem;
  text-align: right;
  font-size: 0.75rem;
  line-height: 1rem;
}

.files .filename .error {
  width: 100%;
  padding: 0.25rem;
  font-size: 0.75rem;
  line-height: 1rem;
}

.files .filename .error:empty {
  display: none;
}

.files .buttons-block {
  /*@apply opacity-0 h-[1px] w-[1px]*/
}

.cdn-uploader-form .fileupload-progress {
  margin-top: 1rem;
}

.fileupload-progress,
.files .progress-block {
  width: 100%;
}

.fileupload-progress .progress,
.progress-block .progress {
  width: 100%;
}

.fileupload-progress .progress .progress-bar,
.progress-block .progress .progress-bar {
  height: 0.25rem;
  --tw-bg-opacity: 1;
  background-color: rgb(163 203 0 / var(--tw-bg-opacity));
}

.uploader-big-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 0.125rem;
  --tw-bg-opacity: 0.8;
  padding: 2rem;
  text-align: center;
  font-size: 1.5rem;
  line-height: 2rem;
}

.uploader-big-message.waiting {
  --tw-bg-opacity: 1;
  background-color: rgb(209 213 219 / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(55 65 81 / var(--tw-text-opacity));
}

.uploader-big-message.success {
  --tw-bg-opacity: 1;
  background-color: rgb(239 247 205 / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(9 105 28 / var(--tw-text-opacity));
}

.uploader-big-message.error {
  --tw-bg-opacity: 1;
  background-color: rgb(247 214 211 / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(217 48 37 / var(--tw-text-opacity));
}

.file-link-block {
  margin: auto;
  display: flex;
  width: 80%;
  flex-direction: column;
  gap: 2rem;
  font-size: 1rem;
  line-height: 1.5rem;
}

.input-group {
  position: relative;
  display: flex;
  width: 100%;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
}

.input-group[data-legend]::before {
  position: absolute;
  top: -1.25rem;
  left: 0.5rem;
  display: block;
  white-space: nowrap;
  --tw-bg-opacity: 1;
  background-color: rgb(161 172 189 / var(--tw-bg-opacity));
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  font-size: 0.75rem;
  line-height: 1rem;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
  --tw-content: attr(data-legend);
  content: var(--tw-content);
}

.input-group input {
  width: 100%;
}

.input-group button {
  flex-shrink: 0;
  white-space: nowrap;
}

.input-group input + .btn {
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
  border-left-width: 0px;
}

.input-group .btn svg {
  height: 1.5rem;
  width: 1.5rem;
  --tw-text-opacity: 1;
  color: rgb(75 85 99 / var(--tw-text-opacity));
}

.input-group .btn svg:hover {
  --tw-text-opacity: 1;
  color: rgb(55 65 81 / var(--tw-text-opacity));
}

.btn-copy {
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(161 172 189 / var(--tw-border-opacity));
  --tw-bg-opacity: 1;
  background-color: rgb(229 231 235 / var(--tw-bg-opacity));
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  --tw-text-opacity: 1;
  color: rgb(75 85 99 / var(--tw-text-opacity));
}

.btn-copy:hover {
  --tw-bg-opacity: 0.8;
  --tw-text-opacity: 1;
  color: rgb(55 65 81 / var(--tw-text-opacity));
}

.btn-refresh {
  white-space: nowrap;
  --tw-bg-opacity: 1;
  background-color: rgb(163 203 0 / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(20 83 45 / var(--tw-text-opacity));
}

.btn-refresh:hover {
  --tw-bg-opacity: 0.8;
}

a.btn-refresh {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-copy-all {
  display: flex;
  width: 100%;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-copy.success {
  --tw-bg-opacity: 1;
  background-color: rgb(163 203 0 / var(--tw-bg-opacity));
}

.btn-copy.error {
  --tw-bg-opacity: 1;
  background-color: rgb(247 214 211 / var(--tw-bg-opacity));
}

button[data-action="copy-that"] {
  display: flex;
  align-items: center;
  justify-content: center;
}

button[data-action="copy-that"] svg {
  margin-right: 0.25rem;
  height: 1.5rem;
  width: 1.5rem;
}

input[data-name="note-link"] {
  width: 100%;
}

.fileupload-buttonbar {
  margin-bottom: 1rem;
  align-items: stretch;
}

.fileupload-buttonbar.result-buttons {
  margin-bottom: 0px;
}

.error-debug {
  font-size: 0.75rem;
  line-height: 1rem;
}

label {
  position: relative;
  display: flex;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.checkboxes label > input + span,
.radio label > input + span {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.checkboxes label > input + span::before,
.radio label > input + span::before {
  order: -2;
  height: 18px;
  width: 18px;
  flex-shrink: 0;
  border-width: 1px;
  content: var(--tw-content);
  --tw-border-opacity: 1;
  border-color: rgb(212 212 212 / var(--tw-border-opacity));
}

.checkboxes label > input + span::after,
.radio label > input + span::after {
  order: -1;
  margin-left: -15px;
  margin-right: 16px;
  height: 12px;
  width: 12px;
  flex-shrink: 0;
  border-width: 1px;
  content: var(--tw-content);
  border-color: transparent;
}

.checkboxes label > input + span:empty,
.radio label > input + span:empty {
  margin-right: 12px;
}

.checkboxes label > input + span:empty::after,
.radio label > input + span:empty::after {
  content: var(--tw-content);
  margin-right: 3px;
}

.checkboxes label > input + span:empty {
  margin-top: 0px;
}

.radio label > input + span:empty {
  margin-top: 0px;
}

.checkboxes.big label > input + span::before,
.radio.big label > input + span::before {
  height: 24px;
  content: var(--tw-content);
  width: 24px;
}

.checkboxes.big label > input + span::after,
.radio.big label > input + span::after {
  margin-left: -15px;
  margin-right: 0px;
  height: 12px;
  content: var(--tw-content);
  width: 12px;
}

.checkboxes.big label > input + span:empty::after,
.radio.big label > input + span:empty::after {
  content: var(--tw-content);
  margin-right: 0px;
}

.radio.switch label > input + span::before,
.checkboxes.switch label > input + span::before {
  height: 40px;
  width: 80px;
  --tw-border-opacity: 1;
  border-color: rgb(212 212 212 / var(--tw-border-opacity));
  --tw-bg-opacity: 1;
  background-color: rgb(229 229 229 / var(--tw-bg-opacity));
  --tw-shadow: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);
  --tw-shadow-colored: inset 0 2px 4px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  content: var(--tw-content);
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.radio.switch label > input + span::after,
.checkboxes.switch label > input + span::after {
  margin-left: -78px;
  margin-right: 50px;
  height: 36px;
  width: 36px;
  border-width: 2px;
  --tw-border-opacity: 1;
  border-color: rgb(212 212 212 / var(--tw-border-opacity));
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
  --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  content: var(--tw-content);
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.radio.switch label > input + span:empty::after,
.checkboxes.switch label > input + span:empty::after {
  content: var(--tw-content);
  margin-right: 30px;
}

label > input[type="checkbox"] + span::before {
  content: var(--tw-content);
  border-radius: 2px;
}

label > input[type="checkbox"] + span::after {
  content: var(--tw-content);
  border-radius: 3px;
}

label > input[type="checkbox"]:disabled + span {
  --tw-text-opacity: 1;
  color: rgb(163 163 163 / var(--tw-text-opacity));
}

label > input[type="radio"] + span::before {
  content: var(--tw-content);
  border-radius: 9999px;
}

label > input[type="radio"] + span::after {
  content: var(--tw-content);
  border-radius: 9999px;
}

label > input[type="radio"]:disabled + span {
  --tw-text-opacity: 1;
  color: rgb(163 163 163 / var(--tw-text-opacity));
}

label > input[type="checkbox"],
label > input[type="radio"] {
  display: none;
  height: 0;
  width: 0;
}

label > input[type="checkbox"]:checked + span::after {
  content: var(--tw-content);
  --tw-bg-opacity: 1;
  background-color: rgb(163 203 0 / var(--tw-bg-opacity));
}

label > input[type="radio"]:checked + span::before {
  border-width: 5px;
  content: var(--tw-content);
  --tw-border-opacity: 1;
  border-color: rgb(163 203 0 / var(--tw-border-opacity));
}

.radio.switch label > input[type="radio"]:checked + span::before,
.checkboxes.switch label > input[type="checkbox"]:checked + span::before {
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(163 203 0 / var(--tw-border-opacity));
  --tw-bg-opacity: 1;
  background-color: rgb(163 203 0 / var(--tw-bg-opacity));
  content: var(--tw-content);
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.radio.switch label > input[type="radio"]:checked + span::after,
.checkboxes.switch label > input[type="checkbox"]:checked + span::after {
  margin-left: -38px;
  margin-right: 10px;
  height: 36px;
  width: 36px;
  border-width: 2px;
  --tw-border-opacity: 1;
  border-color: rgb(163 203 0 / var(--tw-border-opacity));
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
  --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  content: var(--tw-content);
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.radio.switch label > input[type="radio"]:checked + span:empty,
.checkboxes.switch label > input[type="checkbox"]:checked + span:empty {
  margin-right: 2px;
}

.radio.switch label > input[type="radio"]:checked + span:empty::after,
.checkboxes.switch label > input[type="checkbox"]:checked + span:empty::after {
  content: var(--tw-content);
  margin-right: 0px;
}

div.radio,
div.checkboxes {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
}

.text-area-scroll-wrapper {
  height: auto;
  width: 100%;
  --tw-bg-opacity: 1;
  background-color: rgb(220 227 234 / var(--tw-bg-opacity));
  padding: 1rem;
}

.text-area-scroll-wrapper textarea {
  scrollbar-width: thin;
  scrollbar-color: #3E4756 #A1ACBD;
  height: auto;
  max-height: 450px;
  max-height: 20lh;
  min-height: 225px;
  min-height: 10lh;
  resize: none;
  overflow-y: scroll;
  border-radius: 0.125rem;
  border-width: 0px;
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
  padding: 4px;
  font-weight: 400;
  line-height: 1.5
}

.text-area-scroll-wrapper textarea::-webkit-scrollbar {
  width: 8px;
}

.text-area-scroll-wrapper textarea::-webkit-scrollbar-track {
  --tw-bg-opacity: 1;
  background-color: rgb(220 227 234 / var(--tw-bg-opacity));
}

.text-area-scroll-wrapper textarea::-webkit-scrollbar-thumb {
  --tw-bg-opacity: 1;
  background-color: rgb(161 172 189 / var(--tw-bg-opacity));
}

.text-area-scroll-wrapper textarea::-webkit-scrollbar-thumb:hover {
  cursor: default;
  --tw-bg-opacity: 1;
  background-color: rgb(36 47 69 / var(--tw-bg-opacity));
}

html::-webkit-scrollbar-thumb:active {
  cursor: default;
  --tw-bg-opacity: 1;
  background-color: rgb(36 47 69 / var(--tw-bg-opacity));
}

h2.note-id + .field {
  margin-top: 1rem;
  margin-bottom: 1rem;
}