.admin-body {
  background: #e8eef7;
  color: #475569;
}

.login-body {
  min-height: 100vh;
  background: #eef2f7;
  color: #334155;
}

.password-body {
  min-height: 100vh;
  background: #eef2f7;
  color: #334155;
}

.home-body {
  min-height: 100vh;
  background: #e7eef7;
  color: #334155;
}

.home-navbar {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 38px;
  background: #101827;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 16px 38px rgba(15, 23, 42, .22);
}

.home-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  padding-right: 26px;
  border-right: 1px solid rgba(255, 255, 255, .16);
}

.home-brand:hover {
  color: #fff;
  text-decoration: none;
}

.home-brand-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: #0f766e;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
}

.home-brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  padding: 5px;
}

.home-brand strong,
.home-brand small {
  display: block;
}

.home-brand strong {
  color: #fff;
  font-family: "Nunito Sans", sans-serif;
  font-size: 29px;
  line-height: 1;
  text-transform: none;
  letter-spacing: .01em;
}

.home-brand small {
  color: #b7cbd1;
  font-size: 13px;
  margin-top: 4px;
}

.home-nav-actions {
  align-self: stretch;
  display: flex;
  align-items: stretch;
  gap: 0;
  padding-left: 20px;
  border-left: 1px solid rgba(255, 255, 255, .16);
}

.home-nav-actions .btn {
  min-height: 100%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 0;
  padding: 0 18px;
  font-size: 15px;
  box-shadow: none;
  background: transparent;
  color: #edf8fa;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.home-nav-actions .btn:hover {
  background: #0f766e;
  border-color: #0f766e;
  color: #fff;
  text-decoration: none;
}

.home-menu-toggle {
  display: none;
}

.home-hero {
  padding: 82px 0 92px;
  background:
    linear-gradient(135deg, rgba(16, 24, 39, .88), rgba(40, 120, 235, .82)),
    url('../img/header.jpg') center/cover;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 34px;
}

.home-hero-copy {
  max-width: 760px;
}

.home-eyebrow {
  display: block;
  color: #bfdbfe;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.home-hero h1 {
  color: #fff;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.06;
  margin-bottom: 18px;
}

.home-hero p {
  max-width: 670px;
  color: #e2e8f0;
  font-size: 20px;
  line-height: 1.5;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.home-election-card {
  background: #fff;
  border: 1px solid #dfe7f1;
  border-radius: 10px;
  padding: 28px;
  box-shadow: 0 26px 64px rgba(15, 23, 42, .22);
}

.home-election-card span {
  display: block;
  color: #2878eb;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.home-election-card h2 {
  color: #0f172a;
}

.home-election-card p {
  color: #0f172a;
  font-weight: 700;
  margin-bottom: 10px;
}

.home-election-card small {
  color: #64748b;
  line-height: 1.6;
}

.home-steps {
  padding: 42px 0 72px;
}

.health-body {
  background: #e4edf3;
}

.health-navbar {
  flex-wrap: nowrap;
  gap: 24px;
  background: #101827;
}

.health-navbar .home-brand {
  flex: 0 0 auto;
  order: 1;
}

.health-navbar .home-nav-actions {
  flex: 0 0 auto;
  order: 3;
}

.health-header-menu {
  width: auto;
  align-self: stretch;
  flex: 1 1 auto;
  order: 2;
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  overflow-x: visible;
  overflow-y: visible;
  padding: 0 8px;
  scrollbar-width: thin;
}

.health-menu-group,
.health-header-menu > a {
  position: relative;
  display: flex;
  align-items: stretch;
}

.health-menu-group + .health-menu-group::before,
.health-header-menu > a + .health-menu-group::before,
.health-header-menu > .health-menu-group + a::before,
.health-header-menu > a + a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 1px;
  background: rgba(255, 255, 255, .14);
}

.health-header-menu > a,
.health-menu-parent {
  min-height: 100%;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 0;
  color: #edf8fa;
  background: transparent;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.health-menu-parent {
  padding: 0;
}

.health-menu-parent-link {
  min-height: 100%;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
  padding: 0 8px 0 18px;
  color: inherit;
  text-decoration: none;
}

.health-menu-parent-toggle {
  width: 42px;
  min-height: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.health-menu-parent-toggle:hover {
  color: #b9f2e8;
}

.health-menu-parent-link:hover,
.health-menu-parent-link:focus,
.health-menu-parent-link:visited {
  color: inherit;
  text-decoration: none !important;
}

.health-header-menu > a > i:first-child,
.health-menu-parent > i:first-child,
.health-menu-parent-link > i:first-child {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: rgba(255, 255, 255, .1);
  color: #c9f3ef;
  font-size: 13px;
}

.health-header-menu > a:hover,
.health-menu-group:hover .health-menu-parent,
.health-menu-group:focus-within .health-menu-parent {
  color: #fff;
  background: #0f766e;
  border-color: #0f766e;
  border-radius: 0;
  text-decoration: none;
  transform: none;
}

.health-header-menu > a.active,
.health-menu-group.active .health-menu-parent {
  color: #08313d;
  background: #fff;
  border-color: #fff;
  border-radius: 0;
  text-decoration: none;
  transform: none;
}

.health-header-menu > a:hover > i:first-child,
.health-menu-group:hover .health-menu-parent > i:first-child,
.health-menu-group:focus-within .health-menu-parent > i:first-child,
.health-menu-group:hover .health-menu-parent-link > i:first-child,
.health-menu-group:focus-within .health-menu-parent-link > i:first-child {
  background: rgba(255, 255, 255, .18);
  color: #fff;
}

.health-header-menu > a.active > i:first-child,
.health-menu-group.active .health-menu-parent > i:first-child,
.health-menu-group.active .health-menu-parent-link > i:first-child {
  background: #e8f1ff;
  color: #2563eb;
}

.health-menu-group.active .health-menu-parent-link {
  color: #08313d;
}

.health-menu-group.active .health-menu-parent-toggle {
  color: #2563eb;
}

.health-menu-group {
  flex: 0 0 auto;
}

.health-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 80;
  min-width: 250px;
  display: none;
  padding: 10px;
  border: 1px solid rgba(215, 228, 234, .9);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(15, 47, 58, .24);
}

.health-menu-group-microrredes .health-submenu {
  min-width: 330px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.health-menu-group-institucional .health-submenu {
  min-width: 360px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.health-submenu-head {
  grid-column: 1 / -1;
  padding: 10px 10px 12px;
  margin-bottom: 3px;
  border-bottom: 1px solid #e2e8f0;
}

.health-submenu-head strong,
.health-submenu-head small {
  display: block;
}

.health-submenu-head strong {
  color: #0f172a;
  font-size: 15px;
}

.health-submenu-head small {
  color: #64748b;
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.35;
}

.health-menu-group:hover .health-submenu,
.health-menu-group:focus-within .health-submenu,
.health-menu-group.menu-open .health-submenu {
  display: grid;
  gap: 4px;
}

.health-submenu a {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  border-radius: 9px;
  color: #334155;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: background .16s ease, color .16s ease;
}

.health-submenu a:hover,
.health-submenu a.active {
  color: #0f766e;
  background: #e6f6f2;
  text-decoration: none;
}

.health-submenu i {
  width: 18px;
  text-align: center;
  color: #0f766e;
}

@media (min-width: 1600px) {
  .home-navbar {
    padding-left: 54px;
    padding-right: 54px;
  }

  .health-header-menu > a,
  .health-menu-parent,
  .home-nav-actions .btn {
    padding-left: 24px;
    padding-right: 24px;
    font-size: 16px;
  }
}

@media (min-width: 901px) and (max-width: 1280px) {
  .home-navbar {
    padding-left: 18px;
    padding-right: 18px;
    gap: 12px;
    flex-wrap: wrap;
  }

  .home-brand {
    flex: 1 1 auto;
    padding-right: 14px;
  }

  .home-brand-mark {
    width: 46px;
    height: 46px;
  }

  .home-brand strong {
    font-size: 23px;
  }

  .health-navbar {
    gap: 10px;
  }

  .home-menu-toggle {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-weight: 800;
  }

  .home-menu-toggle span {
    display: none;
  }

  .health-header-menu {
    width: 100%;
    order: 3;
    display: none;
    justify-content: flex-start;
    flex-wrap: wrap;
    overflow-x: hidden;
    overflow-y: visible;
    padding: 6px 0 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
  }

  .home-menu-open .health-header-menu {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
  }

  .health-header-menu > a,
  .health-menu-parent {
    width: 100%;
    min-height: 52px;
    justify-content: flex-start;
    padding-left: 12px;
    padding-right: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    font-size: 14px;
  }

  .health-header-menu > a > i:first-child,
  .health-menu-parent > i:first-child,
  .health-menu-parent-link > i:first-child {
    width: 24px;
    height: 24px;
  }

  .home-nav-actions {
    width: 100%;
    display: none;
    order: 4;
    padding-left: 10px;
    border-left: 0;
  }

  .home-menu-open .home-nav-actions {
    display: flex;
  }

  .home-nav-actions .btn {
    width: 100%;
    min-height: 52px;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, .12);
  }

  .health-menu-group {
    display: block;
    width: 100%;
  }

  .health-menu-group::before,
  .health-header-menu > a::before {
    display: none;
  }

  .health-submenu {
    position: static;
    width: 100%;
    min-width: 0;
    margin-top: 0;
    border-radius: 0;
    box-shadow: none;
  }
}

.health-hero {
  min-height: 560px;
  padding: 0;
  background: #0f4f56;
}

.health-hero > .container {
  max-width: 1532px;
}

.health-hero .home-hero-copy {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: none;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 52px 72px 56px;
  border-top: 1px solid rgba(255, 255, 255, .22);
  border-right: 1px solid rgba(255, 255, 255, .22);
  border-bottom: 1px solid rgba(255, 255, 255, .22);
  background: rgba(8, 31, 40, .62);
  background-image:
    linear-gradient(135deg, rgba(15, 47, 58, .88), rgba(16, 116, 101, .7)),
    url('../img/header.jpg');
  background-position: center;
  background-size: cover;
  box-shadow: 0 24px 54px rgba(3, 18, 25, .18);
  backdrop-filter: blur(2px);
}

.health-hero .home-hero-copy::before {
  content: "";
  position: absolute;
  inset: -30% -15%;
  pointer-events: none;
  opacity: .16;
  background:
    linear-gradient(128deg, transparent 0 47%, rgba(255, 255, 255, .8) 48%, transparent 49%) 0 0 / 420px 260px,
    linear-gradient(128deg, transparent 0 48%, rgba(167, 243, 208, .8) 49%, transparent 50%) 180px 80px / 560px 340px;
  transform: translate3d(-8%, -4%, 0);
  animation: health-light-drift 18s linear infinite;
}

.health-hero .home-hero-copy > * {
  position: relative;
  z-index: 1;
}

.health-hero .home-hero-copy h1 {
  text-shadow: 0 3px 4px rgba(0, 0, 0, .82), 0 7px 22px rgba(0, 0, 0, .68);
}

.health-hero .home-hero-copy p {
  text-shadow: 0 2px 3px rgba(0, 0, 0, .9), 0 4px 10px rgba(0, 0, 0, .72);
}

.health-hero .home-hero-copy .btn {
  text-shadow: 0 2px 3px rgba(0, 0, 0, .62);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .18);
}

@keyframes health-light-drift {
  0% { transform: translate3d(-8%, -4%, 0); }
  50% { transform: translate3d(5%, 4%, 0); }
  100% { transform: translate3d(-8%, -4%, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .health-hero .home-hero-copy::before {
    animation: none;
  }
}

.health-hero .home-hero-copy h1 {
  max-width: 900px;
  margin-bottom: 16px;
}

.health-hero .home-hero-copy p {
  max-width: 980px;
  margin-bottom: 0;
}

.health-info-card p {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

@media (max-width: 700px) {
  .health-hero {
    min-height: 440px;
  }

  .health-hero .home-hero-copy {
    min-height: 440px;
    padding: 34px 24px 38px;
  }
}

.health-main {
  margin-top: 0;
  padding-bottom: 14px;
}

.health-wide-container {
  max-width: 1532px;
}

.health-layout {
  display: block;
}

.welcome-slider {
  position: relative;
  width: 100%;
  margin: 20px 0;
  padding: 0;
  overflow: hidden;
}

.welcome-section {
  margin: 20px 0;
  padding: 24px 22px 20px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  box-shadow: none;
}

.welcome-heading {
  margin: 0 0 20px;
  padding-left: 16px;
  border-left: 4px solid #2563eb;
}

.welcome-heading h2 {
  margin: 0;
  color: #0f172a;
  font-size: 28px;
}

.welcome-heading p {
  margin: 5px 0 0;
  color: #64748b;
  font-size: 15px;
}

.welcome-slider-viewport {
  overflow: hidden;
}

.welcome-slider-track {
  display: flex;
  gap: 22px;
  will-change: transform;
}

.welcome-card {
  flex: 0 0 calc((100% - 66px) / 4);
  min-height: 166px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 20px 16px;
  overflow: hidden;
  border-radius: 16px;
  background: var(--welcome-color);
  color: #fff;
  text-align: center;
  text-decoration: none;
  box-shadow: none;
  transition: transform .25s ease, box-shadow .25s ease;
}

.welcome-card > i {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, .16);
  color: #fff;
  font-size: 34px;
  transition: transform .25s ease, background .25s ease;
}

.welcome-card:hover > i {
  transform: scale(1.08);
  background: rgba(255, 255, 255, .24);
}

.welcome-card:hover {
  color: #fff;
  text-decoration: none;
  transform: scale(.96);
  box-shadow: none;
}

.welcome-card span {
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
}

.welcome-slider-control {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #0f172a;
  color: #fff;
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: 0 8px 18px rgba(15, 23, 42, .22);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, background .2s ease;
}

.welcome-slider:hover .welcome-slider-control,
.welcome-slider:focus-within .welcome-slider-control {
  opacity: .72;
  pointer-events: auto;
}

.welcome-slider .welcome-slider-control:hover { opacity: 1; }
.welcome-slider-prev { left: 10px; }
.welcome-slider-next { right: 10px; }

.health-news-section {
  margin-top: 18px;
  padding: 34px 24px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, .1);
}

.health-news-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  padding: 4px 0 16px 18px;
  border-left: 4px solid #2563eb;
  border-bottom: 1px solid #cbd5e1;
}

.health-news-heading h2 {
  margin: 0;
  color: #0f172a;
  font-size: 30px;
}

.health-news-heading p {
  margin: 5px 0 0;
  color: #64748b;
  font-size: 15px;
}

.health-news-arrows {
  display: flex;
  gap: 10px;
}

.health-news-arrows a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #2563eb;
  color: #fff;
  box-shadow: 0 8px 18px rgba(37, 99, 235, .22);
  text-decoration: none;
}

.health-news-arrows button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #2563eb;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(37, 99, 235, .22);
}

.health-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.health-news-slider {
  overflow: hidden;
}

.health-news-slide {
  display: none;
}

.health-news-slide.active {
  display: grid;
  animation: health-news-slide-in .35s ease both;
}

@keyframes health-news-slide-in {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: translateX(0); }
}

.health-news-card {
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(15, 23, 42, .12);
  transition: transform .2s ease, box-shadow .2s ease;
}

.health-news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 46px rgba(15, 23, 42, .18);
}

.health-news-image {
  width: 100%;
  height: 190px !important;
  min-height: 190px;
  max-height: 190px;
  aspect-ratio: auto !important;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #dbeafe;
  color: #2563eb;
  font-size: 34px;
}

.health-news-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
  transform: none;
}

.health-news-body {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  padding: 22px 24px 18px;
}

.health-news-body h3 {
  min-height: 48px;
  margin: 0 0 12px;
  overflow: hidden;
  color: #101827;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.health-news-body p {
  min-height: 72px;
  margin: 0 0 18px;
  overflow: hidden;
  color: #64748b;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.health-news-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
  color: #64748b;
  font-size: 13px;
}

.health-news-meta i {
  color: #2563eb;
}

.health-news-meta a {
  padding: 8px 12px;
  border-radius: 20px;
  background: #2563eb;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.health-news-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.health-news-pagination a {
  min-width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  color: #334155;
  text-decoration: none;
}

.health-news-pagination button {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
}

.health-news-pagination button.active,
.health-news-pagination button:hover {
  background: #2563eb;
}

.health-news-pagination a.active,
.health-news-pagination a:hover {
  border-color: #2563eb;
  background: #2563eb;
  color: #fff;
}

@media (max-width: 900px) {
  .health-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .health-social-bar { display: none; }
  .health-news-grid { grid-template-columns: 1fr; }
  .health-news-heading { align-items: flex-start; flex-direction: column; }
}

.health-content-panel {
  background: #fff;
  border: 1px solid #d7e4ea;
  border-radius: 8px;
  box-shadow: 0 20px 48px rgba(15, 47, 58, .13);
}

.admin-page-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 7px;
  color: #334155;
  font-weight: 700;
  text-decoration: none;
}

.admin-page-list a:hover,
.admin-page-list a.active {
  background: #e6f6f2;
  color: #0f766e;
}

.admin-page-list i {
  width: 20px;
  text-align: center;
  color: #0f766e;
}

.health-content-panel {
  min-height: 420px;
  padding: 30px;
}

.health-content-panel h2 {
  color: #0f172a;
  font-size: 34px;
  margin-bottom: 12px;
}

.health-summary {
  color: #475569;
  font-size: 18px;
  line-height: 1.55;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid #e2e8f0;
}

.health-content {
  color: #334155;
  font-size: 16px;
  line-height: 1.75;
}

.health-services {
  padding: 20px 0;
}

.health-news-section + .health-services {
  padding-top: 20px;
}

.health-service-card {
  color: inherit;
  text-decoration: none;
}

.health-service-card:hover {
  color: inherit;
  text-decoration: none;
  border-color: #99d8cc;
}

.health-service-card strong {
  background: #0f766e;
}

.admin-page-list {
  display: grid;
  gap: 6px;
}

.admin-page-list a small {
  margin-left: auto;
  padding: 3px 7px;
  border-radius: 6px;
  background: #e2e8f0;
  color: #475569;
  font-size: 11px;
  text-transform: uppercase;
}

.news-admin-list {
  display: grid;
  gap: 10px;
}

.news-admin-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  background: #f8fafc;
}

.news-admin-row > img,
.news-admin-placeholder {
  width: 76px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: #dbeafe;
  color: #2563eb;
  object-fit: cover;
}

.news-admin-row strong,
.news-admin-row small {
  display: block;
}

.news-admin-row strong {
  color: #172554;
}

.news-admin-row small {
  margin-top: 3px;
  color: #64748b;
}

.news-admin-actions {
  display: flex;
  gap: 6px;
}

.page-content-editor {
  font-family: "Nunito Sans", sans-serif;
  line-height: 1.55;
}

.home-step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.home-step-card {
  background: #fff;
  border: 1px solid #dfe7f1;
  border-radius: 10px;
  padding: 26px;
  box-shadow: 0 24px 54px rgba(15, 23, 42, .16), 0 4px 10px rgba(15, 23, 42, .08);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.home-step-card:hover {
  transform: translateY(-4px);
  border-color: #b7c8da;
  box-shadow: 0 28px 60px rgba(15, 23, 42, .2), 0 6px 14px rgba(15, 23, 42, .1);
}

.home-step-card strong {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 8px;
  background: #2878eb;
  color: #fff;
  font-size: 20px;
}

.home-step-card h3 {
  color: #0f172a;
}

.home-step-card p {
  color: #64748b;
  margin-bottom: 0;
}

.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background:
    linear-gradient(rgba(10, 18, 32, .74), rgba(10, 18, 32, .74)),
    url('../img/header.jpg') center/cover;
}

.login-card {
  width: min(760px, 100%);
  min-height: 470px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(15, 23, 42, .28);
}

.login-intro {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  background:
    linear-gradient(145deg, rgba(16, 24, 39, .92), rgba(22, 75, 145, .84)),
    url('../img/header.jpg') center/cover;
  color: #fff;
}

.login-home {
  width: fit-content;
  color: #dbeafe;
  font-weight: 600;
}

.login-home:hover {
  color: #fff;
  text-decoration: none;
}

.login-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(100%, 520px);
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 10px;
  background: rgba(15, 23, 42, .28);
  backdrop-filter: blur(2px);
}

.login-brand-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #fff;
  color: #2878eb;
  font-size: 24px;
  overflow: hidden;
  flex: 0 0 auto;
}

.login-brand-icon img,
.admin-brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  padding: 5px;
}

.login-brand-text {
  min-width: 0;
}

.login-brand strong {
  display: block;
  font-family: "Nunito Sans", sans-serif;
  font-size: 22px;
  line-height: 1.05;
  margin-bottom: 5px;
  letter-spacing: 0;
}

.login-brand-text span,
.login-status span {
  display: block;
  color: #cbd5e1;
  max-width: 390px;
  line-height: 1.35;
}

.login-intro-copy h1 {
  max-width: 470px;
  color: #fff;
  font-size: 28px;
  line-height: 1.12;
  margin-bottom: 12px;
}

.login-intro-copy p {
  max-width: 480px;
  color: #e2e8f0;
  font-size: 14px;
  margin: 0;
}

.login-status {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.login-status div {
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, .08);
}

.login-status strong,
.login-status span {
  display: block;
}

.login-form-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
}

.login-form-head {
  margin-bottom: 16px;
}

.login-kicker {
  display: block;
  color: #2878eb;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .08em;
  margin-bottom: 6px;
}

.login-form-head h2 {
  color: #0f172a;
  font-size: 26px;
  margin-bottom: 6px;
}

.login-form-head p {
  color: #64748b;
  margin: 0;
}

.login-form label {
  color: #334155;
  font-weight: 700;
}

.login-input {
  display: flex;
  align-items: center;
  min-height: 42px;
  border: 1px solid #aebed2;
  border-radius: 8px;
  background: #eef3f9;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.login-input:focus-within {
  border-color: #2878eb;
  box-shadow: 0 0 0 4px rgba(40, 120, 235, .12);
}

.login-input i {
  flex: 0 0 26px;
  width: 26px;
  color: #64748b;
  text-align: center;
  font-size: 14px;
}

.login-input input {
  width: 100%;
  border: 0;
  outline: 0;
  color: #0f172a;
  background: transparent;
  padding: 0 14px;
  font-size: 15px;
}

.login-submit {
  min-height: 43px;
  border-radius: 8px;
  font-weight: 700;
}

.login-help {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #e2e8f0;
  color: #64748b;
}

.login-help strong {
  color: #0f172a;
}

.login-form-wrap .footer-login {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
  background: transparent;
  color: #64748b;
  text-align: center;
}

.login-form-wrap .footer-login .creditos {
  margin: 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.6;
}

.login-form-wrap .footer-login .btn-footer {
  display: inline-block;
  color: #b7791f;
  font-weight: 800;
  text-decoration: none;
  transition: color .18s ease, transform .18s ease;
}

.login-form-wrap .footer-login .btn-footer:hover {
  color: #8a5a08;
  transform: scale(1.12);
  text-decoration: none;
}

.password-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 18px;
  background:
    linear-gradient(rgba(10, 18, 32, .78), rgba(10, 18, 32, .78)),
    url('../img/header.jpg') center/cover;
}

.password-card {
  width: min(980px, 100%);
  min-height: 560px;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 28px 86px rgba(15, 23, 42, .32);
}

.password-intro {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 34px;
  padding: 38px;
  background: linear-gradient(160deg, #101827 0%, #172554 100%);
  color: #fff;
}

.password-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-family: "Nunito Sans", sans-serif;
  font-size: 24px;
  font-weight: 800;
}

.password-brand:hover {
  color: #fff;
  text-decoration: none;
}

.password-brand span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #fff;
  color: #2878eb;
}

.password-kicker {
  display: block;
  color: #7dd3fc;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.password-intro h1 {
  color: #fff;
  font-size: 40px;
  line-height: 1.12;
  margin-bottom: 14px;
}

.password-intro p {
  color: #dbeafe;
  font-size: 16px;
  margin: 0;
}

.password-rules {
  display: grid;
  gap: 10px;
}

.password-rules div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  color: #e2e8f0;
  font-weight: 700;
}

.password-rules i {
  color: #86efac;
}

.password-form-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px;
}

.password-form-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.password-form-head > span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #e8f1ff;
  color: #2878eb;
  font-size: 22px;
}

.password-form-head h2 {
  color: #0f172a;
  font-size: 32px;
  margin-bottom: 2px;
}

.password-form-head p {
  color: #64748b;
  margin: 0;
}

.password-form label {
  color: #334155;
  font-weight: 800;
}

.password-strength {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}

.password-strength strong {
  font-weight: 900;
}

.admin-shell {
  min-height: 100vh;
  height: 100vh;
  display: grid;
  grid-template-columns: 280px 1fr;
  transition: grid-template-columns .2s ease;
  overflow: hidden;
}

.admin-shell.sidebar-collapsed {
  grid-template-columns: 0 1fr;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  background: var(--admin-sidebar-bg, #172554);
  color: #fff;
  padding: 24px 18px;
  box-shadow: 12px 0 30px rgba(15, 23, 42, .08);
  overflow: hidden;
  transition: padding .2s ease, opacity .2s ease, box-shadow .2s ease;
}

.admin-shell.sidebar-collapsed .admin-sidebar {
  padding-left: 0;
  padding-right: 0;
  opacity: 0;
  pointer-events: none;
  box-shadow: none;
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-family: "Nunito Sans", sans-serif;
  font-weight: 700;
  margin-bottom: 30px;
  padding: 0 8px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.admin-brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #2878eb;
  box-shadow: 0 10px 26px rgba(40, 120, 235, .35);
  overflow: hidden;
}

.admin-brand strong,
.admin-brand small {
  display: block;
}

.admin-brand strong {
  color: #fff;
  font-size: 22px;
  line-height: 1;
}

.admin-brand small {
  color: #94a3b8;
  font-family: "Nunito Sans", sans-serif;
  font-size: 12px;
  margin-top: 4px;
}

.admin-brand:hover,
.admin-nav a:hover {
  color: #fff;
  text-decoration: none;
}

.admin-nav {
  display: grid;
  gap: 8px;
}

.admin-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #cbd5e1;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 600;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.admin-nav a:hover,
.admin-nav a.active {
  background: rgba(40, 120, 235, .18);
  color: #fff;
  transform: translateX(2px);
}

.admin-nav a i {
  width: 20px;
  text-align: center;
  color: #7dd3fc;
}

.admin-sidebar-footer {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.admin-frontend-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  color: #fff;
  background: #2878eb;
  border-radius: 8px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(40, 120, 235, .28);
}

.admin-frontend-preview:hover {
  color: #fff;
  text-decoration: none;
  background: #1f67cf;
}

.admin-main {
  min-width: 0;
  height: 100vh;
  display: grid;
  grid-template-rows: 76px 1fr auto;
  overflow: hidden;
}

.admin-topbar {
  min-height: 76px;
  background: #101827;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  color: #fff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .16);
  position: relative;
  z-index: 20;
}

.admin-topbar-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sidebar-toggle {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}

.sidebar-toggle:hover {
  background: rgba(255, 255, 255, .16);
  transform: scale(1.04);
}

.admin-topbar strong {
  color: #fff;
}

.admin-topbar span {
  display: block;
  color: #cbd5e1;
  font-size: 13px;
  text-transform: capitalize;
}

.admin-user {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: right;
}

.admin-avatar {
  width: 40px;
  height: 40px;
  display: grid !important;
  place-items: center;
  border-radius: 50%;
  background: #e8f1ff;
  color: #2878eb !important;
  font-weight: 800;
}

.admin-content {
  min-height: 0;
  overflow-y: auto;
  padding: 30px;
  background: #e8eef7;
}

.page-title {
  color: #0f172a;
  font-size: 30px;
  margin-bottom: 0;
}

.page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.page-eyebrow {
  display: block;
  color: #2878eb;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.panel {
  background: #fff;
  border: 1px solid #dfe7f1;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 22px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, .12);
}

.panel h2,
.panel .h4 {
  color: #0f172a;
}

.metric {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dfe7f1;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, .12);
}

.metric strong {
  display: block;
  color: #111827;
  font-size: 30px;
}

.metric span {
  color: #64748b;
  font-weight: 700;
}

.metric i {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
}

.metric-blue i {
  background: #2878eb;
}

.metric-red i {
  background: #f14d5d;
}

.metric-green i {
  background: #16a34a;
}

.metric-amber i {
  background: #f59e0b;
}

.table {
  color: #475569;
}

.table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.table-summary {
  color: #64748b;
  font-size: 14px;
}

.table-size-form {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.table-size-form label {
  color: #475569;
  font-size: 13px;
  font-weight: 800;
  margin: 0;
  text-transform: uppercase;
}

.table-size-form .form-control {
  min-width: 150px;
}

.table thead th {
  border-bottom: 0;
  background: #f8fafc;
  color: #0f172a;
  font-size: 13px;
  text-transform: uppercase;
}

.table-bordered,
.table-bordered td,
.table-bordered th {
  border-color: #e2e8f0;
}

.app-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 18px;
}

.app-page-link {
  min-width: 38px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  background: #eef3f9;
  color: #0f172a;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.app-page-link:hover {
  border-color: #2878eb;
  background: #e0edff;
  color: #1d4ed8;
  text-decoration: none;
}

.app-page-link.active {
  border-color: #2878eb;
  background: #2878eb;
  color: #fff;
}

.app-page-link.disabled {
  pointer-events: none;
  opacity: .48;
}

.form-control,
.custom-select {
  min-height: 42px;
  border-color: #aebed2;
  border-radius: 7px;
  background-color: #eef3f9;
  color: #0f172a;
}

.form-control:focus {
  border-color: #2878eb;
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(40, 120, 235, .1);
}

.btn {
  border-radius: 7px;
  font-weight: 700;
}

.badge {
  padding: 7px 10px;
  border-radius: 6px;
}

.import-guide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  margin-bottom: 22px;
  border: 1px dashed #b6c7dd;
  border-radius: 8px;
  background: #f8fbff;
}

.import-guide p {
  margin-bottom: 0;
}

.upload-control {
  min-height: 42px;
  padding: 8px;
  border: 1px solid #aebed2;
  border-radius: 7px;
  background: #eef3f9;
}

.import-note {
  min-height: 42px;
  display: flex;
  align-items: center;
  color: #475569;
  background: #eef6ff;
  border: 1px solid #cfe2ff;
  border-radius: 7px;
  padding: 10px 12px;
  font-size: 13px;
}

.config-logo-card {
  height: 100%;
  padding: 22px;
  border: 1px dashed #b6c7dd;
  border-radius: 10px;
  background: #f8fbff;
}

.config-logo-card > span {
  display: block;
  color: #2878eb;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.config-logo-preview {
  width: 150px;
  height: 150px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border: 1px solid #dfe7f1;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .08);
}

.config-logo-preview img {
  width: 130px;
  height: 130px;
  object-fit: contain;
}

.config-logo-preview i {
  color: #2878eb;
  font-size: 54px;
}

.config-hero-preview {
  height: 150px;
  overflow: hidden;
  border: 1px solid #d7e4ea;
  border-radius: 8px;
  background: #eef3f9;
}

.config-hero-preview img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-overlay-setting {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-overlay-setting input[type="range"] {
  flex: 1;
  accent-color: #0f766e;
}

.hero-overlay-setting output {
  min-width: 48px;
  color: #0f172a;
  font-weight: 800;
}

.color-setting-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.color-text-input {
  max-width: 150px;
  text-transform: uppercase;
}

.color-picker-input {
  width: 54px;
  height: 42px;
  border: 1px solid #aebed2;
  border-radius: 7px;
  background: #eef3f9;
  padding: 4px;
}

.status-check {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 9px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  background: #f8fafc;
  color: #0f172a;
  font-weight: 800;
}

.status-check input {
  width: 18px;
  height: 18px;
}

.user-menu-section {
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  background: #f8fbff;
}

.user-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.user-menu-head label,
.user-menu-head small {
  display: block;
  margin: 0;
}

.user-menu-head label {
  color: #0f172a;
  font-weight: 900;
}

.user-menu-head small {
  color: #64748b;
}

.user-menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
}

.user-menu-option {
  position: relative;
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #f8fafc;
  color: #0f172a;
  font-weight: 800;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.user-menu-checkbox {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  accent-color: #2878eb;
  cursor: pointer;
}

.user-menu-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 7px;
  background: #e8f1ff;
  color: #2878eb;
}

.user-menu-option:has(.user-menu-checkbox:checked) {
  border-color: #2878eb;
  background: #eef6ff;
  box-shadow: 0 10px 24px rgba(40, 120, 235, .12);
}

.role-pill-list {
  min-height: 42px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 7px;
  border: 1px solid #dfe7f1;
  border-radius: 7px;
  background: #f8fafc;
}

.role-pill-list span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 6px;
  background: #e8f1ff;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.ompe-toast-container {
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 3000;
  display: grid;
  gap: 12px;
  width: min(380px, calc(100vw - 28px));
}

.ompe-toast {
  display: grid;
  grid-template-columns: 42px 1fr 28px;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid #dfe7f1;
  border-left: 5px solid #2878eb;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(15, 23, 42, .18);
  opacity: 0;
  transform: translateX(18px);
  transition: opacity .2s ease, transform .2s ease;
}

.ompe-toast.show {
  opacity: 1;
  transform: translateX(0);
}

.ompe-toast-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #e8f1ff;
}

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

.ompe-toast-error .ompe-toast-icon {
  background: #fee2e2;
}

.ompe-toast-error .ompe-toast-icon {
  color: #dc3545;
}

.ompe-toast-warning {
  border-left-color: #f59e0b;
}

.ompe-toast-warning .ompe-toast-icon {
  background: #fef3c7;
}

.ompe-toast-warning .ompe-toast-icon {
  color: #d97706;
}

.ompe-toast-icon {
  color: #2878eb;
  font-size: 18px;
}

.ompe-toast strong,
.ompe-toast p {
  display: block;
  margin: 0;
}

.ompe-toast strong {
  color: #0f172a;
  margin-bottom: 3px;
}

.ompe-toast p {
  color: #64748b;
  line-height: 1.4;
}

.ompe-toast button {
  border: 0;
  background: transparent;
  color: #94a3b8;
  font-size: 22px;
  line-height: 1;
}

.ompe-confirm-overlay {
  position: fixed;
  inset: 0;
  z-index: 2990;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(15, 23, 42, .72);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity .18s ease;
}

.ompe-confirm-overlay.show {
  opacity: 1;
}

.ompe-confirm {
  width: min(470px, 100%);
  padding: 32px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 26px 80px rgba(15, 23, 42, .32);
  transform: translateY(10px);
  transition: transform .18s ease;
}

.ompe-confirm-overlay.show .ompe-confirm {
  transform: translateY(0);
}

.ompe-confirm-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 12px;
  background: #e8f1ff;
}

.ompe-confirm-icon {
  color: #2878eb;
  font-size: 24px;
}

.ompe-confirm-error .ompe-confirm-icon {
  background: #fee2e2;
}

.ompe-confirm-error .ompe-confirm-icon {
  color: #dc3545;
}

.ompe-confirm-success .ompe-confirm-icon {
  background: #dcfce7;
}

.ompe-confirm-success .ompe-confirm-icon {
  color: #16a34a;
}

.ompe-confirm-warning .ompe-confirm-icon {
  background: #fef3c7;
}

.ompe-confirm-warning .ompe-confirm-icon {
  color: #d97706;
}

.ompe-confirm h3 {
  color: #0f172a;
  font-size: 24px;
  margin-bottom: 8px;
}

.ompe-confirm p {
  color: #64748b;
  margin-bottom: 22px;
}

.ompe-confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.ompe-confirm-actions .btn:only-child {
  min-width: 130px;
}

.candidate-logo-sm {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #fff;
  padding: 4px;
}

.acta-panel {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.acta-header {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 22px;
  align-items: center;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 2px solid #dbe3ef;
}

.acta-logo {
  width: 110px;
  height: 110px;
  display: grid;
  place-items: center;
  border: 1px solid #dfe7f1;
  border-radius: 8px;
  background: #fff;
}

.acta-logo img {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.acta-logo i {
  color: #2878eb;
  font-size: 42px;
}

.acta-header span {
  display: block;
  color: #2878eb;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.acta-header h1 {
  color: #0f172a;
  font-size: 30px;
  margin-bottom: 6px;
}

.acta-header p,
.acta-header strong {
  display: block;
  margin: 0;
}

.acta-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}

.acta-summary div {
  padding: 12px;
  border: 1px solid #dfe7f1;
  border-radius: 8px;
  background: #f8fafc;
}

.acta-summary span,
.acta-summary strong {
  display: block;
}

.acta-summary span {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.acta-summary strong {
  color: #0f172a;
  font-size: 18px;
}

.acta-table tfoot th {
  background: #f8fafc;
}

.acta-signatures hr {
  margin-top: 58px;
  border-top: 1px solid #0f172a;
}

.vote-body {
  min-height: 100vh;
  background: #e2ebf6;
  color: #334155;
}

.vote-navbar {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 34px;
  background: #101827;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 10px 30px rgba(15, 23, 42, .18);
}

.vote-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-family: "Nunito Sans", sans-serif;
  font-size: 24px;
  text-transform: none;
}

.vote-brand:hover {
  color: #fff;
  text-decoration: none;
}

.vote-brand span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #2878eb;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}

.vote-header {
  padding: 48px 0 96px;
  background:
    linear-gradient(135deg, rgba(16, 24, 39, .92), rgba(40, 120, 235, .82)),
    url('../img/header.jpg') center/cover;
  color: #fff;
}

.vote-header h1 {
  max-width: 820px;
  color: #fff;
  font-size: 42px;
  margin-bottom: 12px;
}

.vote-header p {
  max-width: 720px;
  color: #e2e8f0;
  font-size: 17px;
  margin-bottom: 28px;
}

.vote-kicker {
  display: block;
  color: #bfdbfe;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.vote-kicker.dark {
  color: #2878eb;
}

.vote-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.vote-steps div {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  color: #dbeafe;
  background: rgba(255, 255, 255, .08);
}

.vote-steps div.active {
  background: #fff;
  color: #0f172a;
}

.vote-steps strong {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #2878eb;
  color: #fff;
}

.vote-main {
  margin-top: -62px;
  padding-bottom: 54px;
}

.vote-alert {
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(15, 23, 42, .08);
}

.vote-panel {
  background: #fff;
  border: 1px solid #dfe7f1;
  border-radius: 10px;
  padding: 26px;
  margin-bottom: 24px;
  box-shadow: 0 26px 64px rgba(15, 23, 42, .16);
}

.vote-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 30px;
}

.vote-info-card {
  min-height: 160px;
  padding: 22px;
  border: 1px solid #dbe3ef;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(15, 23, 42, .08);
}

.vote-info-card i {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 8px;
  background: #e8f1ff;
  color: #2878eb;
  font-size: 20px;
}

.vote-info-card h3 {
  color: #0f172a;
  font-size: 18px;
  margin-bottom: 8px;
}

.vote-info-card p {
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

.vote-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.vote-panel-head h2 {
  color: #0f172a;
  font-size: 26px;
  margin-bottom: 0;
}

.vote-panel-head > i {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: #2878eb;
  background: #e8f1ff;
  border-radius: 8px;
  font-size: 22px;
}

.vote-dni-form {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 18px;
  align-items: end;
}

.vote-dni-form label {
  display: block;
  color: #475569;
  font-weight: 700;
  margin-bottom: 8px;
}

.vote-dni-form input {
  width: 100%;
  min-height: 56px;
  border: 1px solid #aebed2;
  border-radius: 8px;
  padding: 0 16px;
  color: #0f172a;
  background: #eef3f9;
  font-size: 18px;
  outline: 0;
}

.vote-dni-form input:focus {
  border-color: #2878eb;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(40, 120, 235, .12);
}

.vote-dni-form button {
  min-height: 56px;
}

.student-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  padding: 16px;
  border: 1px solid #cfe2ff;
  border-radius: 8px;
  background: #f8fbff;
}

.student-avatar {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #2878eb;
  color: #fff;
  font-size: 22px;
}

.student-strip span,
.student-strip small,
.student-strip strong {
  display: block;
}

.student-strip span {
  color: #2878eb;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.student-strip strong {
  color: #0f172a;
  font-size: 20px;
}

.student-strip small {
  color: #64748b;
}

.candidate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.candidate-ballot {
  position: relative;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  border: 2px solid #dbe3ef;
  border-radius: 10px;
  padding: 24px 20px;
  background: #fff;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.candidate-ballot:hover {
  border-color: #2878eb;
  box-shadow: 0 18px 40px rgba(40, 120, 235, .14);
  transform: translateY(-2px);
}

.candidate-ballot input {
  position: absolute;
  opacity: 0;
}

.ballot-check {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 2px solid #cbd5e1;
  border-radius: 50%;
  color: transparent;
  background: #fff;
}

.candidate-ballot input:checked + .ballot-check {
  border-color: #2878eb;
  background: #2878eb;
  color: #fff;
}

.candidate-ballot:has(input:checked) {
  border-color: #2878eb;
  box-shadow: 0 18px 40px rgba(40, 120, 235, .18);
}

.candidate-logo-wrap {
  width: 104px;
  height: 104px;
  display: grid;
  place-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
  margin-bottom: 8px;
}

.candidate-logo-wrap img {
  width: 88px;
  height: 88px;
  object-fit: contain;
}

.candidate-logo-wrap i {
  color: #2878eb;
  font-size: 34px;
}

.candidate-list {
  color: #2878eb;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.candidate-ballot strong {
  color: #0f172a;
  font-size: 18px;
}

.candidate-ballot small {
  color: #64748b;
  line-height: 1.45;
}

.vote-submit-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
}

.vote-submit-bar span {
  color: #64748b;
  font-weight: 700;
}

.vote-success {
  max-width: 640px;
  margin: 0 auto 24px;
  padding: 34px;
  text-align: center;
  background: #fff;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  box-shadow: 0 26px 64px rgba(15, 23, 42, .16);
}

.vote-success i {
  color: #16a34a;
  font-size: 54px;
  margin-bottom: 14px;
}

.vote-success h2 {
  color: #0f172a;
}

.print-only {
  display: none;
}

.footer-institution-slider {
  position: relative;
  max-width: 1500px;
  margin: 0 auto;
  padding: 34px 0 40px;
  overflow: hidden;
  background: #f4f7fb;
  border-top: 1px solid #e2e8f0;
  border-bottom: 4px solid #2143b9;
  box-shadow: 0 18px 42px rgba(15, 23, 42, .12);
}

.footer-slider-heading {
  margin-bottom: 24px;
  text-align: center;
}

.footer-slider-heading h2 {
  margin: 0 0 8px;
  color: #0f172a;
  font-size: 30px;
  text-shadow: 0 2px 8px rgba(15, 23, 42, .12);
}

.footer-slider-heading p {
  margin: 0;
  color: #475569;
  font-size: 16px;
}

.footer-slider-viewport {
  overflow: hidden;
}

.footer-slider-track {
  display: flex;
  gap: 24px;
  transition: transform .5s ease;
  will-change: transform;
}

.footer-slider-item {
  flex: 0 0 calc((100% - 96px) / 5);
  height: 112px;
  display: grid;
  place-items: center;
  padding: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 30px rgba(15, 23, 42, .18), 0 3px 7px rgba(15, 23, 42, .1);
  transition: transform .2s ease, box-shadow .2s ease;
}

.footer-slider-item:hover {
  transform: scale(.95);
  box-shadow: 0 10px 22px rgba(15, 23, 42, .12);
}

.footer-slider-item img {
  width: min(100%, 210px);
  height: 80px;
  object-fit: contain;
}

.footer-slider-control {
  position: absolute;
  top: 66%;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #2143b9;
  color: #fff;
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: 0 8px 18px rgba(15, 23, 42, .18);
}

.footer-slider-control:hover {
  background: #17348f;
}

.footer-slider-prev { left: 18px; }
.footer-slider-next { right: 18px; }

.footer-slider-admin-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.footer-slider-admin-card {
  padding: 16px;
  border: 1px solid #dbe4ef;
  border-radius: 10px;
  background: #f8fafc;
}

.footer-slider-admin-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  color: #172554;
}

.footer-slider-admin-head span {
  color: #64748b;
  font-size: 12px;
}

.footer-slider-admin-preview {
  height: 90px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  background: #fff;
}

.footer-slider-admin-preview img {
  width: 92%;
  height: 78px;
  object-fit: contain;
}

.footer-slider-admin-preview i {
  color: #94a3b8;
  font-size: 28px;
}

.welcome-admin-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.welcome-admin-card {
  padding: 16px;
  border: 1px solid #dbe4ef;
  border-radius: 10px;
  background: #f8fafc;
}

.welcome-admin-preview {
  min-height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  margin: 12px 0;
  padding: 16px;
  border-radius: 12px;
  color: #fff;
  text-align: center;
}

.welcome-admin-preview img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.welcome-admin-preview i { font-size: 30px; }

.welcome-admin-color {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #475569;
  font-size: 14px;
  font-weight: 700;
}

.welcome-admin-color input[type="color"] {
  width: 52px;
  height: 32px;
  padding: 2px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #fff;
}

.social-admin-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.social-admin-card {
  padding: 16px;
  border: 1px solid #dbe4ef;
  border-radius: 10px;
  background: #f8fafc;
}

.social-admin-preview {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  margin: 12px 0;
  border-radius: 12px;
  color: #fff;
}

.social-admin-preview i { font-size: 30px; }

@media (max-width: 900px) {
  .welcome-card { flex-basis: calc((100% - 22px) / 2); }

  .footer-slider-item {
    flex-basis: calc((100% - 24px) / 2);
  }

  .footer-slider-admin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .welcome-admin-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .social-admin-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .footer-institution-slider {
    padding-left: 48px;
    padding-right: 48px;
  }

  .footer-slider-item {
    flex-basis: 100%;
  }

  .footer-slider-admin-grid {
    grid-template-columns: 1fr;
  }

  .welcome-admin-grid { grid-template-columns: 1fr; }
  .social-admin-grid { grid-template-columns: 1fr; }
  .welcome-card { flex-basis: 100%; }
  .welcome-card span { font-size: 18px; }
}

.footer-login {
  padding: 18px 16px;
  background: #101827;
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: #cbd5e1;
  position: relative;
  z-index: 20;
}

.footer-login .creditos {
  margin: 0;
  color: #cbd5e1;
  font-size: 13px;
  line-height: 1.6;
}

.footer-login .btn-footer {
  display: inline-block;
  color: #7dd3fc;
  font-weight: 700;
  text-decoration: none;
  transition: color .18s ease, transform .18s ease;
}

.footer-login .btn-footer:hover {
  color: #fff;
  transform: scale(1.08);
  text-decoration: none;
}

.chatbot-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 2500;
  font-family: "Nunito Sans", sans-serif;
}

.health-social-bar {
  position: fixed;
  left: 0;
  top: 42%;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.health-social-link {
  width: 46px;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  overflow: hidden;
  border-radius: 0 9px 9px 0;
  background: var(--social-color);
  color: #fff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .2);
  text-decoration: none;
  transition: width .25s ease, filter .25s ease;
}

.health-social-link i {
  width: 22px;
  flex: 0 0 22px;
  text-align: center;
  font-size: 18px;
}

.health-social-link span {
  white-space: nowrap;
  font-size: 14px;
  font-weight: 800;
}

.health-social-link:hover {
  width: 180px;
  color: #fff;
  filter: brightness(1.08);
  text-decoration: none;
}

.chatbot-toggle {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-left: auto;
  border: 0;
  border-radius: 50%;
  background: #0f766e;
  color: #fff;
  box-shadow: 0 16px 38px rgba(15, 47, 58, .28);
  font-size: 22px;
  cursor: pointer;
}

.chatbot-panel {
  position: absolute;
  right: 0;
  bottom: 74px;
  width: min(380px, calc(100vw - 28px));
  display: none;
  overflow: hidden;
  border: 1px solid #d7e4ea;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 24px 72px rgba(15, 23, 42, .26);
}

.chatbot-open .chatbot-panel {
  display: block;
}

.chatbot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 16px;
  background: #0f2f3a;
  color: #fff;
}

.chatbot-head strong,
.chatbot-head span {
  display: block;
}

.chatbot-head span {
  color: #cbd5e1;
  font-size: 12px;
}

.chatbot-head button {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.chatbot-body {
  height: 290px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  padding: 16px;
  background: #eef5f7;
}

.chatbot-message {
  display: flex;
}

.chatbot-message span {
  max-width: 86%;
  padding: 10px 12px;
  border-radius: 9px;
  color: #0f172a;
  background: #fff;
  line-height: 1.4;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .08);
}

.chatbot-message-user {
  justify-content: flex-end;
}

.chatbot-message-user span {
  background: #0f766e;
  color: #fff;
}

.chatbot-loading span {
  color: #64748b;
}

.chatbot-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 12px 14px 0;
  background: #fff;
}

.chatbot-quick button {
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  background: #f8fafc;
  color: #0f172a;
  padding: 7px 9px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.chatbot-form {
  display: grid;
  grid-template-columns: 1fr 44px;
  gap: 8px;
  padding: 12px 14px 14px;
  background: #fff;
}

.chatbot-form input {
  min-width: 0;
  min-height: 42px;
  border: 1px solid #aebed2;
  border-radius: 7px;
  padding: 0 12px;
  outline: 0;
}

.chatbot-form input:focus {
  border-color: #0f766e;
  box-shadow: 0 0 0 4px rgba(15, 118, 110, .1);
}

.chatbot-form button {
  border: 0;
  border-radius: 7px;
  background: #0f766e;
  color: #fff;
  cursor: pointer;
}

.back-to-top-site {
  position: absolute;
  right: 18px;
  top: 16px;
  bottom: auto;
  z-index: 2490;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  background: #101827;
  color: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .24);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .18s ease, transform .18s ease, background .18s ease;
}

.back-to-top-site.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top-site:hover {
  background: #0f766e;
}

@media (max-width: 900px) {
  .login-card {
    grid-template-columns: 1fr;
    width: min(430px, 100%);
    min-height: auto;
  }

  .password-card {
    grid-template-columns: 1fr;
  }

  .login-intro {
    display: none;
  }

  .password-intro {
    gap: 28px;
    padding: 30px;
  }

  .login-intro-copy h1 {
    font-size: 32px;
  }

  .password-intro h1 {
    font-size: 32px;
  }

  .login-form-wrap {
    padding: 26px 22px;
  }

  .login-form-head h2 {
    font-size: 26px;
  }

  .login-help {
    flex-direction: column;
    gap: 4px;
  }

  .password-form-wrap {
    padding: 30px;
  }

  .login-status {
    grid-template-columns: 1fr;
  }

  .admin-shell {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 100vh;
    overflow: visible;
  }

  .admin-sidebar {
    position: static;
    height: auto;
  }

  .admin-brand {
    margin-bottom: 18px;
  }

  .admin-nav {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }

  .admin-shell.sidebar-collapsed .admin-sidebar {
    display: none;
  }

  .admin-topbar,
  .page-head,
  .import-guide,
  .vote-submit-bar,
  .vote-panel-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .vote-navbar {
    padding: 14px 18px;
  }

  .vote-brand {
    font-size: 22px;
  }

  .vote-header {
    padding: 34px 0 82px;
  }

  .vote-header h1 {
    font-size: 30px;
  }

  .vote-dni-form {
    grid-template-columns: 1fr;
  }

  .vote-info-grid {
    grid-template-columns: 1fr;
  }

  .home-navbar {
    min-height: 70px;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0;
    padding: 10px 14px;
  }

  .home-brand {
    flex: 1 1 auto;
    padding-right: 0;
    border-right: 0;
  }

  .home-brand-mark {
    width: 44px;
    height: 44px;
  }

  .home-brand strong {
    font-size: 22px;
  }

  .home-brand small {
    font-size: 12px;
  }

  .home-menu-toggle {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-weight: 800;
  }

  .home-menu-toggle span {
    display: none;
  }

  .home-nav-actions {
    width: 100%;
    display: none;
    order: 4;
    padding-left: 0;
    border-left: 0;
  }

  .home-menu-open .home-nav-actions {
    display: flex;
  }

  .home-nav-actions .btn {
    width: 100%;
    min-height: 48px;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, .12);
  }

  .health-navbar {
    flex-wrap: wrap;
    gap: 10px;
  }

  .health-header-menu {
    width: 100%;
    order: 3;
    display: none;
    justify-content: flex-start;
    flex-wrap: wrap;
    overflow-x: visible;
    overflow-y: visible;
    padding: 6px 0 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
  }

  .home-menu-open .health-header-menu {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .health-header-menu > a,
  .health-menu-parent {
    width: 100%;
    min-height: 48px;
    justify-content: flex-start;
    padding: 0 10px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    font-size: 15px;
  }

  .health-menu-group::before,
  .health-header-menu > a::before {
    display: none;
  }

  .health-navbar .home-nav-actions {
    order: 4;
  }

  .health-menu-group {
    display: block;
    width: 100%;
  }

  .health-submenu {
    position: static;
    width: 100%;
    min-width: 0;
    margin-top: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .health-menu-group-microrredes .health-submenu {
    min-width: 260px;
    grid-template-columns: 1fr;
  }

  .health-menu-group-institucional .health-submenu {
    min-width: 260px;
    grid-template-columns: 1fr;
  }

  .home-hero-grid,
  .home-step-grid {
    grid-template-columns: 1fr;
  }

  .home-hero {
    padding: 52px 0 62px;
  }

  .chatbot-widget {
    right: 14px;
    bottom: 14px;
  }

  .back-to-top-site {
    right: 14px;
    top: 14px;
  }

  .chatbot-panel {
    bottom: 70px;
  }

  .admin-user {
    width: 100%;
    justify-content: space-between;
    text-align: left;
    flex-wrap: wrap;
  }

  .admin-main {
    height: auto;
    min-height: 100vh;
    grid-template-rows: auto 1fr auto;
    overflow: visible;
  }

  .admin-content {
    overflow: visible;
  }

}

@media (max-width: 420px) {
  .home-brand {
    gap: 10px;
  }

  .home-brand strong {
    font-size: 20px;
  }

  .home-brand small {
    font-size: 11px;
  }

  .home-brand-mark {
    width: 40px;
    height: 40px;
  }
}

@media print {
  .admin-sidebar,
  .admin-topbar,
  .footer-login,
  .no-print {
    display: none !important;
  }

  .admin-shell {
    display: block;
    height: auto;
    overflow: visible;
  }

  .admin-main,
  .admin-content {
    display: block;
    height: auto;
    overflow: visible;
  }

  .admin-content {
    padding: 0;
  }

  .panel {
    border: 0;
    box-shadow: none;
  }

  .print-only {
    display: block;
  }

  .acta-panel {
    max-width: none;
    padding: 0;
    margin: 0;
  }

  .acta-summary div {
    break-inside: avoid;
  }
}
