:root {
  --wt-blue: #1769ff;
  --wt-blue-dark: #0d55da;
  --wt-ink: #17181a;
  --wt-muted: #6e7278;
  --wt-line: #e7e8eb;
  --wt-soft: #f5f6f8;
  --wt-card: rgba(255, 255, 255, 0.98);
  --wt-radius: 24px;
  --wt-shadow: 0 28px 90px rgba(5, 10, 18, 0.28), 0 4px 18px rgba(5, 10, 18, 0.12);
}

html,
body {
  min-height: 100%;
}

body {
  color: var(--wt-ink);
  font-family: "Manrope", "Helvetica Neue", Arial, sans-serif;
  background: #07181d;
}

body,
button,
input,
textarea,
select {
  font-family: "Manrope", "Helvetica Neue", Arial, sans-serif;
}

.background {
  cursor: default;
  background-color: #07181d;
}

.background .vegas-slide-inner {
  filter: saturate(0.92) contrast(1.06) brightness(0.78);
  transform: scale(1.015);
}

.ambient-overlay {
  position: fixed;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 46%, rgba(0, 0, 0, 0.05) 0, rgba(0, 0, 0, 0.34) 42%, transparent 63%),
    linear-gradient(90deg, rgba(4, 12, 18, 0.2) 0%, rgba(4, 12, 18, 0.08) 45%, rgba(4, 12, 18, 0.48) 100%),
    linear-gradient(180deg, rgba(4, 12, 18, 0.25) 0%, transparent 32%, rgba(4, 12, 18, 0.28) 100%);
}

.wetransit-header {
  position: fixed;
  z-index: 6;
  top: 24px;
  left: 30px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.wetransit-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.22);
}

.wetransit-brand:hover,
.wetransit-brand:focus {
  color: #fff;
}

.wetransit-brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 8px 24px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.wetransit-brand-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.045em;
}

.wetransit-brand-name span {
  color: #77c7ff;
}

.wetransit-trust {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(8, 17, 24, 0.24);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.wetransit-trust i {
  font-size: 12px;
}

.wetransit-story {
  position: fixed;
  z-index: 2;
  right: clamp(42px, 6vw, 100px);
  bottom: clamp(50px, 8vh, 112px);
  width: min(540px, 44vw);
  color: #fff;
  pointer-events: none;
  text-shadow: 0 3px 32px rgba(0, 0, 0, 0.28);
}

.wetransit-story-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(10, 18, 25, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wetransit-story h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(46px, 5.2vw, 78px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.wetransit-story p {
  max-width: 480px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.65;
}

.main-logo {
  display: none !important;
}

.tabs:not(.core) {
  top: 22px;
  right: 24px;
  z-index: 7;
}

.tabs:not(.core) ul {
  gap: 7px;
  border: 0;
}

.tabs:not(.core) li a {
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.26) !important;
  border-radius: 999px !important;
  color: #fff;
  background: rgba(7, 15, 22, 0.25);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 12px;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease;
}

.tabs:not(.core) li a:hover,
.tabs:not(.core) li.is-active a {
  color: var(--wt-ink);
  background: #fff;
  transform: translateY(-1px);
}

.upload-block {
  position: relative;
  z-index: 3;
  height: 100vh;
  margin-left: clamp(30px, 7vw, 112px);
  overflow: visible;
}

.upload-block .upload-block-inner {
  width: 354px;
  height: min(590px, calc(100vh - 128px));
  min-height: 500px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: var(--wt-radius);
  background: var(--wt-card);
  box-shadow: var(--wt-shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  animation: wt-card-in 420ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

@keyframes wt-card-in {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.upload-block .upload-block-content {
  color: var(--wt-ink);
}

.upload-block .upload-form {
  border-radius: var(--wt-radius) var(--wt-radius) 0 0;
  scrollbar-color: #c8cbd0 transparent;
}

.transfer-card-heading {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--wt-line);
}

.transfer-card-heading > div > span {
  display: block;
  margin-bottom: 3px;
  color: var(--wt-blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.transfer-card-heading h2 {
  margin: 0;
  color: var(--wt-ink);
  font-size: 19px;
  font-weight: 750;
  letter-spacing: -0.035em;
}

.transfer-limit {
  padding: 6px 9px;
  border-radius: 999px;
  color: #4c5158;
  background: var(--wt-soft);
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.upload-block .upload-form .select-first-files {
  flex-grow: 0;
  min-height: 164px;
  border-bottom: 1px solid var(--wt-line);
  background: linear-gradient(180deg, #fff 0%, #fbfcff 100%);
}

.upload-block .upload-form .select-first-files .outside-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 20px 12px 16px;
}

.upload-block .upload-form .select-first-files .outside-container::before {
  content: "+";
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  margin-bottom: 13px;
  border-radius: 50%;
  color: #fff;
  background: var(--wt-blue);
  box-shadow: 0 12px 28px rgba(23, 105, 255, 0.3);
  font-size: 38px;
  font-weight: 400;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.upload-block .upload-form .select-first-files .outside-container:hover::before {
  transform: scale(1.06);
  background: var(--wt-blue-dark);
  box-shadow: 0 15px 34px rgba(23, 105, 255, 0.38);
}

.upload-block .upload-form .select-first-files lord-icon {
  display: none;
}

.upload-block .upload-block-content span.description {
  color: var(--wt-ink);
  font-size: 13px;
  font-weight: 700;
}

.upload-block .upload-block-content span.folder-select {
  padding-top: 6px;
  color: var(--wt-muted);
  font-size: 10px;
  font-weight: 600;
  text-decoration: none;
}

.upload-block .upload-block-content span.folder-select:hover {
  color: var(--wt-blue);
}

.upload-block .upload-form form .input-group {
  margin: 4px 18px;
}

.upload-block .upload-form form .input-group input,
.upload-block .upload-form form .input-group textarea,
.upload-block .upload-form form .input-group select {
  height: 44px;
  padding: 0 2px;
  border-bottom: 1px solid var(--wt-line);
  color: var(--wt-ink);
  background: transparent;
  font-size: 12px;
  font-weight: 550;
}

.upload-block .upload-form form .input-group input:focus,
.upload-block .upload-form form .input-group textarea:focus,
.upload-block .upload-form form .input-group select:focus {
  border-bottom-color: var(--wt-blue);
}

.upload-block .upload-form form .input-group input::placeholder,
.upload-block .upload-form form .input-group textarea::placeholder {
  color: #8a8f96;
}

.upload-block .upload-form form .input-group textarea {
  min-height: 70px;
  padding-top: 12px;
  resize: none;
}

.upload-block .upload-form form .advanced-options {
  padding: 13px 0 8px;
  background: var(--wt-soft);
}

.upload-block .upload-form .radio-group {
  gap: 5px;
  padding: 3px;
  border-radius: 12px;
  background: #e8eaee;
}

.upload-block .upload-form .radio-group .radio,
.upload-block .upload-form .radio-group .radio:first-child,
.upload-block .upload-form .radio-group .radio:last-child {
  padding: 8px 9px;
  border-radius: 9px;
  color: #666b72;
  background: transparent;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
}

body .upload-block .upload-form .radio-group .radio.selected {
  color: var(--wt-ink) !important;
  background: #fff !important;
  box-shadow: 0 2px 8px rgba(20, 25, 33, 0.09);
}

.upload-block .upload-block-content .button-block {
  height: 78px;
  padding: 0 18px;
  border-top: 1px solid var(--wt-line);
  border-radius: 0 0 var(--wt-radius) var(--wt-radius);
  background: #fff;
  gap: 10px;
}

.upload-block .upload-block-content#upload > .button-block > button,
.upload-block .upload-block-content .button-block button {
  min-height: 46px;
  border: 0;
  border-radius: 13px !important;
  box-shadow: none;
  font-size: 12px;
  font-weight: 800;
  transition: transform 150ms ease, background 150ms ease;
}

.upload-block .upload-block-content#upload > .button-block > button:not(.options),
.upload-block .upload-block-content .button-block button.is-info {
  background: var(--wt-blue) !important;
}

.upload-block .upload-block-content .button-block button:hover {
  transform: translateY(-1px);
}

.upload-block .upload-block-content#upload > .button-block > button.options,
.upload-block .upload-block-content .button-block button.options {
  width: 46px;
  min-width: 46px;
  margin-left: 0;
  color: var(--wt-ink);
  background: var(--wt-soft);
}

.selected-files {
  border-radius: 0;
  background: var(--wt-soft);
}

.selected-files ul li {
  border-bottom-color: #dfe1e5;
}

.upload-block .upload-block-content#download #download-form {
  width: 100%;
}

.upload-block .upload-block-content#download .top {
  padding: 24px 20px 0;
}

.upload-block .upload-block-content#download .top::before {
  content: "\2193";
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  color: #fff;
  background: var(--wt-blue);
  box-shadow: 0 12px 28px rgba(23, 105, 255, 0.28);
  font-size: 30px;
}

.upload-block .upload-block-content#download .block-icon {
  display: none;
}

.upload-block .upload-block-content#download .top h1 {
  margin-top: 17px;
  color: var(--wt-ink);
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -0.035em;
}

.upload-block .upload-block-content#download .top .expire {
  margin-top: 5px;
  color: var(--wt-muted);
  font-size: 11px;
  text-align: center;
}

.upload-block .upload-block-content#download .upload-message {
  color: #555b63;
  line-height: 1.55;
}

.upload-block .upload-block-content#download .selected-files {
  margin: 0 18px 12px;
  border: 1px solid var(--wt-line);
  border-radius: 14px;
}

.upload-block .upload-block-content#terms > div:first-child {
  position: relative;
  width: 100%;
  padding: 40px 28px 24px;
  text-align: center;
}

.upload-block .upload-block-content#terms > div:first-child::before {
  content: "\2713";
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 0 auto 24px;
  border-radius: 24px;
  color: #fff;
  background: var(--wt-blue);
  box-shadow: 0 14px 34px rgba(23, 105, 255, 0.3);
  font-size: 32px;
  font-weight: 700;
}

.upload-block .upload-block-content#terms lord-icon {
  display: none;
}

.upload-block .upload-block-content#terms span.description {
  color: var(--wt-ink);
  font-size: 16px;
  line-height: 1.55;
}

.upload-block .upload-block-content#terms span.description a {
  display: inline-block;
  margin-top: 9px;
  color: var(--wt-blue);
  font-size: 12px;
  font-weight: 750;
}

.upload-block .upload-block-content#terms .button-block .button {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 13px;
  color: #fff;
  background: var(--wt-blue) !important;
  font-size: 12px;
  font-weight: 800;
}

.upload-block .upload-progress-bar {
  width: 210px;
  height: 210px;
  color: var(--wt-ink);
  font-size: 36px;
}

.upload-block .upload-finished-details h1,
.upload-block .upload-verify-details h1 {
  color: var(--wt-ink);
  font-size: 25px;
  letter-spacing: -0.04em;
}

.upload-block .upload-finished-details .upload-finished-message input,
.upload-block .upload-verify-details input {
  border: 1px solid var(--wt-line);
  border-radius: 12px;
  box-shadow: none;
}

.upload-block .upload-block-tooltip {
  width: 220px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  background: rgba(12, 19, 26, 0.88);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.tab-window {
  border: 0;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: -30px 0 90px rgba(5, 10, 18, 0.18);
}

.tab-window.active {
  min-width: min(720px, 62vw);
}

.tab-window .tab-logo {
  display: none;
}

.drop-overlay {
  z-index: 20;
  border: 3px dashed rgba(255, 255, 255, 0.88);
  border-radius: 20px;
  background: rgba(10, 28, 36, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.drop-overlay p {
  font-family: "Manrope", sans-serif;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

@media (max-width: 1100px) {
  .wetransit-story {
    width: 42vw;
  }

  .wetransit-story h1 {
    font-size: clamp(42px, 5vw, 62px);
  }
}

@media (max-width: 820px) {
  body {
    position: relative;
    min-height: 100svh;
    overflow: hidden;
    background: #07181d;
  }

  .background {
    display: block;
  }

  .ambient-overlay {
    background: linear-gradient(180deg, rgba(5, 13, 20, 0.28), rgba(5, 13, 20, 0.56));
  }

  .wetransit-header {
    top: 14px;
    left: 16px;
  }

  .wetransit-brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    font-size: 15px;
  }

  .wetransit-brand-name {
    font-size: 19px;
  }

  .wetransit-trust,
  .wetransit-story {
    display: none;
  }

  .mobile-nav {
    position: fixed;
    z-index: 8;
    top: 8px;
    right: 8px;
    width: auto;
    min-height: 46px;
    background: transparent !important;
  }

  .mobile-nav .navbar-brand .navbar-item {
    display: none;
  }

  .mobile-nav .navbar-burger {
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 50%;
    color: #fff;
    background: rgba(7, 15, 22, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .mobile-nav .navbar-menu {
    position: fixed;
    top: 62px;
    right: 10px;
    min-width: 210px;
    padding: 10px;
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--wt-shadow);
  }

  .mobile-nav .navbar-item {
    border-radius: 10px;
    color: var(--wt-ink);
    font-weight: 700;
  }

  .upload-block {
    height: 100svh;
    margin: 0;
    padding: 72px 12px 12px;
    align-items: stretch;
  }

  .upload-block .upload-block-inner {
    width: min(100%, 430px);
    height: calc(100svh - 84px);
    min-height: 0;
    margin: 0 auto;
    border-radius: 22px;
    box-shadow: 0 18px 60px rgba(5, 10, 18, 0.3);
  }

  .upload-block .upload-form {
    border-radius: 22px 22px 0 0;
  }

  .upload-block .upload-block-content .button-block {
    border-radius: 0 0 22px 22px;
  }

  .upload-block .upload-form .select-first-files {
    min-height: 150px;
  }

  .upload-block .upload-block-tooltip {
    position: fixed;
    z-index: 12;
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: auto;
    height: auto;
    min-height: 76px;
    border-radius: 16px;
  }

  .tab-window.active {
    top: 0;
    min-width: 100%;
    max-width: 100%;
    margin-top: 0;
    z-index: 10;
  }
}

@media (max-height: 680px) and (min-width: 821px) {
  .upload-block .upload-block-inner {
    height: calc(100vh - 90px);
    min-height: 480px;
  }

  .upload-block .upload-form .select-first-files {
    min-height: 140px;
  }

  .transfer-card-heading {
    min-height: 66px;
    padding-top: 12px;
    padding-bottom: 10px;
  }
}

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