/* Synthwave neon admin evolved */
:root {
  --bg-1: #312943;
  --bg-2: #100a27;
  --accent: #ffffff;
  --accent-2: #33fff2;
  --accent-3: #7d6bff;
  --btn-clr1: #000000;
  --btn-clr2: #000000;
  --btn-hvr-clr1: #70328133;
  --btn-hvr-clr2: #512c7d;
  --muted: #8568a9;
  --label: #439bd2;
  --text: #7034b5;
  --glass: rgba(255, 255, 255, 0.03);
  --panel: rgba(18, 12, 26, 0.55);
  --glass-2: rgba(255, 255, 255, 0.025);
  --glass-border: rgba(255, 255, 255, 0.035);
  --in-border: #297783;
  --in-border-focus: #33fff2;
  --radius: 14px;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 32px;
  height: 32px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 16px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent-3), var(--accent-2));
  border-radius: 16px;
  border: 6px solid rgba(0, 0, 0, 0);
  background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ff3fa5, #ffffff, #33fff2);
  border: 4px solid #fff;
  background-clip: padding-box;
  box-shadow: 0 0 30px rgba(51, 255, 242, 0.6);
  filter: brightness(1.2);
}

* {
  box-sizing: border-box;
  font-family: Roboto, Arial, sans-serif
}

html,
body {
  letter-spacing: .5px;
  min-height: 100%;
  height: auto;
  margin: 0;
  background: radial-gradient(1200px 600px at 10% 10%, rgba(255, 62, 146, 0.06), transparent 8%), radial-gradient(900px 500px at 95% 90%, rgba(51, 255, 242, 0.04), transparent 6%), linear-gradient(180deg, var(--bg-1), var(--bg-2));
  color: #eaf5ff;
  scrollbar-color: var(--accent-3) rgba(0, 0, 0, 0.15);
}

#login-root {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: radial-gradient(1200px 600px at 10% 10%, rgba(255, 62, 146, 0.1), transparent 12%), radial-gradient(900px 500px at 95% 90%, rgba(51, 255, 242, 0.08), transparent 10%), linear-gradient(180deg, var(--bg-1), var(--bg-2));
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(15px);
  opacity: 0;
  transition: opacity 0.6s ease-out;
}

#login-root.active {
  opacity: 1;
}

.login-mode .container {
  display: none !important;
}

.hidden {
  display: none !important;
}

.input-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon-wrap .icon {
  position: absolute;
  left: 5px;
  top: 5px;
  color: var(--accent-2);
  opacity: 0.2;
  font-size: 24px;
}

.input-icon-wrap input {
  padding-left: 38px !important;
}

/* animated ambient lines */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-repeat: repeat;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
}

.container {
  display: flex;
  min-height: 100vh;
  gap: 18px;
  padding: 18px;
  padding-right: 10px;
}

/* Sidebar */
.sidebar {
  width: 30vw;
  width: 169px;
  min-width: 169px;
  padding: 12px 4px 12px 4px;
  padding: 0px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6)
}

.brand {
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 4px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
}

.brand svg {
  filter: drop-shadow(0 6px 20px rgba(128, 30, 90, 0.18))
}

.brand small {
  display: block;
  font-weight: 600;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 1px
}

.menu {
  margin-top: 22px;
  transition: all .4s;
}

.menu h3 {
  color: var(--muted);
  font-size: 16px;
  margin: 12px 0 6px;
  padding-left: 2px;
  padding-top: 3px;
}

.menu .item {
  padding: 12px 6px;
  border-radius: 0px;
  display: block;
  color: #d6efff;
  text-decoration: none;
  transition: all .18s;
  position: relative;
  background: linear-gradient(90deg, transparent, transparent);
}

.menu .item:hover {
  background: linear-gradient(90deg, var(--btn-hvr-clr1), var(--btn-hvr-clr2));
}

.menu .item.active {
  background: linear-gradient(90deg, var(--btn-clr1), var(--btn-clr2));
  box-shadow: inset 0 0 40px rgba(125, 107, 255, 0.04);
  animation: activeGlow 2.8s infinite
}

@keyframes activeGlow {
  0% {
    box-shadow: inset 0 0 20px rgba(125, 107, 255, 0.02)
  }

  50% {
    box-shadow: inset 0 0 60px rgba(125, 107, 255, 0.05)
  }

  100% {
    box-shadow: inset 0 0 20px rgba(125, 107, 255, 0.02)
  }
}

.menu .sub {
  /*margin-left: 2px;
  padding-left: 2px;
  border-left: 1px dashed rgba(255, 255, 255, 0.03)*/
}

.menu a {
  color: var(--muted);
  display: block;
  padding: 8px 6px;
  border-radius: 8px
}

.menu a:hover {
  color: var(--accent)
}

/* Top bar */
.topbar {
  flex: 1;
  padding: 8px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.02)
}

.logo-title {
  display: flex;
  align-items: center;
  gap: 16px
}

.logo-title .small {
  font-size: 12px;
  color: var(--muted)
}

.top-right {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 13px
}

.top-right a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 6px
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #07101a;
  font-weight: 800
}

/* Main area */
.main {
  flex: 1;
  padding: 4px;
  min-height: 80vh
}

.header-hero {
  display: flex;
  display: none;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px
}

.hero-card {
  display: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  padding: 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.02);
  box-shadow: 0 12px 40px rgba(6, 8, 20, 0.6)
}

.huge {
  font-size: 28px;
  font-weight: 700
}

.section {
  display: none;
  opacity: 0;
  transform: translateY(10px) scale(.995);
  transition: all .42s cubic-bezier(.2, .9, .2, 1)
}

.section.active {
  display: block;
  opacity: 1;
  transform: none
}

.coming-soon {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 28px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(125, 107, 255, 0.02), rgba(255, 62, 146, 0.02));
  border: 1px solid rgba(125, 107, 255, 0.04)
}

.coming-soon .glow {
  width: 84px;
  height: 84px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 60px rgba(51, 255, 242, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #07101a;
  font-weight: 900
}

/* Partners */
.actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px
}

.btn {
  transform: translateY(-3px);
  font-size: 22px;
  color: #fff;
  padding: 2px;
  border: none;
  border-radius: 10px;

  .btn-inner {
    background: #000;
    border-radius: 10px;
    padding: 16px 20px;
    background-clip: padding-box;
  }

  .btn-sm {
    padding: 8px 10px;
    font-size: 16px;
  }

  background-image: linear-gradient(45deg, #ff3fa5, #7d6bff, #33fff2, #ff3fa5);
  background-size: 300% 300%;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn:hover {
  background-position: 100% 50%;
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 0 20px rgba(125, 107, 255, 0.4), 0 0 40px rgba(255, 62, 146, 0.2);
}

/* Rainbow Shimmer Overlay */
.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transform: skewX(-25deg);
  transition: none;
}

.btn:hover::after {
  animation: btnShimmer 1.2s infinite;
}

@keyframes btnShimmer {
  0% {
    left: -100%;
  }

  100% {
    left: 150%;
  }
}

.btn.secondary {
  background: transparent;
  border: 1px solid rgb(97 30 149);
  color: var(--muted);
  box-shadow: none
}

.btn:hover {
  transform: translateY(0px);
  box-shadow: 0 6px 10px rgb(89 61 255 / 62%);
}

.search {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-left: 10px;
}

.input {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--muted)
}

.table {
  width: 100%;
  margin-top: 14px;
  border-collapse: collapse
}

.table th {
  color: var(--muted);
  text-align: left;
  padding: 8px 1px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03)
}

.table td {
  padding: 1px 5px;
}

.row-click {
  cursor: pointer;
  transition: all .18s
}

.row-click:hover {
  /*transform: translateX(8px);*/
  background: linear-gradient(90deg, rgba(255, 62, 146, 0.15), rgba(125, 107, 255, 0.15), rgba(51, 255, 242, 0.1));
  box-shadow: inset 4px 0 0 var(--accent-2);
}

.row-click {
  transition: all .1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Floating label inputs */
.float-wrap {
  position: relative
}

.float-wrap input[type=text],
.float-wrap input[type=search] {
  background: transparent;
  border: 1px var(--in-border);
  padding: 14px;
  border-radius: 12px;
  color: #eaf5ff;
  width: 100%
}

.float-wrap input:focus {
  outline: none;
  border-color: var(--in-border-focus);
  box-shadow: 0 10px 40px rgba(125, 107, 255, 0.06)
}

.float-wrap label {
  position: absolute;
  left: 14px;
  top: 12px;
  color: var(--muted);
  font-size: 13px;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s
}

/* Fade label when field is focused or has content (hide for legibility) */
.float-wrap:focus-within label,
.float-wrap.has-value label {
  opacity: 0;
  transform: none;
  transition: opacity .18s ease
}

/* Menu neon underline and nav flash */
.menu .item {
  overflow: hidden
}

.mmmmenu .item::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-3));
  transition: width .28s cubic-bezier(.2, .9, .2, 1)
}

.menu .item:hover::after {
  width: 100%
}

/* subtle nav click flash on main */
.main.nav-flash::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 6px;
  background: linear-gradient(90deg, rgba(255, 62, 146, 0.2), rgba(125, 107, 255, 0.12));
  transform: scaleX(0);
  transform-origin: left center;
  animation: navFlash .42s ease
}

@keyframes navFlash {
  0% {
    transform: scaleX(0)
  }

  50% {
    transform: scaleX(1)
  }

  100% {
    transform: scaleX(0);
    opacity: 0
  }
}

.main {
  position: relative
}

/* Animated hero shimmer */
.hero-card {
  position: relative;
  overflow: hidden
}

.hero-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.02), rgba(125, 107, 255, 0.04), rgba(255, 62, 146, 0.02));
  transform: translateX(-120%);
  animation: heroShine 6s linear infinite;
  mix-blend-mode: overlay;
  opacity: 0.8
}

@keyframes heroShine {
  0% {
    transform: translateX(-120%)
  }

  50% {
    transform: translateX(30%)
  }

  100% {
    transform: translateX(120%)
  }
}

/* Modal bloom */
.modal::before {
  content: '';
  position: absolute;
  inset: -10%;
  border-radius: inherit;
  border-radius: 14px;
  background: radial-gradient(circle at 30% 10%, rgba(125, 107, 255, 0.08), transparent 20%), radial-gradient(circle at 70% 90%, rgba(255, 62, 146, 0.04), transparent 25%);
  opacity: 0;
  transform: scale(.94);
  transition: all .42s;
  pointer-events: none;
  z-index: 0
}

.modal {
  position: relative;
  z-index: 1
}

.modal .float-wrap label {
  position: static;
  display: block;
  margin-bottom: 8px;
  margin-top: 4px;
  color: var(--label);
  opacity: 1;
  pointer-events: auto
}

.modal-backdrop .modal {
  animation: modalIn .42s cubic-bezier(.2, .9, .2, 1);
}

.modal-backdrop .modal.active-bloom::before {
  opacity: 1;

  transform: none
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(.96) rotateX(4deg)
  }

  to {
    opacity: 1;
    transform: none
  }
}

/* Neon toggle */
.toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer
}

.toggle label {
  cursor: pointer;
  color: var(--muted)
}

/* OFF state is visibly darker so it's clearly off */
.switch {
  width: 44px;
  height: 26px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.45);
  position: relative;
  cursor: pointer;
  transition: all .18s;
  flex: 0 0 auto;
  opacity: 0.85;
  border: 1px solid rgba(255, 255, 255, 0.03)
}

.switch[aria-checked="true"] .knob,
.switch.on .knob {
  left: 22px
}

.switch.on {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-color: rgba(255, 255, 255, 0.08)
}

.switch .knob {
  position: absolute;
  left: 4px;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  transition: left .18s cubic-bezier(.2, .9, .2, 1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6)
}

/* Modal select styling â€” adapt to dark theme */
.float-wrap.select {
  position: relative
}

.float-wrap.select select,
.modal select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: linear-gradient(180deg, rgba(10, 12, 20, 0.7), rgba(10, 12, 20, 0.45));
  color: #eaf5ff;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 12px;
  border-radius: 10px;
  width: 100%;
  padding-right: 38px
}

.float-wrap.select select option,
.modal select option {
  background: #0b0d14;
  color: #eaf5ff
}

.modal .float-wrap.select::after {
  content: '';
  position: absolute;
  right: 12px;
  top: 50%;
  width: 8px;
  height: 8px;
  transform: translateY(-45%) rotate(45deg);
  border-right: 2px solid rgba(255, 255, 255, 0.45);
  border-bottom: 2px solid rgba(255, 255, 255, 0.45);
  pointer-events: none
}

/* hide native caret in IE/Edge */
select::-ms-expand {
  display: none
}

/* focus ring to make it obvious */
.modal select:focus,
.float-wrap.select select:focus {
  outline: 2px solid rgba(125, 107, 255, 0.14);
  outline-offset: 2px
}

/* on state: bright with subtle bounce */
.switch.on {
  background: linear-gradient(90deg, #421b8f, #33fff2);
  ;
  box-shadow: 0 10px 70px rgba(125, 70, 200, 0.18);
  opacity: 1
}

.switch.on .knob {
  left: 22px;
  background: #ffffff;
}

/*animation:knobBounce .36s ease}*/
@keyframes knobBounce {
  0% {
    transform: translateY(0)
  }

  40% {
    transform: translateY(-6px)
  }

  100% {
    transform: translateY(0)
  }
}

.toggle label {
  font-size: 13px;
  color: var(--muted)
}

/* Search input â€” synthwave border */
.float-wrap.search input {
  border: 1px solid rgba(125, 107, 255, 0.28);
  box-shadow: 0 10px 40px rgba(125, 107, 255, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  padding: 12px
}

/* Select styling inside float-wrap */
.float-wrap.select {
  position: relative
}

.float-wrap select {
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.02);
  color: #eaf5ff;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
  padding-right: 36px;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(50% - 3px), calc(100% - 15px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat
}

.float-wrap select:focus {
  outline: none;
  border-color: rgba(125, 107, 255, 0.22);
  box-shadow: 0 10px 40px rgba(125, 107, 255, 0.08)
}

/* Button hover / click flash */
.btn {
  cursor: pointer
}

.btn:active {
  animation: btnFlash .22s ease
}

@keyframes btnFlash {
  0% {
    box-shadow: none
  }

  50% {
    box-shadow: inset 0 0 30px rgba(125, 107, 255, 0.12)
  }

  100% {
    box-shadow: none
  }
}

/* Menu items are clickable */
.menu .item {
  cursor: pointer
}

/* Table improvements with neon rail */
.table tr {
  position: relative;
  transition: all .18s
}

.table tr::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, rgba(125, 107, 255, 0.18), rgba(255, 62, 146, 0.06));
  transition: width .28s cubic-bezier(.2, .9, .2, 1);
  z-index: 0
}

.table tr td {
  position: relative;
  font-size: 14px;
  font-weight: 300;
  border-bottom: 1px solid #00000054;
  height: 42px;
  z-index: 1;
}

/*.table tr td:hover {
  border: none !important;
}*/

.table tr:hover::before {
  width: 8px
}

.table tr {
  background: linear-gradient(90deg, rgb(171 107 255 / 7%), #0c012175);
  transition: all .1s
}



.table tr:hover {
  box-shadow: inset 10px 0 60px rgba(255, 62, 146, 0.02);
  /*transform: translateX(6px)*/
}

#partners-table.table tr td {
  color: #8880c5;
  padding: 14px 8px;
}

.partner-name {
  color: #fff !important;
  font-weight: 300 !important;
  font-size: 16px !important;
  letter-spacing: 1.2px;
}

#partners-table.table tr th {
  padding: 14px 8px;
}

/* Badges and Status 
.badge {
  padding: 1px 4px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 200;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.role-admin {
  border-color: #ff3fa511;
  color: #ff3fa5;
}

.role-super-admin {
  border-color: #7d6bff11;
  color: #7d6bff;
  background: rgba(125, 107, 255, 0.1);
}

.role-partner-admin {
  border-color: #00ff8811;
  color: #00ff88;
}

.role-artist {
  border-color: #00d2ff11;
  color: #00d2ff;
}
*/
.cmd-links {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.cmd-links a {
  color: #ff3fa5;
  text-decoration: none;
  font-size: 12px;
  font-weight: 300;
  white-space: nowrap;
}

.cmd-links a:hover {
  text-decoration: underline;
}

.btn.sm {
  padding: 4px 10px;
  font-size: 11px;
}

/* Accent pulse */
.pulse {
  animation: pulse 2.4s infinite
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(125, 107, 255, 0.06)
  }

  50% {
    box-shadow: 0 0 40px 8px rgba(125, 107, 255, 0.02)
  }

  100% {
    box-shadow: 0 0 0 0 rgba(125, 107, 255, 0)
  }
}

/* Modal fancy */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 3, 8, 0.6), rgba(2, 3, 8, 0.8));
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(6px);
  z-index: 2000
}

.modal {
  width: 720px;
  max-width: 98%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(20, 15, 35, 0.98), rgba(10, 12, 25, 1));
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 120px rgba(16, 10, 30, 0.7);
  transform-origin: center center;
  animation: modalIn .42s cubic-bezier(.2, .9, .2, 1);
  position: relative;
  overflow: hidden;
}

/* Modal Header Container */
.modal-header {
  padding: 24px 24px 12px;
  flex-shrink: 0;
}

/* Modal Content Area (Scrollable) */
.modal-body {
  padding: 12px 24px 24px;
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1;
  scrollbar-width: auto;
  scrollbar-color: var(--accent-3) rgba(10, 12, 20, 0.98);
}

/* Sticky Modal Footer */
.modal .modal-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 24px;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  flex-shrink: 0;
  margin-top: 0;
}

.modal .modal-actions .btn-group {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.modal .modal-actions .alert {
  margin: 0;
  width: 100%;
}

.modal.active-bloom {
  box-shadow: 0 30px 120px rgba(16, 10, 30, 0.8), 0 0 20px rgba(125, 107, 255, 0.15);
  animation: modalIn .42s cubic-bezier(.2, .9, .2, 1), modalPulse 4s linear infinite;
}

@keyframes modalPulse {
  0% {
    box-shadow: 0 30px 120px rgba(16, 10, 30, 0.7), 0 0 10px rgba(255, 62, 146, 0.1);
  }

  50% {
    box-shadow: 0 30px 120px rgba(16, 10, 30, 0.7), 0 0 30px rgba(51, 255, 242, 0.15);
  }

  100% {
    box-shadow: 0 30px 120px rgba(16, 10, 30, 0.7), 0 0 10px rgba(255, 62, 146, 0.1);
  }
}

.modal h2 {
  background: linear-gradient(90deg, #7d6bff, #7d6bff, #7d6bff, #7d6bff, #7d6bff, #7d6bff, #ff003b, #fff700, #00ff26, #00ffff, #7d6bff);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shinyText 10s linear infinite;
  font-weight: 200;
  letter-spacing: .4px;
  margin: 0;
}

@keyframes shinyText {
  0% {
    background-position: 200% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Restored Form Styles */
.modal .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.modal .float-wrap input,
.modal .float-wrap select,
.modal input[type="email"],
.modal input[type="password"],
.modal input[type="text"],
.modal textarea {
  font-size: 16px;
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--in-border);
  background: linear-gradient(180deg, rgba(10, 12, 20, 0.7), rgba(10, 12, 20, 0.45));
  color: #eaf5ff;
  transition: all 0.2s;
}

.modal .float-wrap input:hover,
.modal .float-wrap select:hover {
  background: linear-gradient(180deg, rgba(15, 20, 35, 0.8), rgba(10, 15, 25, 0.6));
  border-color: rgba(255, 255, 255, 0.2);
}

.modal input::placeholder {
  color: rgba(234, 245, 255, 0.35);
}

.modal .form-row.toggle {
  display: flex;
  align-items: center;
  padding: 8px 0;
}

.modal .float-wrap input:focus,
.modal .float-wrap select:focus {
  border-color: var(--accent-2);
  box-shadow: 0 0 15px rgba(51, 255, 242, 0.1);
  outline: none;
}

.modal .float-wrap label {
  position: static;
  display: block;
  margin-bottom: 8px;
  margin-top: 4px;
  color: var(--label);
  font-size: 12px;
  font-weight: 500;
  opacity: 1;
  pointer-events: auto;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(.95);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.float-wrap:hover .icon {
  opacity: 1;
}

.alert {
  color: #ffffff;
  background: linear-gradient(180deg, #902faf, #4b1d75);
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #8e46e1;
  font-weight: 300;
}

/* Details */
.details .field {
  margin-bottom: 10px
}

.details .field input,
.details .field select {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--in-border);
  background: transparent;
  color: #eaf5ff
}

.footer-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px
}

/* transitions for section switch */
.section-transition {
  position: relative
}

.section-transition .panel {
  transition: transform .36s cubic-bezier(.2, .9, .2, 1), opacity .36s
}

#debug-banner,
#dev-badge {
  display: none;
}

/* small screens */


@media (max-width:450px) {

  /* On very small screens stack the sidebar above the main content as a standard block */
  .sidebar {
    display: block;
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden
  }

  .menu {
    display: block
  }

  .menu h3 {
    display: block
  }

  .menu .item {
    white-space: normal;
    padding: 10px 12px
  }

  .container {
    flex-direction: column;
    padding: 4px;
  }

  .main {
    padding: 12px
  }
}

/* decorative shimmer */
.shimmer {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite
}

@keyframes shimmer {
  0% {
    background-position: 200% 0
  }

  100% {
    background-position: -200% 0
  }
}

 / *   H i d d e n   C h e a t   C o d e   S t y l e s   -   D e l e t e   t h e s e   t o   r e m o v e   f u n c t i o n a l i t y   * /   . d e b u g - c h e a t - w r a p    {
     p o s i t i o n :    f i x e d ;
     t o p :    1 2 p x ;
     r i g h t :    1 2 p x ;
     z - i n d e x :    1 0 0 0 1 ;
     d i s p l a y :    f l e x ;
     a l i g n - i t e m s :    c e n t e r ;
     g a p :    1 2 p x ;
     b a c k g r o u n d :    r g b a ( 1 0 ,    8 ,    2 0 ,    0 . 8 5 ) ;
     p a d d i n g :    1 0 p x   1 6 p x ;
     b o r d e r - r a d i u s :    1 2 p x ;
     b o r d e r :    1 p x   s o l i d   v a r ( - - a c c e n t - 3 ) ;
     b a c k d r o p - f i l t e r :    b l u r ( 1 2 p x ) ;
     b o x - s h a d o w :    0   1 2 p x   4 8 p x   r g b a ( 0 ,    0 ,    0 ,    0 . 6 ) ;
     o p a c i t y :    0 ;
     t r a n s f o r m :    t r a n s l a t e Y ( - 2 0 p x ) ;
     t r a n s i t i o n :    a l l   0 . 4 s   c u b i c - b e z i e r ( 0 . 1 7 5 ,    0 . 8 8 5 ,    0 . 3 2 ,    1 . 2 7 5 ) ;
     p o i n t e r - e v e n t s :    n o n e ;
     
}

   . d e b u g - c h e a t - w r a p . a c t i v e    {
     o p a c i t y :    1 ;
     t r a n s f o r m :    t r a n s l a t e Y ( 0 ) ;
     p o i n t e r - e v e n t s :    a u t o ;
     
}

   . d e b u g - r o l e - l a b e l    {
     f o n t - s i z e :    1 1 p x ;
     f o n t - w e i g h t :    8 0 0 ;
     c o l o r :    v a r ( - - a c c e n t - 2 ) ;
     t e x t - t r a n s f o r m :    u p p e r c a s e ;
     l e t t e r - s p a c i n g :    1 . 5 p x ;
     p a d d i n g - r i g h t :    8 p x ;
     b o r d e r - r i g h t :    1 p x   s o l i d   r g b a ( 2 5 5 ,    2 5 5 ,    2 5 5 ,    0 . 1 ) ;
     
}

   . d e b u g - u s e r - s e l e c t    {
     b a c k g r o u n d :    r g b a ( 2 5 5 ,    2 5 5 ,    2 5 5 ,    0 . 0 3 ) ;
     c o l o r :    # e a f 5 f f ;
     b o r d e r :    1 p x   s o l i d   r g b a ( 2 5 5 ,    2 5 5 ,    2 5 5 ,    0 . 1 ) ;
     p a d d i n g :    8 p x   1 2 p x ;
     b o r d e r - r a d i u s :    8 p x ;
     f o n t - s i z e :    1 3 p x ;
     o u t l i n e :    n o n e ;
     c u r s o r :    p o i n t e r ;
     m i n - w i d t h :    1 8 0 p x ;
     t r a n s i t i o n :    a l l   0 . 2 s ;
     
}

   . d e b u g - u s e r - s e l e c t : h o v e r    {
     b a c k g r o u n d :    r g b a ( 2 5 5 ,    2 5 5 ,    2 5 5 ,    0 . 0 8 ) ;
     b o r d e r - c o l o r :    v a r ( - - a c c e n t - 2 ) ;
     
}

   . d e b u g - u s e r - s e l e c t   o p t i o n    {
     b a c k g r o u n d :    # 1 0 0 a 2 7 ;
     c o l o r :    # e a f 5 f f ;
     
}

/* Hidden Cheat Code Styles - Delete these to remove functionality */
.debug-cheat-wrap {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 10001;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(10, 8, 20, 0.85);
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid var(--accent-3);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
}

.debug-cheat-wrap.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.debug-role-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding-right: 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.debug-user-select {
  background: rgba(255, 255, 255, 0.03);
  color: #eaf5ff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  outline: none;
  cursor: pointer;
  min-width: 180px;
  transition: all 0.2s;
}

.debug-user-select:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-2);
}

.debug-user-select option {
  background: #100a27;
  color: #eaf5ff;
}