/* ========================================================
   TIER LIST EDITOR STYLES – TierCraft.gg (t-style.css)
   --------------------------------------------------------
   Styles for the Tier List editor pages (wow/t/spec and
   wow/t/hero). Covers the global layout, header controls,
   tier rows, drag-and-drop targets, spec/hero icons,
   context menus, share panel overlay, info panel, tooltips,
   draw mode canvas, snapshot export styling, and responsive
   adjustments.
======================================================== */

/* ========================================================
   BASE & GLOBAL STYLES
======================================================== */
html,
body {
  min-height: 100%;
  height: auto;
  overflow-x: auto !important;
  overflow-y: auto !important;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-touch-callout: none;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 20px;
  min-height: 100vh;
  background-color: #1a1a1e;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

#content-all {
  background-color: #1a1a1e;
  margin: 0 auto;
  padding-left: 16px;
  overflow: visible;
  position: relative;
  user-select: none;
}

form {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.draggable {
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}

/* ========================================================
   HEADER & TYPOGRAPHY
======================================================== */
#page-header {
  display: flex;
  align-items: center;
  margin-left: 396px;
}

h1,
h2 {
  margin: 0;
}

@font-face {
  font-family: 'Freestyle Script';
  src: url('../../core/woff/freescpt.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

h1 {
  font-family: 'Freestyle Script', cursive;
  font-size: 90px;
  color: #a6b4b4;
  margin-top: 10px;
  margin-bottom: 35px;
  padding-right: 6px;
  cursor: pointer;
  user-select: none;
}

h1.pulse {
  animation: h1-pulse 1.5s ease-in-out infinite alternate;
  background: linear-gradient(90deg, #a6b4b4 0%, white 100%);
  background-size: 200% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes h1-pulse {
  0% {
    background-position: 0% 0%;
    filter: none;
  }
  15% {
    background-position: 20% 0%;
    filter: drop-shadow(0 2px 4px #a6b4b444) brightness(1.04) contrast(1.02);
  }
  30% {
    background-position: 32% 0%;
    filter: drop-shadow(0 2px 6px #e0e4e444) brightness(1.06) contrast(1.05);
  }
  45% {
    background-position: 45% 0%;
    filter: drop-shadow(0 2px 7px #ffffff44) brightness(1.08) contrast(1.07);
  }
  60% {
    background-position: 60% 0%;
    filter: drop-shadow(0 2px 8px #e0e4e466) brightness(1.1) contrast(1.1);
  }
  85% {
    background-position: 80% 0%;
    filter: drop-shadow(0 2px 4px #a6b4b444) brightness(1.04) contrast(1.02);
  }
  100% {
    background-position: 100% 0%;
    filter: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  h1.pulse {
    animation: none;
    filter: none;
  }
}

h1:hover {
  color: #ffffff !important;
  transition: color 0.2s;
}

h1.pulse:hover {
  -webkit-text-fill-color: rgba(255, 255, 255, 0.9);
  filter: none;
}

h2 {
  color: #a6b4b4;
  margin-top: 5px;
  font-family: Arial, sans-serif;
  font-weight: normal;
  font-size: 24px;
  user-select: none;
}

.tooltip {
  position: absolute;
  padding: 5px 10px;
  background-color: #222224;
  color: #a6b4b4;
  border-radius: 4px;
  font-size: 14px;
  visibility: hidden;
  z-index: 1000;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 400px;
}

/* ========================================================
   HEADER CONTROLS: DROPDOWNS & INPUT
======================================================== */
#header-container {
  width: 1080px;
  display: flex;
  margin-bottom: 15px;
}

.dropdown-container {
  position: relative;
  display: inline-block;
  margin-right: 10px;
}

#dropdown-unused {
  display: flex;
}

.dropdown-container::after {
  content: '\25BC';
  font-size: 16px;
  color: #a6b4b4;
  position: absolute;
  top: 55%;
  right: 12px;
  user-select: none;
  pointer-events: none;
  transform: translateY(-50%);
}

.dropdown-list {
  height: 43px;
  padding: 10px 12px;
  font-size: 16px;
  color: #a6b4b4;
  background-color: #121214;
  border: 2px solid #121214;
  border-radius: 6px;
  cursor: pointer;
  transition:
    background-color 0.3s,
    border-color 0.3s;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  text-align: left;
  text-align-last: left;
}

.dropdown-list option {
  text-align: left;
}

.dropdown-list:hover {
  background-color: #333338;
  border-color: #333338;
  transition:
    background-color 0.2s,
    border-color 0.2s;
}

#view-selector {
  min-width: 166px;
  max-width: 166px;
  background-color: #222328;
  border: 2px solid #222328;
  display: flex;
}

#view-selector:hover {
  background-color: #333338;
  border-color: #333338;
  transition:
    background-color 0.2s,
    border-color 0.2s;
}

#role-filter,
#perk-filter {
  min-width: 166px;
  max-width: 166px;
}

.input-box {
  padding: 10px 12px;
  font-size: 16px;
  color: #a6b4b4;
  background-color: #222328;
  border: 2px solid #222328;
  border-radius: 6px;
  transition:
    background-color 0.3s,
    border-color 0.3s;
  cursor: text;
}

.input-box:hover,
.input-box:focus {
  background-color: #333338;
  border-color: #333338;
  transition:
    background-color 0.2s,
    border-color 0.2s;
}

.input-box.dragover {
  cursor: no-drop;
}

#tier-title-input {
  text-align: left;
  text-align-last: left;
  flex: 1;
  margin-right: 10px;
}

/* ========================================================
   MAIN CONTAINER, TIER LIST & TIER CONTENT
======================================================== */
#main-container {
  display: flex;
  align-items: stretch;
}

#t-list {
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 712px;
  max-width: 712px;
  margin-right: 15px;
  user-select: none;
}

.t-list-hidden {
  display: none;
}

.tier {
  display: flex;
  align-items: stretch;
  width: 712px;
  border-radius: 6px;
}

#tier-dummy {
  height: 20px;
  margin-left: -400px;
  text-align: left;
  user-select: none;
  display: none;
}

/* ========================================================
   TIER LABEL INPUTS & LABEL CONTAINERS
======================================================== */
/* Colors for each tier */
.tier-label-input[data-tier='SP'] {
  background-color: #00ccffd8;
}

.tier-label-input[data-tier='SP']:hover {
  background-color: #00ccff;
  transition:
    background-color 0.2s,
    border-color 0.2s;
}

.tier-label-input[data-tier='SP']:focus {
  background-color: #00ccff;
  transition:
    background-color 0.2s,
    border-color 0.2s;
}

.tier-label-input[data-tier='S'] {
  background-color: #e6cc80d8;
}

.tier-label-input[data-tier='S']:hover {
  background-color: #e6cc80;
  transition:
    background-color 0.2s,
    border-color 0.2s;
}

.tier-label-input[data-tier='S']:focus {
  background-color: #e6cc80;
  transition:
    background-color 0.2s,
    border-color 0.2s;
}

.tier-label-input[data-tier='AP'] {
  background-color: #ff8000d8;
}

.tier-label-input[data-tier='AP']:hover {
  background-color: #ff8000;
  transition:
    background-color 0.2s,
    border-color 0.2s;
}

.tier-label-input[data-tier='AP']:focus {
  background-color: #ff8000;
  transition:
    background-color 0.2s,
    border-color 0.2s;
}

.tier-label-input[data-tier='A'] {
  background-color: #a335eed8;
}

.tier-label-input[data-tier='A']:hover {
  background-color: #a435ee;
  transition:
    background-color 0.2s,
    border-color 0.2s;
}

.tier-label-input[data-tier='A']:focus {
  background-color: #a435ee;
  transition:
    background-color 0.2s,
    border-color 0.2s;
}

.tier-label-input[data-tier='B'] {
  background-color: #0070ddd8;
}

.tier-label-input[data-tier='B']:hover {
  background-color: #006fdd;
  transition:
    background-color 0.2s,
    border-color 0.2s;
}

.tier-label-input[data-tier='B']:focus {
  background-color: #006fdd;
  transition:
    background-color 0.2s,
    border-color 0.2s;
}

.tier-label-input[data-tier='C'] {
  background-color: #1eff00c0;
}

.tier-label-input[data-tier='C']:hover {
  background-color: #1eff00d8;
  transition:
    background-color 0.2s,
    border-color 0.2s;
}

.tier-label-input[data-tier='C']:focus {
  background-color: #1eff00d8;
  transition:
    background-color 0.2s,
    border-color 0.2s;
}

.tier-label-input[data-tier='D'] {
  background-color: #ffffffd8;
  color: #000;
  transition:
    background-color 0.2s,
    border-color 0.2s;
}

.tier-label-input[data-tier='D'].hover {
  background-color: #ffffff;
  color: #000;
  transition:
    background-color 0.2s,
    border-color 0.2s;
}

.tier-label-input[data-tier='D']:focus {
  background-color: #ffffff;
  color: #000;
}

.tier-label-input[data-tier='F'] {
  background-color: #9d9d9dd8;
}

.tier-label-input[data-tier='F']:hover {
  background-color: #9d9d9d;
  transition:
    background-color 0.2s,
    border-color 0.2s;
}

.tier-label-input[data-tier='F']:focus {
  background-color: #9d9d9d;
  transition:
    background-color 0.2s,
    border-color 0.2s;
}

/* Shared label input styles */
.tier-label-input {
  width: 146px;
  min-width: 146px;
  min-height: 60px;
  padding: 10px;
  text-align: center;
  font-size: 16px;
  color: white;
  background-color: inherit;
  border: none;
  border-radius: 6px;
  cursor: text;
  user-select: none;
  margin-right: 10px;
  height: auto;
  line-height: 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-wrap: break-word;
  word-break: break-word;
  white-space: normal;
}

.tier-label-input.dragover {
  cursor: no-drop;
}

.tier-label-input:focus {
  outline: none;
}

.tier-label-input.disabled {
  background-color: #222328;
  opacity: 0.3;
  cursor: default;
  user-select: none;
  pointer-events: none;
}

.tier-label-span {
  white-space: nowrap;
  display: flex;
}

.tier-label-container {
  position: relative;
  display: flex;
}

.tier-label-container:hover .move-up-button,
.tier-label-container:hover .disable-button,
.tier-label-container:hover .move-down-button {
  opacity: 1;
}

.tier-content {
  flex-grow: 1;
  padding: 10px;
  padding-left: 10px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  min-height: 64px;
  overflow-x: auto;
  background-color: #222328;
  border: 2px solid #222328;
  border-radius: 6px;
  transition: border-color 0.2s;
}

.tier-content.disabled {
  opacity: 0.2;
  user-select: none;
  pointer-events: none;
}

.tier-content:hover {
  background-color: #333338;
  border-color: #333338;
  transition:
    background-color 0.2s,
    border-color 0.2s;
  cursor: pointer;
}

.tier-content.highlight {
  border: 2px solid #6b6b6b;
}

/* ========================================================
   MOVE UP, DELETE, & MOVE DOWN BUTTONS
======================================================== */
.side-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.move-up-button,
.disable-button,
.move-down-button {
  font-size: 14px;
  text-align: center;
  padding-top: 4px;
  padding-bottom: 1px;
  background-color: #222328;
  border-width: 0px;
  border-radius: 6px;
  width: 30px;
  height: 22px;
  color: #a6b4b4;
  position: absolute;
  right: 181px;
  opacity: 0;
  user-select: none;
}

.move-up-button {
  content: 'x';
  top: calc(50% - 44px);
}

.disable-button {
  content: 'x';
  top: calc(50% - 13px);
}

.move-down-button {
  content: 'x';
  top: calc(50% + 18px);
}

.move-up-button:hover,
.disable-button:hover,
.move-down-button:hover {
  background-color: #333338;
  border-color: #333338;
  transition:
    background-color 0.2s,
    border-color 0.2s;
  cursor: pointer;
}

#move-up-tooltip,
#disable-tooltip,
#move-down-tooltip {
  right: 120%;
  bottom: 1%;
}

.move-up-button:hover #move-up-tooltip,
.disable-button:hover #disable-tooltip,
.move-down-button:hover #move-down-tooltip {
  visibility: visible;
  opacity: 1;
}

/* ========================================================
   DRAGGABLE ITEM STYLES
======================================================== */
.item {
  width: 54px;
  height: 54px;
  margin: 5px;
  background-size: cover;
  background-position: center;
  cursor: grab;
  position: relative;
  isolation: isolate;
  border-radius: var(--fx-radius);
  overflow: visible;
  z-index: 1000;
}

.placeholder {
  width: 54px;
  height: 54px;
  margin: 5px;
  background-color: #333338;
  border-color: #333338;
  border-radius: 6px;
  transition:
    outline 0.3s ease,
    box-shadow 0.3s ease;
}

.placeholder-reverse {
  width: 54px;
  height: 54px;
  margin: 5px;
  background-color: #222328;
  border-color: #222328;
  border-radius: 6px;
  transition:
    outline 0.3s ease,
    box-shadow 0.3s ease;
}

.item.glow {
  outline: 1px solid white;
  box-shadow: 0 0 10px white;
  animation: glow-fade 1.5s forwards;
  transition:
    outline 0.3s ease,
    box-shadow 0.3s ease;
}

@keyframes glow-fade {
  0% {
    outline: 1px solid white;
    box-shadow: 0 0 10px white;
  }
  50% {
    outline: 1px solid white;
    box-shadow: 0 0 10px white;
  }
  100% {
    outline: 1px solid transparent;
    box-shadow: 0 0 0px transparent;
  }
}

:root {
  --fx-radius: 6px;
  --fx-ring: 2px;
  --fx-dur: 1.5s;
  --fx-col1: white;
  --fx-col2: #a6b4b4;
}

.item.fx-glow {
  --rot: 0deg;
}

.item.fx-glow {
  box-shadow:
    0 0 0 var(--fx-ring) rgba(255, 255, 255, 0.9),
    0 0 12px 4px var(--fx-col1),
    0 0 14px 4px var(--fx-col2),
    0 0 16px 6px var(--fx-col2);
  animation: border-bloom var(--fx-dur) ease-out both;
}

@keyframes border-bloom {
  0% {
    box-shadow:
      0 0 0 var(--fx-ring) rgba(255, 255, 255, 0),
      0 0 0 0 rgba(0, 0, 0, 0),
      0 0 0 0 rgba(0, 0, 0, 0),
      0 0 0 0 rgba(0, 0, 0, 0);
  }
  12% {
    box-shadow:
      0 0 0 var(--fx-ring) rgba(255, 255, 255, 0.95),
      0 0 14px 6px var(--fx-col2),
      0 0 28px 10px var(--fx-col1),
      0 0 46px 14px var(--fx-col2);
  }
  100% {
    box-shadow:
      0 0 0 var(--fx-ring) rgba(255, 255, 255, 0),
      0 0 0 0 rgba(0, 0, 0, 0),
      0 0 0 0 rgba(0, 0, 0, 0),
      0 0 0 0 rgba(0, 0, 0, 0);
  }
}

/* ========================================================
   SIDE CONTAINER & UNUSED/AD CONTAINERS
======================================================== */
#side-container {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

#unused-container {
  flex-direction: column;
  min-width: 344px;
  max-width: 344px;
  min-height: 578px;
  max-height: 578px;
  padding: 1px 3px;
  height: auto;
  border-radius: 6px;
  background-color: #121214;
  box-sizing: border-box;
  user-select: none;
}

.unused-container-hidden {
  display: none;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #121214;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb {
  background: #222328;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #333338;
}

#unused-content {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-content: flex-start;
  justify-content: flex-start;
  gap: 0px;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background-color: #121214;
  border: 0px;
  cursor: auto;
}

#unused-container .tier-content {
  background-color: transparent;
}

#unused-container-label {
  padding: 0px 14px 12px 14px;
  font-size: 14px;
  color: #a6b4b4;
  text-align: left;
  user-select: none;
}

#ad-container {
  min-width: 344px;
  max-width: 344px;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  margin-top: 10px;
  justify-content: center;
  align-items: center;
  border-radius: 6px;
  overflow: hidden;
  background-color: #121214;
  box-sizing: border-box;
}

.ad-image {
  width: 187px;
  height: auto;
  padding-bottom: 5px;
  user-select: none;
}

/* ========================================================
   BUTTON & FOOTER STYLES
======================================================== */
#button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0px;
}

.button-icon {
  padding: 6px 0px 6px 0px;
  width: 25px;
  height: 25px;
  display: inline-block;
  vertical-align: middle;
}

.bar-button {
  display: inline-flex;
  width: 50px;
  align-items: center;
  justify-content: center;
  position: relative;
  font-size: 16px;
  align-items: center;
  color: #a6b4b4;
  background-color: #222328;
  border: 2px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
  user-select: none;
}

.bar-button:hover {
  background-color: #333338 !important;
  transition:
    background-color 0.2s,
    border-color 0.2s;
}

.bar-button:hover #bar-tooltip {
  visibility: visible;
  opacity: 1;
}

#bar-tooltip {
  top: auto;
  bottom: calc(100% + 10px);
}

#draw-button {
  margin-right: 15px;
}

#draw-button.active {
  background-color: #3a3f44;
  border-color: #a6b4b4;
}

/* Draw overlay canvas */
#draw-canvas {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1100;
  pointer-events: none;
}

#draw-canvas.draw-active {
  display: block;
  pointer-events: auto;
  cursor: crosshair;
  touch-action: none;
}

#external-button {
  margin-right: 10px;
}

#external-button.hidden {
  display: none !important;
}

#snapshot-button {
  margin-right: 10px;
}

#share-button {
  margin-right: 10px;
}

#discord-wrapper {
  text-align: center;
  background-color: #222328;
  padding: 12px 40px 10px 40px;
  margin-top: 28px;
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
  border-radius: 6px;
  display: block;
}

#discord-text {
  color: #a6b4b4;
  font-family: Arial, sans-serif;
  font-size: 16px;
  user-select: none;
  white-space: nowrap;
}

#discord-icon {
  height: 20px;
  width: 20px;
  vertical-align: middle;
  margin: 0 1px 4px 1px;
}

#discord-link {
  color: #a6b4b4;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
  user-select: none;
}

#discord-link:hover {
  color: white;
  transition: color 0.2s ease;
}

/* ========================================================
   FOOTER
======================================================== */
footer {
  margin-top: 25px;
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
  text-align: center;
  color: #a6b4b4;
  font-family: Arial, sans-serif;
  font-size: 16px;
  display: block;
  user-select: none;
}

/* ========================================================
   PANEL STYLES
======================================================== */
.info-hidden,
.share-hidden {
  display: none !important;
}

#info-panel,
#share-panel {
  position: absolute;
  top: 500px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 500px;
  background-color: #222328;
  border-radius: 8px;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  z-index: 1000;
}

.panel-content {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 20px;
  box-sizing: border-box;
}

.panel-title {
  font-size: 24px;
  font-weight: bold;
  color: #a6b4b4;
  text-align: left;
  user-select: none;
}

.panel-subtitle {
  font-size: 15px;
  color: #a6b4b4;
  text-align: left;
  user-select: none;
}

.panel-subtitle a {
  color: #a6b4b4;
  text-decoration: underline;
}

.panel-subtitle a:hover {
  color: #ffffff;
  text-decoration: none;
}

#info-panel .info-panel-top {
  background-color: #1a1a1e;
  height: 110px;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

/* Info Panel Body — split left/right below the top bar */
#info-panel .info-panel-body {
  position: absolute;
  top: 110px;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: row;
}

/* Left sidebar — fixed 100px */
#info-panel .info-panel-left {
  width: 100px;
  min-width: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 0;
  gap: 8px;
  border-right: 1px solid #2e2e34;
}

/* Expansion / season / week metadata */
.rank-meta {
  text-align: center;
  padding: 0 4px;
  line-height: 1.4;
}

.rank-meta-expansion {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
  color: #c9d6d6;
}

.rank-meta-sub {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: #a6b4b4;
}

/* Small "Rank" label inside rank-box */
.rank-label {
  font-size: 10px;
  font-weight: 400;
  color: #a6b4b4;
  padding-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  user-select: none;
}

/* Rank box */
.rank-box {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  background-color: #1a1a1e;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  user-select: none;
  flex-shrink: 0;
}

#info-panel-rank {
  font-size: 28px;
  font-weight: 800;
  color: white;
}

/* Links column — vertical icon list, pushed to bottom of sidebar */
.links-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  margin-bottom: 12px;
  overflow-y: auto;
}

.links-column a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background-color: #1a1a1e;
  transition: background-color 0.2s;
}

.links-column a:hover {
  background-color: #333338;
}

.links-column .link-icon {
  width: 20px;
  height: 20px;
  user-select: none;
}

/* Right panel — chart area */
#info-panel .info-panel-right {
  flex: 1;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

#info-panel-chart {
  width: 100% !important;
  height: 100% !important;
}

#info-panel-image {
  width: 70px;
  height: 70px;
  border-radius: 6px;
  object-fit: cover;
  position: absolute;
  top: 20px;
  left: 20px;
  user-select: none;
}

#info-panel-label {
  margin-top: 26px;
  margin-left: 105px;
}

#info-panel-description {
  margin-top: 10px;
  margin-left: 105px;
}

#close-info,
#close-share {
  position: absolute;
  width: 30px;
  height: 30px;
  top: 10px;
  right: 10px;
  background-color: #222328;
  border-radius: 6px;
  border: none;
  font-size: 14px;
  font-weight: bold;
  color: #a6b4b4;
  cursor: pointer;
  z-index: 2;
}

#close-info:hover,
#close-share:hover {
  background-color: #333338 !important;
  transition:
    background-color 0.2s,
    border-color 0.2s;
}

#share-panel {
  display: flex;
  flex-direction: row;
}

#quick-share {
  width: 360px;
  padding: 20px;
  background-color: #222328;
}

#heroic-share {
  width: 360px;
  padding: 20px;
  background-color: #1a1a1e;
}

#quick-button,
#heroic-button {
  width: 260px;
  height: 43px;
  margin-left: 50px;
}

#quick-button {
  margin-top: 210px;
  background-color: #1a1a1e;
}

#quick-button.success,
#heroic-button.success {
  background-color: rgb(0, 40, 0);
  color: greenyellow;
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.8;
}

#quick-button.error,
#heroic-button.error {
  background-color: rgb(40, 0, 0);
  color: #ff0000;
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.8;
}

#heroic-button {
  margin-top: 64px;
  background-color: #222328;
}

#heroic-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

#quick-link,
#heroic-link {
  width: 360px;
  height: 85px !important;
  margin-top: 20px;
  text-align: left;
  resize: none;
  word-break: normal;
  font-family: monospace;
  box-sizing: border-box;
  cursor: pointer;
  pointer-events: auto;
  user-select: none;
  caret-color: transparent;
}

#quick-link {
  background-color: #1a1a1e;
}

#heroic-link {
  background-color: #222328;
}

#quick-link::selection {
  background: #1a1a1e;
  color: #a6b4b4;
}

#heroic-link::selection {
  background: #222328;
  color: #a6b4b4;
}

#quick-link::-moz-selection {
  background: #1a1a1e;
  color: #a6b4b4;
}

#heroic-link::-moz-selection {
  background: #222328;
  color: #a6b4b4;
}

#quick-copy,
#heroic-copy {
  position: absolute;
  color: #a6b4b4;
  bottom: 298px;
  width: 20px;
  height: 20px;
  opacity: 0.8;
  pointer-events: none;
  user-select: none;
}

#quick-copy {
  right: 428px;
}

#heroic-copy {
  right: 28px;
}

#quick-copy.success,
#heroic-copy.success {
  color: greenyellow;
}

.heroic-input {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.heroic-input .input-box {
  flex: 1;
  min-width: 0;
}

#heroic-external {
  text-align: center;
  margin-top: 6px;
  width: 330px;
}

#heroic-name,
#heroic-pin {
  text-align: center;
  margin-top: 10px;
  width: 118px;
}

#login-button {
  height: 43px;
  margin-top: 10px;
  padding: 0 10px 0 10px;
}

#login-button.success {
  background-color: #002800;
  color: greenyellow;
  cursor: default;
  pointer-events: none;
  opacity: 0.8;
}

#login-button.error {
  background-color: #280000;
  color: red;
  cursor: default;
  pointer-events: none;
  opacity: 0.8;
}

.feature-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  margin: 20px 0;
  font-size: 16px;
  color: #a6b4b4;
  user-select: none;
}

.feature-toggle input[type='checkbox'] {
  transform: scale(1.5);
  accent-color: #3a3f44;
  cursor: pointer;
}

.feature-toggle label {
  user-select: none;
  transition: color 0.2s ease;
  cursor: pointer;
}

.feature-toggle:hover label {
  color: #ffffff;
}

/* ========================================================
   PRIVACY NOTICE PANEL
======================================================== */
#privacy-panel {
  position: absolute;
  top: 500px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  background-color: #222328;
  border-radius: 8px;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  padding: 30px 40px;
  box-sizing: border-box;
}

#privacy-panel .panel-title {
  text-align: left;
  margin-bottom: 20px;
}

#privacy-panel .panel-subtitle {
  text-align: left;
  line-height: 1.4;
  margin-bottom: 24px;
  white-space: pre-line;
}

#privacy-acknowledge {
  display: block;
  width: 200px;
  height: 43px;
  margin: 0 auto;
  background-color: #1a1a1e;
}

/* Footer Privacy Notice link */
footer a {
  color: #a6b4b4;
  text-decoration: none;
  transition: color 0.2s ease;
}

footer a:hover {
  color: #ffffff;
}
