body {
  font-family: 'Mulish', sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgb(11,11,11);
  background: -moz-linear-gradient(83deg, rgba(11,11,11,1) 0%, rgba(23,116,93,1) 48%, rgba(37,173,172,1) 92%);
  background: -webkit-linear-gradient(83deg, rgba(11,11,11,1) 0%, rgba(23,116,93,1) 48%, rgba(37,173,172,1) 92%);
  background: linear-gradient(83deg, rgba(11,11,11,1) 0%, rgba(23,116,93,1) 48%, rgba(37,173,172,1) 92%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#0b0b0b",endColorstr="#25adac",GradientType=1);
}

h1 {
  font-size: 3rem; /* Ajusta el tamaño según sea necesario */
  font-weight: bold;
  background: linear-gradient(to right, green, blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  margin-bottom: 20px;
}

/* Título Principal */
.kalnia-glaze-title {
  font-family: 'Fira Sans Condensed', sans-serif;
  font-weight: 700;
  font-style: italic;
  font-size: 64px;
  color: #FFD700; /* Color dorado */
  text-align: center;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.5); /* Fondo negro semitransparente */
  text-shadow: 2px 2px 4px rgba(255, 215, 0, 0.5);
  border-radius: 10px;
  margin: 20px auto;
  width: 80%;
}

video {
  border: 5px solid #40e0d0; /* Borde azul aquamarina */
  border-radius: 15px; /* Márgenes redondeados */
  display: block;
  margin: 0 auto;
  max-width: 100%;
}

video::cue {
  color: white;
  background-color: rgba(0, 0, 0, 0.6); /* Fondo oscuro semi-transparente para los subtítulos */
  font-size: 1rem;
}

#content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;  /* Ajustar para que el contenido comience desde la parte superior */
  align-items: center;
  width: 100%;  /* Asegurar que el contenedor ocupe todo el ancho disponible */
  margin-top: 50px;  /* Reducir el margen superior */
  padding: 20px;
  background-color: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

#video-wrapper {
  margin-right: 20px;
  text-align: center;
  width: 600px; /* Ajusta el tamaño para que el video sea más grande */
  height: 600px; /* Ajusta el tamaño para que el video sea más grande */
  overflow: hidden;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 8px solid #40e0d0; /* Borde azul aquamarina más grueso para destacar */
}

video {
  width: 100%;
  height: 100%; /* Asegurarse que el video ocupe todo el wrapper */
  object-fit: cover; /* Para que el video se ajuste sin perder la proporción */
  border-radius: 50%; /* Mantener el borde redondeado */
}

/* Navbar con desplazamiento horizontal */
.navbar {
  width: 100%;
  background-color: #008080;
  padding: 10px 0;
  position: relative;
  top: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden; /* Oculta el contenido que se sale del contenedor */
}

.nav-menu {
  display: flex;
  justify-content: flex-start;
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  overflow-x: auto; /* Habilita el scroll horizontal */
  scroll-behavior: smooth; /* Hace que el scroll sea suave */
}

.nav-menu li {
  margin: 0 15px;
}

.nav-menu button {
  background-color: #fff;
  color: #008080;
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
  border-radius: 25px;
  transition: background-color 0.3s, color 0.3s;
  cursor: pointer;
}

.nav-menu button:hover {
  background-color: #004d4d;
  color: #fff;
}

/* Botones de desplazamiento (carrusel) */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 1001;
}

.left-btn {
  left: 10px;
}

.right-btn {
  right: 10px;
}

.carousel-btn:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Botón de ingresar */
.ingresar-button {
  background-color: #008080;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 1.2rem;
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

.ingresar-button:hover {
  background-color: #004d4d;
  color: #fff;
}

/* Video */
#publicidad-video {
  width: 100%;
  max-width: 600px;
  margin: 20px auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Responsivo */
@media (max-width: 768px) {
  .nav-menu {
    flex-direction: row;
    overflow-x: auto;
  }

  .nav-menu li {
    margin-bottom: 10px;
  }

  .ingresar-button {
    width: 100%;
    max-width: 300px;
  }
}

.chat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 400px;
}

button {
  padding: 10px 20px;
  margin: 5px;
  border: 2px solid #40e0d0;
  border-radius: 10px;
  background-color: white;
  color: black;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

button:hover {
  background-color: gold;
  color: white;
}

button:active {
  background-color: darkgoldenrod;
  color: white;
}

textarea {
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 16px;
  margin-bottom: 10px;
  min-height: 50px;  /* Reducir la altura mínima */
}

#resultado-presupuesto {
  margin-top: 20px;
  padding: 10px;
  border: 1px solid #e2e908;
  border-radius: 5px;
  background-color: #f9f9f9;
  width: 100%;
  min-height: 150px;  /* Ajustar altura mínima del resultado del presupuesto */
  white-space: pre-wrap;  /* Mantener saltos de línea */
}

h3, h4 {
  margin-bottom: 10px;
}

#msgHistory {
  width: 100%;
  max-height: 200px;
  overflow-y: auto;
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 10px;
  background-color: #f9f9f9;
  margin-bottom: 10px;
}

.controls {
  display: flex;
  align-items: center;
}

#logo {
  max-width: 50px;
  margin-left: 10px;
  border-radius: 50%;
}

/* Botón para realizar la reserva */
#submit-reservation {
  padding: 10px 20px;
  margin: 10px 0;  /* Ajustar margen para mayor visibilidad */
  border: 2px solid #40e0d0;
  border-radius: 10px;
  background-color: white;
  color: black;
  font-size: 18px;  /* Tamaño de fuente ligeramente mayor */
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
  display: block;  /* Asegurar que se muestre como bloque */
  width: 100%;  /* Asegurar que ocupe todo el ancho disponible */
  text-align: center;  /* Centrar el texto dentro del botón */
}

#submit-reservation:hover {
  background-color: gold;
  color: white;
}

#submit-reservation:active {
  background-color: darkgoldenrod;
  color: white;
}
.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 20px;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease-in-out;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease-in-out;
}

.gallery-item:hover img {
  opacity: 0.8;
}

.gallery-item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  font-size: 1.5rem;
}

.gallery-item:hover .overlay {
  opacity: 1;
}

@media (max-width: 768px) {
  .gallery-container {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}
/* Estilos exclusivos para la página de galería */
.galeria h1 {
  font-size: 4rem; /* Ajusta el tamaño del título para hacerlo más grande */
  font-weight: bold;
  color: white;
  background-color: rgba(0, 0, 0, 0.7); /* Fondo negro semitransparente para resaltar el texto */
  padding: 20px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); /* Sombra para mayor enfoque */
  width: fit-content;
  margin: 0 auto 20px; /* Centrado y separación inferior */
}

.galeria h2 {
  font-size: 2rem; /* Tamaño del subtítulo */
  color: white; /* Color blanco */
  text-align: center;
  margin-top: 10px;
  background-color: rgba(0, 0, 0, 0.6); /* Fondo oscuro semitransparente */
  padding: 10px;
  border-radius: 5px;
  width: fit-content;
  margin: 0 auto; /* Centrado del subtítulo */
}

.contenedor-imagen .info-guardada {
  margin-top: 10px;
  color: white; /* Cambiar color a blanco */
  font-weight: bold;
  font-size: 1.5rem; /* Hacer el texto más grande */
  background-color: rgba(0, 0, 0, 0.7); /* Fondo oscuro semitransparente para mayor contraste */
  padding: 10px;
  border-radius: 5px;
  width: 100%; /* Asegura que ocupe todo el ancho del contenedor */
  text-align: center; /* Centra el texto */
}

/* Estilos exclusivos para la página de radiografías */
.radiografias .galeria {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.radiografias .contenedor-usuario {
  border: 2px solid #40e0d0;
  border-radius: 10px;
  padding: 10px;
  background-color: #f4f4f4;
  width: 250px;
  text-align: center;
}

.radiografias .imagen-usuario {
  width: 100%;
  height: auto;
  border: 2px solid #40e0d0;
  border-radius: 10px;
  margin-bottom: 10px;
}

.radiografias button {
  padding: 5px 10px;
  background-color: #d9534f;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 10px;
}

.radiografias button:hover {
  background-color: #c9302c;
}

/* Estilos para el selector de archivos */
.file-selector-container {
    margin: 15px 0;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    color: white;
}

.file-selector {
    padding: 8px;
    margin: 0 10px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    min-width: 250px;
}

.file-selector option {
    background-color: #17745d;
    color: white;
}

.reset-button {
    padding: 8px 12px;
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    color: white;
    transition: background-color 0.3s;
}

.reset-button:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.file-indicator {
    margin-left: 15px;
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.8);
}

/* Estilos para notificaciones */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.notification {
    animation: fadeIn 0.3s ease-out;
}

/* Estilos para el indicador de conexión */
#connectionError {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
    text-align: center;
    font-weight: bold;
    animation: fadeIn 0.3s ease-out;
}

#connectionStatus {
    position: fixed;
    top: 10px;
    right: 10px;
    padding: 8px 15px;
    border-radius: 20px;
    background: rgba(0,0,0,0.7);
    color: white;
    font-size: 14px;
    z-index: 1000;
    animation: fadeIn 0.3s ease-out;
}

/* Estilos responsivos para el selector de archivos */
@media (max-width: 768px) {
    .file-selector-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .file-selector {
        width: 100%;
        margin: 5px 0;
    }
    
    .reset-button {
        width: 100%;
    }
    
    .file-indicator {
        margin-left: 0;
        margin-top: 5px;
    }
}


