:root {
  --ts-ink: #142033;
  --ts-muted: #65748b;
  --ts-soft: #f5f8fb;
  --ts-panel: #ffffff;
  --ts-line: #d9e2ec;
  --ts-primary: #3157d5;
  --ts-primary-strong: #2445b8;
  --ts-green: #0f9f6e;
  --ts-yellow: #f0b429;
  --ts-shadow: 0 22px 70px rgba(20, 32, 51, 0.14);
}

body.npc-landing {
  background: var(--ts-soft);
  color: var(--ts-ink);
}

.header.has-header-main-s1.bg-dark {
  display: block !important;
  min-height: 100vh;
  padding-top: 0 !important;
  background: var(--ts-soft) !important;
  color: var(--ts-ink);
  overflow: hidden;
  isolation: isolate;
}

.header.has-header-main-s1.bg-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(49, 87, 213, 0.08), transparent 35%),
    linear-gradient(180deg, #ffffff 0%, #f5f8fb 100%);
}

.header-main.header-main-s1 {
  padding: 20px 0;
  background: rgba(255, 255, 255, 0.86) !important;
  border-bottom: 1px solid rgba(217, 226, 236, 0.86);
  backdrop-filter: blur(14px);
}

.header-container,
.header-content .container {
  position: relative;
  z-index: 1;
}

.header-main.on-dark .logo-light {
  display: none !important;
}

.header-main.on-dark .logo-dark {
  display: inline-block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.header-logo .logo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.header-logo .logo-img-lg {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.header-menu .menu-link,
.header-menu .nav-link {
  color: #26364d !important;
  font-weight: 700;
}

.header-menu .menu-link:hover,
.header-menu .nav-link:hover {
  color: var(--ts-primary) !important;
}

.menu-toggler {
  color: var(--ts-ink) !important;
}

#registerTab,
#manageTab,
.btn-primary {
  border-color: var(--ts-primary) !important;
  background: var(--ts-primary) !important;
  box-shadow: 0 12px 26px rgba(49, 87, 213, 0.22);
}

#registerTab:hover,
#manageTab:hover,
.btn-primary:hover {
  border-color: var(--ts-primary-strong) !important;
  background: var(--ts-primary-strong) !important;
}

.header-content.is-dark {
  min-height: calc(100vh - 86px);
  display: flex;
  align-items: center;
  padding: 72px 0 46px !important;
  color: var(--ts-ink) !important;
}

.header-caption {
  width: min(1120px, 100%);
  margin: 0 auto;
}

#nk-upload-form > div:first-child {
  max-width: 760px;
  margin: 0 auto 26px !important;
}

.header-title {
  color: var(--ts-ink) !important;
  font-size: clamp(2.25rem, 5vw, 4.35rem) !important;
  line-height: 1.02 !important;
  letter-spacing: 0 !important;
  margin-bottom: 18px !important;
}

.header-title + p {
  max-width: 680px;
  margin: 0 auto;
  color: var(--ts-muted) !important;
  font-size: 1.16rem !important;
  line-height: 1.65;
}

#uploadInit {
  width: min(680px, 100%);
  margin: 0 auto 24px !important;
}

#uploadInit .upload-zone,
#uploadZoneConfig.uploadRipple {
  width: 100% !important;
  min-height: 258px !important;
  height: auto !important;
  border-radius: 8px !important;
  border: 2px dashed #9db2d6 !important;
  background: var(--ts-panel) !important;
  box-shadow: var(--ts-shadow);
  animation: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

#uploadInit .upload-zone:hover,
#uploadInit .upload-zone.dz-drag-hover {
  border-color: var(--ts-primary) !important;
  transform: translateY(-2px);
  box-shadow: 0 28px 80px rgba(20, 32, 51, 0.18);
}

#uploadInit .dz-message {
  width: 100%;
  padding: 36px 28px;
}

#uploadInit .dz-message::before {
  content: "+";
  display: grid;
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  place-items: center;
  border-radius: 8px;
  background: #e8f1ff;
  color: var(--ts-primary);
  font-size: 34px;
  font-weight: 700;
}

#messageBox {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--ts-ink);
}

#messageBoxText {
  color: var(--ts-ink) !important;
  font-size: 1.15rem !important;
  font-weight: 800;
}

#messageBox::after {
  content: "Drop files here, choose files, or add a folder. Free transfers support files up to 50 GB.";
  max-width: 410px;
  color: var(--ts-muted);
  font-size: 0.96rem;
  line-height: 1.5;
}

.uploadToolTip {
  position: static !important;
  width: min(680px, 100%) !important;
  height: auto !important;
  margin: 12px auto 0 !important;
  padding: 0 !important;
  color: var(--ts-muted);
  background: transparent !important;
  box-shadow: none !important;
  animation: none !important;
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
}

.uploadToolTip::before {
  display: none;
}

.uploadToolTip span {
  padding: 0 !important;
}

.uploadToolTip hr {
  display: none;
}

#folderButton {
  color: var(--ts-primary) !important;
  font-weight: 800;
}

#stats-show {
  margin-top: 20px !important;
}

body.ts-configuring-transfer #stats-show {
  display: none !important;
}

body.ts-status-transfer #stats-show {
  display: none !important;
}

.stats-container {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px !important;
  width: min(760px, 100%);
  margin: 0 auto !important;
}

.stat-item {
  display: grid !important;
  grid-template-columns: 38px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 12px;
  height: 60px;
  min-height: 60px;
  max-height: 60px;
  overflow: hidden;
  padding: 11px 16px !important;
  border: 1px solid rgba(189, 202, 222, 0.82);
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.92) !important;
  color: transparent;
  font-size: 0;
  line-height: 0;
  text-align: left;
  box-shadow: 0 12px 32px rgba(20, 32, 51, 0.08);
}

.stat-item::before {
  content: "\ec1c";
  grid-column: 1;
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(49, 87, 213, 0.14), rgba(15, 159, 110, 0.12)),
    #eef5ff;
  color: var(--ts-primary);
  font-family: "Nioicon";
  font-size: 1.25rem;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(49, 87, 213, 0.14);
}

.stat-item::after {
  grid-column: 2;
  grid-row: 2;
  color: var(--ts-muted);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.05;
}

.stat-item:nth-child(1)::after {
  content: "uploaded";
}

.stat-item:nth-child(2)::after {
  content: "emails sent";
}

.stat-item:nth-child(3)::after {
  content: "downloaded";
}

.stat-item:nth-child(2)::before {
  content: "\ea2e";
}

.stat-item:nth-child(3)::before {
  content: "\ea1f";
}

.stat-icon {
  display: none !important;
}

.stat-value {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  color: var(--ts-ink) !important;
  font-size: 0.94rem;
  font-weight: 900 !important;
  line-height: 1.05;
  white-space: nowrap;
}

#nk-configure-form {
  width: min(1040px, calc(100vw - 56px));
  max-width: 1040px;
  margin: 0 auto;
  padding-top: 8px;
}

body.ts-configuring-transfer .header-content.is-dark {
  align-items: flex-start;
  padding-top: 104px !important;
}

body.ts-configuring-transfer .header-caption {
  display: grid;
  justify-items: center;
  width: 100%;
}

#nk-configure-form > .row {
  display: grid !important;
  grid-template-columns: minmax(0, 1.45fr) minmax(330px, 0.9fr);
  gap: 24px;
  align-items: start;
  justify-content: center;
  width: 100% !important;
  margin: 0 auto !important;
  text-align: left !important;
}

.configure-zone,
.add-zone {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  padding: 0 !important;
}

#nk-configure-form .card {
  border: 1px solid var(--ts-line) !important;
  border-radius: 8px !important;
  box-shadow: 0 24px 70px rgba(20, 32, 51, 0.12);
}

#nk-configure-form .card-inner {
  padding: 28px !important;
}

#navConfig {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  width: 100%;
  margin: 0 0 20px !important;
  padding: 5px !important;
  border: 1px solid #dce5f0;
  border-radius: 8px;
  background: #f6f9fc;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

#navConfig .nav-item {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

#navConfig .nav-link {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100% !important;
  min-height: 48px;
  margin: 0 !important;
  padding: 0 16px !important;
  border: 0 !important;
  border-radius: 7px !important;
  color: var(--ts-muted);
  background: transparent;
  font-weight: 800;
  line-height: 1;
  box-shadow: none;
  white-space: nowrap;
}

#navConfig .nav-link::after,
#navConfig .nav-link::before {
  display: none !important;
}

#navConfig .nav-link.active {
  background: #ffffff;
  color: var(--ts-primary) !important;
  box-shadow: 0 8px 20px rgba(20, 32, 51, 0.10);
}

#navConfig .nav-link em {
  font-size: 1.08rem;
}

#navConfig .nav-link span {
  display: block;
}

#normalConfig .form-control,
#emailTransfer .form-control,
#messageField,
#senderNameField,
#titleField {
  min-height: 46px;
  border-color: #d6e0ea;
  border-radius: 7px;
}

#nk-configure-form .tab-content {
  padding-top: 0;
}

#nk-configure-form .form-group {
  margin-bottom: 14px !important;
}

#nk-configure-form .preview-block > br {
  display: none;
}

#nk-configure-form .nk-modal-action {
  margin-top: 18px;
}

#nk-configure-form .nk-modal-action .btn-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  margin: 0 !important;
}

#nk-configure-form .nk-modal-action .btn-toolbar > li {
  padding: 0 !important;
}

#cancelButton {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 800;
}

#uploadButton {
  min-width: 112px;
  min-height: 44px;
  padding: 0 22px;
}

#uploadConfig {
  margin-top: 0;
}

#uploadConfig .upload-zone {
  display: grid !important;
  place-items: center;
  padding: 24px !important;
}

#uploadConfig .dz-message {
  margin: 0 !important;
  padding: 0 !important;
}

#uploadConfig #messageBox::after {
  content: "Drop files here or choose another file.";
  max-width: 240px;
  margin-top: 8px;
  font-size: 0.9rem;
}

#uploadConfig .btn,
#uploadButton,
#cancelButton {
  border-radius: 7px;
  font-weight: 800;
}

.add-zone .upload-zone {
  min-height: 204px;
  border: 2px dashed #9db2d6 !important;
  border-radius: 8px !important;
  background: #f8fbfe !important;
}

#queuedFiles {
  gap: 10px;
  padding: 0 !important;
  max-height: 312px !important;
}

#queuedFiles > li {
  justify-content: space-between !important;
  gap: 12px;
  margin-top: 12px;
  padding: 12px 14px !important;
  border: 1px solid #e7eef6;
  border-radius: 7px;
  background: #ffffff;
  color: var(--ts-ink);
}

#nk-status-form .card,
.pricing.card {
  border-radius: 8px !important;
}

body.ts-status-transfer .header-content.is-dark {
  align-items: center;
  min-height: calc(100vh - 86px);
  padding-top: 72px !important;
  padding-bottom: 72px !important;
}

body.ts-status-transfer #nk-status-form {
  width: min(450px, calc(100vw - 32px));
  margin: 0 auto;
}

body.ts-status-transfer #nk-status-form .card {
  width: 100% !important;
  min-height: 400px;
  height: auto !important;
  border: 0 !important;
  box-shadow: 0 24px 64px rgba(7, 16, 37, 0.24);
}

body.ts-status-transfer #nk-status-form .card-inner {
  padding: 34px 24px 26px !important;
}

body.ts-status-transfer #uploadStatus {
  padding-top: 8px !important;
}

body.ts-status-transfer #transferCompleteTitle {
  color: #0f172a !important;
  font-size: 1.45rem;
  font-weight: 950;
  letter-spacing: 0;
}

body.ts-status-transfer #transferCompleteMsg {
  max-width: 360px;
  margin: 10px auto 0;
  color: #1f2937 !important;
  font-size: 0.98rem;
  line-height: 1.55;
}

body.ts-status-transfer #uploadStatus > p[style*="margin-top"] {
  margin-top: 140px !important;
}

.section {
  background: #ffffff;
}

.section .title {
  color: var(--ts-ink);
}

.accordion .accordion-head .title,
.accordion-inner p,
.pricing-features li {
  letter-spacing: 0;
}

@media (max-width: 991px) {
  .header-content.is-dark {
    min-height: auto;
    padding: 42px 0 36px !important;
  }

  #nk-configure-form {
    width: min(100%, 720px);
  }

  #nk-configure-form > .row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  #nk-configure-form .card-inner {
    padding: 22px !important;
  }

  .stats-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 575px) {
  .header-main.header-main-s1 {
    padding: 14px 0;
  }

  .header-title {
    font-size: 2rem !important;
  }

  .header-title + p {
    font-size: 1rem !important;
  }

  #uploadInit .upload-zone,
  #uploadZoneConfig.uploadRipple {
    min-height: 240px !important;
  }

  .stats-container {
    grid-template-columns: 1fr;
  }

  .stat-item {
    min-height: 54px;
  }

  #navConfig {
    grid-template-columns: 1fr;
  }

  body.ts-configuring-transfer .header-content.is-dark {
    padding-top: 80px !important;
  }

  body.ts-configuring-transfer #normalConfig {
    min-height: 273px;
  }

  body.ts-configuring-transfer.ts-link-mode #emailTransfer {
    margin-bottom: 0 !important;
  }

  #uploadConfig {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  #uploadConfig ul,
  #uploadConfig .btn-toolbar {
    width: 100%;
  }

  #uploadButton {
    width: 100%;
  }
}

/* Selected-transfer and navigation polish pass */
body.npc-landing {
  font-family: "Nunito", "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.header-main.header-main-s1 {
  padding: 18px 0 !important;
}

.header-wrap {
  min-height: 58px;
}

.header-logo .logo-link {
  gap: 12px;
}

.header-logo .logo-img-lg {
  width: 48px !important;
  height: 48px !important;
}

.header-logo .customFonts {
  font-family: "Nunito", "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 1.2rem !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
}

.header-menu .menu-list {
  align-items: center;
  gap: 30px;
}

.header-menu .menu-item {
  padding: 0 !important;
}

.header-menu .menu-link,
.header-menu .nav-link {
  padding: 10px 0 !important;
  font-family: "Nunito", "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.98rem;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1;
}

.menu-btns {
  margin-left: 30px;
}

#registerTab,
#manageTab {
  min-height: 48px;
  padding: 0 26px !important;
  border-radius: 6px !important;
  font-family: "Nunito", "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.98rem;
  font-weight: 900;
  letter-spacing: 0;
}

body.ts-configuring-transfer .header-content.is-dark {
  min-height: calc(100vh - 94px);
  align-items: flex-start;
  padding-top: 76px !important;
}

body.ts-configuring-transfer #nk-configure-form {
  width: min(744px, calc(100vw - 48px));
  max-width: 744px;
}

body.ts-configuring-transfer #nk-configure-form > .row {
  grid-template-columns: minmax(0, 404px) minmax(286px, 300px);
  gap: 20px;
  align-items: start;
}

body.ts-configuring-transfer .configure-zone,
body.ts-configuring-transfer .add-zone {
  display: block !important;
}

body.ts-configuring-transfer #nk-configure-form .card {
  border-radius: 7px !important;
  box-shadow: 0 22px 58px rgba(8, 17, 38, 0.24);
}

body.ts-configuring-transfer #nk-configure-form .card-inner {
  padding: 20px !important;
}

body.ts-configuring-transfer #navConfig {
  margin: -20px -20px 16px !important;
  min-height: 64px;
}

body.ts-configuring-transfer #navConfig .nav-link {
  min-height: 64px;
  font-size: 0.98rem;
  color: #111827;
}

body.ts-configuring-transfer #navConfig .nav-link:not(.active) {
  background: #dce4f8;
}

body.ts-configuring-transfer #navConfig .nav-link.active {
  background: #ffffff;
}

body.ts-configuring-transfer #nk-configure-form .tab-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.ts-configuring-transfer #normalConfig {
  margin-bottom: 0 !important;
}

body.ts-configuring-transfer #nk-configure-form .form-group {
  margin-bottom: 10px !important;
}

body.ts-configuring-transfer #emailTransfer {
  margin-bottom: 10px !important;
}

body.ts-configuring-transfer #normalConfig .form-control,
body.ts-configuring-transfer #emailTransfer .form-control,
body.ts-configuring-transfer #messageField,
body.ts-configuring-transfer #senderNameField,
body.ts-configuring-transfer #titleField {
  min-height: 44px;
  font-size: 0.88rem;
}

body.ts-configuring-transfer .tagContainer {
  min-height: 44px;
  padding: 8px 10px;
}

body.ts-configuring-transfer #nk-configure-form .tab-pane.active > div > br {
  display: none !important;
}

body.ts-configuring-transfer .ts-settings-dock {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 8px;
  width: 100%;
  margin: 6px 0 14px;
  padding: 0;
  border: 0;
}

body.ts-configuring-transfer .ts-setting-chip,
body.ts-configuring-transfer .ts-setting-select {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  min-width: 0;
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #dbe4f2;
  border-radius: 7px;
  background: #f8fbff;
  color: #5264b8;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

body.ts-configuring-transfer .ts-setting-chip:hover,
body.ts-configuring-transfer .ts-setting-select:hover,
body.ts-configuring-transfer .ts-setting-chip:focus-visible,
body.ts-configuring-transfer .ts-setting-select:focus-within {
  border-color: rgba(49, 87, 213, 0.4);
  background: #eef4ff;
  color: var(--ts-primary);
}

body.ts-configuring-transfer .ts-setting-chip.is-active {
  background: #eaf0ff;
  color: var(--ts-primary);
}

body.ts-configuring-transfer .ts-setting-chip em,
body.ts-configuring-transfer .ts-setting-select em {
  flex: 0 0 auto;
  color: currentColor;
  font-size: 1.18rem;
}

body.ts-configuring-transfer .ts-setting-label {
  min-width: 0;
  overflow: hidden;
  color: #1f2a44;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.ts-configuring-transfer .ts-expiry-short {
  position: static;
  flex: 0 0 auto;
  margin-left: auto;
  min-width: 16px;
  height: 17px;
  padding: 0 3px;
  border-radius: 999px;
  background: #eef3ff;
  color: var(--ts-primary);
  font-size: 0.6rem;
  font-weight: 900;
  line-height: 17px;
  text-align: center;
}

body.ts-configuring-transfer #tsExpirySelect {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

body.ts-configuring-transfer .ts-password-inline {
  margin: -4px 0 12px;
}

body.ts-configuring-transfer .ts-password-inline .form-control {
  min-height: 42px;
  font-size: 0.9rem;
}

body.ts-configuring-transfer #nk-configure-form .nk-modal-action {
  margin-top: 0;
}

body.ts-configuring-transfer #nk-configure-form .nk-modal-action .btn-toolbar {
  display: flex;
  flex-direction: column-reverse;
  align-items: stretch;
  gap: 8px;
}

body.ts-configuring-transfer #nk-configure-form .nk-modal-action .btn-toolbar > li {
  width: 100%;
}

body.ts-configuring-transfer #uploadButton {
  width: 100%;
  min-height: 46px;
  border-radius: 6px;
}

body.ts-configuring-transfer #cancelButton {
  justify-content: center;
  min-height: 28px;
  font-size: 0.82rem;
}

body.ts-configuring-transfer #uploadConfig .upload-zone {
  display: none !important;
}

body.ts-configuring-transfer .add-zone .card-inner {
  padding: 20px !important;
}

body.ts-configuring-transfer #uploadConfig {
  gap: 12px;
}

body.ts-configuring-transfer .ts-file-actions {
  gap: 10px;
}

body.ts-configuring-transfer .ts-add-file-button {
  min-height: 74px;
}

body.ts-configuring-transfer .ts-file-summary-bar {
  padding-top: 0;
}

body.ts-configuring-transfer #queuedFiles {
  max-height: 190px !important;
}

body.ts-configuring-transfer #queuedFiles > li.ts-file-row {
  padding: 8px 0 !important;
}

@media (max-width: 819px) {
  body.ts-configuring-transfer #nk-configure-form {
    width: min(100%, calc(100vw - 24px));
  }

  body.ts-configuring-transfer #nk-configure-form > .row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (max-width: 575px) {
  .header-main.header-main-s1 {
    padding: 14px 0 !important;
  }

  .header-logo .logo-img-lg {
    width: 42px !important;
    height: 42px !important;
  }

  .header-logo .customFonts {
    font-size: 1.08rem !important;
  }

  body.ts-configuring-transfer .header-content.is-dark {
    padding-top: 52px !important;
  }

  body.ts-configuring-transfer .configure-zone .card {
    min-height: 0;
  }
}

/* Refined public upload surface */
.header.has-header-main-s1.bg-dark {
  background: #1a2943 !important;
  color: #ffffff;
}

.header.has-header-main-s1.bg-dark::before {
  background:
    linear-gradient(180deg, rgba(58, 83, 170, 0.92) 0%, rgba(51, 70, 140, 0.86) 52%, rgba(35, 47, 89, 0.92) 100%),
    url("/running-cloud-2.png") right 7% bottom -34px / min(34vw, 430px) auto no-repeat;
}

.header-main.header-main-s1 {
  background: rgba(23, 37, 66, 0.76) !important;
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.header-main.on-dark .logo-light {
  display: inline-block !important;
}

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

.header-menu .menu-link,
.header-menu .nav-link,
.menu-toggler {
  color: rgba(255, 255, 255, 0.9) !important;
}

.header-menu .menu-link:hover,
.header-menu .nav-link:hover {
  color: #ffffff !important;
}

.header-content.is-dark,
.header-title {
  color: #ffffff !important;
}

.header-title + p {
  color: rgba(255, 255, 255, 0.78) !important;
}

#uploadInit {
  width: 286px;
  min-height: 286px;
  margin: 0 auto 24px !important;
  display: grid;
  place-items: center;
}

#uploadInit .upload-zone,
#uploadZoneConfig.uploadRipple {
  width: 232px !important;
  height: 232px !important;
  min-height: 232px !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #f8fbff !important;
  box-shadow:
    0 0 0 10px rgba(255, 255, 255, 0.18),
    0 0 0 28px rgba(255, 255, 255, 0.10),
    0 26px 70px rgba(9, 18, 40, 0.32);
  animation: ts-upload-ripple 2.8s ease-out infinite !important;
  transform: none;
}

#uploadInit .upload-zone:hover,
#uploadInit .upload-zone.dz-drag-hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 0 12px rgba(255, 255, 255, 0.22),
    0 0 0 34px rgba(255, 255, 255, 0.12),
    0 30px 78px rgba(9, 18, 40, 0.38);
}

@keyframes ts-upload-ripple {
  0% {
    box-shadow:
      0 0 0 10px rgba(255, 255, 255, 0.20),
      0 0 0 28px rgba(255, 255, 255, 0.12),
      0 26px 70px rgba(9, 18, 40, 0.32);
  }
  72% {
    box-shadow:
      0 0 0 17px rgba(255, 255, 255, 0.12),
      0 0 0 46px rgba(255, 255, 255, 0.02),
      0 26px 70px rgba(9, 18, 40, 0.32);
  }
  100% {
    box-shadow:
      0 0 0 10px rgba(255, 255, 255, 0.20),
      0 0 0 28px rgba(255, 255, 255, 0.12),
      0 26px 70px rgba(9, 18, 40, 0.32);
  }
}

#uploadInit .dz-message {
  padding: 0;
}

#uploadInit .dz-message::before {
  display: none;
}

#uploadInit #messageBox::after {
  display: none;
}

#uploadInit #messageBoxText {
  color: var(--ts-primary) !important;
  font-size: 1.15rem !important;
  font-weight: 900;
}

.uploadToolTip {
  position: relative !important;
  width: 286px !important;
  margin: -4px auto 0 !important;
  padding: 15px 18px 16px !important;
  border-radius: 7px !important;
  background: #ffffff !important;
  color: #6d7b91 !important;
  box-shadow: 0 18px 48px rgba(8, 17, 38, 0.24) !important;
  text-align: center;
}

.uploadToolTip::before {
  display: block;
  bottom: 100%;
}

.uploadToolTip span {
  padding: 0 !important;
}

.uploadToolTip hr {
  display: block;
  width: 100%;
  margin: 12px 0;
  border-color: #edf1f7;
}

#stats-show {
  color: #ffffff;
}

.stats-container {
  width: min(690px, 100%);
}

.stat-item {
  background: rgba(255, 255, 255, 0.94) !important;
}

body.ts-configuring-transfer .header-content.is-dark {
  min-height: calc(100vh - 86px);
  align-items: center;
  padding-top: 72px !important;
}

#nk-configure-form {
  width: min(820px, calc(100vw - 40px));
  max-width: 820px;
  padding-top: 0;
}

#nk-configure-form > .row {
  grid-template-columns: minmax(0, 420px) minmax(320px, 330px);
  gap: 18px;
}

#nk-configure-form .card {
  border: 0 !important;
  border-radius: 7px !important;
  box-shadow: 0 22px 58px rgba(8, 17, 38, 0.24);
}

#nk-configure-form .card-inner {
  padding: 20px !important;
}

#navConfig {
  margin: -20px -20px 18px !important;
  padding: 0 !important;
  gap: 0;
  border: 0;
  border-radius: 7px 7px 0 0;
  background: #dce3f6;
  overflow: hidden;
  box-shadow: none;
}

#navConfig .nav-link {
  min-height: 66px;
  border-radius: 0 !important;
  color: #111827;
  font-size: 1rem;
  font-weight: 800;
}

#navConfig .nav-link.active {
  color: #111827 !important;
  box-shadow: none;
}

#normalConfig .form-control,
#emailTransfer .form-control,
#messageField,
#senderNameField,
#titleField,
.ts-password-inline .form-control {
  min-height: 44px;
  border-color: #d7dce6;
  border-radius: 6px;
  color: #1f2937;
}

#normalConfig .form-control:focus,
#emailTransfer .form-control:focus,
.ts-password-inline .form-control:focus,
#tsExpirySelect:focus {
  border-color: var(--ts-primary);
  box-shadow: 0 0 0 3px rgba(49, 87, 213, 0.14);
}

.ts-legacy-settings-trigger {
  display: none !important;
}

.ts-settings-dock {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 8px 0 12px;
}

.ts-setting-chip,
.ts-setting-select {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid #dbe2ed;
  border-radius: 6px;
  background: #ffffff;
  color: #5c6a80;
  font-weight: 800;
}

.ts-setting-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ts-setting-chip {
  cursor: pointer;
}

.ts-setting-chip.is-active {
  border-color: rgba(49, 87, 213, 0.48);
  background: #eef4ff;
  color: var(--ts-primary);
}

.ts-setting-chip em,
.ts-setting-select em {
  color: #6374c7;
  font-size: 1.05rem;
}

#tsSettingsDock .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ts-setting-select {
  position: relative;
}

#tsExpirySelect {
  position: absolute;
  inset: 0;
  min-width: 0;
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #1f2937;
  font-weight: 800;
  opacity: 0;
  cursor: pointer;
}

.ts-password-inline {
  margin: -2px 0 12px;
}

#nk-configure-form .nk-modal-action {
  margin-top: 12px;
}

#nk-configure-form .nk-modal-action .btn-toolbar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
}

#uploadButton {
  width: 100%;
  min-height: 46px;
}

#uploadConfig {
  display: grid;
  gap: 10px;
}

#uploadConfig .upload-zone {
  order: 2;
  min-height: 44px !important;
  padding: 9px 12px !important;
  border: 1px dashed #a8b6d8 !important;
  border-radius: 6px !important;
  background: #fbfdff !important;
  box-shadow: none;
}

#uploadConfig .dz-message,
#uploadConfig #messageBox {
  min-height: 0;
}

#uploadConfig #messageBoxText {
  font-size: 0 !important;
}

#uploadConfig #messageBoxText::before {
  content: "Drop files here";
  color: #6a778c;
  font-size: 0.82rem;
  font-weight: 800;
}

#uploadConfig #messageBox::after {
  display: none;
}

.ts-file-actions {
  order: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.ts-add-file-button {
  display: grid;
  place-items: center;
  min-height: 74px;
  padding: 10px 8px;
  border: 2px dashed #b8c3df;
  border-radius: 6px;
  background: #ffffff;
  color: #1f2937;
  font-weight: 900;
  cursor: pointer;
}

.ts-add-file-button span {
  font-size: 0.9rem;
  line-height: 1.15;
  white-space: nowrap;
}

.ts-add-file-button em {
  color: #5c6fd6;
  font-size: 1.45rem;
  margin-bottom: 5px;
}

.ts-add-file-button:hover,
.ts-add-file-button:focus {
  border-color: var(--ts-primary);
  color: var(--ts-primary);
  outline: 0;
}

.ts-file-summary-bar {
  order: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 4px;
  color: #111827;
}

#tsQueuedSummary {
  font-size: 0.96rem;
  font-weight: 900;
}

#tsQueuedSummary span {
  font-weight: 500;
}

.ts-clear-files-button,
.ts-file-remove {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #6576ff;
  cursor: pointer;
}

.ts-clear-files-button:hover,
.ts-file-remove:hover {
  background: #eef3ff;
}

#queuedFiles {
  order: 4;
  gap: 0;
  max-height: 220px !important;
  border-top: 1px solid #e1e7f0;
}

#queuedFiles > li.ts-file-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto 28px;
  gap: 12px;
  align-items: center;
  margin: 0;
  padding: 9px 0 !important;
  border: 0;
  border-bottom: 1px solid #edf1f6;
  border-radius: 0;
  background: transparent;
}

.ts-file-name {
  min-width: 0;
  overflow: hidden;
  color: #111827;
  font-size: 0.9rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ts-file-size {
  color: #111827;
  font-size: 0.86rem;
  font-weight: 800;
  white-space: nowrap;
}

@media (max-width: 991px) {
  .header.has-header-main-s1.bg-dark::before {
    background:
      linear-gradient(180deg, rgba(58, 83, 170, 0.94) 0%, rgba(42, 60, 128, 0.94) 100%),
      url("/running-cloud-2.png") center bottom -80px / 360px auto no-repeat;
  }

  #nk-configure-form {
    width: min(100%, 720px);
  }

  #nk-configure-form > .row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (max-width: 575px) {
  .header-content.is-dark {
    padding-top: 54px !important;
  }

  #uploadInit {
    width: 248px;
    min-height: 248px;
  }

  #uploadInit .upload-zone,
  #uploadZoneConfig.uploadRipple {
    width: 206px !important;
    height: 206px !important;
    min-height: 206px !important;
  }

  .uploadToolTip {
    width: min(286px, calc(100vw - 44px)) !important;
  }

  body.ts-configuring-transfer .header-content.is-dark {
    padding-top: 64px !important;
  }

  body.ts-configuring-transfer #normalConfig {
    min-height: auto;
  }

  body.ts-configuring-transfer .configure-zone .card {
    min-height: 515px;
  }

  #nk-configure-form {
    width: calc(100vw - 24px);
  }

  #navConfig .nav-link {
    min-height: 52px;
    padding: 0 10px !important;
    font-size: 0.88rem;
  }

  #navConfig {
    grid-template-columns: 1fr 1fr;
  }

  #navConfig .nav-link em {
    font-size: 0.98rem;
  }

  .ts-settings-dock {
    grid-template-columns: 1fr;
  }

  #nk-configure-form .nk-modal-action .btn-toolbar {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  #cancelButton {
    justify-content: center;
  }
}

/* Homepage polish pass: cover image, mobile nav, pricing */
.header.has-header-main-s1.bg-dark::before {
  background:
    linear-gradient(120deg, #071323 0%, #132b67 48%, #08162d 100%);
  z-index: 0;
}

.ts-hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 0.72;
  pointer-events: none;
}

.header-main.header-main-s1,
.header-content.is-dark {
  position: relative;
  z-index: 1;
}

.header-main.header-main-s1 {
  background: rgba(24, 39, 75, 0.82) !important;
}

.header-logo {
  display: flex !important;
  align-items: center !important;
}

.header-logo .logo-link {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  line-height: 1 !important;
}

.header-logo .logo-link img {
  display: block !important;
  float: none !important;
  flex: 0 0 auto;
  margin: 0 !important;
  object-fit: contain;
  vertical-align: middle;
}

.header-logo .logo-link > span,
.header-logo .customFonts {
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
  line-height: 1 !important;
}

.header-logo .customFonts {
  font-family: "Nunito", "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-weight: 950 !important;
  letter-spacing: 0 !important;
}

.header-main.on-dark img.logo-light {
  display: block !important;
}

.header-main.on-dark span.logo-light {
  display: inline-flex !important;
}

@media (min-width: 992px) {
  .header-wrap {
    align-items: center !important;
  }

  .header-logo,
  .header-logo .logo-link,
  .header-menu,
  .header-menu .menu-list,
  .header-menu .menu-item,
  .header-menu .menu-link,
  .header-menu .nav-link,
  .menu-btns,
  .menu-btns li {
    min-height: 48px;
  }

  .header-logo,
  .header-logo .logo-link,
  .header-menu,
  .header-menu .menu-list,
  .header-menu .menu-item,
  .header-menu .menu-link,
  .header-menu .nav-link,
  .menu-btns,
  .menu-btns li,
  #registerTab,
  #manageTab {
    display: flex !important;
    align-items: center !important;
  }

  .header-menu .menu-link,
  .header-menu .nav-link {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .menu-btns {
    margin: 0 0 0 30px !important;
    padding: 0 0 0 16px !important;
  }

  .menu-btns li {
    padding: 0 24px !important;
  }

  #registerTab,
  #manageTab {
    min-height: 48px;
    height: 48px;
  }

  #manageTab[style*="display: none"] {
    display: none !important;
  }
}

@media (max-width: 991px) {
  .header-main.header-main-s1 {
    padding: 10px 0 !important;
    background: rgba(29, 48, 96, 0.96) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  }

  .header-wrap {
    min-height: 58px;
    padding: 0 !important;
  }

  .header-toggle {
    position: relative;
    z-index: 1004;
  }

  .menu-toggler {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    color: #ffffff !important;
    font-size: 1.45rem;
  }

  .menu-toggler.active {
    background: rgba(255, 255, 255, 0.16) !important;
    color: #ffffff !important;
  }

  .header-menu.mobile-menu,
  .header-menu {
    position: fixed !important;
    top: 78px;
    right: 12px;
    left: 12px;
    bottom: auto;
    width: auto !important;
    padding: 12px !important;
    border: 1px solid rgba(214, 224, 244, 0.95);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 22px 60px rgba(8, 17, 38, 0.28);
    transform: translateY(-18px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    z-index: 1002;
  }

  .header-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .header-menu .menu-list {
    display: grid;
    gap: 2px;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
  }

  .header-menu .menu-item {
    width: 100%;
    margin: 0 !important;
  }

  .header-menu .menu-link,
  .header-menu .nav-link {
    display: flex;
    align-items: center;
    min-height: 44px;
    width: 100%;
    padding: 0 12px !important;
    border-radius: 7px;
    color: #1b2940 !important;
    font-size: 0.98rem;
    font-weight: 900;
  }

  .header-menu .menu-link:hover,
  .header-menu .nav-link:hover,
  .header-menu .current-page > .menu-link {
    background: #f0f4ff;
    color: var(--ts-primary) !important;
  }

  .menu-btns {
    display: grid;
    width: 100%;
    margin: 8px 0 0 !important;
    padding: 10px 0 0 !important;
    border-top: 1px solid #e6edf7;
  }

  .menu-btns li {
    width: 100%;
    padding: 0 !important;
  }

  #registerTab,
  #manageTab {
    width: 100%;
    min-height: 44px;
    border-radius: 7px !important;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 900;
  }

  .header-overlay {
    background: rgba(8, 17, 38, 0.34) !important;
    z-index: 1000;
  }
}

@media (max-width: 575px) {
  .header.has-header-main-s1.bg-dark::before {
    background:
      linear-gradient(180deg, #4058bd 0%, #304898 52%, #263b82 100%);
  }

  .ts-hero-canvas {
    opacity: 0.54;
  }

  .header-logo .logo-img-lg {
    width: 44px !important;
    height: 44px !important;
  }

  .header-logo .customFonts {
    font-size: 1.12rem !important;
  }

  .header-content.is-dark {
    min-height: calc(100svh - 78px);
    padding: 38px 0 42px !important;
  }

  #nk-upload-form > div:first-child {
    margin-bottom: 18px !important;
  }

  .header-title {
    max-width: 360px;
    margin-inline: auto;
    font-size: clamp(1.86rem, 8.4vw, 2.35rem) !important;
    line-height: 1.08 !important;
  }

  .header-title + p {
    max-width: 360px;
    font-size: 0.98rem !important;
    line-height: 1.55 !important;
  }

  #uploadInit {
    width: min(78vw, 294px);
    min-height: min(78vw, 294px);
    margin-bottom: 14px !important;
  }

  #uploadInit .upload-zone,
  #uploadZoneConfig.uploadRipple {
    width: min(58vw, 218px) !important;
    height: min(58vw, 218px) !important;
    min-height: min(58vw, 218px) !important;
    box-shadow:
      0 0 0 12px rgba(255, 255, 255, 0.18),
      0 0 0 34px rgba(255, 255, 255, 0.08),
      0 18px 44px rgba(9, 18, 40, 0.24);
  }

  #uploadInit #messageBoxText {
    font-size: 1.04rem !important;
  }

  .uploadToolTip {
    width: min(292px, calc(100vw - 48px)) !important;
    margin-top: -2px !important;
  }

  #stats-show {
    display: none !important;
  }
}

.section-pricing {
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fc 100%);
}

.section-pricing .section-head {
  padding-bottom: 32px;
}

.section-pricing .section-head .title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 950;
  letter-spacing: 0;
}

.section-pricing .row.align-items-center {
  align-items: stretch !important;
}

.section-pricing .col-xl-3 {
  display: flex;
}

.section-pricing .pricing.card {
  width: 100%;
  min-height: 100%;
  border: 1px solid #e4eaf3 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  box-shadow: 0 18px 54px rgba(15, 28, 53, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.section-pricing .pricing.card:hover {
  transform: translateY(-4px);
  border-color: #cfd9ea !important;
  box-shadow: 0 26px 70px rgba(15, 28, 53, 0.12);
}

.section-pricing .pricing .card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 32px 28px !important;
}

.section-pricing .pricing-amount {
  min-height: 52px;
  margin: 0;
  color: var(--ts-primary) !important;
  font-size: clamp(2rem, 3vw, 2.55rem);
  font-weight: 950;
  letter-spacing: 0;
}

.section-pricing .pricing-amount small {
  color: #8796b0 !important;
  font-size: 0.95rem;
  font-weight: 800;
}

.section-pricing .sub-title {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  min-height: 30px;
  color: #26364d;
  font-size: 0.95rem;
  font-weight: 800;
}

.section-pricing .pricing-title {
  margin: 20px 0 20px;
  color: #20304a !important;
  font-size: 1.13rem;
  font-weight: 950;
}

.section-pricing .pricing-features {
  display: grid;
  gap: 12px;
  margin: 0;
  text-align: left;
}

.section-pricing .pricing-features li {
  position: relative;
  display: block;
  padding: 0 0 0 26px;
  color: #26364d !important;
  font-size: 0.92rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
  text-align: left;
}

.section-pricing .pricing-features li[style*="#c5c5c5"] {
  color: #9aa7ba !important;
}

.section-pricing .pricing-features .icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 18px;
  line-height: 1.35;
  color: #0f9f6e !important;
}

.section-pricing .pricing-features b {
  display: inline;
  min-width: max-content;
}

.section-pricing .pricing-features .ni-cross {
  color: #b7c1cf !important;
}

.section-pricing .pricing-action {
  margin-top: auto;
  padding-top: 28px;
}

.section-pricing .pricing-action .btn {
  min-height: 46px;
  border-radius: 7px;
  font-weight: 950;
}

.section-pricing .pricing-featured {
  border-color: rgba(244, 183, 64, 0.78) !important;
  box-shadow: 0 24px 76px rgba(115, 84, 15, 0.16);
}

.section-pricing .pricing-featured::before {
  content: "Most popular";
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  padding: 5px 9px;
  border-radius: 999px;
  background: #fff4d8;
  color: #7c560c;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0;
}

.section-pricing .pricing-featured::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: linear-gradient(90deg, #f4b740, #ffd36f);
}

.section-pricing .pricing-featured .card-inner {
  padding-top: 42px !important;
}

.section-pricing .pricing-featured .pricing-amount,
.section-pricing .pricing-featured .pricing-title,
.section-pricing .pricing-featured .pricing-features li,
.section-pricing .pricing-featured .sub-title {
  color: #20304a !important;
}

.section-pricing .pricing-featured .pricing-features .icon {
  color: #0f9f6e !important;
}

.section-pricing .pricing-featured .btn {
  border-color: #2445b8 !important;
  background: #2445b8 !important;
  color: #ffffff !important;
}

@media (max-width: 1199px) {
  .section-pricing .row.align-items-center {
    row-gap: 22px;
  }
}

@media (max-width: 575px) {
  .section-pricing {
    padding-top: 56px !important;
  }

  .section-pricing .section-head {
    padding-bottom: 20px;
  }

  .section-pricing .pricing .card-inner {
    padding: 26px 22px !important;
  }

  .section-pricing .pricing-amount {
    min-height: auto;
  }
}

/* Selected-transfer polish pass */
body.ts-configuring-transfer .header-content.is-dark {
  min-height: calc(100vh - 100px);
  align-items: center;
  padding-top: 72px !important;
  padding-bottom: 56px !important;
}

body.ts-configuring-transfer #nk-configure-form {
  width: min(840px, calc(100vw - 48px)) !important;
  max-width: 840px !important;
  margin: 0 auto !important;
}

body.ts-configuring-transfer #nk-configure-form > .row {
  display: grid !important;
  grid-template-columns: minmax(0, 390px) minmax(286px, 300px) !important;
  gap: 20px !important;
  align-items: start !important;
  justify-content: center !important;
  margin: 0 !important;
}

body.ts-configuring-transfer .configure-zone,
body.ts-configuring-transfer .add-zone {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  padding: 0 !important;
}

body.ts-configuring-transfer .configure-zone {
  position: relative !important;
}

body.ts-configuring-transfer #nk-configure-form .card {
  min-height: 0 !important;
  overflow: hidden;
  border: 0 !important;
  border-radius: 7px !important;
  background: #ffffff !important;
  box-shadow: 0 24px 64px rgba(7, 16, 37, 0.24);
}

body.ts-configuring-transfer.ts-settings-sheet-open #nk-configure-form .configure-zone .card {
  min-height: 560px !important;
}

body.ts-configuring-transfer #nk-configure-form .card-inner {
  padding: 20px !important;
}

body.ts-configuring-transfer #navConfig {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  width: calc(100% + 40px) !important;
  margin: -20px -20px 18px !important;
  padding: 0 !important;
  gap: 0 !important;
  border: 0 !important;
  border-radius: 7px 7px 0 0 !important;
  background: #dfe6f8 !important;
  overflow: hidden;
  box-shadow: none !important;
}

body.ts-configuring-transfer #navConfig .nav-item {
  min-width: 0 !important;
}

body.ts-configuring-transfer #navConfig .nav-link {
  min-width: 0 !important;
  width: 100% !important;
  min-height: 64px !important;
  padding: 0 12px !important;
  border-radius: 0 !important;
  color: #151c2d !important;
  font-size: 0.97rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  text-align: center;
}

body.ts-configuring-transfer #navConfig .nav-link.active {
  background: #ffffff !important;
  box-shadow: none !important;
}

body.ts-configuring-transfer #navConfig .nav-link em {
  flex: 0 0 auto;
  font-size: 1.04rem !important;
}

body.ts-configuring-transfer #navConfig .nav-link span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.ts-configuring-transfer #normalConfig .form-control,
body.ts-configuring-transfer #emailTransfer .form-control,
body.ts-configuring-transfer #messageField,
body.ts-configuring-transfer #senderNameField,
body.ts-configuring-transfer #titleField {
  min-height: 44px !important;
  border-color: #d8deea !important;
  border-radius: 6px !important;
  color: #263247 !important;
  font-size: 0.88rem !important;
  box-shadow: none !important;
}

body.ts-configuring-transfer #nk-configure-form .form-group {
  margin-bottom: 10px !important;
}

body.ts-configuring-transfer #nk-configure-form .tab-content,
body.ts-configuring-transfer #normalConfig {
  margin: 0 !important;
  padding: 0 !important;
}

body.ts-configuring-transfer #nk-configure-form .tab-pane.active > div > br,
body.ts-configuring-transfer .add-zone .preview-block br {
  display: none !important;
}

body.ts-configuring-transfer .ts-settings-dock {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 8px !important;
  width: 100%;
  margin: 12px 0 18px !important;
}

body.ts-configuring-transfer .ts-setting-chip,
body.ts-configuring-transfer .ts-setting-select {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1 1 auto;
  width: 100% !important;
  height: 44px !important;
  min-width: 0 !important;
  min-height: 44px !important;
  padding: 0 8px !important;
  border: 1px solid #dbe3f0 !important;
  border-radius: 6px !important;
  background: #ffffff !important;
  color: #6270c9 !important;
  box-shadow: none !important;
  cursor: pointer;
  overflow: hidden !important;
}

body.ts-configuring-transfer .ts-setting-chip:hover,
body.ts-configuring-transfer .ts-setting-select:hover,
body.ts-configuring-transfer .ts-setting-chip:focus-visible,
body.ts-configuring-transfer .ts-setting-select:focus-within {
  border-color: rgba(49, 87, 213, 0.56) !important;
  background: #f4f7ff !important;
  color: var(--ts-primary) !important;
  outline: 0;
}

body.ts-configuring-transfer .ts-setting-chip.is-active {
  border-color: rgba(49, 87, 213, 0.68) !important;
  background: #eef3ff !important;
  color: var(--ts-primary) !important;
}

body.ts-configuring-transfer .ts-setting-chip.is-locked {
  border-color: #e1d7a4 !important;
  background: #fff8dd !important;
  color: #8a6a05 !important;
}

body.ts-configuring-transfer .ts-setting-chip em,
body.ts-configuring-transfer .ts-setting-select em {
  flex: 0 0 auto;
  color: currentColor !important;
  font-size: 1.08rem !important;
  line-height: 1;
}

body.ts-configuring-transfer .ts-setting-label {
  position: static !important;
  width: auto !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  clip: auto !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
  border: 0 !important;
  color: #536179 !important;
  font-size: 0.84rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

body.ts-configuring-transfer #tsDownloadLimitToggle .ts-setting-label {
  max-width: 100% !important;
  white-space: nowrap !important;
  text-align: center;
  font-size: 0.84rem !important;
  line-height: 1 !important;
}

body.ts-configuring-transfer #tsDownloadLimitToggle {
  padding-right: 8px !important;
  padding-left: 8px !important;
}

body.ts-configuring-transfer .ts-expiry-short {
  display: none !important;
}

body.ts-configuring-transfer #tsExpirySelect {
  display: none !important;
}

body.ts-configuring-transfer .ts-password-inline {
  display: none !important;
}

body.ts-configuring-transfer .ts-password-inline .form-control {
  min-height: 42px !important;
  border-radius: 6px !important;
}

body.ts-configuring-transfer #nk-configure-form .nk-modal-action {
  margin-top: 18px !important;
}

body.ts-configuring-transfer #nk-configure-form .nk-modal-action .btn-toolbar {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 10px !important;
  margin: 0 !important;
}

body.ts-configuring-transfer #nk-configure-form .nk-modal-action .btn-toolbar > li {
  width: 100% !important;
  padding: 0 !important;
}

body.ts-configuring-transfer #uploadButton {
  width: 100% !important;
  min-height: 46px !important;
  border-radius: 6px !important;
  font-weight: 950 !important;
}

body.ts-configuring-transfer #cancelButton {
  display: inline-flex !important;
  justify-content: flex-start !important;
  min-height: 24px !important;
  font-size: 0.82rem !important;
}

body.ts-configuring-transfer .add-zone .card {
  text-align: left !important;
}

body.ts-configuring-transfer .add-zone .card-inner {
  padding: 20px !important;
}

body.ts-configuring-transfer .add-zone .preview-block > div[style*="margin-top"] {
  margin-top: 0 !important;
}

body.ts-configuring-transfer #uploadConfig {
  display: block !important;
  min-height: 0 !important;
}

body.ts-configuring-transfer #uploadConfig .upload-zone {
  display: none !important;
}

body.ts-configuring-transfer .ts-file-actions {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 10px !important;
  margin: 0 0 10px !important;
}

body.ts-configuring-transfer .ts-add-file-button {
  display: grid !important;
  place-items: center !important;
  min-width: 0 !important;
  min-height: 74px !important;
  padding: 10px 8px !important;
  border: 2px dashed #b7c3e1 !important;
  border-radius: 6px !important;
  background: #ffffff !important;
  color: #1f2937 !important;
  font-size: 0.88rem !important;
  font-weight: 950 !important;
  line-height: 1.12 !important;
  text-align: center !important;
  cursor: pointer;
}

body.ts-configuring-transfer .ts-add-file-button em {
  display: block;
  margin: 0 0 6px !important;
  color: #5f70d5 !important;
  font-size: 1.35rem !important;
}

body.ts-configuring-transfer .ts-add-file-button span {
  display: block;
  overflow-wrap: normal;
  white-space: normal !important;
}

body.ts-configuring-transfer .ts-add-file-button:hover,
body.ts-configuring-transfer .ts-add-file-button:focus-visible {
  border-color: var(--ts-primary) !important;
  color: var(--ts-primary) !important;
  outline: 0;
}

body.ts-configuring-transfer .ts-file-summary-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 0 0 7px !important;
  border-bottom: 1px solid #e1e7f0 !important;
  color: #111827 !important;
  text-align: left !important;
}

body.ts-configuring-transfer #tsQueuedSummary {
  font-size: 0.96rem !important;
  font-weight: 950 !important;
  line-height: 1.2 !important;
}

body.ts-configuring-transfer #tsQueuedSummary span {
  font-weight: 600 !important;
}

body.ts-configuring-transfer .ts-clear-files-button,
body.ts-configuring-transfer .ts-file-remove {
  display: inline-grid !important;
  place-items: center !important;
  flex: 0 0 auto !important;
  width: 26px !important;
  height: 26px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: transparent !important;
  color: #6576ff !important;
  cursor: pointer;
}

body.ts-configuring-transfer .ts-clear-files-button:hover,
body.ts-configuring-transfer .ts-file-remove:hover {
  background: #eef3ff !important;
}

body.ts-configuring-transfer #queuedFiles {
  display: grid !important;
  gap: 0 !important;
  max-height: 214px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow-y: auto !important;
  text-align: left !important;
}

body.ts-configuring-transfer #queuedFiles > li.ts-file-row {
  display: grid !important;
  grid-template-columns: 22px minmax(0, 1fr) auto 26px !important;
  gap: 8px !important;
  align-items: center !important;
  justify-content: stretch !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 10px 0 !important;
  border-bottom: 1px solid #edf1f6 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #111827 !important;
  text-align: left !important;
}

body.ts-configuring-transfer .ts-file-icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: #f0f4ff;
  color: #5d70d7;
}

body.ts-configuring-transfer .ts-file-icon em {
  font-size: 0.98rem;
}

body.ts-configuring-transfer .ts-file-name {
  min-width: 0 !important;
  overflow: hidden !important;
  color: #111827 !important;
  font-size: 0.88rem !important;
  font-weight: 850 !important;
  line-height: 1.25 !important;
  text-align: left !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.ts-configuring-transfer .ts-file-size {
  color: #111827 !important;
  font-size: 0.84rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.ts-settings-sheet {
  position: absolute;
  inset: 0;
  z-index: 40;
  display: none;
  align-items: flex-end;
  justify-content: center;
  min-height: 100%;
  color: #162033;
  overflow: hidden;
  border-radius: 8px;
}

.ts-settings-sheet.is-open {
  display: flex;
}

.ts-settings-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 10, 24, 0.64);
  backdrop-filter: blur(4px);
}

.ts-settings-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: min(480px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(216, 225, 242, 0.96);
  border-radius: 10px 10px 0 0;
  background: #ffffff;
  box-shadow: 0 -18px 54px rgba(0, 0, 0, 0.24);
  transform: translateY(100%);
  transition: transform 220ms ease;
}

.ts-settings-sheet.is-open .ts-settings-panel {
  transform: translateY(0);
}

.ts-settings-grip {
  width: 48px;
  height: 4px;
  margin: 10px auto 0;
  border-radius: 999px;
  background: #d8e0ee;
}

.ts-settings-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px 14px;
  border-bottom: 1px solid #e2e8f2;
}

.ts-settings-eyebrow {
  display: block;
  margin-bottom: 3px;
  color: #60708a;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ts-settings-head h2 {
  margin: 0;
  color: #111827;
  font-size: 1.28rem;
  font-weight: 950;
  letter-spacing: 0;
}

.ts-settings-close {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 1px solid #dbe3ee;
  border-radius: 7px;
  background: #f7f9fc;
  color: #1f2a44;
  cursor: pointer;
}

.ts-settings-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 14px 22px 0;
}

.ts-settings-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 44px;
  min-width: 0;
  padding: 0 7px;
  border: 1px solid #dbe3ee;
  border-radius: 7px;
  background: #f7f9fc;
  color: #52637b;
  font-size: 0.86rem;
  font-weight: 900;
  cursor: pointer;
}

.ts-settings-tab span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ts-settings-tab.is-active {
  border-color: #3157d5;
  background: #eef3ff;
  color: #3157d5;
}

.ts-settings-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 18px 22px;
}

.ts-settings-pane {
  display: none;
}

.ts-settings-pane.is-active {
  display: grid;
  gap: 16px;
}

.ts-settings-callout {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 15px;
  border-radius: 8px;
  background: #f2f5fb;
  color: #38465b;
  text-align: left;
}

.ts-settings-callout em {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e6edff;
  color: #3157d5;
  font-size: 1.08rem;
}

.ts-settings-callout p {
  margin: 0;
  color: #38465b;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.45;
}

.ts-sheet-field {
  display: grid;
  gap: 7px;
  text-align: left;
}

.ts-sheet-field span {
  color: #5b6a80;
  font-size: 0.82rem;
  font-weight: 900;
}

.ts-sheet-field input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #d4deec;
  border-radius: 7px;
  color: #111827;
  font-size: 1rem;
  outline: 0;
}

.ts-sheet-field input:focus {
  border-color: #3157d5;
  box-shadow: 0 0 0 3px rgba(49, 87, 213, 0.14);
}

.ts-sheet-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 52px;
  padding: 0 2px;
  color: #56677f;
  font-weight: 850;
}

.ts-sheet-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ts-sheet-switch i {
  position: relative;
  flex: 0 0 auto;
  width: 46px;
  height: 26px;
  border-radius: 999px;
  background: #d7dfef;
  transition: background 160ms ease;
}

.ts-sheet-switch i::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(18, 32, 54, 0.18);
  transition: transform 160ms ease;
}

.ts-sheet-switch input:checked + i {
  background: #3157d5;
}

.ts-sheet-switch input:checked + i::after {
  transform: translateX(20px);
}

.ts-expiry-options,
.ts-storage-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ts-notification-options,
.ts-preview-options {
  display: grid;
  gap: 2px;
  padding: 2px 0;
}

.ts-download-limit-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px 46px;
  min-height: 48px;
  border: 1px solid #d4deec;
  border-radius: 7px;
  overflow: hidden;
  background: #ffffff;
}

.ts-download-limit-control input {
  min-width: 0;
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 0;
  color: #111827;
  font-size: 1rem;
  outline: 0;
}

.ts-download-limit-control input:disabled {
  color: #9aa8bc;
  background: #f6f8fc;
}

.ts-download-limit-control button {
  display: inline-grid;
  place-items: center;
  width: 46px;
  min-height: 48px;
  border: 0;
  border-left: 1px solid #d4deec;
  background: #eef3ff;
  color: #3157d5;
  font-size: 1rem;
  cursor: pointer;
}

.ts-download-limit-control button:disabled {
  color: #9aa8bc;
  background: #f6f8fc;
  cursor: not-allowed;
}

.ts-download-limit-control:focus-within {
  border-color: #3157d5;
  box-shadow: 0 0 0 3px rgba(49, 87, 213, 0.14);
}

.ts-expiry-option,
.ts-storage-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid #dbe3ee;
  border-radius: 8px;
  background: #ffffff;
  color: #1f2937;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.ts-expiry-option em,
.ts-storage-option em {
  opacity: 0;
  color: #3157d5;
}

.ts-expiry-option.is-active,
.ts-storage-option.is-active {
  border-color: #3157d5;
  background: #eef3ff;
  color: #3157d5;
}

.ts-expiry-option.is-active em,
.ts-storage-option.is-active em {
  opacity: 1;
}

.ts-expiry-option:disabled,
.ts-storage-option:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.ts-expiry-option small,
.ts-storage-option-badge {
  padding: 3px 7px;
  border-radius: 999px;
  background: #fff2c2;
  color: #7a5b00;
  font-size: 0.68rem;
  font-weight: 950;
}

.ts-storage-option-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.ts-storage-option-copy strong {
  overflow: hidden;
  color: inherit;
  font-size: 0.9rem;
  font-weight: 950;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ts-storage-option-copy small {
  overflow: hidden;
  color: #718096;
  font-size: 0.72rem;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ts-settings-upgrade {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid #c5a24b;
  border-radius: 7px;
  background: #fff6d8;
  color: #7a5b00;
  font-weight: 950;
}

.ts-settings-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 22px 18px;
  border-top: 1px solid #e2e8f2;
  background: #ffffff;
}

.ts-settings-ignore,
.ts-settings-validate {
  min-height: 46px;
  padding: 0 22px;
  border-radius: 7px;
  font-weight: 950;
  cursor: pointer;
}

.ts-settings-ignore {
  border: 1px solid #3157d5;
  background: #ffffff;
  color: #3157d5;
}

.ts-settings-validate {
  border: 1px solid #3157d5;
  background: #3157d5;
  color: #ffffff;
  box-shadow: 0 14px 32px rgba(49, 87, 213, 0.24);
}

body.ts-settings-sheet-open {
  overflow: auto !important;
}

@media (max-width: 767px) {
  body.ts-configuring-transfer .header-content.is-dark {
    align-items: flex-start;
    padding-top: 64px !important;
    padding-bottom: 36px !important;
  }

  body.ts-configuring-transfer #nk-configure-form {
    width: min(100%, calc(100vw - 24px)) !important;
  }

  body.ts-configuring-transfer #nk-configure-form > .row {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px !important;
  }

  body.ts-configuring-transfer #nk-configure-form .card {
    min-height: 0 !important;
  }

  body.ts-configuring-transfer.ts-settings-sheet-open #nk-configure-form .configure-zone .card {
    min-height: 515px !important;
  }

  body.ts-configuring-transfer #navConfig {
    min-height: 56px !important;
  }

  body.ts-configuring-transfer #navConfig .nav-link {
    min-height: 56px !important;
    padding: 0 8px !important;
    font-size: 0.88rem !important;
  }

  body.ts-configuring-transfer .ts-settings-dock {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 10px !important;
  }

  body.ts-configuring-transfer #queuedFiles > li.ts-file-row {
    grid-template-columns: 22px minmax(0, 1fr) auto 26px !important;
  }

  .ts-settings-panel {
    width: 100%;
    height: 100%;
    min-height: min(460px, 100%);
    border-right: 0;
    border-left: 0;
  }

  .ts-settings-head,
  .ts-settings-tabs,
  .ts-settings-body,
  .ts-settings-actions {
    padding-right: 16px;
    padding-left: 16px;
  }

  .ts-settings-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ts-expiry-options,
  .ts-storage-options {
    grid-template-columns: minmax(0, 1fr);
  }
}

body.ts-authenticated #loginTab,
body.ts-authenticated #registerTab {
  display: none !important;
}

body.ts-authenticated #manageTab {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body.ts-anonymous #manageTab {
  display: none !important;
}

/* Mobile navigation containment fix */
@media (max-width: 991px) {
  .header-main.header-main-s1 {
    overflow: visible !important;
  }

  .header-wrap {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
  }

  .header-logo {
    flex: 1 1 auto !important;
    min-width: 0;
  }

  .header-toggle {
    margin-left: auto;
  }

  .header-menu.mobile-menu,
  .header-menu {
    position: static !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    bottom: auto !important;
    display: block !important;
    flex: 0 0 100%;
    width: 100% !important;
    max-height: 0;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    border: 0;
    background: #ffffff !important;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    transform: none !important;
    transition: max-height 0.2s ease, margin 0.2s ease, padding 0.2s ease, box-shadow 0.2s ease;
  }

  .header-menu.active {
    max-height: min(360px, calc(100svh - 98px));
    margin-top: 10px !important;
    padding: 12px !important;
    overflow-y: auto;
    border: 1px solid rgba(214, 224, 244, 0.95);
    border-radius: 8px;
    box-shadow: 0 18px 46px rgba(8, 17, 38, 0.24);
    pointer-events: auto;
  }

  .header-menu .menu-list {
    gap: 4px;
  }

  .header-menu .menu-link,
  .header-menu .nav-link {
    min-height: 42px;
  }

  .menu-btns {
    gap: 8px;
  }
}
