* {
  margin: 0;
  padding: 0;
  outline: none;
  /* box-sizing: border-box; */
  -webkit-overflow-scrolling: touch;
  -webkit-tap-highlight-color: transparent;
}

* {
  scrollbar-width: thin;
  scrollbar-height: thin;
  scroll-behavior: smooth;
}

*::-webkit-scrollbar {
  width: 0.5rem;
  height: 0.5rem;
}

body {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

#app {
  min-height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
}

.e3fallback-icon::before {
  content: "\f15b";
}


/* Tooltip */
[tooltip] {
  z-index: 101;
  position: relative;
  display: inline-block;
}

[tooltip]::before {
  left: 50%;
  opacity: 0;
  content: "";
  top: -0.4rem;
  z-index: 100;
  position: absolute;
  border-style: solid;
  transform: translateX(-50%);
  border-width: 0.25rem 0.4rem 0 0.4rem;
  border-color: rgba(0, 0, 0, 1) transparent transparent transparent;
}

[tooltip-position="left"]::before {
  top: 50%;
  left: 0%;
  margin-left: -0.75rem;
  transform: translatey(-50%) rotate(-90deg);
}

[tooltip-position="top"]::before {
  left: 50%;
}

[tooltip-position="bottom"]::before {
  top: 100%;
  margin-top: 0.5rem;
  transform: translateX(-50%) translatey(-100%) rotate(-180deg);
}

[tooltip-position="right"]::before {
  top: 50%;
  left: 100%;
  margin-left: 0;
  transform: translatey(-50%) rotate(90deg);
}

[tooltip]::after {
  left: 50%;
  opacity: 0;
  z-index: 1;
  color: #fff;
  top: -0.4rem;
  min-width: 3rem;
  font-size: 0.8rem;
  position: absolute;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  line-height: initial;
  text-transform: none;
  content: attr(tooltip);
  border-radius: 0.25rem;
  padding: 0.25rem 0.5rem;
  background: rgba(0, 0, 0, 1);
  transform: translateX(-50%) translateY(-100%);
}

[tooltip-position="left"]::after {
  left: 0%;
  top: 50%;
  margin-left: -0.45rem;
  transform: translateX(-100%) translateY(-50%);
}

[tooltip-position="top"]::after {
  left: 50%;
}

[tooltip-position="bottom"]::after {
  top: 100%;
  margin-top: 0.5rem;
  transform: translateX(-50%) translateY(0%);
}

[tooltip-position="right"]::after {
  top: 50%;
  left: 100%;
  margin-left: 0.45rem;
  transform: translateX(0%) translateY(-50%);
}

[tooltip]:hover::after,
[tooltip]:hover::before {
  opacity: 1;
}

/* Tooltip */


/* Loader */
/* Page Spinner */
._spinner {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  position: absolute;
}

._modal ._spinner {
  top: 0;
}

._loading ._spinner,
._requesting ._spinner {
  z-index: 104;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #464a4c10;
}

/* Page Loader */
.loader-default,
.loader-default:before,
.loader-default:after {
  width: 1rem;
  height: 3rem;
  animation: load1 1s infinite ease-in-out;
  -webkit-animation: load1 1s infinite ease-in-out;
}

.loader-default {
  font-size: 0;
  margin: 0 auto;
  position: relative;
  transform: translateZ(0);
  -ms-transform: translateZ(0);
  -webkit-transform: translateZ(0);
  animation-delay: -0.16s;
  -webkit-animation-delay: -0.16s;
}

.loader-default:before,
.loader-default:after {
  top: 0;
  content: '';
  position: absolute;
}

.loader-default:before {
  left: -2rem;
  animation-delay: -0.32s;
  -webkit-animation-delay: -0.32s;
}

.loader-default:after {
  left: 2rem;
}

@keyframes load1 {

  0%,
  80%,
  100% {
    height: 3rem;
    box-shadow: 0 0;
  }

  40% {
    height: 4rem;
    box-shadow: 0 -2rem;
  }
}

/* Loader */


/* Button */
/* .btn-primary — Solid primary action button */
.btn-primary {
  background-color: #2563eb;
  color: #ffffff;
  font-weight: 600;
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition-property: background-color;
  transition-duration: 200ms;
  transition-timing-function: ease;
}

.btn-primary:hover {
  background-color: #1d4ed8;
}

/* .btn-secondary — Outlined secondary button */
.btn-secondary {
  background-color: #ffffff;
  color: #1f2937;
  font-weight: 600;
  padding: 0.625rem 1.25rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  cursor: pointer;
  transition-property: background-color;
  transition-duration: 200ms;
  transition-timing-function: ease;
}

.btn-secondary:hover {
  background-color: #f9fafb;
}

/* .btn-outline — Transparent with blue border */
.btn-outline {
  background-color: transparent;
  color: #2563eb;
  font-weight: 600;
  padding: 0.625rem 1.25rem;
  border: 1px solid #2563eb;
  border-radius: 0.5rem;
  cursor: pointer;
  transition-property: background-color;
  transition-duration: 200ms;
  transition-timing-function: ease;
}

.btn-outline:hover {
  background-color: #eff6ff;
}

/* .btn-danger — Destructive / delete action */
.btn-danger {
  background-color: #dc2626;
  color: #ffffff;
  font-weight: 600;
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition-property: background-color;
  transition-duration: 200ms;
  transition-timing-function: ease;
}

.btn-danger:hover {
  background-color: #b91c1c;
}

/* .btn-success — Confirm / positive action */
.btn-success {
  background-color: #16a34a;
  color: #ffffff;
  font-weight: 600;
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition-property: background-color;
  transition-duration: 200ms;
  transition-timing-function: ease;
}

.btn-success:hover {
  background-color: #15803d;
}

/* .btn-warning — Warning action button */
.btn-warning {
  background-color: #eab308;
  color: #ffffff;
  font-weight: 600;
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition-property: background-color;
  transition-duration: 200ms;
  transition-timing-function: ease;
}

.btn-warning:hover {
  background-color: #ca8a04;
}

/* .btn-disabled — Non-interactive disabled state */
.btn-disabled {
  background-color: #e5e7eb;
  color: #9ca3af;
  font-weight: 600;
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  cursor: not-allowed;
}

/* .btn-sm — Small size button */
.btn-sm {
  background-color: #2563eb;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  cursor: pointer;
  transition-property: background-color;
  transition-duration: 150ms;
  transition-timing-function: ease;
}

.btn-sm:hover {
  background-color: #1d4ed8;
}

/* .btn-lg — Large size button */
.btn-lg {
  background-color: #2563eb;
  color: #ffffff;
  font-weight: 600;
  font-size: 1.125rem;
  padding: 0.875rem 2rem;
  border-radius: 0.75rem;
  cursor: pointer;
  transition-property: background-color;
  transition-duration: 150ms;
  transition-timing-function: ease;
}

.btn-lg:hover {
  background-color: #1d4ed8;
}

/* .btn-pill — Fully rounded pill shape */
.btn-pill {
  background-color: #2563eb;
  color: #ffffff;
  font-weight: 600;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  cursor: pointer;
  transition-property: background-color;
  transition-duration: 150ms;
  transition-timing-function: ease;
}

.btn-pill:hover {
  background-color: #1d4ed8;
}

/* .btn-gradient — Gradient background button */
.btn-gradient {
  background-image: linear-gradient(to right, #9333ea, #2563eb);
  color: #ffffff;
  font-weight: 600;
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition-property: all;
  transition-duration: 200ms;
  transition-timing-function: ease;
}

.btn-gradient:hover {
  background-image: linear-gradient(to right, #7e22ce, #1d4ed8);
}

/* .btn-shadow — Elevated button with drop shadow */
.btn-shadow {
  background-color: #2563eb;
  color: #ffffff;
  font-weight: 600;
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -4px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition-property: all;
  transition-duration: 200ms;
  transition-timing-function: ease;
}

.btn-shadow:hover {
  background-color: #1d4ed8;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

/* .btn-link — Looks like a hyperlink */
.btn-link {
  background-color: transparent;
  color: #2563eb;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

.btn-link:hover {
  color: #1e40af;
}

/* .btn-icon — Square icon-only button */
.btn-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #2563eb;
  color: #ffffff;
  border-radius: 0.5rem;
  cursor: pointer;
  transition-property: background-color;
  transition-duration: 150ms;
  transition-timing-function: ease;
}

.btn-icon:hover {
  background-color: #1d4ed8;
}

/* .btn-block — Full-width button */
.btn-block {
  width: 100%;
  background-color: #2563eb;
  color: #ffffff;
  font-weight: 600;
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition-property: background-color;
  transition-duration: 200ms;
  transition-timing-function: ease;
}

.btn-block:hover {
  background-color: #1d4ed8;
}

/* .btn-ghost — Ghost / transparent button */
.btn-ghost {
  background-color: transparent;
  color: #374151;
  font-weight: 600;
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition-property: background-color;
  transition-duration: 200ms;
  transition-timing-function: ease;
}

.btn-ghost:hover {
  background-color: #f3f4f6;
}

/* .btn-dark — Dark-themed solid button */
.btn-dark {
  background-color: #111827;
  color: #ffffff;
  font-weight: 600;
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition-property: background-color;
  transition-duration: 200ms;
  transition-timing-function: ease;
}

.btn-dark:hover {
  background-color: #1f2937;
}

/* Button */


/* Form */
/* Disabled / readonly */
.disabled,
.readonly {
  display: block;
  width: 100%;
  background-color: #e2e8f0;
  border: 1px solid #64748b;
  color: #64748b;
  font-size: 0.875rem;
  padding: 0.625rem 0.75rem;
}

.disabled::placeholder,
.readonly::placeholder {
  color: #cbd5e1;
}

/* Success input */
.success {
  display: block;
  width: 100%;
  background-color: #f0fdf4;
  border: 1px solid #22c55e;
  color: #16a34a;
  font-size: 0.875rem;
  padding: 0.625rem 0.75rem;
}

.success::placeholder {
  color: #86efac;
}

/* Danger input */
.danger {
  display: block;
  width: 100%;
  background-color: #fef2f2;
  border: 1px solid #ef4444;
  color: #dc2626;
  font-size: 0.875rem;
  padding: 0.625rem 0.75rem;
}

.danger::placeholder {
  color: #fca5a5;
}

/* RADIO INPUT */
.radio-input {
  width: 1rem;
  height: 1rem;
  appearance: none;
  background-color: #ffffff;
  border: 1px solid #94a3b8;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 150ms ease;
}

.radio-input:checked {
  border-color: #2563eb;
  background-color: #2563eb;
  background-image: radial-gradient(circle, white 35%, transparent 36%);
}

/* CHECKBOX INPUT */
.checkbox-input {
  position: relative;
  width: 1rem;
  height: 1rem;
  appearance: none;
  background-color: #f3f4f6;
  border: 1px solid #94a3b8;
  border-radius: 0.125rem;
  cursor: pointer;
  transition: all 150ms ease;
}

.checkbox-input:checked {
  background-color: #2563eb;
  border-color: #2563eb;
}

.checkbox-input:focus {
  outline: none;
  box-shadow: 0 0 0 2px #93c5fd;
}

/* checkbox icon (checkmark) */
.checkbox-icon {
  position: absolute;
  width: 1rem;
  height: 1rem;
  color: #ffffff;
  pointer-events: none;
  opacity: 0;
}

/* peer interaction */
.peer:checked~.checkbox-icon {
  opacity: 1;
}

/* Form */