/* NEMESIS PRO — tema novo (login, cadastro, dashboard). Paleta: preto, navy, ouro. */

@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700&family=Instrument+Serif:ital@0;1&display=swap");

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

/* ── Tokens ── */
.theme-nemesis-pro {
  --pro-gold: #d4af37;
  --pro-gold-soft: #ebcd73;
  --pro-blue: #3b82f6;
  --pro-blue-deep: #1e3a8a;
  --pro-bg: #030508;
  --pro-panel: #0a0e18;
  --pro-border: rgba(59, 130, 246, 0.22);
  --pro-text: #eef2f8;
  --pro-muted: #8b9cb5;
  --pro-sidebar-w: 280px;
  --pro-header-h: 64px;
  --pro-radius: 16px;
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--pro-text);
}

/* Esconde camadas do tema antigo */
.theme-nemesis-pro .ni-wall,
.theme-nemesis-pro .ni-veil,
.theme-nemesis-pro .ni-orbs,
.theme-nemesis-pro .ni-frame,
.theme-nemesis-pro .ni-ambient-scan {
  display: none !important;
}

html.theme-nemesis-pro-html {
  background: #020305;
  min-height: 100%;
}

.theme-nemesis-pro .pro-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: #020305;
  background-image:
    radial-gradient(ellipse 80% 60% at 0% 0%, rgba(30, 58, 138, 0.35), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 10%, rgba(212, 175, 55, 0.08), transparent 50%),
    linear-gradient(180deg, #04060c 0%, #020305 100%);
  background-size: auto, auto, auto;
  background-position: center;
}

.theme-nemesis-pro .pro-bg.pro-bg--wallpaper {
  background-color: #030508;
  background-image:
    linear-gradient(180deg, rgba(2, 4, 8, 0.36) 0%, rgba(2, 3, 5, 0.58) 100%),
    radial-gradient(ellipse 80% 60% at 0% 0%, rgba(30, 58, 138, 0.22), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 10%, rgba(212, 175, 55, 0.05), transparent 50%),
    var(--pro-wallpaper-mobile, var(--pro-wallpaper, url("/mobile.png")));
  background-size: auto, auto, auto, cover;
  background-position: center, center, center, center top;
  background-repeat: no-repeat;
}

.theme-nemesis-pro .pro-bg.pro-bg--wallpaper-custom {
  background-image:
    linear-gradient(180deg, rgba(2, 4, 8, 0.32) 0%, rgba(2, 3, 5, 0.55) 100%),
    radial-gradient(ellipse 80% 60% at 0% 0%, rgba(30, 58, 138, 0.16), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 10%, rgba(212, 175, 55, 0.04), transparent 50%),
    var(--pro-wallpaper-mobile, var(--pro-wallpaper, url("/mobile.png")));
  background-size: auto, auto, auto, cover;
  background-position: center, center, center, center top;
  background-repeat: no-repeat;
}

@media (min-width: 901px) {
  .theme-nemesis-pro .pro-bg.pro-bg--wallpaper {
    background-image:
      linear-gradient(180deg, rgba(2, 4, 8, 0.36) 0%, rgba(2, 3, 5, 0.58) 100%),
      radial-gradient(ellipse 80% 60% at 0% 0%, rgba(30, 58, 138, 0.22), transparent 55%),
      radial-gradient(ellipse 50% 40% at 100% 10%, rgba(212, 175, 55, 0.05), transparent 50%),
      var(--pro-wallpaper-desktop, var(--pro-wallpaper, url("/desktop.png")));
    background-position: center, center, center, center 38%;
  }

  .theme-nemesis-pro .pro-bg.pro-bg--wallpaper-custom {
    background-image:
      linear-gradient(180deg, rgba(2, 4, 8, 0.32) 0%, rgba(2, 3, 5, 0.55) 100%),
      radial-gradient(ellipse 80% 60% at 0% 0%, rgba(30, 58, 138, 0.16), transparent 55%),
      radial-gradient(ellipse 50% 40% at 100% 10%, rgba(212, 175, 55, 0.04), transparent 50%),
      var(--pro-wallpaper-desktop, var(--pro-wallpaper, url("/desktop.png")));
    background-position: center, center, center, center 38%;
  }
}

.theme-nemesis-pro .pro-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, #000 20%, transparent 75%);
}

/* ── SVG icons ── */
.theme-nemesis-pro .ni-svg {
  width: 1.35rem;
  height: 1.35rem;
  display: block;
}

.theme-nemesis-pro .module-icon-svg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--pro-gold-soft);
}

.theme-nemesis-pro .module-icon-svg .ni-svg {
  width: 1.75rem;
  height: 1.75rem;
}

.theme-nemesis-pro .query-head-icon-svg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--pro-border);
  background: rgba(15, 23, 42, 0.9);
  color: var(--pro-gold-soft);
}

.theme-nemesis-pro .query-head-icon-svg .ni-svg {
  width: 1.15rem;
  height: 1.15rem;
}

.theme-nemesis-pro .query-head-icon-emoji {
  display: none !important;
}

/* ── Dashboard shell ── */
.theme-nemesis-pro.dashboard-page {
  --sidebar-w: var(--pro-sidebar-w);
  --topbar-h: 0px;
  --dashboard-footer-h: 52px;
  background: transparent !important;
  background-image: none !important;
}

.theme-nemesis-pro .pro-app {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100vh;
  max-height: 100vh;
  background: transparent;
}

@supports (height: 100dvh) {
  .theme-nemesis-pro .pro-app {
    min-height: 100dvh;
    max-height: 100dvh;
  }
}

/* Header */
.theme-nemesis-pro .pro-header {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  min-height: var(--pro-header-h);
  padding: 0.65rem clamp(1rem, 2vw, 1.5rem);
  border-bottom: 1px solid var(--pro-border);
  background: rgba(6, 10, 18, 0.92);
  backdrop-filter: blur(16px);
}

.theme-nemesis-pro .pro-header-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-right: auto;
}

.theme-nemesis-pro .pro-header-logo {
  max-height: 38px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(59, 130, 246, 0.35));
}

.theme-nemesis-pro .pro-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #bbf7d0;
  border: 1px solid rgba(74, 222, 128, 0.3);
  background: rgba(6, 28, 20, 0.85);
}

.theme-nemesis-pro .pro-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.6);
}

.theme-nemesis-pro .pro-header-search {
  position: relative;
  flex: 1 1 200px;
  max-width: 420px;
}

.theme-nemesis-pro .pro-header-search input {
  width: 100%;
  min-height: 42px;
  padding: 0.5rem 1rem 0.5rem 2.6rem;
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  background: rgba(4, 7, 14, 0.95);
  color: var(--pro-text);
  font: inherit;
  font-size: 0.9rem;
}

.theme-nemesis-pro .pro-header-search input:focus {
  outline: none;
  border-color: var(--pro-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12);
}

.theme-nemesis-pro .pro-header-search::before {
  content: "";
  position: absolute;
  left: 0.95rem;
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translateY(-50%);
  border: 2px solid rgba(235, 205, 115, 0.55);
  border-radius: 50%;
  box-shadow: 12px 0 0 -9px rgba(235, 205, 115, 0.55);
  pointer-events: none;
}

.theme-nemesis-pro .pro-header-chips {
  display: flex;
  gap: 0.35rem;
}

.theme-nemesis-pro .dash-chip {
  border: 1px solid var(--pro-border);
  background: rgba(8, 12, 22, 0.9);
  color: var(--pro-muted);
  font: inherit;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
  transition: 0.15s ease;
}

.theme-nemesis-pro .dash-chip.is-active {
  color: #1a1205;
  border-color: var(--pro-gold);
  background: linear-gradient(180deg, var(--pro-gold-soft), var(--pro-gold));
}

/* Layout */
.theme-nemesis-pro .pro-layout {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background: transparent;
}

.theme-nemesis-pro .dashboard-shell,
.theme-nemesis-pro .dashboard-main {
  background: transparent !important;
}

.theme-nemesis-pro .topbar {
  display: none !important;
}

.theme-nemesis-pro .sidebar-menu {
  top: var(--pro-header-h);
  bottom: var(--dashboard-bottom-stack-h);
  width: var(--pro-sidebar-w);
  background: rgba(5, 8, 14, 0.96);
  border-right: 1px solid var(--pro-border);
  backdrop-filter: blur(12px);
  padding: 1rem 0.75rem;
}

.theme-nemesis-pro .sidebar-user-box {
  border-radius: var(--pro-radius);
  border: 1px solid rgba(212, 175, 55, 0.18);
  background: linear-gradient(160deg, rgba(12, 16, 28, 0.95), rgba(4, 6, 12, 0.98));
  margin-bottom: 0.85rem;
}

.theme-nemesis-pro .sidebar-nav-panel {
  border-radius: var(--pro-radius);
  border: 1px solid var(--pro-border);
  background: rgba(6, 10, 18, 0.6);
  padding: 0.65rem;
}

.theme-nemesis-pro .sidebar-title {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--pro-gold-soft);
  border-left: 0;
  padding-left: 0;
}

.theme-nemesis-pro .sidebar-link,
.theme-nemesis-pro .sidebar-sublink {
  border-radius: 11px;
  border: 1px solid transparent;
  background: transparent;
}

.theme-nemesis-pro .sidebar-link:hover,
.theme-nemesis-pro .sidebar-sublink:hover {
  background: rgba(30, 58, 138, 0.22);
  border-color: var(--pro-border);
  transform: none;
  box-shadow: none;
}

.theme-nemesis-pro .sidebar-icon-box {
  border-radius: 9px;
  border: 1px solid var(--pro-border);
  background: rgba(15, 23, 42, 0.85);
  color: #93c5fd;
}

.theme-nemesis-pro .pro-workspace {
  padding: 1.1rem clamp(1rem, 2vw, 1.65rem) calc(var(--dashboard-bottom-stack-h) + 1.25rem) !important;
  margin-left: var(--pro-sidebar-w);
}

.theme-nemesis-pro .pro-welcome {
  margin-bottom: 1.35rem;
}

.theme-nemesis-pro .pro-welcome-title {
  margin: 0 0 0.35rem;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #f1f5f9;
}

.theme-nemesis-pro .pro-welcome-sub {
  margin: 0;
  color: var(--pro-muted);
  font-size: 0.92rem;
}

/* Seções */
.theme-nemesis-pro .dashboard-section-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.theme-nemesis-pro .dashboard-section-title {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pro-gold);
  text-shadow: none;
}

.theme-nemesis-pro .dashboard-section-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--pro-border), transparent);
}

.theme-nemesis-pro .dashboard-section-count {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--pro-muted);
  padding: 0.25rem 0.55rem;
  border-radius: 8px;
  border: 1px solid var(--pro-border);
  background: rgba(8, 12, 22, 0.8);
}

.theme-nemesis-pro .dashboard-modules-block {
  margin-top: 1.75rem;
}

/* Cards — layout horizontal profissional */
.theme-nemesis-pro .grid-modules {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
  gap: 0.75rem;
}

.theme-nemesis-pro .module-tile {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.85rem;
  row-gap: 0.2rem;
  align-items: start;
  text-align: left;
  min-height: 0;
  padding: 0.95rem 1rem;
  border-radius: var(--pro-radius);
  border: 1px solid var(--pro-border);
  background: linear-gradient(145deg, rgba(11, 16, 28, 0.95), rgba(5, 8, 14, 0.98));
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.theme-nemesis-pro .module-tile::before {
  display: none;
}

.theme-nemesis-pro .module-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(212, 175, 55, 0.08);
}

.theme-nemesis-pro .module-icon {
  grid-row: 1 / span 2;
  width: 3rem;
  height: 3rem;
  margin: 0;
  padding: 0.45rem;
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  background: rgba(15, 23, 42, 0.85);
}

.theme-nemesis-pro .module-label {
  grid-column: 2;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.25;
  align-self: end;
}

.theme-nemesis-pro .module-tile-hint {
  grid-column: 2;
  font-size: 0.72rem !important;
  line-height: 1.35 !important;
  color: var(--pro-muted) !important;
  margin: 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.theme-nemesis-pro .module-status {
  top: 0.55rem;
  right: 0.55rem;
  font-size: 0.56rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.18rem 0.4rem;
  border-radius: 6px;
  background: rgba(4, 12, 24, 0.9);
  border: 1px solid rgba(74, 222, 128, 0.25);
}

.theme-nemesis-pro .tile-favorite {
  left: auto;
  right: 0.45rem;
  bottom: 0.45rem;
  top: auto;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  background: rgba(4, 8, 16, 0.85);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.theme-nemesis-pro .tile-favorite-icon {
  display: block !important;
  width: 14px !important;
  height: 14px !important;
  margin: 0 !important;
  font-size: 0 !important;
  color: var(--pro-muted) !important;
  background: currentColor;
  clip-path: polygon(50% 8%, 62% 38%, 94% 38%, 68% 58%, 78% 90%, 50% 72%, 22% 90%, 32% 58%, 6% 38%, 38% 38%);
  opacity: 0.45;
  transition: opacity 0.15s, color 0.15s;
}

.theme-nemesis-pro .module-tile.is-favorited .tile-favorite-icon {
  opacity: 1;
  color: var(--pro-gold) !important;
}

.theme-nemesis-pro .tile-new-badge {
  left: auto;
  right: 0.5rem;
  top: auto;
  bottom: 2.5rem;
}

.theme-nemesis-pro .module-tile.is-filtered-out {
  display: none !important;
}

/* Modais */
.theme-nemesis-pro .query-modal {
  background: rgba(2, 4, 8, 0.88);
  backdrop-filter: blur(14px);
}

.theme-nemesis-pro .query-modal::after {
  display: none;
}

.theme-nemesis-pro .query-card {
  border-radius: var(--pro-radius);
  border: 1px solid rgba(212, 175, 55, 0.28);
  background: linear-gradient(180deg, rgba(10, 14, 24, 0.98), rgba(4, 6, 12, 0.99));
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.55);
}

.theme-nemesis-pro .query-card::before,
.theme-nemesis-pro .query-card::after {
  display: none;
}

.theme-nemesis-pro .query-head {
  border-bottom: 1px solid var(--pro-border);
}

.theme-nemesis-pro .query-head h3 {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pro-gold-soft);
  text-shadow: none;
}

.theme-nemesis-pro .dashboard-footer-bar {
  background: rgba(4, 6, 12, 0.95) !important;
  border-top: 1px solid var(--pro-border) !important;
}

/* ── AUTH ── */
body.theme-nemesis-pro.auth-page {
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  background: transparent !important;
  -webkit-overflow-scrolling: touch;
}

.theme-nemesis-pro .pro-auth-shell {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: min(1080px, 100%);
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1.35rem, 3.2vw, 2.75rem);
  padding: clamp(1.35rem, 4vw, 2.75rem) clamp(1rem, 3vw, 2rem);
  padding-bottom: calc(clamp(1.35rem, 4vw, 2.75rem) + env(safe-area-inset-bottom, 0px));
}

.theme-nemesis-pro .pro-auth-aside {
  display: flex;
  flex: 1 1 300px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 480px;
  text-align: center;
  padding: clamp(1.35rem, 3vw, 2rem) clamp(1rem, 2.5vw, 1.75rem);
  border: 1px solid var(--pro-border);
  border-radius: calc(var(--pro-radius) + 6px);
  background:
    radial-gradient(ellipse 85% 70% at 50% 15%, rgba(30, 58, 138, 0.28), transparent 62%),
    rgba(4, 7, 14, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.theme-nemesis-pro.auth-page .turnstile-wrap {
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.theme-nemesis-pro.auth-page .ni-turnstile-mount {
  width: 100%;
  max-width: 100%;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.theme-nemesis-pro.auth-page .ni-turnstile-reload {
  display: block;
  width: 100%;
  max-width: 100%;
  font: inherit;
  font-size: 0.75rem;
  padding: 0.45rem 0.65rem;
  border-radius: 10px;
  border: 1px solid var(--pro-border);
  background: rgba(8, 12, 22, 0.95);
  color: var(--pro-muted);
  cursor: pointer;
}

.theme-nemesis-pro .pro-auth-mark {
  display: block;
  width: min(300px, 72vw);
  max-width: 320px;
  height: auto;
  margin: 0 auto 1.15rem;
  filter: drop-shadow(0 10px 36px rgba(59, 130, 246, 0.35));
}

.theme-nemesis-pro .pro-auth-aside h1 {
  margin: 0 0 0.65rem;
  width: 100%;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: clamp(1.65rem, 3.2vw, 2.15rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pro-text);
}

.theme-nemesis-pro .pro-auth-aside h1 span {
  display: block;
  margin-top: 0.2rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--pro-gold-soft);
}

.theme-nemesis-pro .pro-auth-lead {
  margin: 0.35rem auto 1.25rem;
  max-width: 36ch;
  color: var(--pro-muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.theme-nemesis-pro .pro-auth-features {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  width: 100%;
  max-width: 38ch;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  text-align: left;
}

.theme-nemesis-pro .pro-auth-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: rgba(226, 232, 240, 0.85);
  font-size: 0.86rem;
  line-height: 1.45;
}

.theme-nemesis-pro .pro-auth-features li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pro-gold);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.theme-nemesis-pro .pro-auth-main {
  display: flex;
  flex: 0 1 420px;
  align-items: center;
  justify-content: center;
  width: min(420px, 100%);
  padding: 0;
  background: transparent;
}

.theme-nemesis-pro .pro-auth-card {
  width: 100%;
  max-width: 420px;
  padding: 1.75rem 1.65rem;
  border-radius: calc(var(--pro-radius) + 4px);
  border: 1px solid rgba(212, 175, 55, 0.22);
  background: linear-gradient(165deg, rgba(10, 14, 24, 0.96), rgba(4, 6, 12, 0.98));
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.theme-nemesis-pro .pro-auth-card h2 {
  margin: 0 0 0.35rem;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pro-gold-soft);
}

.theme-nemesis-pro .pro-auth-card .auth-card-subtitle {
  margin: 0 0 1.25rem;
  color: var(--pro-muted);
  font-size: 0.88rem;
}

.theme-nemesis-pro .pro-field {
  position: relative;
  margin-bottom: 0.65rem;
}

.theme-nemesis-pro .pro-field-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: rgba(235, 205, 115, 0.65);
  pointer-events: none;
}

.theme-nemesis-pro .pro-field-icon .ni-svg {
  width: 18px;
  height: 18px;
}

.theme-nemesis-pro .pro-auth-card label {
  display: block;
  margin: 0.75rem 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(235, 205, 115, 0.7);
}

.theme-nemesis-pro .pro-auth-card input[type="text"],
.theme-nemesis-pro .pro-auth-card input[type="password"] {
  width: 100%;
  min-height: 46px;
  padding: 0.55rem 0.85rem 0.55rem 2.65rem;
  border-radius: 12px;
  border: 1px solid rgba(59, 130, 246, 0.25);
  background: rgba(3, 6, 12, 0.95);
  color: var(--pro-text);
  font: inherit;
  font-size: 0.95rem;
}

.theme-nemesis-pro .pro-auth-card input:focus {
  outline: none;
  border-color: var(--pro-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12);
}

.theme-nemesis-pro .password-field input {
  padding-right: 2.75rem;
}

.theme-nemesis-pro .toggle-password {
  right: 0.45rem;
  border-radius: 9px;
  border: 1px solid var(--pro-border);
  background: rgba(8, 12, 22, 0.95);
  color: var(--pro-gold-soft);
}

.theme-nemesis-pro .remember-row {
  margin: 0.85rem 0;
  color: var(--pro-muted);
  font-size: 0.88rem;
}

.theme-nemesis-pro .btn-gold {
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: linear-gradient(180deg, var(--pro-gold-soft), var(--pro-gold));
  color: #1a1205;
  border: 0;
}

.theme-nemesis-pro .btn-blue {
  border-radius: 12px;
  background: linear-gradient(180deg, #3b82f6, #1d4ed8);
  border: 0;
}

.theme-nemesis-pro .signup-block {
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--pro-border);
  text-align: center;
  color: var(--pro-muted);
  font-size: 0.88rem;
}

.theme-nemesis-pro .inline-login-link {
  color: var(--pro-gold-soft);
}

.theme-nemesis-pro .auth-footer-bar {
  position: relative;
  z-index: 2;
  background: rgba(4, 6, 12, 0.88) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--pro-border);
  color: var(--pro-muted);
  font-size: 0.78rem;
}

.theme-nemesis-pro .page-wrap,
.theme-nemesis-pro .brand,
.theme-nemesis-pro.auth-page .card {
  display: none !important;
}

@media (max-width: 900px) {
  body.theme-nemesis-pro.auth-page {
    overflow-y: auto;
  }

  .theme-nemesis-pro .pro-auth-shell {
    flex-direction: column;
    min-height: auto;
    width: 100%;
    max-width: none;
    gap: 1rem;
    padding-bottom: 5.5rem;
  }

  .theme-nemesis-pro .pro-auth-aside {
    flex: 1 1 auto;
    width: 100%;
    max-width: none;
    padding: 1.35rem 1rem 1rem;
    text-align: center;
    align-items: center;
    justify-content: flex-start;
  }

  .theme-nemesis-pro.auth-page .pro-auth-mark {
    width: min(200px, 52vw);
    max-width: 220px;
    margin-bottom: 0.75rem;
  }

  .theme-nemesis-pro.auth-page .pro-auth-aside h1 {
    font-size: 1.35rem;
    margin-bottom: 0.45rem;
  }

  .theme-nemesis-pro.auth-page .pro-auth-lead {
    font-size: 0.88rem;
    margin-bottom: 0.5rem;
    max-width: 36ch;
  }

  .theme-nemesis-pro .pro-auth-main {
    padding: 1rem 1rem 5.5rem;
    align-items: flex-start;
  }

  .theme-nemesis-pro .pro-auth-card {
    max-width: none;
  }

  .theme-nemesis-pro .pro-auth-features {
    display: none;
  }

  .theme-nemesis-pro .pro-header {
    padding-top: 0.5rem;
  }

  .theme-nemesis-pro .pro-header-search {
    order: 3;
    flex: 1 1 100%;
    max-width: none;
  }

  .theme-nemesis-pro .sidebar-menu {
    width: 100%;
    position: relative;
    top: 0;
    bottom: auto;
    max-height: none;
  }

  .theme-nemesis-pro .pro-workspace {
    margin-left: 0 !important;
  }

  .theme-nemesis-pro.dashboard-page .dashboard-shell {
    flex-direction: column;
  }

  .theme-nemesis-pro .grid-modules {
    grid-template-columns: 1fr !important;
  }
}