.btn--arrowed:afterx {
  content: url("data:image/svg+xml,%3csvg class='arrow-icon' width='24' height='24' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3e %3cg fill='none' stroke='white' stroke-width='1.5' stroke-linejoin='round' stroke-miterlimit='10'%3e 	%3cpath class='arrow-icon--arrow' d='M16.14 9.93L22.21 16l-6.07 6.07M8.23 16h13.98'%3e%3c/path%3e %3c/g%3e %3c/svg%3e");
  color: #fff;
  display: inline-block;
  vertical-align: middle;
  width: 24px;
  height: 24px;
}
.btn--arrowed:beforex {
  content: url("data:image/svg+xml,%3csvg class='arrow-icon' width='24' height='24' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3e %3cg fill='none' stroke='white' stroke-width='1.5' stroke-linejoin='round' stroke-miterlimit='10'%3e 	%3ccircle class='arrow-icon--circle' cx='16' cy='16' r='15.12'%3e%3c/circle%3e %3c/g%3e %3c/svg%3e");
  display: inline-block;
  vertical-align: middle;
  width: 24px;
  height: 24px;
}
.btn--arrowed.arrow-left {
  --rotate: 180deg;
  --translate: -5px 0px;
}
.btn--arrowed.arrow-up {
  --rotate: -90deg;
  --translate: 0px -5px;
}
.btn--arrowed.arrow-down {
  --rotate: 90deg;
  --translate: 0px 5px;
}
.btn--arrowed .arrow-icon {
  position: relative;
  top: 0;
  width: 24px;
  height: 24px;
  transition: translate 0.3s ease;
  vertical-align: middle;
  rotate: var(--rotate, 0);
}
.btn--arrowed .arrow-icon--circle {
  transition: stroke-dashoffset 0.3s ease 0.2s;
  stroke-dasharray: 95;
  stroke-dashoffset: 95;
}
.btn--arrowed:hover .arrow-icon {
  translate: var(--translate, 5px 0);
}
.btn--arrowed:hover .arrow-icon--circle {
  stroke-dashoffset: 0;
}

.btn--icon .icon {
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  border: 1px solid #fff0;
  border-radius: 50%;
  transition: all 0.2s;
}
.btn--icon:hover .icon {
  border-color: var(--font-color);
  width: 1.5rem;
  height: 1.5rem;
}

[data-tooltip] {
  --bg-color: var(--bs-secondary, #677);
  --color: var(--bs-secondary-bg, #eee);
  --radius: 4px;
  --font-size: 80%;
  --elevation: 5px;
  --opacity: 0;
  display: inline-block;
  position: relative;
  text-decoration: none;
  color: var(--nice-color, #228);
}
[data-tooltip]:before, [data-tooltip]:after {
  content: "";
  position: absolute;
  opacity: var(--opacity);
  transition: all 0.4s ease;
  pointer-events: none;
}
[data-tooltip]:after {
  content: attr(data-tooltip);
  bottom: calc(110% + var(--elevation));
  left: 10%;
  background: var(--bg-color);
  padding: 0.25rem 0.5rem;
  font-size: var(--font-size);
  color: var(--color);
  border-radius: var(--radius);
  white-space: nowrap;
}
[data-tooltip]:before {
  --b: 7px;
  width: 0;
  height: 0;
  border-top: var(--b) solid var(--bg-color);
  border-left: var(--b) solid transparent;
  border-right: var(--b) solid transparent;
  left: 30%;
  bottom: calc(110% - var(--b) + 0.5px + var(--elevation));
}
[data-tooltip]:hover {
  --elevation: 0px;
  --opacity: 1;
}

.file-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  border: 2px dashed transparent;
  background-color: #8881;
  min-width: 400px;
  max-width: 400px;
  border-radius: 6px;
  margin: 2px 0;
}
.file-wrap .file-label {
  width: 100%;
  text-align: center;
  padding: 0.5rem 1.5rem;
  border-radius: 6px;
  white-space: nowrap;
  user-select: none;
}
.file-wrap .file-label:hover {
  background-color: #ddd4;
  cursor: pointer;
}
.file-wrap .file-chosen {
  font-size: 16px;
  padding: 0 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 340px;
  width: 100%;
  width: -moz-fit-content;
  width: fit-content;
  margin: 24px auto 0;
  border-radius: 3px;
}
.file-wrap .empty {
  color: #F36;
}
.file-wrap:has(.drag-over) {
  border: 2px dashed #44D4F4;
}