/* ============================================================================
   ESTILOS EMPRESARIALES: MÓDULO DE AUTENTICACIÓN + SIMULADOR RAVEL RE-2558
   Diseño de Login fiel a la imagen adjunta + Interfaz Industrial Responsive
   ============================================================================ */

:root {
  /* Paleta exacta de la imagen de Login adjunta */
  --auth-grad-top: #7b7be6;
  --auth-grad-mid1: #64bde9;
  --auth-grad-mid2: #8cd4f5;
  --auth-grad-bot: #f3d5e6;
  --auth-charcoal: #3e4347;
  --auth-charcoal-hover: #2c3034;
  --auth-avatar-left: #63bce5;
  --auth-avatar-right: #439cc8;
  --auth-link-blue: #1482d6;
  --auth-text-dark: #2c353d;
  --auth-placeholder: #b6bfc8;

  /* Paleta de la Suite Empresarial y Panel Ravel RE-2558 */
  --bg-app: #f1f5f9;
  --surface: #ffffff;
  --surface-alt: #f8fafc;
  --border-color: #cbd5e1;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --danger: #dc2626;
  --warning: #d97706;
  --success: #16a34a;

  /* Colores físicos del Panel Ravel RE-2558 */
  --panel-case: #d4d8dd;
  --panel-fascia: #bfc5cc;
  --panel-dark-bay: #7d848d;
  --panel-key-bg: #eef1f4;
  --panel-key-border: #2b3036;
  --lcd-bg: #9bbc0f;
  --lcd-bg-glow: #b8dc1c;
  --lcd-text: #0f2905;
  --led-off: #9aa1a9;
  --led-red: #ff1e1e;
  --led-yellow: #ffb700;
  --led-green: #00e640;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  min-height: 100%;
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-app);
  -webkit-font-smoothing: antialiased;
}

.hidden {
  display: none !important;
}

/* ============================================================================
   1. PANTALLA DE AUTENTICACIÓN (DISEÑO FIEL A LA IMAGEN ADJUNTA)
   ============================================================================ */
.auth-viewport {
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 16px;
  background: linear-gradient(
    180deg,
    var(--auth-grad-top) 0%,
    var(--auth-grad-mid1) 42%,
    var(--auth-grad-mid2) 64%,
    var(--auth-grad-bot) 100%
  );
  position: relative;
}

.auth-box {
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Círculo blanco superior con avatar azul bitono */
.auth-avatar-circle {
  width: 142px;
  height: 142px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 36px;
  user-select: none;
}

.auth-avatar-circle svg {
  width: 96px;
  height: 96px;
  display: block;
}

.auth-form-title {
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.4px;
  margin-top: -18px;
  margin-bottom: 18px;
  text-align: center;
}

.auth-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Filas de entrada planas con bloque gris oscuro a la izquierda */
.auth-input-group {
  display: flex;
  width: 100%;
  height: 52px;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.auth-input-icon {
  width: 54px;
  height: 52px;
  background-color: var(--auth-charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.auth-input-icon svg {
  width: 26px;
  height: 26px;
  stroke: #ffffff;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.auth-input-field {
  flex: 1;
  height: 52px;
  border: none;
  outline: none;
  padding: 0 16px;
  font-size: 16px;
  color: var(--auth-text-dark);
  background: #ffffff;
}

.auth-input-field::placeholder {
  color: var(--auth-placeholder);
  font-weight: 400;
}

.auth-input-field:focus {
  box-shadow: inset 0 -2px 0 var(--auth-link-blue);
}

/* Fila Remember me + Forgot Password? */
.auth-options-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 2px;
  margin-bottom: 10px;
  font-size: 13.5px;
}

.auth-remember-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--auth-text-dark);
  cursor: pointer;
  user-select: none;
  font-weight: 500;
}

.auth-remember-label input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  background-color: var(--auth-charcoal);
  border: none;
  display: inline-grid;
  place-content: center;
  cursor: pointer;
}

.auth-remember-label input[type="checkbox"]::before {
  content: "";
  width: 10px;
  height: 6px;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(-45deg) translate(1px, -1px) scale(0);
  transition: transform 0.12s ease-in-out;
}

.auth-remember-label input[type="checkbox"]:checked::before {
  transform: rotate(-45deg) translate(1px, -1px) scale(1);
}

.auth-forgot-link {
  color: var(--auth-link-blue);
  text-decoration: none;
  font-weight: 500;
  cursor: pointer;
  background: none;
  border: none;
  font-size: 13.5px;
}

.auth-forgot-link:hover {
  text-decoration: underline;
}

/* Botón central oscuro SIGN IN */
.auth-submit-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 4px;
}

.auth-submit-btn {
  min-width: 175px;
  height: 48px;
  padding: 0 28px;
  background-color: var(--auth-charcoal);
  color: #ffffff;
  border: none;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.1s ease;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
}

.auth-submit-btn:hover:not(:disabled) {
  background-color: var(--auth-charcoal-hover);
}

.auth-submit-btn:active:not(:disabled) {
  transform: translateY(1px);
}

.auth-submit-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

.auth-switch-links {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--auth-text-dark);
}

.auth-switch-links button {
  background: none;
  border: none;
  color: var(--auth-link-blue);
  font-weight: 600;
  cursor: pointer;
  font-size: 13px;
}

.auth-switch-links button:hover {
  text-decoration: underline;
}

.auth-alert {
  width: 100%;
  padding: 10px 14px;
  font-size: 13px;
  border-left: 4px solid var(--auth-charcoal);
  background: rgba(255, 255, 255, 0.92);
  color: var(--auth-text-dark);
  margin-bottom: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.auth-alert.error {
  border-left-color: var(--danger);
  color: #991b1b;
}

.auth-alert.success {
  border-left-color: var(--success);
  color: #166534;
}

/* ============================================================================
   2. LAYOUT EMPRESARIAL (CABECERA, NAVEGACIÓN Y CONTENEDORES)
   ============================================================================ */
.app-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.topbar {
  background: linear-gradient(90deg, #2b3035 0%, #3e4347 100%);
  color: #ffffff;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.topbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-logo-badge {
  background: #dc2626;
  color: #ffffff;
  font-weight: 800;
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 4px;
  letter-spacing: 0.8px;
}

.topbar-title h1 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.topbar-title span {
  font-size: 11.5px;
  color: #cbd5e1;
  display: block;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.session-pill {
  background: rgba(255, 255, 255, 0.12);
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.role-badge {
  background: #38bdf8;
  color: #0f172a;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 3px;
  font-size: 11px;
}

.btn-topbar {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12.5px;
  cursor: pointer;
  transition: background 0.15s;
}

.btn-topbar:hover {
  background: rgba(255, 255, 255, 0.25);
}

.btn-topbar.danger {
  background: #b91c1c;
  border-color: #ef4444;
}

.nav-tabs {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 0 20px;
  display: flex;
  gap: 4px;
  overflow-x: auto;
}

.nav-tab {
  padding: 12px 18px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
}

.nav-tab:hover {
  color: var(--text-main);
}

.nav-tab.active {
  color: var(--auth-link-blue);
  border-bottom-color: var(--auth-link-blue);
}

.main-workspace {
  flex: 1;
  padding: 20px;
  max-width: 1480px;
  width: 100%;
  margin: 0 auto;
}

/* ============================================================================
   3. SIMULADOR FÍSICO DEL PANEL CONTRA INCENDIOS RAVEL RE-2558 (FIG. 2 Y 23)
   ============================================================================ */
.simulator-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 22px;
  align-items: start;
}

@media (max-width: 1180px) {
  .simulator-grid {
    grid-template-columns: 1fr;
  }
}

/* Gabinete metálico CRCA 18 gauge */
.ravel-cabinet {
  background: var(--panel-case);
  border: 4px solid #8c939e;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18), inset 0 1px 0 #ffffff;
}

.ravel-fascia {
  background: var(--panel-fascia);
  border: 2px solid #525860;
  padding: 14px;
}

/* Franja superior con logo Ravel, FIRE ALARM PANEL y modelo RE-2558 */
.ravel-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 2px solid #23272b;
  border-bottom: 2px solid #23272b;
  padding: 6px 10px;
  margin-bottom: 12px;
  background: #d8dde3;
}

.ravel-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 22px;
  color: #1e2985;
  letter-spacing: -0.5px;
}

.ravel-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #1e2985;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
}

.ravel-panel-title {
  color: #d91b1b;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.ravel-model-code {
  color: #1e2985;
  font-weight: 800;
  font-size: 15px;
}

/* Bahía superior gris oscura: LCD 16x2 a la izquierda + Teclado 3x3 a la derecha */
.ravel-upper-bay {
  background: var(--panel-dark-bay);
  border: 2px solid #494f56;
  padding: 16px;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 18px;
  align-items: center;
}

@media (max-width: 680px) {
  .ravel-upper-bay {
    grid-template-columns: 1fr;
  }
}

.ravel-lcd-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* Pantalla LCD Matriz de Puntos 16x2 */
.lcd-bezel {
  background: #1c2024;
  padding: 10px 14px;
  border-radius: 4px;
  border: 3px solid #373d44;
  width: 100%;
  max-width: 340px;
  box-shadow: inset 0 3px 8px rgba(0,0,0,0.65);
}

.lcd-screen {
  background: var(--lcd-bg);
  color: var(--lcd-text);
  font-family: 'Courier New', Consolas, monospace;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: 2px;
  padding: 10px 12px;
  border-radius: 2px;
  min-height: 66px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.25);
  transition: background-color 0.2s;
  white-space: pre;
  overflow: hidden;
}

.lcd-screen.active-glow {
  background: var(--lcd-bg-glow);
}

.lcd-line {
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Barra blanca bajo LCD: SUPERVISORY | FIRE (twin LEDs) | FAULT */
.ravel-primary-leds-bar {
  background: #eef1f4;
  border: 2px solid #23272b;
  border-radius: 5px;
  width: 100%;
  max-width: 340px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  overflow: hidden;
}

.primary-led-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 4px;
  font-size: 10.5px;
  font-weight: 800;
  color: #1e293b;
  border-right: 2px solid #23272b;
}

.primary-led-cell:last-child {
  border-right: none;
}

/* Teclado de 9 teclas de control (3x3) */
.ravel-keypad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  max-width: 260px;
  margin: 0 auto;
  width: 100%;
}

.panel-key {
  background: var(--panel-key-bg);
  border: 2px solid var(--panel-key-border);
  border-radius: 6px;
  height: 46px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  font-weight: 800;
  font-size: 10.5px;
  color: #111827;
  box-shadow: 0 3px 0 #2b3036;
  transition: transform 0.08s, background-color 0.12s;
}

.panel-key:hover {
  background: #ffffff;
}

.panel-key:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #2b3036;
}

.panel-key .key-sub {
  font-size: 9.5px;
  font-weight: 700;
  color: #475569;
  margin-top: 1px;
}

.panel-key.key-evacuate {
  border-color: #991b1b;
  color: #991b1b;
}

/* Bahía inferior: Matriz de 8 Zonas (Izquierda) + Fallas Comunes (Derecha) */
.ravel-lower-bay {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 14px;
}

@media (max-width: 680px) {
  .ravel-lower-bay {
    grid-template-columns: 1fr;
  }
}

.zone-indication-box {
  background: #9ea6b0;
  border: 2px dashed #333940;
  padding: 12px;
  border-radius: 4px;
}

.zone-matrix-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
  font-weight: 800;
  color: #111827;
}

.zone-matrix-table th,
.zone-matrix-table td {
  padding: 6px 3px;
  text-align: center;
}

.zone-matrix-table th:first-child,
.zone-matrix-table td:first-child {
  text-align: left;
  padding-right: 8px;
  white-space: nowrap;
}

.common-fault-box {
  background: #c7cdd4;
  border: 2px dashed #333940;
  padding: 10px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.system-on-pill {
  background: #eef1f4;
  border: 2px solid #23272b;
  border-radius: 4px;
  padding: 5px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 800;
}

.common-fault-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.fault-ind-item {
  background: #eef1f4;
  border: 1.5px solid #23272b;
  border-radius: 4px;
  padding: 5px 7px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9.8px;
  font-weight: 800;
  color: #111827;
}

/* Indicadores LED circulares */
.led {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--led-off);
  border: 1px solid rgba(0, 0, 0, 0.35);
  display: inline-block;
  flex-shrink: 0;
  transition: background-color 0.15s, box-shadow 0.15s;
}

.led.red-on {
  background: var(--led-red);
  box-shadow: 0 0 9px var(--led-red), inset 0 0 3px #ffffff;
}

.led.yellow-on {
  background: var(--led-yellow);
  box-shadow: 0 0 9px var(--led-yellow), inset 0 0 3px #ffffff;
}

.led.green-on {
  background: var(--led-green);
  box-shadow: 0 0 9px var(--led-green), inset 0 0 3px #ffffff;
}

@keyframes ledBlinkFast {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0.18; box-shadow: none; }
}

.led.blink {
  animation: ledBlinkFast 0.55s infinite;
}

/* Barra de estado de Relés Form-C, Salidas NAC1/NAC2, 24V y Buzzer */
.hardware-outputs-strip {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(125px, 1fr));
  gap: 8px;
}

.hw-chip {
  background: #1e293b;
  color: #f8fafc;
  padding: 8px 10px;
  border-radius: 5px;
  font-size: 11px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  border-left: 4px solid #64748b;
}

.hw-chip.active-fire {
  border-left-color: #ef4444;
  background: #450a0a;
}

.hw-chip.active-warn {
  border-left-color: #f59e0b;
  background: #451a03;
}

.hw-chip.active-ok {
  border-left-color: #22c55e;
}

.hw-chip-label {
  color: #94a3b8;
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 700;
}

.hw-chip-val {
  font-weight: 700;
  font-size: 12px;
}

/* ============================================================================
   4. BANCO DE PRUEBAS DE CAMPO (INYECTORES DE ZONA Y FALLAS DE SISTEMA)
   ============================================================================ */
.card {
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  margin-bottom: 18px;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e2e8f0;
  flex-wrap: wrap;
  gap: 8px;
}

.card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
}

.zone-sim-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.zone-sim-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  background: var(--surface-alt);
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  flex-wrap: wrap;
  gap: 8px;
}

.zone-sim-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
}

.zone-mode-tag {
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 3px;
  background: #e2e8f0;
  color: #1e293b;
}

.zone-sim-actions {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.btn-sim {
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.12s;
}

.btn-sim:hover:not(:disabled) {
  background: #f1f5f9;
}

.btn-sim.active-fire {
  background: #dc2626;
  color: #ffffff;
  border-color: #b91c1c;
}

.btn-sim.active-sup {
  background: #d97706;
  color: #ffffff;
  border-color: #b45309;
}

.btn-sim.active-fault {
  background: #eab308;
  color: #1e293b;
  border-color: #ca8a04;
}

.sys-fault-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 8px;
}

/* ============================================================================
   5. TABLAS, FORMULARIOS ADMINISTRATIVOS Y CALCULADORA NFPA 72
   ============================================================================ */
.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 20px;
}

@media (max-width: 960px) {
  .admin-grid {
    grid-template-columns: 1fr;
  }
}

.form-group {
  margin-bottom: 12px;
}

.form-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 4px;
}

.form-control {
  width: 100%;
  padding: 8px 11px;
  font-size: 13.5px;
  border: 1px solid #cbd5e1;
  border-radius: 5px;
  background: #ffffff;
  color: var(--text-main);
}

.form-control:focus {
  outline: none;
  border-color: var(--auth-link-blue);
  box-shadow: 0 0 0 2px rgba(20, 130, 214, 0.15);
}

.btn {
  padding: 8px 16px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}

.btn-primary {
  background: var(--auth-charcoal);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--auth-charcoal-hover);
}

.btn-secondary {
  background: #e2e8f0;
  color: #1e293b;
}

.btn-danger {
  background: #fee2e2;
  color: #991b1b;
}

.data-table-wrap {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.data-table th,
.data-table td {
  padding: 9px 10px;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
}

.data-table th {
  background: #f8fafc;
  font-weight: 700;
  color: #475569;
  font-size: 12px;
  text-transform: uppercase;
}

.perm-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 8px;
  padding: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
}

.toast-container {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  background: #1e293b;
  color: #ffffff;
  padding: 11px 16px;
  border-radius: 6px;
  font-size: 13px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
  border-left: 4px solid #38bdf8;
  max-width: 360px;
}

.toast.error {
  border-left-color: #ef4444;
}

.toast.success {
  border-left-color: #22c55e;
}
