html {
    background-color: #ffffff;
}
html.dark {
    background-color: #0d1117;
    background-image: linear-gradient(to bottom, #0d1117, #161b22);
}
body {
    font-family: 'Inter', sans-serif;
}
::selection {
    background-color: #000000;
    color: #ffffff;
}
::-moz-selection {
    background-color: #000000;
    color: #ffffff;
}
        .glassmorphism {
            background: rgba(255, 255, 255, 0.6);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-bottom: 1px solid rgba(209, 213, 219, 0.3);
        }
        .dark .glassmorphism {
            background: rgba(22, 27, 34, 0.7);
            backdrop-filter: blur(6px) saturate(140%);
            -webkit-backdrop-filter: blur(6px) saturate(140%);
            box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
            border-bottom: 1px solid rgba(148, 163, 184, 0.2);
        }
        :root {
            --jusneural-green-rgb: 76, 181, 139;
        }
        .new-footer-style {
            backdrop-filter: blur(16px) saturate(180%);
            -webkit-backdrop-filter: blur(16px) saturate(180%);
            background: rgba(255, 255, 255, 0.75) radial-gradient(circle, rgba(var(--jusneural-green-rgb), 0.25) 0%, rgba(var(--jusneural-green-rgb), 0) 70%);
            border: 1px solid rgba(0, 0, 0, 0.1);
            border-radius: 17px;
            color: #374151;
            position: relative;
            z-index: 10;
            width: calc(100% - 3rem);
            max-width: 1280px;
            margin-left: auto;
            margin-right: auto;
            margin-top: 2rem;
            margin-bottom: 1rem;
            padding: 2rem 1.5rem;
        }
        .footer-nav-links .footer-link {
            color: #3FA178;
            transition: color 0.3s ease;
            font-weight: 500;
            padding: 0.25rem 0.5rem;
            position: relative;
            text-decoration: none;
        }
        .footer-nav-links .footer-link:hover {
            color: #347E60;
        }
        .dark .footer-nav-links .footer-link {
            color: #cbd5e1;
        }
        .dark .footer-nav-links .footer-link:hover {
            color: #f3f4f6;
        }
        .footer-nav-links .footer-link::after {
            content: '';
            position: absolute;
            bottom: 0px;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 1.5px;
            background-color: rgb(var(--jusneural-green-rgb));
            transition: width 0.3s ease-out;
        }
        .footer-nav-links .footer-link:hover::after {
            width: 100%;
        }
        .footer-social-icons .social-icon img {
            display: block;
            width: 40px;
            height: 40px;
            object-fit: contain;
            filter: grayscale(100%);
            transition: transform 0.3s ease, opacity 0.3s ease, filter 0.3s ease;
            opacity: 0.75;
        }
        .footer-social-icons .social-icon:hover img {
            filter: grayscale(0%);
            transform: scale(1.1);
            opacity: 1;
        }
        .footer-separator {
            border-color: rgba(0, 0, 0, 0.12);
            border-top-width: 1px;
        }
        .new-footer-style .footer-text {
            color: #4B5563;
            font-size: 0.75rem;
            line-height: 1rem;
        }
        #footer-logo {
            max-height: 1.5rem;
        }
        .dark .new-footer-style {
            background: rgba(22, 27, 34, 0.75);
            border-color: rgba(148, 163, 184, 0.2);
            color: #d1d5db;
        }
        .dark .footer-social-icons .social-icon img {
            opacity: 0.7;
        }
        .dark .footer-social-icons .social-icon:hover img {
            opacity: 1;
        }
        .dark .footer-separator {
            border-color: rgba(148, 163, 184, 0.25);
        }
        .dark .new-footer-style .footer-text {
            color: #9ca3af;
        }
        .footer-bottom-texts {
            text-align: center;
        }
        .footer-bottom-texts > p {
            margin-bottom: 0.5rem;
        }
         .footer-bottom-texts > p:last-child {
            margin-bottom: 0;
        }
        .dark .leaflet-popup-content-wrapper {
            background-color: #2D3748; 
            color: #E2E8F0; 
        }
        .dark .leaflet-popup-tip {
            background-color: #2D3748; 
        }
        .dark .leaflet-popup-close-button {
            color: #E2E8F0 !important; 
        }
        .dark .leaflet-popup-close-button:hover {
            color: #FFFFFF !important;
        }

        #mapa-convenios {
            position: relative;
            overflow: hidden;
        }

           #whatsapp-float-button {
        position: fixed;
        width: 60px;
        height: 60px;
        bottom: 30px;
        right: 30px;
        background-color: #efefef;
        border-radius: 50px;
        text-align: center;
        box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.25);
        z-index: 1000;
        transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
        display: flex;
        align-items: center;
        justify-content: center;
      }

      .dark #whatsapp-float-button {

        background-color: #0f172a;

        box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.55);

      }


      #whatsapp-float-button:hover {
        transform: scale(1.1);
        box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.3);
      }

      .dark #whatsapp-float-button:hover {

        background-color: #1f2937;

        box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.65);

      }


      #whatsapp-float-button img {
        width: 49px;
        height: 49px;
      }

      
#whatsapp-float-button .whatsapp-tooltip {
  position: absolute;
  right: 72px;
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background-color: rgba(255, 255, 255, 0.98);
  color: #111827;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

#whatsapp-float-button .whatsapp-tooltip::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  border-width: 6px 0 6px 6px;
  border-style: solid;
  border-color: transparent transparent transparent rgba(255, 255, 255, 0.98);
}

#whatsapp-float-button:hover .whatsapp-tooltip,
#whatsapp-float-button:focus-visible .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

.dark #whatsapp-float-button .whatsapp-tooltip {
  background-color: rgba(15, 23, 42, 0.98);
  color: #e5e7eb;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.6);
}

.dark #whatsapp-float-button .whatsapp-tooltip::after {
  border-color: transparent transparent transparent rgba(15, 23, 42, 0.98);
}
@media (max-width: 768px) {
        #whatsapp-float-button {
          width: 50px;
          height: 50px;
          bottom: 20px;
          right: 20px;
        }
#whatsapp-float-button img {
          width: 42px;
          height: 42px;
        }
      }


