/**
 *
 * importer.less
 *
 * By default, new Sails projects are configured to compile this file
 * from LESS to CSS.  Unlike CSS files, LESS files are not compiled and
 * included automatically unless they are imported below.
 *
 * For more information see:
 *   https://sailsjs.com/anatomy/assets/styles/importer-less
 */
/*******************************
     User Global Variables
*******************************/
/* Colors */
/* @blue: #80A6CD;*/
/* Inverted */
/* Site theme tokens (custom app styles) */
/* Links */
/* Borders */
/* Breakpoints */
/* Global */
/*******************************
          Global CSS
*******************************/
/*--------------
  Global Styles
---------------*/
:root {
  --site-bg-main: #f3f8ff;
  --site-text-main: #1f2d2a;
  --site-text-muted: #5c6d69;
  --site-line: #d8e7f5;
  --site-brand: #2185d0;
  --site-brand-strong: #1678c2;
  --site-brand-deep: #1c6fb0;
  --primary-blue: #2185d0;
  /* Azul vibrante (Semantic UI Blue) principal de CHcontador */
  --accent-blue: #00b5ad;
  /* Teal de Semantic UI para acentos */
  --bg-teal: #e8f2f6;
  /* Fondo azul muy suave */
  --bg-gray: #f1f5f9;
  /* Gris azulado claro (Slate 100) */
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-btn: 8px;
  --shadow-soft: 0 10px 40px rgba(33, 133, 208, 0.08);
  --shadow-hover: 0 20px 50px rgba(33, 133, 208, 0.15);
}
html,
body {
  min-height: 100%;
  margin: 0;
  padding: 0;
  font-family: "Lato", "Helvetica Neue", Arial, Helvetica, sans-serif;
  color: var(--text-dark);
  background-color: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
/* Typography */
h1,
h2,
h3,
h4,
h5,
body .ui.header {
  font-family: "Lato", sans-serif;
  color: var(--primary-blue) !important;
  font-weight: 800;
}
.modern-homepage,
.modern-legal,
.login-split {
  font-family: "Poppins", "Trebuchet MS", sans-serif;
}
.modern-homepage,
.modern-legal,
body.internal-app-layout {
  --bg-main: var(--site-bg-main);
  --text-main: var(--site-text-main);
  --text-muted: var(--site-text-muted);
  --brand: var(--site-brand);
  --brand-strong: var(--site-brand-strong);
  --line: var(--site-line);
  color: var(--text-main);
  background: radial-gradient(circle at 8% 8%, #eaf5ff 0, #eaf5ff 20%, transparent 40%), radial-gradient(circle at 92% 12%, #deeeff 0, #deeeff 18%, transparent 44%), linear-gradient(180deg, #f8fbff 0%, var(--bg-main) 45%, #f4f9ff 100%);
}
.brand-link {
  color: var(--site-brand-deep);
  text-decoration: none;
}
.brand-logo {
  width: auto;
  height: 2.75rem;
  display: block;
  flex: 0 0 auto;
}
.brand-name {
  font-family: "Montserrat", "Poppins", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--site-brand-deep);
  letter-spacing: 0.01em;
}
b {
  color: #333;
}
a:hover b {
  color: inherit;
}
.dna-hide {
  display: none;
}
#map {
  top: 0;
  height: 512px;
  padding: 0;
  margin: 0;
}
@media (max-width: 767px) {
  .brand-logo {
    height: 2.35rem;
  }
  .brand-name {
    font-size: 1.2rem;
  }
}
/* ============================================================
   [COPIAR DESDE AQUÍ PARA EL REAL]
   ESTILOS PARA EL BANNER DE COOKIES (PREMIUM & GLASSMORPHISM)
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 650px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 15px 20px;
  z-index: 99999;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 1;
  visibility: visible;
}
/* Estado oculto con desplazamiento hacia abajo */
.cookie-banner.hidden {
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 40px);
}
.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.cookie-content p {
  margin: 0;
  font-size: 0.95rem;
  color: #333333;
  line-height: 1.4;
}
.cookie-content a {
  color: #2185d0;
  text-decoration: underline;
  font-weight: 600;
}
.cookie-buttons {
  display: flex;
  gap: 10px;
  white-space: nowrap;
}
/* Adaptación responsive para pantallas móviles */
@media (max-width: 768px) {
  .cookie-banner {
    bottom: 10px;
    padding: 15px;
  }
  .cookie-content {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }
  .cookie-buttons {
    justify-content: flex-end;
    width: 100%;
  }
}
/* [FIN COPIAR COOKIES CSS] */
/* UI */
[data-component="cover"] body {
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: grayscale;
}
@media only screen and (min-width: 768px) {
  [data-component="cover"] .ui.container {
    width: 700px;
    max-width: 700px;
  }
  [data-component="cover"] nav.ui.container .ui.header {
    float: left;
    margin-top: 12px;
  }
  [data-component="cover"] nav.ui.container .ui.inverted.compact.menu {
    float: right;
  }
}
[data-component="cover"] .ui.inverted.vertical.center.aligned.segment {
  padding-top: 36px;
}
[data-component="cover"] nav.ui.container .ui.inverted.compact.menu {
  /* background-color: rgb(82, 84, 179);*/
  background-color: steelblue;
}
[data-component="cover"] nav.ui.container .ui.inverted.compact.menu .item {
  padding-bottom: 0;
}
[data-component="cover"] nav.ui.container .ui.inverted.compact.menu .item {
  font-size: 16px;
  padding-left: 0px;
  padding-right: 0px;
  padding-bottom: 14px;
  margin-left: 16px;
  margin-right: 16px;
  border-radius: 0;
}
[data-component="cover"] nav.ui.container .ui.inverted.compact.menu .active.item {
  background-color: inherit;
  border-bottom-color: white;
  border-bottom-style: solid;
  border-bottom-width: 2px;
}
[data-component="cover"] .ui.inverted.vertical.segment {
  height: 100vh;
  /* background-color: rgb(51, 51, 51);*/
  background-color: steelblue;
}
[data-component="cover"] .ui.content.container {
  height: 300px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}
[data-component="cover"] .ui.content.container h1.header {
  font-size: 36px;
}
[data-component="cover"] .ui.content.container p {
  font-size: 21px;
  line-height: 1.6;
  font-weight: 300;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
[data-component="cover"] .ui.inverted.vertical.segment footer.ui.segment {
  height: 80px;
  width: 100%;
  position: absolute;
  bottom: 0;
  color: gray;
}
[data-component="cover"] .ui.inverted.vertical.segment footer.ui.segment a {
  color: white;
}
.swiper {
  width: 600px;
  height: 300px;
}
/* Layouts */
/* ============================================================
   index.ejs — Landing page / homepage
   Merged from: pages/homepage-premium.css
   ============================================================ */
/* Teal de Semantic UI para acentos */
/* Fondo azul muy suave */
/* Gris azulado claro (Slate 100) */
/* :root {
  --primary-blue: #2185d0; 
  --accent-blue: #00b5ad; 
  --bg-teal: #e8f2f6; 
  --bg-gray: #f1f5f9; 
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-btn: 8px;
  --shadow-soft: 0 10px 40px rgba(33, 133, 208, 0.08);
  --shadow-hover: 0 20px 50px rgba(33, 133, 208, 0.15);
} 
*/
body {
  font-family: "Lato", "Helvetica Neue", Arial, Helvetica, sans-serif;
  color: var(--text-dark);
  background-color: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
Typography h1,
h2,
h3,
h4,
body#home h5,
body#home .ui.header {
  font-family: "Lato", sans-serif;
  color: var(--primary-blue) !important;
  font-weight: 800;
}
/* Navbar */
.premium-navbar {
  background: rgba(255, 255, 255, 0.82) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid rgba(33, 133, 208, 0.08) !important;
  padding: 12px 0 !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02) !important;
  transition: all 0.3s ease !important;
}
.brand-link {
  color: var(--primary-blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.35rem 0;
}
.brand-logo {
  width: auto;
  height: 2.75rem;
  display: block;
  flex: 0 0 auto;
}
.brand-name {
  font-family: "Montserrat", "Poppins", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--primary-blue);
  letter-spacing: 0.01em;
}
@media (max-width: 767px) {
  .brand-logo {
    height: 2.35rem;
  }
  .brand-name {
    font-size: 1.2rem;
  }
}
.premium-navbar .btn-login {
  border-radius: var(--radius-btn) !important;
  border: 2px solid var(--primary-blue) !important;
  color: var(--primary-blue) !important;
  background: transparent !important;
  font-weight: 700 !important;
}
.premium-navbar .btn-login:hover {
  background: var(--bg-gray) !important;
}
.premium-navbar .btn-contact {
  border-radius: var(--radius-btn) !important;
  background: var(--primary-blue) !important;
  color: #fff !important;
  font-weight: 700 !important;
}
.premium-navbar .btn-contact:hover {
  background: #143752 !important;
}
/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
  padding: 140px 0 100px 0;
  /* Extra top padding for fixed navbar */
  position: relative;
  overflow: hidden;
}
.hero-title {
  font-size: 3.5rem !important;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 90%;
}
.hero-badges .item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-blue);
}
.hero-badges .icon {
  color: var(--accent-blue) !important;
  font-size: 1.5rem;
  margin-right: 10px;
}
.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  /* transform: perspective(1000px) rotateY(-5deg) translateY(0);
  transition: transform 0.5s ease; */
}
/* .hero-image-wrapper:hover {
  transform: perspective(1000px) rotateY(0deg) translateY(-10px);
  box-shadow: var(--shadow-hover);
} */
.hero-image {
  width: 100%;
  height: auto;
  display: block;
}
.btn-primary-action {
  background: var(--accent-blue) !important;
  color: #fff !important;
  border-radius: var(--radius-btn) !important;
  padding: 15px 30px !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 15px rgba(33, 133, 208, 0.3) !important;
}
.btn-primary-action:hover {
  background: #1a6fb0 !important;
  transform: translateY(-2px);
}
/* Sections */
.premium-section {
  padding: 100px 0;
}
.bg-gray {
  background-color: var(--bg-gray);
}
.section-header {
  text-align: center;
  margin-bottom: 60px !important;
}
.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}
.section-header p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
}
/* App & Device Accordion Area */
.app-showcase-wrapper {
  background: linear-gradient(180deg, #e8f2f6 0%, #ffffff 100%);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}
.app-showcase-img {
  max-height: 500px;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}
.premium-accordion .title {
  background: #ffffff !important;
  border-radius: var(--radius-md) !important;
  margin-bottom: 15px;
  padding: 20px !important;
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  color: var(--primary-blue) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}
.premium-accordion .title:hover {
  box-shadow: var(--shadow-soft);
  border-color: var(--accent-blue);
}
.premium-accordion .active.title {
  border-color: var(--accent-blue);
  color: var(--accent-blue) !important;
}
.premium-accordion .content {
  padding: 0 20px 20px 20px !important;
  font-size: 1.1rem;
  color: var(--text-muted);
}
.device-img-small {
  width: 100%;
  max-width: 250px;
  border-radius: var(--radius-md);
  margin-top: 15px;
  box-shadow: var(--shadow-soft);
}
/* Swiper Carousel Features (Impactante) */
.features-section {
  background: transparent;
  color: var(--text-dark);
  padding: 100px 0 120px 0;
}
.features-next,
.features-prev {
  position: absolute;
  top: 50%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--primary-blue) !important;
  background: #ffffff;
  width: 50px !important;
  height: 50px !important;
  border-radius: 50%;
  box-shadow: 0 10px 25px rgba(33, 133, 208, 0.2);
  border: 1px solid rgba(33, 133, 208, 0.1);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  margin-top: -25px !important;
}
.features-prev {
  left: -5px !important;
}
.features-next {
  right: -5px !important;
}
@media only screen and (max-width: 767px) {
  .features-next,
  .features-prev {
    display: none !important;
  }
  .carousel-wrapper {
    padding: 0 !important;
  }
}
/* Eliminada la regla inútil de after */
.features-next i,
.features-prev i {
  font-size: 1.5rem !important;
}
.features-next:hover,
.features-prev:hover {
  transform: scale(1.1);
  background: var(--primary-blue);
  color: #ffffff !important;
}
.features-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fafc 0%, #e8f2f6 100%) !important;
  padding: 100px 0;
}
/* Luces de fondo radiales premium (Auroras) que aparecen con el scroll */
.features-section::before,
.features-section::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(33, 133, 208, 0.08) 0%, rgba(33, 133, 208, 0) 70%);
  filter: blur(80px);
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 2.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.features-section::before {
  top: -100px;
  left: -100px;
}
.features-section::after {
  bottom: -150px;
  right: -100px;
  background: radial-gradient(circle, rgba(0, 181, 173, 0.08) 0%, rgba(0, 181, 173, 0) 70%);
}
.features-section.visible::before,
.features-section.visible::after {
  opacity: 1;
}
.features-section .section-header h2 {
  color: var(--primary-blue) !important;
  text-shadow: none;
}
.features-section .section-header p {
  color: var(--text-muted) !important;
}
.features-carousel {
  padding-bottom: 70px !important;
}
/* Teaser horizontal automático (Animación de guiño en scroll) */
@keyframes carouselTeaser {
  0% {
    transform: translateX(0);
  }
  35% {
    transform: translateX(-35px);
  }
  70% {
    transform: translateX(5px);
  }
  100% {
    transform: translateX(0);
  }
}
.features-section.visible .features-carousel {
  animation: carouselTeaser 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  animation-delay: 1.2s;
  /* Empieza justo cuando termina de subir la cascada elástica */
}
/* Tarjeta Blanca Premium con Bordes Limpios */
.feature-card {
  background: #ffffff !important;
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  height: 100%;
  box-shadow: 0 10px 30px rgba(33, 133, 208, 0.03);
  border: 1px solid rgba(33, 133, 208, 0.06) !important;
  border-top: 4px solid transparent !important;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 280px;
  position: relative;
  z-index: 2;
  /* Por encima de las auroras */
  /* Valores de transición compartidos */
  transition: opacity 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275), transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), border-top 0.4s ease, border-color 0.4s ease, background 0.4s ease;
}
.feature-card h3 {
  color: var(--text-dark) !important;
  font-size: 1.35rem;
  margin-top: 15px;
  margin-bottom: 12px;
}
.feature-card p {
  color: var(--text-muted) !important;
  font-size: 1.02rem;
  line-height: 1.6;
}
/* Ocultado inicial condicionado: sólo si JS se carga y activa el soporte de animación */
.features-section.js-scroll-reveal .feature-card {
  opacity: 0;
  transform: translateY(50px) scale(0.95);
}
/* Revelado de tarjetas cuando entra en scroll */
.features-section.js-scroll-reveal.visible .feature-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}
/* Especificación Técnica Premium (Spec Badges en Modo Claro) */
.feature-spec-badge {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 8px;
  background: rgba(33, 133, 208, 0.05) !important;
  color: var(--primary-blue) !important;
  border: 1px solid rgba(33, 133, 208, 0.12) !important;
  transition: all 0.4s ease;
}
/* Envoltorios de Iconos Rectangulares y Modernos */
.feature-icon-wrapper {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--bg-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  transition: all 0.4s ease;
}
.feature-icon-wrapper i {
  font-size: 1.5rem !important;
  margin: 0 !important;
}
/* PERSONALIZACIÓN CROMÁTICA: Iconos Arcoíris y Badges Reactivos en Modo Claro */
/* Slide 1 - Ubicación Exacta: Azul Eléctrico */
.swiper-slide:nth-child(1) .feature-icon-wrapper {
  background: rgba(33, 133, 208, 0.1) !important;
  color: #2185d0 !important;
}
.swiper-slide:nth-child(1) .feature-card:hover {
  border-top-color: #2185d0 !important;
  border-color: rgba(33, 133, 208, 0.15) !important;
  box-shadow: 0 20px 40px rgba(33, 133, 208, 0.12);
}
.swiper-slide:nth-child(1) .feature-card:hover .feature-spec-badge {
  color: #2185d0 !important;
  border-color: rgba(33, 133, 208, 0.25) !important;
  background: rgba(33, 133, 208, 0.08) !important;
}
/* Slide 2 - Siempre Disponible: Cian Neón / Teal */
.swiper-slide:nth-child(2) .feature-icon-wrapper {
  background: rgba(0, 181, 173, 0.1) !important;
  color: #00b5ad !important;
}
.swiper-slide:nth-child(2) .feature-card:hover {
  border-top-color: #00b5ad !important;
  border-color: rgba(0, 181, 173, 0.15) !important;
  box-shadow: 0 20px 40px rgba(0, 181, 173, 0.12);
}
.swiper-slide:nth-child(2) .feature-card:hover .feature-spec-badge {
  color: #00b5ad !important;
  border-color: rgba(0, 181, 173, 0.25) !important;
  background: rgba(0, 181, 173, 0.08) !important;
}
/* Slide 3 - Envío Periódico: Naranja */
.swiper-slide:nth-child(3) .feature-icon-wrapper {
  background: rgba(242, 113, 28, 0.1) !important;
  color: #f2711c !important;
}
.swiper-slide:nth-child(3) .feature-card:hover {
  border-top-color: #f2711c !important;
  border-color: rgba(242, 113, 28, 0.15) !important;
  box-shadow: 0 20px 40px rgba(242, 113, 28, 0.12);
}
.swiper-slide:nth-child(3) .feature-card:hover .feature-spec-badge {
  color: #f2711c !important;
  border-color: rgba(242, 113, 28, 0.25) !important;
  background: rgba(242, 113, 28, 0.08) !important;
}
/* Slide 4 - Privacidad y Seguridad: Verde Esmeralda */
.swiper-slide:nth-child(4) .feature-icon-wrapper {
  background: rgba(33, 186, 69, 0.1) !important;
  color: #21ba45 !important;
}
.swiper-slide:nth-child(4) .feature-card:hover {
  border-top-color: #21ba45 !important;
  border-color: rgba(33, 186, 69, 0.15) !important;
  box-shadow: 0 20px 40px rgba(33, 186, 69, 0.12);
}
.swiper-slide:nth-child(4) .feature-card:hover .feature-spec-badge {
  color: #21ba45 !important;
  border-color: rgba(33, 186, 69, 0.25) !important;
  background: rgba(33, 186, 69, 0.08) !important;
}
/* Slide 5 - Históricos Detallados: Púrpura Orquídea */
.swiper-slide:nth-child(5) .feature-icon-wrapper {
  background: rgba(163, 51, 200, 0.1) !important;
  color: #a333c8 !important;
}
.swiper-slide:nth-child(5) .feature-card:hover {
  border-top-color: #a333c8 !important;
  border-color: rgba(163, 51, 200, 0.15) !important;
  box-shadow: 0 20px 40px rgba(163, 51, 200, 0.12);
}
.swiper-slide:nth-child(5) .feature-card:hover .feature-spec-badge {
  color: #a333c8 !important;
  border-color: rgba(163, 51, 200, 0.25) !important;
  background: rgba(163, 51, 200, 0.08) !important;
}
/* Slide 6 - Soporte Técnico: Rojo Coral */
.swiper-slide:nth-child(6) .feature-icon-wrapper {
  background: rgba(219, 40, 40, 0.1) !important;
  color: #db2828 !important;
}
.swiper-slide:nth-child(6) .feature-card:hover {
  border-top-color: #db2828 !important;
  border-color: rgba(219, 40, 40, 0.15) !important;
  box-shadow: 0 20px 40px rgba(219, 40, 40, 0.12);
}
.swiper-slide:nth-child(6) .feature-card:hover .feature-spec-badge {
  color: #db2828 !important;
  border-color: rgba(219, 40, 40, 0.25) !important;
  background: rgba(219, 40, 40, 0.08) !important;
}
/* Botones de Navegación del Carrusel en Modo Claro */
.features-next,
.features-prev {
  background: #ffffff !important;
  color: var(--primary-blue) !important;
  border: 1px solid rgba(33, 133, 208, 0.15) !important;
  box-shadow: 0 4px 12px rgba(33, 133, 208, 0.08) !important;
}
.features-next:hover,
.features-prev:hover {
  background: var(--primary-blue) !important;
  color: #ffffff !important;
  border-color: var(--primary-blue) !important;
  box-shadow: 0 8px 20px rgba(33, 133, 208, 0.2) !important;
}
/* Delays escalonados en cascada elástica (sólo aplicables si JS está activo) */
.features-section.js-scroll-reveal.visible .swiper-slide:nth-child(1) .feature-card {
  transition-delay: 0ms;
}
.features-section.js-scroll-reveal.visible .swiper-slide:nth-child(2) .feature-card {
  transition-delay: 150ms;
}
.features-section.js-scroll-reveal.visible .swiper-slide:nth-child(3) .feature-card {
  transition-delay: 300ms;
}
.features-section.js-scroll-reveal.visible .swiper-slide:nth-child(4) .feature-card {
  transition-delay: 450ms;
}
.features-section.js-scroll-reveal.visible .swiper-slide:nth-child(5) .feature-card {
  transition-delay: 600ms;
}
.features-section.js-scroll-reveal.visible .swiper-slide:nth-child(n + 6) .feature-card {
  transition-delay: 750ms;
}
/* Banner CTA */
.cta-banner {
  background: var(--primary-blue);
  border-radius: var(--radius-lg);
  padding: 60px;
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  margin: 60px 0;
  box-shadow: var(--shadow-soft);
}
.cta-banner h2 {
  color: #ffffff !important;
  font-size: 2.5rem;
  margin-bottom: 20px;
}
.cta-banner p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 30px auto;
}
/* Footer */
.site-footer {
  background: linear-gradient(145deg, #195f97 0%, var(--primary-blue) 55%, #56a9e0 100%);
  border-top: 1px solid rgba(208, 230, 248, 0.45);
  padding: 2.2rem 0 1.2rem;
  margin-top: 2.2rem;
  color: #f5fbff;
}
.site-footer .ui.header {
  color: #f4fffd !important;
  font-family: "Montserrat", "Poppins", sans-serif;
  letter-spacing: 0.01em;
}
.site-footer .ui.list .item,
.site-footer .ui.link.list .item,
.site-footer .ui.link.list .item:visited {
  color: #eaf5ff !important;
}
.site-footer .ui.link.list .item:hover {
  color: #ffffff !important;
  text-decoration: underline;
}
.site-footer .footer-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(219, 236, 250, 0.32);
  border-radius: 14px;
  padding: 1rem;
  height: 100%;
}
.site-footer .footer-bottom {
  margin-top: 1rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(218, 236, 251, 0.45);
  color: #e6f3ff;
  font-size: 0.92rem;
  text-align: center;
}
@media (max-width: 767px) {
  .site-footer {
    padding: 1.6rem 0 1rem;
    margin-top: 1.5rem;
  }
}
/* Floating FAQ Button & Modal */
.faq-fab {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: var(--primary-blue);
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 15px rgba(33, 133, 208, 0.4);
  cursor: pointer;
  z-index: 1000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.faq-fab:hover {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 6px 20px rgba(33, 133, 208, 0.6);
}
.faq-modal .header {
  background: var(--primary-blue) !important;
  color: white !important;
}
/* Mobile Responsive Adjustments */
@media only screen and (max-width: 767px) {
  .hero-title {
    font-size: 2.5rem !important;
  }
  .section-header h2 {
    font-size: 2rem;
  }
  .app-showcase-img {
    max-height: 350px;
  }
}
/* ============================================================
   Web App Screenshots Carousel
   ============================================================ */
.webapp-screenshots-block {
  margin-top: 70px;
  padding-top: 50px;
  border-top: 1px solid rgba(33, 133, 208, 0.1);
  position: relative;
  z-index: 2;
}
.webapp-screenshots-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.webapp-screenshots-header i {
  font-size: 1.2rem !important;
  color: var(--primary-blue) !important;
  margin: 0 !important;
}
.webapp-carousel-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 50px 60px;
  position: relative;
}
.webapp-slide-inner {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(33, 133, 208, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(33, 133, 208, 0.08);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.webapp-slide-inner:hover {
  box-shadow: 0 24px 60px rgba(33, 133, 208, 0.18);
  transform: translateY(-4px);
}
/* Simulated browser chrome bar */
.webapp-browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f0f4f8;
  border-bottom: 1px solid rgba(33, 133, 208, 0.08);
  padding: 10px 16px;
}
.browser-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.browser-dot:nth-child(1) {
  background: #ff5f57;
}
.browser-dot:nth-child(2) {
  background: #ffbd2e;
}
.browser-dot:nth-child(3) {
  background: #28c840;
}
.browser-url {
  margin-left: 14px;
  font-size: 0.8rem;
  color: #8a9ab5;
  font-family: "Courier New", monospace;
  background: #e4eaf3;
  padding: 3px 12px;
  border-radius: 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}
.webapp-screenshot-img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 420px;
  object-fit: cover;
  object-position: top;
}
.webapp-slide-caption {
  padding: 16px 20px;
  font-size: 0.97rem;
  color: var(--text-muted);
  line-height: 1.55;
  border-top: 1px solid rgba(33, 133, 208, 0.07);
  background: #fafdff;
}
.webapp-slide-caption strong {
  color: var(--primary-blue);
}
/* Pagination dots */
.webapp-pagination {
  bottom: 20px !important;
}
.webapp-pagination .swiper-pagination-bullet {
  background: var(--primary-blue) !important;
  opacity: 0.3;
  width: 8px;
  height: 8px;
  transition: opacity 0.3s,
    transform 0.3s;
}
.webapp-pagination .swiper-pagination-bullet-active {
  opacity: 1 !important;
  transform: scale(1.3);
}
/* Navigation arrows (same style as features-prev/next) */
.webapp-prev,
.webapp-next {
  position: absolute;
  top: 50%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--primary-blue) !important;
  background: #ffffff;
  width: 50px !important;
  height: 50px !important;
  border-radius: 50%;
  box-shadow: 0 10px 25px rgba(33, 133, 208, 0.2);
  border: 1px solid rgba(33, 133, 208, 0.1);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  margin-top: -55px;
  /* centrado respecto al carrusel, no el caption */
}
.webapp-prev {
  left: -5px !important;
}
.webapp-next {
  right: -5px !important;
}
.webapp-prev i,
.webapp-next i {
  font-size: 1.5rem !important;
  margin: 0 !important;
}
.webapp-prev:hover,
.webapp-next:hover {
  transform: scale(1.1);
  background: var(--primary-blue);
  color: #ffffff !important;
}
@media (max-width: 767px) {
  .webapp-carousel-wrapper {
    padding: 0 10px 50px;
  }
  .webapp-prev,
  .webapp-next {
    display: none !important;
  }
}
/* ============================================================
   layout.ejs — Public layout (legal, contact, terms, footer)
   ============================================================ */
/* ── Sticky footer (flex column) — public pages only ── */
body.public-layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
body.public-layout .site-footer {
  margin-top: auto;
}
/* ── Legal & contact pages ── */
.modern-legal {
  min-height: 100vh;
  padding: 2rem 1rem 3rem;
}
.modern-legal .home-navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 251, 250, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  margin: -2rem -1rem 1.8rem;
}
.modern-legal .home-navbar-inner {
  min-height: 92px;
  padding: 0.9rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.modern-legal .nav-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.modern-legal .nav-actions .ui.button {
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin: 0;
}
.modern-legal .nav-actions .ui.primary.button {
  background: var(--brand);
  color: #fff;
}
.modern-legal .nav-actions .ui.primary.button:hover {
  background: var(--brand-strong);
}
.modern-legal .brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.35rem 0;
}
@media (max-width: 767px) {
  .modern-legal {
    padding: 1rem 0.6rem 2rem;
  }
  .modern-legal .home-navbar {
    margin: -1rem -0.6rem 1.25rem;
  }
  .modern-legal .home-navbar-inner {
    min-height: 82px;
    padding: 0.75rem 0;
  }
  .modern-legal .brand-link {
    gap: 0.5rem;
  }
  .modern-legal .nav-actions {
    gap: 0.45rem;
  }
  .modern-legal .nav-actions .ui.button {
    padding: 0.75em 1em;
    font-size: 0.92rem;
  }
}
/* ── Footer ── */
/*******************************
        Footer Layout CSS
*******************************/
.site-footer {
  background: linear-gradient(145deg, #195f97 0%, var(--site-brand) 55%, #56a9e0 100%);
  border-top: 1px solid rgba(208, 230, 248, 0.45);
  padding: 2.2rem 0 1.2rem;
  margin-top: 2.2rem;
  color: #f5fbff;
}
.site-footer .ui.header {
  color: #f4fffd;
  font-family: "Montserrat", "Poppins", sans-serif;
  letter-spacing: 0.01em;
}
.site-footer .ui.list .item,
.site-footer .ui.link.list .item,
.site-footer .ui.link.list .item:visited {
  color: #eaf5ff;
}
.site-footer .ui.link.list .item:hover {
  color: #ffffff;
  text-decoration: underline;
}
.site-footer .footer-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(219, 236, 250, 0.32);
  border-radius: 14px;
  padding: 1rem;
  height: 100%;
}
.site-footer .footer-bottom {
  margin-top: 1rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(218, 236, 251, 0.45);
  color: #e6f3ff;
  font-size: 0.92rem;
}
@media (max-width: 767px) {
  .site-footer {
    padding: 1.6rem 0 1rem;
    margin-top: 1.5rem;
  }
}
/* ── Legal pages (privacy, terms, cookies) ── */
.modern-legal {
  min-height: 100vh;
  padding: 5rem 1rem 3rem;
}
.modern-legal .legal-card {
  border-radius: 20px;
}
.modern-legal p,
.modern-legal li {
  color: var(--text-main);
  line-height: 1.75;
  font-size: 1rem;
}
.modern-legal a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
}
.modern-legal a:hover {
  color: var(--brand-strong);
  text-decoration: underline;
}
.modern-legal.legal-page .legal-shell {
  max-width: 980px;
  margin: 0 auto;
}
.modern-legal.legal-page .legal-card {
  padding: 1.4rem 1.3rem;
}
.modern-legal.legal-page h1,
.modern-legal.legal-page .ui.large.dividing.header,
.modern-legal.legal-page .ui.large.header {
  font-family: "Montserrat", "Poppins", sans-serif;
  color: #255b8f;
  border-bottom-color: var(--line);
  margin-bottom: 1.25rem;
}
.modern-legal.legal-page .ui.large.dividing.header {
  padding-bottom: 0.8rem;
}
.modern-legal.legal-page .ui.medium.header,
.modern-legal.legal-page h2 {
  font-family: "Montserrat", "Poppins", sans-serif;
  color: #2a6298;
  margin-top: 1.35rem;
  margin-bottom: 0.7rem;
}
.modern-legal.legal-page .ui.list li,
.modern-legal.legal-page ul li {
  margin-bottom: 0.45rem;
}
.modern-legal.legal-page .ui.hidden.divider {
  margin: 0.8rem 0;
}
.modern-legal.legal-page .invisible {
  display: none;
}
.modern-legal.contact-page .legal-shell {
  max-width: 600px;
  margin: 0 auto;
}
.modern-legal.contact-page .legal-card {
  padding: 2rem 2.4rem;
}
.modern-legal.contact-page .contact-logo {
  display: block;
  width: 140px;
  height: 140px;
  object-fit: contain;
  margin: 0 auto 1.2rem;
  filter: drop-shadow(0 2px 6px rgba(33, 133, 208, 0.18));
}
.modern-legal.contact-page h1 {
  font-family: "Montserrat", "Poppins", sans-serif;
  color: #255b8f;
  font-size: 1.55rem;
  text-align: center;
  margin-bottom: 0.4rem;
}
.modern-legal.contact-page .contact-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.93rem;
  margin-bottom: 1.6rem;
}
.modern-legal.contact-page .ui.form .field > label {
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.modern-legal.contact-page .ui.form input,
.modern-legal.contact-page .ui.form textarea {
  border-radius: 8px;
  border-color: var(--line);
  font-family: "Poppins", sans-serif;
}
.modern-legal.contact-page .ui.form input:focus,
.modern-legal.contact-page .ui.form textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgba(33, 133, 208, 0.15);
}
.modern-legal.contact-page .ui.primary.button,
.modern-legal.contact-page input[type="submit"].ui.primary.button {
  background: linear-gradient(135deg, var(--brand-strong) 0%, var(--brand) 100%);
  color: #fff;
  border-radius: 8px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: opacity 0.18s;
}
.modern-legal.contact-page .ui.primary.button:hover,
.modern-legal.contact-page input[type="submit"].ui.primary.button:hover {
  opacity: 0.9;
}
/* ── form delete account ── */
.delete-container {
  max-width: 800px;
  margin: 140px auto 60px auto;
  padding: 45px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(33, 133, 208, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.delete-container:hover {
  box-shadow: var(--shadow-hover);
}
.delete-title {
  color: var(--primary-blue);
  font-size: 2.2rem;
  margin-bottom: 10px;
  font-weight: 800;
}
.delete-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 30px;
  line-height: 1.6;
}
.info-box {
  background-color: #f4f9fc;
  border-radius: var(--radius-md);
  padding: 25px;
  margin-bottom: 30px;
  border-left: 5px solid var(--accent-blue);
  box-shadow: 0 4px 12px rgba(33, 133, 208, 0.02);
}
.info-box h4 {
  margin-top: 0;
  color: var(--primary-blue) !important;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.step-list {
  margin: 20px 0;
}
.step-item {
  margin-bottom: 15px;
  font-size: 1.05rem;
  line-height: 1.6;
}
.btn-submit-delete {
  background: #db2828 !important;
  /* Rojo para advertir borrado */
  color: #fff !important;
  border-radius: var(--radius-btn) !important;
  padding: 15px 30px !important;
  font-weight: 700 !important;
  font-size: 1.1rem !important;
  box-shadow: 0 4px 15px rgba(219, 40, 40, 0.3) !important;
  border: none;
  cursor: pointer;
  display: inline-block;
  transition: transform 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.btn-submit-delete:hover {
  background: #b01f1f !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(219, 40, 40, 0.4) !important;
}
.ui.form .field > label {
  color: var(--text-dark) !important;
  font-weight: 700;
  font-size: 0.95rem;
}
.ui.form input,
.ui.form textarea {
  border-radius: var(--radius-btn) !important;
  border: 1px solid rgba(33, 133, 208, 0.15) !important;
  transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
}
.ui.form input:focus,
.ui.form textarea:focus {
  border-color: var(--accent-blue) !important;
  box-shadow: 0 0 0 3px rgba(0, 181, 173, 0.1) !important;
}
.ui.checkbox label {
  color: var(--text-dark) !important;
  font-size: 0.95rem;
  line-height: 1.4;
}
@media (max-width: 767px) {
  .modern-legal {
    padding-top: 4.5rem;
  }
  .modern-legal .legal-card {
    border-radius: 14px;
  }
  .modern-legal.legal-page .legal-card {
    padding: 1rem;
  }
  .modern-legal.contact-page .legal-card {
    padding: 1.2rem 1rem;
  }
  .delete-container {
    margin: 100px 15px 40px 15px;
    padding: 25px;
  }
  .delete-title {
    font-size: 1.8rem;
  }
}
/* ============================================================
   layout-login.ejs — Login / auth pages
   Merged from: pages/login.css
   ============================================================ */
.login-split {
  display: flex;
  min-height: 100vh;
}
.login-split .login-brand {
  flex: 0 0 52%;
  background: linear-gradient(145deg, #195f97 0%, #2185d0 55%, #56a9e0 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  padding: 2rem 2.5rem;
}
.login-split .login-brand-logo svg g:not(ellipse) path {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
/* .login-split .login-brand-logo svg g:not(ellipse) path {
  width: 100%;
  height: 100%;
  display: block;
} */
/* .login-split .login-brand-logo svg g:not(ellipse) path {
  filter: brightness(0) invert(1);
}

.login-split .login-brand-logo svg ellipse {
  fill: #ff0000 !important;
  stroke: #ff0000 !important;
} */
.login-split .login-brand-name {
  /* font-family: "Montserrat", "Poppins", sans-serif; */
  font-size: clamp(2.7rem, 3.5vw, 3.4rem);
  font-weight: 700;
  color: #ffffff !important;
  letter-spacing: 0.03em;
  margin: 0;
}
.login-split .login-brand-tagline {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.95rem;
  text-align: center;
  max-width: 340px;
  margin: 0;
  line-height: 1.55;
}
.login-split .login-form-panel {
  flex: 1;
  background: #f6f9ff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem;
}
.login-split .login-card {
  border-radius: 18px;
  padding: 2.2rem 2.4rem 2rem;
  width: 100%;
  max-width: 420px;
}
.login-split .login-card-title {
  /* font-family: "Montserrat", "Poppins", sans-serif; */
  font-size: 1.35rem;
  font-weight: 700;
  color: #1a3f6b;
  margin: 0 0 1.6rem;
  text-align: center;
}
.forgot-password-page .login-card {
  max-width: 520px;
}
.forgot-password-page .step-container p {
  color: #5c7a99;
}
.forgot-password-page .step-container .ui.divider {
  color: #7ea5c7;
}
.login-split .login-links {
  text-align: center;
  margin-top: 1.1rem;
  font-size: 0.9rem;
  color: #5c7a99;
}
.login-split .login-links a {
  color: #2185d0;
  text-decoration: none;
}
.login-split .login-links a:hover {
  text-decoration: underline;
}
.login-split .login-links .sep {
  margin: 0 0.5em;
  color: #b8cfe4;
}
@media (max-width: 767px) {
  .login-split {
    flex-direction: column;
  }
  .login-split .login-brand {
    flex: none;
    padding: 2.4rem 1.5rem;
    min-height: 220px;
  }
  .login-split .login-brand-logo {
    width: 90px;
    height: 90px;
    object-fit: contain;
  }
  .login-split .login-brand-logo svg {
    width: 100%;
    height: 100%;
  }
  .login-split .login-brand-name {
    font-size: 2rem;
  }
  .login-split .login-form-panel {
    padding: 2rem 1rem;
  }
  .login-split .login-card {
    padding: 1.6rem 1.3rem 1.4rem;
  }
  .login-split .login-brand-tagline {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.5rem;
    text-align: center;
    max-width: 340px;
    margin: 0;
    line-height: 1.55;
  }
}
/* ============================================================
   layout-main.ejs — Internal app (dashboard, config pages)
   Merged from: layouts/internal.css + pages/internal-dashboard.css
   ============================================================ */
/* ── App shell, sidebar, navbar ── */
body.internal-app-layout {
  padding-top: 30px;
  background: #f6f9ff;
}
.internal-app-layout .internal-app-shell.ui.grid {
  margin: 0;
}
.internal-app-layout .internal-sidebar {
  position: fixed;
  top: 84px;
  bottom: 0;
  left: 0;
  overflow-y: auto;
  background: #f4f9ff;
  border-right: 1px solid #d8e7f5;
  padding: 1rem 0;
}
.internal-app-layout .internal-sidebar .ui.menu > a.item {
  padding: 0.75rem 1.15rem;
  color: #2a5f91;
  border-radius: 0 !important;
  margin: 0;
  font-weight: 500;
}
.internal-app-layout .internal-sidebar .ui.menu > a.item > .icon {
  margin-right: 0.75rem;
  color: #3f7fb9;
}
.internal-app-layout .internal-sidebar .ui.menu > a.item.active {
  background: #2185d0;
  color: #fff;
}
.internal-app-layout .internal-sidebar .ui.menu > a.item.active > .icon {
  color: #fff;
}
.internal-app-layout .internal-sidebar .ui.menu > a.item:hover {
  background: #e7f2ff;
  color: #1b6eaf;
}
.internal-app-layout #internal-content {
  padding-top: 0.9rem;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
.internal-app-layout .app-main-content {
  max-width: none;
  margin: 0;
  padding: 0 0 2rem;
}
/* .internal-app-layout .app-main-content > .ui.grid,
.internal-app-layout .app-main-content > .modern-dashboard,
.internal-app-layout .app-main-content > [data-component] {
  margin-top: 0 !important;
} */
/* .internal-app-layout .app-main-content .ui.grid.modern-dashboard.dashboard-config-page {
  width: 100%;
  margin-left: 0 !important;
  margin-right: 0 !important;
} */
.internal-app-layout .app-main-content .dashboard-shell.ui.container,
.internal-app-layout .app-main-content .dashboard-shell.ui.fluid.container,
.internal-app-layout .app-main-content .dashboard-map-card.ui.segment.container {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
/* ── Dashboard top-fixed navbar ── */
.ui.menu.dashboard-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  padding: 0.75rem 1.1rem;
  background: rgba(248, 251, 252, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #d8e7f5 !important;
  box-shadow: 0 2px 12px rgba(17, 40, 80, 0.07) !important;
}
.ui.menu.dashboard-navbar .brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding-left: 0;
  text-decoration: none;
}
.ui.menu.dashboard-navbar .brand-logo {
  height: 2.75rem;
}
.ui.menu.dashboard-navbar .brand-name {
  font-size: 1.4rem;
}
.ui.menu.dashboard-navbar .menu-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.ui.menu.dashboard-navbar .menu-actions .ui.button {
  margin: 0;
}
.ui.menu.dashboard-navbar .nav-user-dropdown {
  color: #2c5d8e;
  font-weight: 600;
}
.ui.menu.dashboard-navbar .nav-user-dropdown > span {
  white-space: nowrap;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ui.menu.dashboard-navbar .nav-mobile-dropdown {
  display: none !important;
}
.ui.menu.dashboard-navbar .nav-user-dropdown.computer.only {
  display: flex !important;
}
.ui.menu.dashboard-navbar .right.menu > .item:hover,
.ui.menu.dashboard-navbar .right.menu > .item:focus {
  background: #eaf5ff;
  color: #1b6eaf;
}
.ui.menu.dashboard-navbar .ui.dropdown .menu {
  border: 1px solid #d8e7f5;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(17, 40, 36, 0.1);
}
@media (max-width: 991px) {
  .ui.menu.dashboard-navbar .nav-user-dropdown.computer.only {
    display: none !important;
  }
  .ui.menu.dashboard-navbar .nav-mobile-dropdown {
    display: flex !important;
  }
}
@media (max-width: 767px) {
  body.internal-app-layout {
    padding-top: 0px;
  }
  .internal-app-layout #internal-content {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .internal-app-layout .internal-app-shell.ui.grid {
    margin: 0;
    padding-top: 0px;
  }
  .ui.menu.dashboard-navbar {
    /* min-height: 74px; */
    display: none !important;
  }
  .ui.menu.dashboard-navbar .brand-logo {
    height: 2.3rem;
  }
  .ui.menu.dashboard-navbar .right.menu > .item {
    margin: 0;
    padding: 0.7em 0.75em;
  }
  .ui.menu.dashboard-navbar .menu-actions {
    display: none;
  }
  .ui.menu.dashboard-navbar .brand-name {
    font-size: 1.1rem;
  }
  .ui.menu.dashboard-navbar .nav-mobile-dropdown {
    border: 1px solid #d6e8f8;
    background: #eef7ff;
    border-radius: 999px;
  }
  .ui.menu.dashboard-navbar .nav-mobile-dropdown .menu {
    min-width: 220px;
    right: 0;
    left: auto;
  }
}
@media (max-width: 991px) {
  .internal-app-layout .internal-sidebar {
    display: none;
  }
}
/* ── Dashboard & config page components ── */
.modern-dashboard {
  --bg-main: #f3f8ff;
  --card-bg: #ffffff;
  --text-main: #1f2d2a;
  --text-muted: #5c6d69;
  --brand: #2185d0;
  --brand-strong: #1678c2;
  --line: #d8e7f5;
  min-height: calc(36vh);
  padding: 1.2rem 0 2.2rem;
  color: var(--text-main);
  background: radial-gradient(circle at 8% 8%, #eaf5ff 0, #eaf5ff 20%, transparent 40%), radial-gradient(circle at 92% 12%, #deeeff 0, #deeeff 18%, transparent 44%), linear-gradient(180deg, #f8fbff 0%, var(--bg-main) 45%, #f4f9ff 100%);
}
.modern-dashboard .dashboard-shell {
  max-width: 1200px;
}
.modern-dashboard .dashboard-caption-card.ui.segment {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(17, 40, 36, 0.08);
  padding: 0.95rem;
  margin-bottom: 0.95rem;
}
.modern-dashboard .dashboard-caption-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.2rem 0.2rem 0.45rem;
}
.modern-dashboard .dashboard-caption-title {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}
.modern-dashboard .dashboard-caption-title .icon {
  color: #2c6ba3;
  margin-top: 0.25rem;
}
.modern-dashboard .dashboard-caption-title .caption-name {
  color: #255b8f;
  font-family: "Montserrat", "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: 0.01em;
}
.modern-dashboard .dashboard-caption-header .sub.header {
  color: var(--text-muted);
}
.modern-dashboard .dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 0.55rem;
}
.modern-dashboard .dashboard-metric-card {
  border: 1px solid #d8e7f5;
  border-radius: 12px;
  background: #f6fbff;
  padding: 0.55rem 0.8rem;
  text-align: right;
}
.modern-dashboard .dashboard-metric-card .value {
  color: var(--brand-strong);
  font-weight: 700;
  font-size: 1.05rem;
}
.modern-dashboard .dashboard-metric-card .label {
  color: #3b6b97;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.modern-dashboard .dashboard-warning-message.ui.message {
  margin: 0.45rem 0 0.75rem;
}
.modern-dashboard .dashboard-table-wrap {
  border: 1px solid #dce9f7;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}
.modern-dashboard .dashboard-table-wrap .ui.table {
  border: 0;
}
.modern-dashboard .dashboard-table-wrap .ui.table thead th {
  background: #f5faff;
  color: #2e5f90;
}
.modern-dashboard .dashboard-table-wrap .ui.table tbody td {
  color: #27415f;
}
.modern-dashboard .dashboard-map-card.ui.segment {
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(17, 40, 36, 0.08);
  margin-top: 0.8rem;
}
@media (max-width: 767px) {
  .modern-dashboard .dashboard-caption-header {
    flex-direction: column;
  }
  .modern-dashboard .dashboard-metrics {
    width: 100%;
    grid-template-columns: 1fr 1fr;
  }
  .modern-dashboard .dashboard-metric-card {
    text-align: left;
  }
}
.modern-dashboard.dashboard-config-page {
  max-width: 100%;
  margin: 0;
  padding: 1.1rem 0 2rem;
}
.modern-dashboard.dashboard-config-page .ui.vertical.menu {
  width: 100%;
  border: 1px solid #d8e7f5;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(17, 40, 36, 0.08);
}
.modern-dashboard.dashboard-config-page .ui.vertical.menu .item {
  color: #2c5d8e;
  font-weight: 600;
}
.modern-dashboard.dashboard-config-page .ui.vertical.menu .item.active {
  background: #eef7ff;
  color: #1b6eaf;
}
.modern-dashboard.dashboard-config-page .ui.horizontal.menu {
  border: 1px solid #d8e7f5;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(17, 40, 36, 0.08);
}
.modern-dashboard.dashboard-config-page .ui.horizontal.menu .item {
  color: #2c5d8e;
  font-weight: 600;
}
.modern-dashboard.dashboard-config-page .ui.horizontal.menu .item.active {
  background: #eef7ff;
  color: #1b6eaf;
}
.modern-dashboard.dashboard-config-page .dashboard-shell > section {
  background: #fff;
  border: 1px solid #d8e7f5;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(17, 40, 36, 0.08);
  margin-bottom: 0.9rem;
  padding: 0.9rem;
}
.modern-dashboard.user-config-page .dashboard-shell > section {
  max-width: 860px;
}
.modern-dashboard.cart-page .dashboard-shell {
  padding-top: 1rem;
}
/* -------------------------------------------------------------------------- */
/* Form templates: caption/device/flowmeter/well (new & edit)                 */
/* -------------------------------------------------------------------------- */
.modern-dashboard #caption-new > .ui.segment,
.modern-dashboard #caption-edit > .ui.segment,
.modern-dashboard #flowmeter-new > .ui.segment,
.modern-dashboard #flowmeter-edit > .ui.segment,
.modern-dashboard #device-new > .ui.segment,
.modern-dashboard #device-edit > .ui.segment,
.modern-dashboard #well-new > .ui.segment,
.modern-dashboard #well-edit > .ui.segment {
  border: 1px solid #d8e7f5;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(17, 40, 36, 0.08);
  background: #ffffff;
  padding: 1.15rem 1.2rem;
}
.modern-dashboard #caption-new .ui.form,
.modern-dashboard #caption-edit .ui.form,
.modern-dashboard #flowmeter-new .ui.form,
.modern-dashboard #flowmeter-edit .ui.form,
.modern-dashboard #device-new .ui.form,
.modern-dashboard #device-edit .ui.form,
.modern-dashboard #well-new .ui.form,
.modern-dashboard #well-edit .ui.form {
  color: #27415f;
}
.modern-dashboard #caption-new .ui.form .dividing.header,
.modern-dashboard #caption-edit .ui.form .dividing.header,
.modern-dashboard #flowmeter-new .ui.form .dividing.header,
.modern-dashboard #flowmeter-edit .ui.form .dividing.header,
.modern-dashboard #device-new .ui.form .dividing.header,
.modern-dashboard #device-edit .ui.form .dividing.header,
.modern-dashboard #well-new .ui.form .dividing.header,
.modern-dashboard #well-edit .ui.form .dividing.header {
  color: #255b8f;
  margin-top: 1.1rem;
  margin-bottom: 0.95rem;
  padding-bottom: 0.4rem;
  border-bottom-color: #dce9f7;
}
.modern-dashboard #caption-new .ui.form .field > label,
.modern-dashboard #caption-edit .ui.form .field > label,
.modern-dashboard #flowmeter-new .ui.form .field > label,
.modern-dashboard #flowmeter-edit .ui.form .field > label,
.modern-dashboard #device-new .ui.form .field > label,
.modern-dashboard #device-edit .ui.form .field > label,
.modern-dashboard #well-new .ui.form .field > label,
.modern-dashboard #well-edit .ui.form .field > label {
  color: #335c84;
  font-weight: 600;
  margin-bottom: 0.45rem;
}
.modern-dashboard #caption-new .ui.form input,
.modern-dashboard #caption-new .ui.form select,
.modern-dashboard #caption-edit .ui.form input,
.modern-dashboard #caption-edit .ui.form select,
.modern-dashboard #flowmeter-new .ui.form input,
.modern-dashboard #flowmeter-new .ui.form select,
.modern-dashboard #flowmeter-edit .ui.form input,
.modern-dashboard #flowmeter-edit .ui.form select,
.modern-dashboard #device-new .ui.form input,
.modern-dashboard #device-new .ui.form select,
.modern-dashboard #device-edit .ui.form input,
.modern-dashboard #device-edit .ui.form select,
.modern-dashboard #well-new .ui.form input,
.modern-dashboard #well-new .ui.form select,
.modern-dashboard #well-edit .ui.form input,
.modern-dashboard #well-edit .ui.form select {
  border-radius: 10px;
  border-color: #d6e6f4;
  background: #fbfdff;
}
.modern-dashboard #caption-new .ui.form .fields,
.modern-dashboard #caption-edit .ui.form .fields,
.modern-dashboard #flowmeter-new .ui.form .fields,
.modern-dashboard #flowmeter-edit .ui.form .fields,
.modern-dashboard #device-new .ui.form .fields,
.modern-dashboard #device-edit .ui.form .fields,
.modern-dashboard #well-new .ui.form .fields,
.modern-dashboard #well-edit .ui.form .fields {
  margin-bottom: 0.35rem;
}
.modern-dashboard #caption-new .ui.form .ui.blue.submit.button,
.modern-dashboard #caption-edit .ui.form .ui.blue.submit.button,
.modern-dashboard #flowmeter-new .ui.form .ui.blue.submit.button,
.modern-dashboard #flowmeter-edit .ui.form .ui.blue.submit.button,
.modern-dashboard #device-new .ui.form .ui.blue.submit.button,
.modern-dashboard #device-edit .ui.form .ui.blue.submit.button,
.modern-dashboard #well-new .ui.form .ui.blue.submit.button,
.modern-dashboard #well-edit .ui.form .ui.blue.submit.button {
  border-radius: 10px;
  min-width: 120px;
}
.modern-dashboard #caption-new .ui.form .ui.button,
.modern-dashboard #caption-edit .ui.form .ui.button,
.modern-dashboard #flowmeter-new .ui.form .ui.button,
.modern-dashboard #flowmeter-edit .ui.form .ui.button,
.modern-dashboard #device-new .ui.form .ui.button,
.modern-dashboard #device-edit .ui.form .ui.button,
.modern-dashboard #well-new .ui.form .ui.button,
.modern-dashboard #well-edit .ui.form .ui.button {
  border-radius: 10px;
}
.modern-dashboard #caption-edit .ui.table,
.modern-dashboard #flowmeter-edit .ui.table {
  border: 1px solid #d8e7f5;
  border-radius: 12px;
  overflow: hidden;
}
.modern-dashboard #caption-edit .ui.table thead th,
.modern-dashboard #flowmeter-edit .ui.table thead th {
  background: #f5faff;
  color: #2e5f90;
}
.modern-dashboard #caption-new .ui.error.message,
.modern-dashboard #caption-edit .ui.error.message,
.modern-dashboard #flowmeter-new .ui.error.message,
.modern-dashboard #flowmeter-edit .ui.error.message,
.modern-dashboard #device-new .ui.error.message,
.modern-dashboard #device-edit .ui.error.message,
.modern-dashboard #well-new .ui.error.message,
.modern-dashboard #well-edit .ui.error.message {
  border-radius: 12px;
  margin-top: 0.95rem;
}
@media (max-width: 767px) {
  .modern-dashboard #caption-new > .ui.segment,
  .modern-dashboard #caption-edit > .ui.segment,
  .modern-dashboard #flowmeter-new > .ui.segment,
  .modern-dashboard #flowmeter-edit > .ui.segment,
  .modern-dashboard #device-new > .ui.segment,
  .modern-dashboard #device-edit > .ui.segment,
  .modern-dashboard #well-new > .ui.segment,
  .modern-dashboard #well-edit > .ui.segment {
    padding: 0.95rem 0.9rem;
  }
}
/* ============================================================
   layout-just-body.ejs — Minimal body-only layout
   ============================================================ */
