/* =========================================================
   PREMIUM DARK GLASS & CYBER-TEAL THEME
   Profundidad, Capas 3D, Iluminación Especular y Glassmorphism
   Inspirado en Dashboards UI de Alta Gama (Haulix, Path Wounded, Operations)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* --- Tipografía --- */
  --bs-body-font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  --bs-font-sans-serif: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  --bs-body-font-size: 0.8125rem !important;

  /* --- Colores Primarios Cyan / Teal --- */
  --bs-primary: #00a8a8;
  --bs-primary-rgb: 0, 168, 168;
  --bs-theme: #00b8b8;
  --bs-theme-rgb: 0, 184, 184;
  --bs-theme-color: #ffffff;
  --bs-link-color: #00d6d6;
  --bs-link-hover-color: #4ef0f0;

  /* --- Fondos y Capas con Profundidad --- */
  --bs-body-bg: #0b0d12;
  --bs-body-color: #cad1de;
  --bs-heading-color: #ffffff;
  
  /* Gradientes de Superficies / Cards */
  --app-card-bg-gradient: linear-gradient(180deg, rgba(24, 29, 39, 0.85) 0%, rgba(14, 18, 25, 0.95) 100%);
  --app-surface-elevated: linear-gradient(180deg, rgba(30, 36, 49, 0.8) 0%, rgba(18, 22, 30, 0.9) 100%);
  --app-card-border: rgba(255, 255, 255, 0.08);
  --app-specular-light: inset 0 1px 0 0 rgba(255, 255, 255, 0.12);

  /* Sidebar & Header */
  --app-sidebar-bg: linear-gradient(180deg, #0e1117 0%, #080a0e 100%);
  --app-sidebar-width: 15.5rem;
  --app-header-bg: rgba(14, 17, 23, 0.88);
  
  /* Inputs */
  --app-input-bg: rgba(11, 14, 20, 0.8);
  --app-input-border: rgba(255, 255, 255, 0.09);
  --app-input-focus-border: #00b8b8;
  --app-input-color: #f1f4f9;

  /* Scroll Backdrop */
  --bs-has-scroll-backdrop-bg: linear-gradient(180deg, #0b0d12 0%, rgba(11, 13, 18, 0.85) 60%, transparent 100%);
}

/* =========================================================
   1. AMBIENTE GLOBAL & ILUMINACIÓN DE FONDO
   ========================================================= */
* {
  font-family: var(--bs-body-font-family);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body, html {
  background-color: #0b0d12 !important;
  color: var(--bs-body-color);
  font-size: 13px !important;
  line-height: 1.45;
  min-height: 100vh;
}

body {
  background-image: 
    radial-gradient(circle at 10% 8%, rgba(0, 168, 168, 0.07) 0%, transparent 35%),
    radial-gradient(circle at 90% 12%, rgba(68, 90, 140, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 50% 90%, rgba(0, 168, 168, 0.04) 0%, transparent 50%),
    linear-gradient(180deg, #0b0d12 0%, #0d1016 100%) !important;
  background-attachment: fixed;
}

.app, #app {
  min-height: 100vh;
}

/* Scrollbars Premium con Brillo */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}
::-webkit-scrollbar-thumb {
  background: #232a38;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}
::-webkit-scrollbar-thumb:hover {
  background: #00a8a8;
  box-shadow: 0 0 8px rgba(0, 168, 168, 0.6);
}

/* =========================================================
   2. HEADER CON CRISTAL BLUR & RELIEVE
   ========================================================= */
/* =========================================================
   2. HEADER CON CRISTAL BLUR & RELIEVE COMPACTO
   ========================================================= */
.app {
  padding-top: 44px !important;
}

.header, #header, .app-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  height: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: var(--app-header-bg) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.45), inset 0 -1px 0 rgba(255, 255, 255, 0.04) !important;
  padding: 0 14px !important;
  z-index: 1020 !important;
  margin: 0 !important;
}

.header .desktop-toggler {
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
}

.header .mobile-toggler {
  height: 100% !important;
  display: none !important;
  align-items: center !important;
}

@media (max-width: 767.98px) {
  .header .desktop-toggler {
    display: none !important;
  }
  .header .mobile-toggler {
    display: flex !important;
  }
}

.header .menu-toggler {
  border: none !important;
  background: transparent !important;
  height: 100% !important;
  padding: 0 8px 0 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.header .menu-toggler .bar {
  background: rgba(255, 255, 255, 0.6) !important;
}

.header .header-left {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex: 0 0 auto !important;
  height: 100% !important;
}

.header .brand {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  height: 100% !important;
  padding: 0 !important;
  width: auto !important;
}

.header .brand img {
  max-height: 22px !important;
  width: auto !important;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

/* Divisas Centradas en la Barra Superior (Compacto) */
.header .header-center,
.header .divisas-center {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  pointer-events: auto !important;
  z-index: 10 !important;
  height: auto !important;
  margin: 0 !important;
}

.header .divisas-center .menu-item {
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  height: auto !important;
}

.header .divisas-center a.menu-link {
  text-decoration: none !important;
  display: flex !important;
  align-items: center !important;
  background: var(--app-surface-elevated) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: var(--app-specular-light), 0 2px 6px rgba(0, 0, 0, 0.3) !important;
  border-radius: 7px !important;
  padding: 2px 8px !important;
  height: 29px !important;
  color: #d1d8e6 !important;
  line-height: 1 !important;
}

.header .divisas-center a.menu-link > span > span {
  padding: 0 0.45rem !important;
  gap: 0.05rem !important;
}

.header .divisas-center a.menu-link span[style*="font-size:.65rem"] {
  font-size: 0.6rem !important;
}

.header .divisas-center a.menu-link span[style*="font-size:.82rem"] {
  font-size: 0.75rem !important;
}

.header .menu,
.header .header-right {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  margin-left: auto !important;
  flex: 0 0 auto !important;
  height: 100% !important;
}

/* Buscador de Pantallas Compacto */
.header .menu-search-inline,
.menu-search-inline {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  width: 190px !important;
  min-width: 160px !important;
}

.header .menu-search-inline .menu-icon,
.menu-search-inline .menu-icon {
  position: absolute !important;
  left: 8px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: auto !important;
  height: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #7b8496 !important;
  font-size: 13px !important;
  z-index: 2 !important;
  pointer-events: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.header .menu-search-inline input.form-control,
.menu-search-inline input {
  width: 100% !important;
  background: rgba(9, 11, 16, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(255, 255, 255, 0.05) !important;
  border-radius: 7px !important;
  color: #ffffff !important;
  padding: 3px 8px 3px 26px !important;
  font-size: 11.5px !important;
  height: 29px !important;
  transition: all 0.2s ease !important;
}

.header .menu-search-inline input:focus,
.menu-search-inline input:focus {
  border-color: #00b8b8 !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3), 0 0 0 2px rgba(0, 168, 168, 0.25) !important;
  background: rgba(13, 16, 23, 0.95) !important;
}

/* Perfil de Usuario Compacto */
.header .menu-item.dropdown .menu-link {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: var(--app-surface-elevated) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: var(--app-specular-light), 0 2px 6px rgba(0, 0, 0, 0.3) !important;
  border-radius: 7px !important;
  padding: 2px 8px !important;
  height: 29px !important;
  text-decoration: none !important;
}

.header .menu-item.dropdown .menu-link:hover {
  background: linear-gradient(180deg, rgba(38, 46, 62, 0.9) 0%, rgba(26, 31, 43, 0.95) 100%) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
}

.header .menu-img img {
  width: 20px !important;
  height: 20px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 1px solid rgba(0, 168, 168, 0.5) !important;
}

.header .menu-text {
  color: #d1d8e6 !important;
  font-size: 10.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.2px !important;
}

/* =========================================================
   3. SIDEBAR CON PROFUNDIDAD Y BRILLOS TÁCTILES
   ========================================================= */
.sidebar, #sidebar, .app-sidebar {
  position: fixed !important;
  top: 44px !important;
  bottom: 0 !important;
  height: calc(100vh - 44px) !important;
  width: var(--app-sidebar-width) !important;
  background: var(--app-sidebar-bg) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.06) !important;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.55), inset -1px 0 0 rgba(255, 255, 255, 0.02) !important;
  padding: 10px 8px !important;
  font-size: 12.5px !important;
  z-index: 1010 !important;
  overflow-y: auto !important;
}

.content {
  margin-top: 0 !important;
  margin-inline-start: var(--app-sidebar-width) !important;
  padding: 16px 22px !important;
}

@media (max-width: 767.98px) {
  .sidebar, #sidebar, .app-sidebar {
    inset-inline-start: calc(-1 * var(--app-sidebar-width)) !important;
  }
  .content {
    margin-inline-start: 0 !important;
    padding: 12px !important;
  }
}

/* Encabezados de categorías */
.app-sidebar .menu-header,
.sidebar .menu-header,
.sidebar .sidebar-content .menu .menu-header {
  color: #555e71 !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.8px !important;
  padding: 14px 10px 4px 10px !important;
}

/* Ítems del Menú */
.app-sidebar .menu-item,
.sidebar .menu-item,
.sidebar .sidebar-content .menu .menu-item {
  margin-bottom: 2px !important;
}

.app-sidebar .menu-link,
.sidebar .menu-link,
.sidebar .sidebar-content .menu .menu-item .menu-link {
  border-radius: 8px !important;
  padding: 6px 10px !important;
  color: #8c95a8 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  display: flex !important;
  align-items: center !important;
  line-height: 1.3 !important;
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1) !important;
  border-left: none !important;
  text-transform: none !important;
  background: transparent !important;
  position: relative;
}

/* Hover de Menú con Tinte Gradual y Brillo */
.app-sidebar .menu-link:hover,
.sidebar .menu-link:hover,
.sidebar .sidebar-content .menu .menu-item .menu-link:hover {
  background: rgba(0, 168, 168, 0.1) !important;
  color: #00e0e0 !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2) !important;
  transform: translateX(2px);
}

.app-sidebar .menu-link:hover .menu-icon,
.sidebar .menu-link:hover .menu-icon,
.sidebar .sidebar-content .menu .menu-item .menu-link:hover .menu-icon,
.menu-submenu .menu-link:hover .sub-icon {
  color: #00e0e0 !important;
}

/* Iconos de primer nivel */
.sidebar .sidebar-content .menu .menu-item .menu-link .menu-icon,
.app-sidebar .menu-icon,
.sidebar .menu-icon {
  width: auto !important;
  height: auto !important;
  background: transparent !important;
  color: #6a7386 !important;
  font-size: 15px !important;
  margin: 0 8px 0 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  transition: all 0.18s ease !important;
}

.sub-icon {
  font-size: 13.5px !important;
  color: #6a7386 !important;
  margin-right: 7px !important;
  opacity: 0.9 !important;
  display: flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
  transition: all 0.18s ease !important;
}

/* Grupos Padres Desplegados (Sin borde de neón) */
.menu-item.has-sub > .menu-link {
  background: transparent !important;
  font-weight: 500 !important;
}

.menu-item.has-sub.open > .menu-link,
.menu-item.has-sub.active > .menu-link {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.035) !important;
  box-shadow: none !important;
  border: none !important;
}

.menu-item.has-sub.open > .menu-link .menu-icon,
.menu-item.has-sub.active > .menu-link .menu-icon,
.menu-item.has-sub.open > .menu-link .menu-caret,
.menu-item.has-sub.active > .menu-link .menu-caret,
.menu-item.has-sub.open > .menu-link .caret,
.menu-item.has-sub.active > .menu-link .caret {
  color: #00c5c5 !important;
}

/* Submenús con Línea Guía Sutil */
.menu-submenu,
.sidebar .sidebar-content .menu .menu-item .menu-submenu {
  padding: 3px 0 5px 6px !important;
  margin-top: 1px !important;
  margin-bottom: 4px !important;
  border-left: 1.5px solid rgba(255, 255, 255, 0.07) !important;
  margin-left: 14px !important;
}

.sidebar .sidebar-content .menu .menu-item .menu-submenu .menu-item {
  padding-inline-start: 0 !important;
  margin-bottom: 1.5px !important;
}

.menu-submenu .menu-link {
  padding: 4.5px 8px !important;
  font-size: 11.5px !important;
  color: #818a9e !important;
  border-radius: 6px !important;
  white-space: normal !important;
  line-height: 1.25 !important;
}

.menu-submenu .menu-link:hover {
  color: #00e0e0 !important;
  background: rgba(0, 168, 168, 0.1) !important;
  transform: translateX(2px);
}

/* Ítem Activo Real: Matte Frosted Teal (Sin resplandor de neón) */
.menu-submenu .menu-item.active > .menu-link,
.menu-item:not(.has-sub).active > .menu-link,
.sidebar .sidebar-content .menu .menu-item:not(.has-sub).active > .menu-link,
.sidebar .sidebar-content .menu .menu-item.active:not(.has-sub) > .menu-link {
  background: #009494 !important;
  background-image: linear-gradient(180deg, #009e9e 0%, #008888 100%) !important;
  border: 1px solid rgba(0, 210, 210, 0.25) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35) !important;
  backdrop-filter: blur(8px);
}

.menu-submenu .menu-item.active > .menu-link .sub-icon,
.menu-item:not(.has-sub).active > .menu-link .menu-icon,
.sidebar .sidebar-content .menu .menu-item.active > .menu-link .menu-icon {
  color: #ffffff !important;
  opacity: 1 !important;
}

/* =========================================================
   4. CARDS & CONTENEDORES CON EFECTO GLASS 3D
   ========================================================= */
.card, .panel, .widget-card {
  background: var(--app-card-bg-gradient) !important;
  border: 1px solid var(--app-card-border) !important;
  border-radius: 12px !important;
  box-shadow: 
    0 16px 36px -8px rgba(0, 0, 0, 0.6), 
    0 4px 12px rgba(0, 0, 0, 0.4),
    var(--app-specular-light) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  color: var(--bs-body-color);
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

/* Sutil resplandor en la esquina superior */
.card::before, .widget-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  pointer-events: none;
}

.card-body {
  padding: 16px 20px !important;
}

.card-header {
  background: rgba(255, 255, 255, 0.02) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  padding: 14px 20px !important;
}

.card-title, h1, h2, h3, h4, h5, h6 {
  color: #ffffff !important;
  font-weight: 700 !important;
  letter-spacing: -0.2px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

h4, .h4 {
  font-size: 1.2rem !important;
}

/* =========================================================
   5. TABLAS CON RELIEVE Y FILAS ELEGANTES
   ========================================================= */
.table-responsive {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(12, 15, 21, 0.75);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.4), var(--app-specular-light);
}

.table {
  color: #cbd3e2 !important;
  margin-bottom: 0 !important;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 12px !important;
  width: 100%;
}

.table thead th {
  background: linear-gradient(180deg, rgba(24, 29, 40, 0.95) 0%, rgba(16, 20, 28, 0.95) 100%) !important;
  color: #6e778b !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.6px !important;
  padding: 11px 14px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
  border-top: none !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.table tbody td {
  padding: 11px 14px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.035) !important;
  color: #d6dce8 !important;
  font-size: 12px !important;
  vertical-align: middle !important;
  background-color: transparent !important;
  transition: all 0.15s ease;
}

.table tbody tr:hover td {
  background: linear-gradient(90deg, rgba(0, 168, 168, 0.08) 0%, rgba(0, 168, 168, 0.02) 100%) !important;
  color: #ffffff !important;
}

/* Botones de acción de tabla (ej. ojo/consultar, editar) */
.table .btn-icon,
.table .btn-sm,
.table a[class*="btn"],
.table button {
  background: var(--app-surface-elevated) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3), var(--app-specular-light) !important;
  color: #00d6d6 !important;
  border-radius: 6px !important;
  transition: all 0.18s ease !important;
}

.table .btn-icon:hover,
.table button:hover {
  background: #009494 !important;
  color: #ffffff !important;
  border-color: rgba(0, 210, 210, 0.3) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35) !important;
  transform: translateY(-1px);
}

/* =========================================================
   6. INPUTS Y SELECTORES CON PROFUNDIDAD HUNDIDA (INSET)
   ========================================================= */
.form-control,
.form-select,
input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
input[type="search"],
input[type="date"],
select,
textarea {
  background: var(--app-input-bg) !important;
  border: 1px solid var(--app-input-border) !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.45), 0 1px 0 rgba(255, 255, 255, 0.04) !important;
  border-radius: 8px !important;
  color: var(--app-input-color) !important;
  -webkit-text-fill-color: var(--app-input-color) !important;
  padding: 6px 11px !important;
  font-size: 12px !important;
  height: 34px;
  transition: all 0.18s ease-in-out !important;
}

textarea.form-control {
  height: auto !important;
}

.form-control:focus,
.form-select:focus,
input:focus,
select:focus,
textarea:focus {
  background: rgba(14, 18, 25, 0.95) !important;
  border-color: var(--app-input-focus-border) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  box-shadow: 
    inset 0 1px 2px rgba(0, 0, 0, 0.3), 
    0 0 0 2.5px rgba(0, 168, 168, 0.25), 
    0 0 14px rgba(0, 168, 168, 0.25) !important;
  outline: none !important;
}

.form-control::placeholder,
input::placeholder,
textarea::placeholder {
  color: #596173 !important;
  -webkit-text-fill-color: #596173 !important;
}

.form-label {
  color: #9aa2b5 !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  margin-bottom: 4px !important;
}

/* =========================================================
   6.1 SWITCHES Y CHECKBOXES (Dark Glass Toggles)
   ========================================================= */
.form-check {
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-check-label {
  color: #c0c8d8 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  cursor: pointer;
}

/* Checkbox Regular */
.form-check-input[type="checkbox"]:not([role="switch"]) {
  width: 1.15rem !important;
  height: 1.15rem !important;
  background-color: #161b24 !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 5px !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.45) !important;
  cursor: pointer;
  transition: all 0.18s ease !important;
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.form-check-input[type="checkbox"]:not([role="switch"]):checked {
  background-color: #00a8a8 !important;
  border-color: #00c7c7 !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e") !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: 80% !important;
  box-shadow: 0 0 10px rgba(0, 168, 168, 0.5) !important;
}

/* Toggle Switch (.form-switch) */
.form-switch .form-check-input,
.form-check-input[role="switch"] {
  width: 2.35rem !important;
  height: 1.25rem !important;
  background-color: #181d27 !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 999px !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%239aa2b6'/%3e%3c/svg%3e") !important;
  background-position: left center !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5) !important;
  cursor: pointer !important;
  transition: background-position 0.2s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.form-switch .form-check-input:hover,
.form-check-input[role="switch"]:hover {
  border-color: rgba(255, 255, 255, 0.25) !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23c5ccd9'/%3e%3c/svg%3e") !important;
}

.form-switch .form-check-input:checked,
.form-check-input[role="switch"]:checked {
  background-color: #00a8a8 !important;
  border-color: #00d2d2 !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23ffffff'/%3e%3c/svg%3e") !important;
  background-position: right center !important;
  box-shadow: 
    0 0 12px rgba(0, 168, 168, 0.6), 
    inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

.form-switch .form-check-input:focus,
.form-check-input:focus {
  outline: none !important;
  box-shadow: 0 0 0 2.5px rgba(0, 168, 168, 0.25) !important;
}

/* Contenedores tipo cápsula para switches */
[class*="border-radius:20px"], [style*="border-radius:20px"], [style*="border-radius: 20px"] {
  backdrop-filter: blur(8px);
}

/* =========================================================
   7. BOTONES MATTE & FROSTED GLASS (Sin brillo excesivo)
   ========================================================= */
.btn {
  font-weight: 600 !important;
  border-radius: 8px !important;
  padding: 6px 14px !important;
  font-size: 12px !important;
  height: 34px;
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  position: relative;
  letter-spacing: 0.1px;
}

/* Botón Primario (Guardar / + Nuevo / Buscar) - Matte Teal con Blur */
.btn-primary,
button[type="submit"].btn-primary,
.btn-theme {
  background: #009999 !important;
  background-image: linear-gradient(180deg, #00a4a4 0%, #008c8c 100%) !important;
  border: 1px solid rgba(0, 210, 210, 0.25) !important;
  color: #ffffff !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3) !important;
  text-shadow: none !important;
  backdrop-filter: blur(8px);
}

.btn-primary:hover,
button[type="submit"].btn-primary:hover,
.btn-theme:hover {
  background: #008888 !important;
  background-image: linear-gradient(180deg, #00b0b0 0%, #009494 100%) !important;
  border-color: rgba(0, 230, 230, 0.4) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4) !important;
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3) !important;
}

/* Botón Secundario / Cancelar / Limpiar (Frosted Dark Glass) */
.btn-secondary,
.btn-dark,
.btn-outline-secondary {
  background: rgba(22, 27, 36, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25) !important;
  color: #9aa4b7 !important;
  text-shadow: none !important;
}

.btn-secondary:hover,
.btn-dark:hover,
.btn-outline-secondary:hover {
  background: rgba(32, 40, 54, 0.95) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35) !important;
  transform: translateY(-1px);
}

/* Botón Cerrar Sesión / Danger */
.btn-danger, [class*="logout"], .btn-danger-soft {
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.25) 0%, rgba(185, 28, 28, 0.3) 100%) !important;
  border: 1px solid rgba(239, 68, 68, 0.35) !important;
  color: #fca5a5 !important;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

.btn-danger:hover {
  background: linear-gradient(180deg, #ef4444 0%, #b91c1c 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.5) !important;
}

/* =========================================================
   8. BADGES, DROPDOWNS & MODALES GLASS
   ========================================================= */
.badge {
  font-weight: 700 !important;
  font-size: 10.5px !important;
  border-radius: 6px !important;
  padding: 3.5px 7px !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3) !important;
}

.badge.bg-primary, .badge-primary {
  background: linear-gradient(135deg, #00b8b8 0%, #008888 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
}

.badge.bg-label-primary {
  background: rgba(0, 168, 168, 0.15) !important;
  border: 1px solid rgba(0, 168, 168, 0.3) !important;
  color: #00f0f0 !important;
}

.dropdown-menu, .modal-content {
  background: rgba(16, 20, 28, 0.94) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  border-radius: 12px !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), var(--app-specular-light) !important;
}

.dropdown-item {
  color: #929bb0 !important;
  font-size: 12px !important;
  border-radius: 6px !important;
  padding: 6.5px 12px !important;
  transition: all 0.15s ease !important;
}

.dropdown-item:hover {
  background: linear-gradient(90deg, rgba(0, 168, 168, 0.18) 0%, transparent 100%) !important;
  color: #00f0f0 !important;
  transform: translateX(2px);
}

/* =========================================================
   9. VISTA DE AUTENTICACIÓN / LOGIN CON PROFUNDIDAD
   ========================================================= */
.authentication-wrapper .card {
  background: rgba(18, 22, 31, 0.92) !important;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 16px !important;
  box-shadow: 
    0 24px 60px rgba(0, 0, 0, 0.75), 
    0 4px 16px rgba(0, 168, 168, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}

/* =========================================================
   10. SWEETALERT2 DARK GLASS 3D (Modales y Alertas)
   ========================================================= */
.swal2-container {
  background: rgba(4, 6, 10, 0.78) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  z-index: 10000 !important;
}

.swal2-popup {
  background: linear-gradient(180deg, rgba(26, 32, 45, 0.96) 0%, rgba(13, 17, 24, 0.98) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 16px !important;
  box-shadow: 
    0 24px 60px -8px rgba(0, 0, 0, 0.85),
    0 0 30px rgba(0, 168, 168, 0.12),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.16) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  padding: 26px 22px !important;
  color: #d1d8e6 !important;
  font-family: var(--bs-body-font-family) !important;
}

.swal2-title {
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 1.3rem !important;
  letter-spacing: -0.3px !important;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5) !important;
  margin-bottom: 8px !important;
}

.swal2-html-container {
  color: #9aa3b6 !important;
  font-size: 13.5px !important;
  line-height: 1.55 !important;
  margin-top: 6px !important;
}

/* Iconos de SweetAlert con Resplandor */
.swal2-icon {
  margin: 10px auto 18px !important;
  transform: scale(0.95);
}

.swal2-icon.swal2-warning {
  border-color: #f59e0b !important;
  color: #fbbf24 !important;
  background: rgba(245, 158, 11, 0.08) !important;
  box-shadow: 0 0 24px rgba(245, 158, 11, 0.28) !important;
}

.swal2-icon.swal2-success {
  border-color: #00b8b8 !important;
  color: #00f0f0 !important;
  background: rgba(0, 168, 168, 0.08) !important;
  box-shadow: 0 0 24px rgba(0, 168, 168, 0.3) !important;
}
.swal2-icon.swal2-success .swal2-success-ring {
  border-color: rgba(0, 168, 168, 0.3) !important;
}
.swal2-icon.swal2-success [class^="swal2-success-line"] {
  background-color: #00f0f0 !important;
}

.swal2-icon.swal2-error {
  border-color: #ef4444 !important;
  color: #f87171 !important;
  background: rgba(239, 68, 68, 0.08) !important;
  box-shadow: 0 0 24px rgba(239, 68, 68, 0.3) !important;
}
.swal2-icon.swal2-error [class^="swal2-x-mark-line"] {
  background-color: #f87171 !important;
}

.swal2-icon.swal2-info {
  border-color: #00b4b4 !important;
  color: #00f0f0 !important;
  background: rgba(0, 180, 180, 0.08) !important;
  box-shadow: 0 0 24px rgba(0, 180, 180, 0.3) !important;
}

.swal2-icon.swal2-question {
  border-color: #38bdf8 !important;
  color: #38bdf8 !important;
  background: rgba(56, 189, 248, 0.08) !important;
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.3) !important;
}

/* Botones de Acción en SweetAlert */
.swal2-actions {
  gap: 12px !important;
  margin-top: 24px !important;
  width: 100% !important;
  justify-content: center !important;
}

.swal2-confirm,
.swal2-cancel,
.swal2-deny {
  border-radius: 8px !important;
  padding: 8px 20px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.1px !important;
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1) !important;
  outline: none !important;
}

/* Botón Confirmar Peligro (Rojo 3D) */
.swal2-confirm {
  background: linear-gradient(180deg, #e53e3e 0%, #b91c1c 100%) !important;
  border: 1px solid #f87171 !important;
  color: #ffffff !important;
  box-shadow: 
    0 4px 14px rgba(229, 62, 62, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4) !important;
}

.swal2-confirm:hover {
  background: linear-gradient(180deg, #f04e4e 0%, #cc2424 100%) !important;
  border-color: #fca5a5 !important;
  box-shadow: 
    0 6px 20px rgba(239, 68, 68, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
  transform: translateY(-1px);
}

.swal2-confirm:active {
  transform: translateY(0);
}

/* Botón Cancelar (Sleek Slate Glass) */
.swal2-cancel {
  background: linear-gradient(180deg, rgba(38, 46, 62, 0.9) 0%, rgba(22, 27, 38, 0.95) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #cbd5e1 !important;
  box-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}

.swal2-cancel:hover {
  background: linear-gradient(180deg, rgba(48, 58, 78, 0.95) 0%, rgba(30, 36, 50, 0.98) 100%) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  box-shadow: 
    0 4px 14px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;
  transform: translateY(-1px);
}

.swal2-cancel:active {
  transform: translateY(0);
}

/* Inputs dentro de SweetAlert */
.swal2-input,
.swal2-textarea,
.swal2-select {
  background: rgba(11, 14, 20, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.45) !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  font-size: 13px !important;
}

.swal2-input:focus,
.swal2-textarea:focus,
.swal2-select:focus {
  border-color: #00b8b8 !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3), 0 0 0 2.5px rgba(0, 168, 168, 0.25) !important;
}

/* --- EFECTO DE SLIDE SUAVE PARA SUBMENÚS --- */
.menu-sub {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    max-height 0.22s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.18s ease,
    visibility 0s linear 0.22s;
}

.menu-item.open > .menu-sub {
  max-height: 800px;
  opacity: 1;
  visibility: visible;
  transition:
    max-height 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.2s ease;
}

/* =========================================================
   8. PANTALLA DE LOGIN PREMIUM SPLIT GLASS (Dark Luxury)
   ========================================================= */
.login-page-wrapper {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  background-color: #07090e;
  background-image:
    radial-gradient(circle at 18% 25%, rgba(0, 168, 168, 0.09) 0%, transparent 45%),
    radial-gradient(circle at 82% 75%, rgba(35, 55, 95, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(10, 13, 18, 0.8) 0%, #06070a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 99999;
  overflow-y: auto;
  font-family: var(--bs-body-font-family);
}

.login-card {
  width: 100%;
  max-width: 960px;
  min-height: 560px;
  background: rgba(14, 18, 25, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  box-shadow: 
    0 32px 80px -12px rgba(0, 0, 0, 0.85),
    0 4px 20px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  position: relative;
  animation: loginCardFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes loginCardFadeIn {
  from {
    opacity: 0;
    transform: scale(0.97) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Panel Izquierdo: Formulario */
.login-form-panel {
  padding: 44px 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(12, 15, 22, 0.65);
  position: relative;
  z-index: 2;
}

.login-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.login-brand img {
  height: 26px;
  width: auto;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
}

.login-header {
  margin-bottom: 22px;
}

.login-title {
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 6px 0;
  letter-spacing: -0.4px;
}

.login-subtitle {
  color: #838d9f;
  font-size: 12.5px;
  margin: 0;
  line-height: 1.4;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.login-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.login-field-label {
  font-size: 11.5px;
  font-weight: 600;
  color: #9aa4b8;
  letter-spacing: 0.2px;
}

.login-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.login-input-wrapper .login-input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #647087;
  font-size: 18px;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
  z-index: 3;
}

.login-input-wrapper input.form-control.login-input,
.login-input-wrapper input[type="text"].login-input,
.login-input-wrapper input[type="password"].login-input,
.login-input {
  width: 100% !important;
  height: 46px !important;
  background: rgba(9, 12, 17, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  border-radius: 12px !important;
  padding-left: 44px !important;
  padding-right: 44px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  color: #ffffff !important;
  font-size: 13.5px !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.45) !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.login-input:focus {
  background: rgba(14, 18, 26, 0.95) !important;
  border-color: #00b8b8 !important;
  box-shadow: 
    inset 0 1px 2px rgba(0, 0, 0, 0.3),
    0 0 0 3px rgba(0, 168, 168, 0.22),
    0 0 16px rgba(0, 168, 168, 0.18) !important;
  outline: none !important;
}

/* Autofill Oscuro para Login */
.login-input:-webkit-autofill,
.login-input:-webkit-autofill:hover, 
.login-input:-webkit-autofill:focus, 
.login-input:-webkit-autofill:active,
.login-input-wrapper input.login-input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #0c1017 inset !important;
  box-shadow: 0 0 0 1000px #0c1017 inset !important;
  -webkit-text-fill-color: #ffffff !important;
  color: #ffffff !important;
  caret-color: #00e0e0 !important;
  border-radius: 12px !important;
  font-size: 13.5px !important;
  transition: background-color 5000s ease-in-out 0s;
}

/* Autofill Oscuro Global */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active,
select:-webkit-autofill,
textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #0e121a inset !important;
  box-shadow: 0 0 0 1000px #0e121a inset !important;
  -webkit-text-fill-color: #ffffff !important;
  color: #ffffff !important;
  caret-color: #00d6d6 !important;
  transition: background-color 5000s ease-in-out 0s;
}

.login-input:focus + .login-input-icon,
.login-input-wrapper:focus-within .login-input-icon {
  color: #00d6d6;
}

.login-input-wrapper .login-input-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #647087;
  font-size: 16px;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: color 0.2s ease, background-color 0.2s ease;
  z-index: 3;
}

.login-input-toggle:hover {
  color: #cad1de;
  background: rgba(255, 255, 255, 0.05);
}

.login-options-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: -2px;
}

.login-remember {
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  user-select: none;
}

.login-remember-text {
  font-size: 11.5px;
  color: #8c96a8;
  transition: color 0.15s ease;
}

.login-remember:hover .login-remember-text {
  color: #cad1de;
}

.login-forgot-link {
  font-size: 11.5px;
  color: #00b8b8;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease, text-shadow 0.15s ease;
}

.login-forgot-link:hover {
  color: #38f2f2;
  text-shadow: 0 0 8px rgba(0, 210, 210, 0.4);
}

.login-submit-btn {
  height: 44px !important;
  width: 100% !important;
  border-radius: 12px !important;
  background: #009999 !important;
  background-image: linear-gradient(180deg, #00adad 0%, #008888 100%) !important;
  border: 1px solid rgba(0, 220, 220, 0.3) !important;
  color: #ffffff !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.2px;
  box-shadow: 
    0 4px 16px rgba(0, 168, 168, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  cursor: pointer;
  margin-top: 4px;
}

.login-submit-btn:hover:not(:disabled) {
  background: #008888 !important;
  background-image: linear-gradient(180deg, #00bbbb 0%, #009494 100%) !important;
  border-color: rgba(0, 240, 240, 0.45) !important;
  box-shadow: 
    0 6px 22px rgba(0, 168, 168, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
  transform: translateY(-1px);
}

.login-submit-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.login-error-alert {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: loginErrorShake 0.3s ease;
}

@keyframes loginErrorShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

.login-footer-text {
  font-size: 10.5px;
  color: #555e71;
  text-align: center;
  margin-top: 20px;
  letter-spacing: 0.4px;
}

/* Panel Derecho: Hero Visual */
.login-hero-panel {
  position: relative;
  background: url('../img/login_art_bg.jpg') center center / cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 44px 40px;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.login-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 10, 15, 0.2) 0%, rgba(8, 10, 15, 0.82) 100%);
  z-index: 1;
}

.login-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 168, 168, 0.15);
  border: 1px solid rgba(0, 210, 210, 0.3);
  color: #00e0e0;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  width: fit-content;
  backdrop-filter: blur(8px);
}

.hero-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00e0e0;
  box-shadow: 0 0 6px #00e0e0;
}

.hero-text-block {
  margin-top: auto;
  margin-bottom: 24px;
}

.hero-heading {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin: 0 0 10px 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.hero-desc {
  font-size: 12.5px;
  color: #a4b0c4;
  line-height: 1.55;
  margin: 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.hero-footer-indicators {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-bars {
  display: flex;
  gap: 6px;
  align-items: center;
}

.hero-bar {
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.2);
  width: 18px;
  transition: all 0.3s ease;
}

.hero-bar.active {
  width: 38px;
  background: #00e0e0;
  box-shadow: 0 0 8px rgba(0, 224, 224, 0.6);
}

.hero-security-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  color: #909bb0;
  font-weight: 600;
  letter-spacing: 0.3px;
}

@media (max-width: 860px) {
  .login-card {
    grid-template-columns: 1fr;
    max-width: 440px;
    min-height: auto;
  }
  .login-hero-panel {
    display: none;
  }
  .login-form-panel {
    padding: 36px 28px;
  }
}

