/* ============================================================
   elita-futurista.css — Capa "futurista" encima de elita-remaster.css.
   Misma app y misma forma. Cambia el acabado: neón violeta + cian, rejilla de fondo,
   esquinas tipo pantalla de nave (HUD), letras de títulos tipo ciencia ficción.
   Va DESPUÉS de elita-remaster.css. Para quitarla basta con borrar su <link>.
   ============================================================ */
@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@600;700;800&display=swap");

:root {
  --f-cian: #4de3ff;
  --f-violeta: #9b6bff;
  --f-magenta: #ff4fd8;
  --f-panel: linear-gradient(160deg, rgba(20, 14, 52, .78), rgba(8, 6, 26, .86));
  --f-filo: linear-gradient(135deg, rgba(77, 227, 255, .7), rgba(155, 107, 255, .25) 35%, rgba(155, 107, 255, .12) 65%, rgba(255, 79, 216, .55));
  --f-neon: 0 0 0 1px rgba(77, 227, 255, .06), 0 0 24px rgba(124, 77, 255, .22), 0 18px 44px rgba(0, 0, 0, .55);
  --f-titulo: "Orbitron", "Segoe UI", system-ui, sans-serif;
  /* Esquinas tipo HUD: cuatro "L" de neón dibujadas con degradados */
  --f-esquinas:
    linear-gradient(var(--f-cian), var(--f-cian)) left 8px top 8px / 14px 2px no-repeat,
    linear-gradient(var(--f-cian), var(--f-cian)) left 8px top 8px / 2px 14px no-repeat,
    linear-gradient(var(--f-cian), var(--f-cian)) right 8px top 8px / 14px 2px no-repeat,
    linear-gradient(var(--f-cian), var(--f-cian)) right 8px top 8px / 2px 14px no-repeat,
    linear-gradient(var(--f-magenta), var(--f-magenta)) left 8px bottom 8px / 14px 2px no-repeat,
    linear-gradient(var(--f-magenta), var(--f-magenta)) left 8px bottom 8px / 2px 14px no-repeat,
    linear-gradient(var(--f-magenta), var(--f-magenta)) right 8px bottom 8px / 14px 2px no-repeat,
    linear-gradient(var(--f-magenta), var(--f-magenta)) right 8px bottom 8px / 2px 14px no-repeat;
}

/* ---------- Fondo: espacio oscuro, rejilla en perspectiva abajo y dos luces de neón ---------- */
body.home-body {
  background:
    radial-gradient(ellipse 70% 38% at 50% -6%, rgba(155, 107, 255, .42), transparent 70%),
    radial-gradient(ellipse 50% 30% at 100% 30%, rgba(77, 227, 255, .12), transparent 70%),
    radial-gradient(ellipse 50% 30% at 0% 85%, rgba(255, 79, 216, .1), transparent 70%),
    linear-gradient(180deg, #0d0828 0%, #070418 60%, #04020f 100%) !important;
  background-attachment: fixed !important;
}
/* Rejilla tipo horizonte (se desvanece hacia arriba) */
body.home-body::before {
  opacity: 1 !important; mix-blend-mode: normal !important; background-image: none !important;
  background:
    linear-gradient(rgba(77, 227, 255, .09) 1px, transparent 1px) 0 0 / 100% 34px,
    linear-gradient(90deg, rgba(155, 107, 255, .09) 1px, transparent 1px) 0 0 / 34px 100% !important;
  -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, .9), transparent 55%);
  mask-image: linear-gradient(to top, rgba(0, 0, 0, .9), transparent 55%);
}
/* Líneas de pantalla, casi invisibles */
body.home-body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 2; opacity: .05;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .5) 0 1px, transparent 1px 3px);
}

/* ---------- Paneles: neón en el borde + esquinas HUD ---------- */
.home-header, .chat-area, .notes-area, .priv-card, .lock-form {
  background: var(--f-esquinas), var(--f-panel) padding-box, var(--f-filo) border-box !important;
  box-shadow: var(--f-neon), inset 0 1px 0 rgba(255, 255, 255, .06) !important;
  border-radius: 18px !important;
}
.chat-area {
  background: var(--f-esquinas),
    radial-gradient(circle at 50% 42%, rgba(77, 227, 255, .14), rgba(155, 107, 255, .08) 30%, transparent 58%) padding-box,
    var(--f-panel) padding-box, var(--f-filo) border-box !important;
  border-radius: 22px !important;
}

/* ---------- Letras: títulos tipo ciencia ficción ---------- */
.home-header .section-title, .home-header .greeting-name, .lock-title {
  font-family: var(--f-titulo) !important; letter-spacing: .04em !important; text-transform: uppercase;
}
.home-header .section-title { font-size: 1.05rem !important; }
.home-header .greeting-name {
  font-size: 1rem !important;
  background: linear-gradient(90deg, #ffffff, var(--f-cian)) !important; -webkit-background-clip: text !important; background-clip: text !important;
  text-shadow: none;
}
.home-header .greeting-small { text-transform: uppercase; letter-spacing: .18em; font-size: .62rem !important; color: var(--f-cian) !important; opacity: .85; }
.home-header .avatar {
  background: linear-gradient(140deg, #4de3ff, #7c4dff 55%, #ff4fd8) !important;
  font-family: var(--f-titulo);
  box-shadow: 0 0 0 2px #070418, 0 0 0 3px rgba(77, 227, 255, .8), 0 0 22px rgba(77, 227, 255, .55) !important;
}

/* ---------- Botones de la cabecera: cristal con filo cian ---------- */
.home-header .logout-btn, .home-header .menu-btn {
  border-radius: 10px !important; border: 1px solid rgba(77, 227, 255, .25) !important;
  background: rgba(77, 227, 255, .05) !important; color: #cfefff !important;
  box-shadow: inset 0 0 12px rgba(77, 227, 255, .06) !important;
}
.home-header .logout-btn { font-family: var(--f-titulo); font-size: .62rem !important; letter-spacing: .1em; text-transform: uppercase; }
.home-header .logout-btn:hover, .home-header .menu-btn:hover {
  background: rgba(77, 227, 255, .14) !important; border-color: rgba(77, 227, 255, .7) !important; color: #fff !important;
  box-shadow: 0 0 16px rgba(77, 227, 255, .45), inset 0 0 12px rgba(77, 227, 255, .15) !important;
}

/* ---------- Chat ---------- */
.chat-bubble-user {
  background: linear-gradient(135deg, #8b5cff, #c04bff 70%, #ff4fd8) !important;
  box-shadow: 0 0 18px rgba(192, 75, 255, .45), inset 0 1px 0 rgba(255, 255, 255, .25) !important;
}
.chat-bubble-elita {
  background: rgba(77, 227, 255, .06) !important; border: 1px solid rgba(77, 227, 255, .28) !important;
  box-shadow: inset 0 0 14px rgba(77, 227, 255, .06) !important;
}
.chat-input-bar {
  background: rgba(4, 2, 16, .6) !important; border: 1px solid rgba(77, 227, 255, .3) !important; border-radius: 14px !important;
  box-shadow: inset 0 0 16px rgba(77, 227, 255, .06) !important;
}
.chat-input-bar:focus-within { border-color: rgba(77, 227, 255, .8) !important; box-shadow: 0 0 18px rgba(77, 227, 255, .3), inset 0 0 16px rgba(77, 227, 255, .08) !important; }
.chat-input-bar button { border-radius: 10px !important; }

/* ---------- Campos ---------- */
.home-body input[type="text"], .home-body input[type="date"], .home-body input[type="time"], .home-body input[type="url"],
.home-body input[type="search"], .home-body input[type="password"], .home-body input:not([type]), .home-body textarea, .home-body select {
  background-color: rgba(4, 2, 16, .55); border-color: rgba(77, 227, 255, .22); border-radius: 10px;
}
.home-body input:focus, .home-body textarea:focus, .home-body select:focus {
  border-color: rgba(77, 227, 255, .8) !important; box-shadow: 0 0 16px rgba(77, 227, 255, .3) !important;
}
.chat-input-bar input:focus { box-shadow: none !important; }

/* ---------- Botones de enviar / agregar: neón ---------- */
.chat-input-bar button, .notes-input-bar button, .reminder-input-bar button, .event-input-bar button,
.milestone-input-bar button, .photo-input-bar button, .book-input-bar button, .support-form button[type="submit"] {
  background: linear-gradient(135deg, #4de3ff, #7c4dff 55%, #c04bff) !important; border-radius: 10px !important;
  box-shadow: 0 0 18px rgba(77, 227, 255, .45), 0 0 34px rgba(124, 77, 255, .3), inset 0 1px 0 rgba(255, 255, 255, .35) !important;
  text-shadow: 0 0 6px rgba(255, 255, 255, .6);
}
.milestone-input-bar button, .support-form button[type="submit"] { font-family: var(--f-titulo); letter-spacing: .1em; text-transform: uppercase; font-size: .72rem !important; }
.chat-input-bar .fotos-btn, .chat-input-bar button[aria-label*="oto"] {
  background: rgba(77, 227, 255, .06) !important; border: 1px solid rgba(77, 227, 255, .3) !important; box-shadow: none !important; text-shadow: none;
}

/* ---------- Pestañas ---------- */
.tab-switch { border-radius: 14px !important; border-color: rgba(77, 227, 255, .2) !important; background: rgba(4, 2, 16, .55) !important; }
.tab-btn { border-radius: 10px !important; font-family: var(--f-titulo) !important; font-size: .66rem !important; letter-spacing: .08em; text-transform: uppercase; }
.tab-btn.active {
  background: linear-gradient(135deg, rgba(77, 227, 255, .3), rgba(124, 77, 255, .55)) !important;
  box-shadow: 0 0 16px rgba(77, 227, 255, .35), inset 0 0 0 1px rgba(77, 227, 255, .6) !important;
}

/* ---------- Tarjetas de notas / recuerdos ---------- */
.note-item {
  border-radius: 12px !important; border-color: rgba(77, 227, 255, .14) !important;
  background: linear-gradient(100deg, rgba(77, 227, 255, .06), rgba(155, 107, 255, .04) 40%, rgba(255, 255, 255, .02)) !important;
}
.note-item::before { background: linear-gradient(180deg, var(--f-cian), var(--f-magenta)) !important; box-shadow: 0 0 10px var(--f-cian); width: 2px !important; }
.note-item:hover { border-color: rgba(77, 227, 255, .45) !important; box-shadow: 0 0 16px rgba(77, 227, 255, .18) !important; }

/* ---------- Barra de abajo: consola con luz cian en la pestaña activa ---------- */
.bottom-nav {
  background: linear-gradient(180deg, rgba(14, 10, 40, .9), rgba(5, 3, 18, .96)) padding-box, var(--f-filo) border-box !important;
  border-radius: 20px 20px 0 0 !important;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, .5), 0 -1px 18px rgba(77, 227, 255, .12) !important;
}
.bottom-nav .nav-label { font-family: var(--f-titulo); font-size: .52rem !important; letter-spacing: .08em; text-transform: uppercase; }
.bottom-nav .nav-item { border-radius: 10px !important; }
.bottom-nav .nav-item.active {
  background: linear-gradient(180deg, rgba(77, 227, 255, .16), rgba(124, 77, 255, .2)) !important;
  box-shadow: inset 0 0 0 1px rgba(77, 227, 255, .45), 0 0 20px rgba(77, 227, 255, .3) !important;
}
.bottom-nav .nav-item.active::after {
  content: ""; position: absolute; left: 22%; right: 22%; bottom: 3px; height: 2px; border-radius: 2px;
  background: var(--f-cian); box-shadow: 0 0 8px var(--f-cian), 0 0 16px var(--f-cian);
}
.bottom-nav .nav-item.active .nav-label { color: var(--f-cian) !important; text-shadow: 0 0 8px rgba(77, 227, 255, .7); }

@media (prefers-reduced-motion: reduce) { body.home-body::after { display: none; } }

/* El botón ← de Mensajes solo muestra la flecha (llamadas.js esconde la palabra "Volver") */
.home-header .logout-btn.volver-btn { font-size: 0 !important; letter-spacing: 0; }
/* Mensajes tiene 4 botones: el título se achica para que se lea entero */
.home-header:has(.logout-btn ~ .logout-btn ~ .logout-btn ~ .logout-btn) .section-title { font-size: .8rem !important; letter-spacing: .02em !important; }

/* =================================================================
   PARTE 2 — Lo que faltaba: paneles que se abren, hojas, biblioteca,
   llamadas, ciclo, fotos y la pantalla de inicio de sesión.
   ================================================================= */

/* ---------- Panel "Mis chats" ---------- */
.drawer-overlay { background: rgba(2, 1, 10, .6) !important; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.chat-drawer {
  background:
    linear-gradient(var(--f-cian), var(--f-cian)) right 0 top 0 / 1px 100% no-repeat,
    radial-gradient(ellipse 120% 40% at 0% 0%, rgba(155, 107, 255, .25), transparent 70%),
    linear-gradient(180deg, #0f0a2c, #060416) !important;
  border-right: 1px solid rgba(77, 227, 255, .45) !important;
  box-shadow: 0 0 30px rgba(77, 227, 255, .18), 12px 0 40px rgba(0, 0, 0, .6) !important;
}
.drawer-title { font-family: var(--f-titulo) !important; text-transform: uppercase; letter-spacing: .08em; font-size: .95rem !important; color: #e8f9ff !important; text-shadow: 0 0 10px rgba(77, 227, 255, .5); }
.drawer-close { border: 1px solid rgba(77, 227, 255, .3) !important; background: rgba(77, 227, 255, .06) !important; color: #cfefff !important; border-radius: 10px !important; }
.drawer-close:hover { background: rgba(77, 227, 255, .16) !important; box-shadow: 0 0 14px rgba(77, 227, 255, .4); }
.new-chat-btn {
  background: linear-gradient(135deg, #4de3ff, #7c4dff 55%, #c04bff) !important; border-radius: 12px !important;
  font-family: var(--f-titulo); font-size: .72rem !important; letter-spacing: .12em; text-transform: uppercase;
  box-shadow: 0 0 18px rgba(77, 227, 255, .4), inset 0 1px 0 rgba(255, 255, 255, .35) !important; text-shadow: 0 0 6px rgba(255, 255, 255, .6);
}
.new-chat-btn:hover { filter: brightness(1.1); }
.chat-item { border: 1px solid rgba(77, 227, 255, .1); border-radius: 12px !important; background: rgba(255, 255, 255, .025); transition: background .18s, border-color .18s, box-shadow .18s; }
.chat-item:hover, .chat-item.active {
  background: linear-gradient(100deg, rgba(77, 227, 255, .12), rgba(124, 77, 255, .14)) !important;
  border-color: rgba(77, 227, 255, .45); box-shadow: 0 0 14px rgba(77, 227, 255, .18);
}
.chat-item-title { color: #f2f6ff !important; }
.chat-item-date { color: rgba(77, 227, 255, .7) !important; font-family: var(--f-titulo); font-size: .58rem !important; letter-spacing: .08em; text-transform: uppercase; }
.chat-item-delete { border-radius: 9px !important; }
.chat-item-delete:hover { background: rgba(255, 79, 216, .14) !important; }

/* ---------- Hojas y ventanas que suben (mensaje, ciclo, ficha de la biblioteca, guía) ---------- */
.msg-hoja-fondo, .ciclo-hoja-fondo, .bib-ficha-fondo { background: rgba(2, 1, 10, .62) !important; backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
.msg-hoja, .ciclo-hoja, .bib-ficha, .tour-tarjeta, .chat-input-bar .foto-menu {
  border: 1px solid transparent !important;
  background: var(--f-esquinas), var(--f-panel) padding-box, var(--f-filo) border-box !important;
  box-shadow: 0 0 26px rgba(124, 77, 255, .3), 0 20px 50px rgba(0, 0, 0, .6) !important;
  border-radius: 16px !important;
}
.msg-hoja-btn, .ciclo-btn, .bib-boton.suave, .bib-enlaces a, .bib-ficha .enlaces a, .visor-botones button, .retry-btn {
  border: 1px solid rgba(77, 227, 255, .2) !important; background: rgba(77, 227, 255, .05) !important; border-radius: 10px !important;
  transition: background .15s, border-color .15s, box-shadow .15s;
}
.msg-hoja-btn:hover, .ciclo-btn:hover, .bib-boton.suave:hover, .bib-enlaces a:hover, .bib-ficha .enlaces a:hover, .visor-botones button:hover, .retry-btn:hover {
  background: rgba(77, 227, 255, .14) !important; border-color: rgba(77, 227, 255, .6) !important; box-shadow: 0 0 14px rgba(77, 227, 255, .3);
}
.msg-hoja-btn.peligro, .ciclo-btn.peligro { border-color: rgba(255, 79, 216, .35) !important; background: rgba(255, 79, 216, .08) !important; }
.msg-hoja-btn.peligro:hover, .ciclo-btn.peligro:hover { background: rgba(255, 79, 216, .18) !important; box-shadow: 0 0 14px rgba(255, 79, 216, .35); }
.ciclo-btn.principal, .bib-boton, .bib-buscar button, .tour-siguiente, .visor-botones a, .bib-fuente-nueva button.si, .chat-input-bar .voz-btn, .voz-grabando .voz-mandar {
  background: linear-gradient(135deg, #4de3ff, #7c4dff 55%, #c04bff) !important; border: none !important; border-radius: 10px !important; color: #fff !important;
  box-shadow: 0 0 16px rgba(77, 227, 255, .4), inset 0 1px 0 rgba(255, 255, 255, .3) !important;
}
.tour-saltar { color: rgba(77, 227, 255, .8) !important; }
.tour-contador { font-family: var(--f-titulo); font-size: .6rem !important; letter-spacing: .1em; color: rgba(77, 227, 255, .75) !important; }

/* Botones de fotos 📷 del chat */
.chat-input-bar .chat-foto-btn { background: rgba(77, 227, 255, .06) !important; border: 1px solid rgba(77, 227, 255, .3) !important; border-radius: 10px !important; box-shadow: none !important; }
.chat-input-bar .chat-foto-btn:hover { background: rgba(77, 227, 255, .16) !important; box-shadow: 0 0 14px rgba(77, 227, 255, .35) !important; }
.chat-input-bar .foto-menu button:hover { background: rgba(77, 227, 255, .14) !important; }

/* ---------- Biblioteca ---------- */
.bib-tabs, .bib-chips { gap: 4px; }
.bib-tabs button, .bib-chips button { border-radius: 10px !important; border: 1px solid rgba(77, 227, 255, .14) !important; }
.bib-tabs button.activo, .bib-chips button.activo {
  background: linear-gradient(135deg, rgba(77, 227, 255, .3), rgba(124, 77, 255, .55)) !important; color: #fff !important;
  border-color: rgba(77, 227, 255, .6) !important; box-shadow: 0 0 14px rgba(77, 227, 255, .35) !important;
}
.bib-buscar input, .bib-buscar select, .bib-avance-caja input, .bib-avance-caja select, .bib-nota-nueva textarea, .bib-feed input,
.bib-fuente input, .bib-fuente select, .bib-fuente-nueva input {
  background: rgba(4, 2, 16, .55) !important; border: 1px solid rgba(77, 227, 255, .22) !important; border-radius: 10px !important;
}
.bib-libro { border-radius: 12px; transition: transform .15s; }
.bib-libro:hover { transform: translateY(-2px); }
.bib-tapa { background: linear-gradient(150deg, #4de3ff, #7c4dff 50%, #ff4fd8) !important; border-radius: 10px !important; box-shadow: 0 0 0 1px rgba(77, 227, 255, .35), 0 8px 22px rgba(0, 0, 0, .5) !important; }
.bib-libro img { border-radius: 10px; box-shadow: 0 0 0 1px rgba(77, 227, 255, .3), 0 8px 22px rgba(0, 0, 0, .5); }
.bib-barra span { background: linear-gradient(90deg, var(--f-cian), #7ee2a8) !important; box-shadow: 0 0 8px var(--f-cian); }
.bib-nota, .bib-avance-caja, .bib-estado-plat, .bib-donde-item, .bib-fuente, .bib-fuente-nueva, .bib-caps .lista button, .bib-reco {
  border: 1px solid rgba(77, 227, 255, .14) !important; border-radius: 12px !important;
}
.bib-nota.mia { border-color: rgba(155, 107, 255, .4) !important; }
.bib-caps .lista button.actual { border-color: rgba(126, 226, 168, .55) !important; box-shadow: 0 0 12px rgba(126, 226, 168, .2); }
.lector-cinta { background: rgba(6, 4, 22, .92) !important; border-bottom: 1px solid rgba(77, 227, 255, .35); box-shadow: 0 0 18px rgba(77, 227, 255, .15); }

/* ---------- Llamadas y videollamadas ---------- */
.llamada-capa {
  background:
    linear-gradient(rgba(77, 227, 255, .07) 1px, transparent 1px) 0 0 / 100% 34px,
    linear-gradient(90deg, rgba(155, 107, 255, .07) 1px, transparent 1px) 0 0 / 34px 100%,
    radial-gradient(circle at 50% 30%, rgba(124, 77, 255, .55), rgba(77, 227, 255, .08) 45%, transparent 70%),
    linear-gradient(180deg, #0d0828, #04020f) !important;
}
.llamada-capa.con-video { background: #000 !important; }
.llamada-foto { background: linear-gradient(140deg, #4de3ff, #7c4dff 55%, #ff4fd8) !important; box-shadow: 0 0 0 3px #070418, 0 0 0 5px rgba(77, 227, 255, .75), 0 0 40px rgba(77, 227, 255, .45) !important; }
.llamada-boton button { border: 1px solid rgba(77, 227, 255, .3) !important; box-shadow: 0 0 14px rgba(77, 227, 255, .15); }
.llamada-boton button.verde { box-shadow: 0 0 22px rgba(47, 191, 113, .6) !important; border-color: transparent !important; }
.llamada-boton button.rojo { box-shadow: 0 0 22px rgba(229, 72, 77, .6) !important; border-color: transparent !important; }

/* ---------- Ciclo (calendario) ---------- */
.ciclo-tarjeta, .ciclo-mes, .ciclo-compartir, .ciclo-form {
  border: 1px solid rgba(77, 227, 255, .16) !important; border-radius: 14px !important;
  background: linear-gradient(160deg, rgba(77, 227, 255, .05), rgba(124, 77, 255, .06)) !important;
}
.ciclo-selector button { border-radius: 10px !important; }
.ciclo-selector button.activo { background: linear-gradient(135deg, rgba(77, 227, 255, .3), rgba(124, 77, 255, .55)) !important; box-shadow: 0 0 14px rgba(77, 227, 255, .35) !important; color: #fff !important; }
.ciclo-dia.hoy { box-shadow: 0 0 0 2px var(--f-cian), 0 0 14px rgba(77, 227, 255, .6) !important; }
.ciclo-mes-cabecera button { border: 1px solid rgba(77, 227, 255, .25) !important; border-radius: 10px !important; background: rgba(77, 227, 255, .06) !important; }

/* ---------- Fotos, recuerdos, libros, tickets de soporte ---------- */
.photo-card, .milestone-item, .book-item, .ticket-creador {
  border: 1px solid rgba(77, 227, 255, .16) !important; border-radius: 12px !important; overflow: hidden;
  background: linear-gradient(100deg, rgba(77, 227, 255, .06), rgba(155, 107, 255, .04) 40%, rgba(255, 255, 255, .02)) !important;
  transition: border-color .18s, box-shadow .18s;
}
.photo-card:hover, .milestone-item:hover, .book-item:hover { border-color: rgba(77, 227, 255, .5) !important; box-shadow: 0 0 16px rgba(77, 227, 255, .2); }
.visor-foto { background: rgba(2, 1, 10, .95) !important; }
.burbuja-foto { border: 1px solid rgba(77, 227, 255, .25); }

/* ---------- Pantalla de entrar (inicio de sesión) ---------- */
body:has(.auth-container) {
  background:
    radial-gradient(ellipse 70% 38% at 50% -6%, rgba(155, 107, 255, .42), transparent 70%),
    radial-gradient(ellipse 50% 30% at 100% 70%, rgba(77, 227, 255, .12), transparent 70%),
    linear-gradient(180deg, #0d0828 0%, #070418 60%, #04020f 100%) !important;
}
.auth-container {
  border: 1px solid transparent !important;
  background: var(--f-esquinas), var(--f-panel) padding-box, var(--f-filo) border-box !important;
  box-shadow: var(--f-neon) !important; border-radius: 18px !important;
}
.auth-container h1 { font-family: var(--f-titulo); letter-spacing: .14em; text-transform: uppercase; text-shadow: 0 0 18px rgba(77, 227, 255, .6); }
.auth-container .subtitle { color: rgba(77, 227, 255, .8) !important; letter-spacing: .06em; }
.auth-container .tabs { background: rgba(4, 2, 16, .55) !important; border: 1px solid rgba(77, 227, 255, .2); border-radius: 12px !important; padding: 4px; gap: 4px; }
.auth-container .tab-btn { border-radius: 9px !important; font-family: var(--f-titulo); font-size: .66rem !important; letter-spacing: .1em; text-transform: uppercase; }
.auth-container .tab-btn.active { background: linear-gradient(135deg, rgba(77, 227, 255, .3), rgba(124, 77, 255, .6)) !important; box-shadow: 0 0 14px rgba(77, 227, 255, .35); }
.auth-form input { background: rgba(4, 2, 16, .55) !important; border: 1px solid rgba(77, 227, 255, .22) !important; }
.auth-form input:focus { outline: none; border-color: rgba(77, 227, 255, .8) !important; box-shadow: 0 0 16px rgba(77, 227, 255, .3); }
.auth-form button[type="submit"] {
  background: linear-gradient(135deg, #4de3ff, #7c4dff 55%, #c04bff) !important; font-family: var(--f-titulo); letter-spacing: .12em; text-transform: uppercase; font-size: .8rem !important;
  box-shadow: 0 0 18px rgba(77, 227, 255, .45), inset 0 1px 0 rgba(255, 255, 255, .35) !important; text-shadow: 0 0 6px rgba(255, 255, 255, .6);
}

/* =================================================================
   PARTE 3 — La caja de escribir crece en vez de esconder la letra
   (el <textarea> lo maneja js/elita-escribir.js)
   ================================================================= */
.chat-input-bar { align-items: flex-end !important; }
.chat-input-bar textarea {
  flex: 1; min-width: 0; display: block; resize: none; overflow-y: hidden;
  padding: 12px 14px !important; margin: 0; min-height: 44px; max-height: 140px;
  font: inherit; font-size: 1em; line-height: 1.35; color: #fff;
  white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word;
  background: transparent !important; border: none !important; box-shadow: none !important; outline: none !important;
  scrollbar-width: thin; scrollbar-color: rgba(77, 227, 255, .4) transparent;
}
.chat-input-bar textarea::placeholder { color: var(--v-texto-3, #8e81b2); }
.home-body .chat-input-bar textarea:focus { border-color: transparent !important; box-shadow: none !important; background: transparent !important; }
.home-body .chat-input-bar textarea:disabled { opacity: .6; }
/* Los botones se quedan abajo, al lado de la última línea */
.chat-input-bar > button, .chat-input-bar > .chat-foto-btn, .chat-input-bar > .voz-btn { flex: none; align-self: flex-end; }
