/* Sólo para la demo web. */
.q-demo-hint {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px dashed color-mix(in srgb, var(--ql-accent, #27c4b8) 55%, transparent);
  background: color-mix(in srgb, var(--ql-accent, #27c4b8) 7%, transparent);
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--ql-muted, #8ea9c4);
}
.q-demo-hint b { color: var(--ql-ink, inherit); font-weight: 650; }
.q-demo-hint button {
  margin-left: 4px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 650;
  color: var(--ql-accent, #27c4b8);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.q-demo-badge {
  position: fixed;
  z-index: 40;
  top: 22px;
  left: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 12px;
  border-radius: 99px;
  border: 1px solid rgb(151 191 229 / 0.22);
  background: rgb(4 18 31 / 0.6);
  color: #cfe2f3;
  font: 600 12px/1 system-ui, -apple-system, "Segoe UI", sans-serif;
  text-decoration: none;
  backdrop-filter: blur(8px);
}
.q-demo-badge span { width: 7px; height: 7px; border-radius: 50%; background: #f2b53c; box-shadow: 0 0 0 3px rgb(242 181 60 / 0.2); }
:root[data-theme="light"] .q-demo-badge { background: rgb(255 255 255 / 0.75); color: #2f4c68; border-color: rgb(15 42 67 / 0.14); }
html.q-intro-active .q-demo-badge { opacity: 0; pointer-events: none; }
@media (max-width: 760px) { .q-demo-badge { top: 24px; left: 16px; white-space: nowrap; } }

/* ------------------------------------------------ capa Plasma (demo) */
.q-login { font-family: "Manrope", "Segoe UI", system-ui, sans-serif; font-weight: 500; }
.q-hero-title, .q-login-title { font-family: "Space Grotesk", "Manrope", system-ui, sans-serif; font-weight: 600; letter-spacing: -0.035em; }

:root[data-theme="dark"] .q-login {
  --ql-bg-1: #161b4a;
  --ql-bg-2: #0a0d26;
  --ql-bg-3: #05071a;
  --ql-text: #f2f3ff;
  --ql-muted: #a3a8d8;
  --ql-card: rgb(17 21 56 / 0.55);
  --ql-card-border: rgb(160 170 255 / 0.16);
  --ql-card-shadow: 0 40px 120px -40px rgb(0 0 10 / 0.9);
  --ql-field: rgb(7 10 28 / 0.6);
  --ql-field-border: rgb(160 170 255 / 0.2);
  --ql-accent: #2ee6c9;
  --ql-accent-2: #8577ff;
  --ql-chip-bg: rgb(12 15 40 / 0.6);
  --ql-chip-border: rgb(160 170 255 / 0.16);
  --ql-btn-1: #8a7bff;
  --ql-btn-2: #5b4df0;
}
:root[data-theme="light"] .q-login { --ql-accent: #0b8b7a; --ql-accent-2: #5a49e6; --ql-btn-1: #6e5cf5; --ql-btn-2: #4f43d8; }

.q-login-card { border-radius: 24px; backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); }
:root[data-theme="dark"] .q-login-card { box-shadow: var(--ql-card-shadow), inset 0 1px 0 rgb(255 255 255 / 0.08); }

.q-hero-kicker, .q-login-card .q-overline { font-family: "JetBrains Mono", ui-monospace, monospace; font-weight: 600; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; }
.q-login-card .q-overline { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.66rem !important; }
.q-login-card .q-overline::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid currentColor; background: radial-gradient(circle, currentColor 0 2px, transparent 2.5px); }

.q-grad { background: linear-gradient(95deg, #0b9c88, #3c6be0 50%, #6a4fe0); -webkit-background-clip: text; background-clip: text; color: transparent; }
:root[data-theme="dark"] .q-grad { background-image: linear-gradient(95deg, #46f0d4 0%, #7fb4ff 45%, #a493ff 100%); }

.q-login-form input[type="email"], .q-login-form input[type="password"], .q-login-form input[type="text"] { border-radius: 14px; }
.q-login-submit { border-radius: 14px; min-height: 3.1rem; font-weight: 700; }
:root[data-theme="dark"] .q-login-submit { box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.22), 0 18px 40px -16px rgb(110 92 245 / 0.85); }

.q-login-help a { color: var(--ql-accent); font-weight: 700; text-decoration: none; white-space: nowrap; }
.q-login-help a:hover { text-decoration: underline; text-underline-offset: 3px; }
.q-demo-hint { border-radius: 14px; border-color: color-mix(in srgb, var(--ql-accent, #2ee6c9) 45%, transparent); }
.q-demo-badge { font-family: "JetBrains Mono", ui-monospace, monospace; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; font-size: 11px; }
:root[data-theme="dark"] .q-demo-badge { background: rgb(12 15 40 / 0.6); border-color: rgb(160 170 255 / 0.16); }
.q-demo-badge span { background: #2ee6c9; box-shadow: 0 0 0 3px rgb(46 230 201 / 0.2); }

/* interruptor claro / oscuro del login: los dos íconos a la vista, como en la web y en el portal */
.q-theme-toggle[data-theme-toggle] { position: relative; width: auto !important; height: 38px !important; padding: 3px !important; gap: 0; border-radius: 99px !important; border: 1px solid rgb(160 170 255 / 0.28); background: rgb(255 255 255 / 0.06); color: #b9bdf0; }
.q-theme-toggle[data-theme-toggle]::before { content: ""; position: absolute; left: 3px; top: 3px; width: 30px; height: 30px; border-radius: 99px; transform: translateX(30px); background: linear-gradient(135deg, #ffd56b, #f5a524); box-shadow: 0 6px 14px -6px rgb(245 165 36 / 0.9); transition: transform 0.3s, background 0.3s; }
:root[data-theme="dark"] .q-theme-toggle[data-theme-toggle]::before { transform: none; background: linear-gradient(135deg, #8a7bff, #5b4df0); box-shadow: 0 6px 14px -6px rgb(110 92 245 / 0.9); }
.q-theme-toggle[data-theme-toggle] svg { position: relative; z-index: 1; display: block !important; box-sizing: content-box; width: 16px !important; height: 16px !important; padding: 7px; }
:root[data-theme="dark"] .q-theme-toggle[data-theme-toggle] .q-icon-moon { color: #fff; }
:root:not([data-theme="dark"]) .q-theme-toggle[data-theme-toggle] .q-icon-sun { color: #3a2400; }
:root:not([data-theme="dark"]) .q-theme-toggle[data-theme-toggle] { border-color: rgb(30 34 90 / 0.18); background: rgb(255 255 255 / 0.7); color: #5b6091; }
