.modal-nav-btn {
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
    z-index: 1056;
  }
  
  .modal-nav-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
    color: white;
  }
  .modal-content {
    border-radius: 12px;
    overflow: hidden;
  }
  .modal-body p {
    margin-bottom: 0.5rem;
  }
  .modal-lg {
  max-width: 900px;
}
.imagePreviewModal .modal-body {
  background-color: #000;
  padding: 0;
}
.imagePreviewModal .modal-content {
  background-color: #000;
  border: none;
}
.imagePreviewModal .btn-close-white {
  filter: invert(1);
}
#mapa-dental-container {
  position: relative;
  max-width: 600px;
}
body {
  padding-top: 70px; /* Ajusta según la altura real de tu navbar */
}
#logo-vivane {
  height: 50px;  /* Puedes ajustar esto a 60px o más si deseas */
  width: auto;
}
#overlay-dientes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
#autocomplete-list {
  z-index: 1055; /* por encima del modal */
  background: white;
  border: 1px solid #ddd;
  width: 100%;
  list-style: none;
  padding-left: 0;
  margin-top: 0;
  max-height: 200px;
  overflow-y: auto;
  position: absolute;
}
#autocomplete-list li {
  padding: 8px 12px;
  cursor: pointer;
}
#autocomplete-list li:hover {
  background-color: #f8f9fa;
}
.autocomplete-results {
  position: absolute;
  z-index: 1050; /* encima de otros elementos */
  background: white;
  border: 1px solid #ccc;
  width: 100%;
  max-height: 200px;
  overflow-y: auto;
}
.tabla-datatable {
  font-size: 0.95rem;
}
/* Encabezados de tabla: visual profesional */
.tabla-datatable thead th {
  text-align: center !important;
  vertical-align: middle !important;
  background-color: #f8f9fa;  /* gris claro suave */
  color: #343a40;              /* gris oscuro */
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: 2px solid #dee2e6;
  padding: 12px;
}

/* Opcional: centrar también las celdas */
.tabla-datatable td {
  vertical-align: middle;
  text-align: center; /* Puedes cambiar a left o right si lo prefieres */
  white-space: nowrap;
}

.table-responsive {
  overflow-x: auto;
}
table th {
  vertical-align: middle;
  text-align: center;
}

table td {
  vertical-align: middle;
  text-align: left;  /* si quieres alineación izquierda para celdas*/
}
.glass-navbar {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  color: #000 !important;
}

.glass-navbar .navbar-brand,
.glass-navbar .nav-link {
  color: #000 !important;
}

.glass-navbar .nav-link:hover {
  color: #198754 !important; /* verde VIVANE */
}

.glass-navbar .dropdown-menu {
  background-color: #fff;
  border: 1px solid #dee2e6;
}
.autocomplete-results {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  width: 100%;
  background: #fff;
  border: 1px solid #ced4da;
  border-top: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  max-height: 250px;
  overflow-y: auto;
  border-radius: 0 0 0.375rem 0.375rem; /* redondeado abajo */
}

.autocomplete-results > div {
  padding: 10px 14px;
  font-size: 0.95rem;
  border-bottom: 1px solid #f1f1f1;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.autocomplete-results > div:hover,
.autocomplete-results > div[aria-selected="true"] {
  background-color: #e9f5ff;
  color: #0d6efd;
}
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('/static/img/black_logo.png') center center no-repeat;
  background-size: contain;
  opacity: 0.023;
  z-index: 0;
  pointer-events: none;
}
 .mapa-dental-detalle svg {
    max-width: 100%;
    height: auto;
    display: block;
    margin: auto;
  }

  .mapa-dental-detalle .diente {
    pointer-events: none;
  }

  .mapa-dental-detalle .diente.seleccionado {
    fill: red !important;
    stroke: black;
    stroke-width: 2px;
  }