body {
  font-family: Montserrat, sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(#5a93e1, #007483);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#resultado p {
  white-space: pre-wrap; /* Mantiene los saltos de línea y los espacios adicionales */
}

header {
  animation: slideDown 1s ease-out, fadeIn 1.5s ease-out;
  opacity: 0;
  animation-fill-mode: forwards;
}

ul{
  margin-left: -30px;
}

header .header-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  color: white;
  padding: 10px;
  justify-content: space-between;
}

header img {
  max-height: 100px;
  margin-bottom: 10px;
}

h2 {
  font-family: Nunito, sans-serif;
  font-size: 1.5rem;
  color: #638ee8;
  text-align: center;
}

h3 {
  font-family: Nunito, sans-serif;
  font-size: 1.6rem;
  color: #638ee8;
}

header h1 {
  font-family: Nunito, sans-serif;
  font-size: 1.5rem;
  margin: 0;
  text-align: center;
  color: white;
}

.container {
  animation: slideUp 1s ease-out;
  opacity: 0;
  transform: translateY(100px);
  width: 95%;
  padding: 10px;
  max-width: 1600px;
  margin: 20px auto;
  background: #ffffff;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  min-height: calc(75vh - 200px);
  animation-fill-mode: forwards;
}

form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 0;
  padding: 0px;
}

.botones{
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 0;
  padding: 15px;  
}

label {
  margin-bottom: 5px;
}

input {
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

input:focus {
  outline: none;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
  border-color: #3498db;
}

.main-button {
  display: flex;
  flex-grow: 1;
  width: 100%;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  text-align: center;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-position 0.5s ease-in-out;
  padding: 20px;
  position: relative;
  overflow: hidden;
  background: #429bcb;
  background-size: 400% 400%;
  background-position: 0 50%;
  background-blend-mode: overlay;
  background-image: linear-gradient(to right, #4fa76d, #3b7b51, #69b2e7, #a1ca46);
}

.main-button:hover {
  background-position: 100% 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  scale: 1.01;
}


.result-box {
  padding: 20px;
  border-radius: 5px;
  background-color: transparent;
  flex-grow: 1;
  min-height: 68vh;
  overflow-y: auto;
}

.result-box table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border-radius: 10px;
}

.result-box th,
.result-box td {
  border: 1px solid #eee;
  padding: 10px 10px;
  text-align: center;
  min-width: 130px;
  background-color: #fff;
  transition: background-color 0.3s;
}

.result-box th {
  background-color: #f1f1f1;
  color: #333;
  font-weight: bold;
}

.result-box tr:hover td {
  background-color: #f2f2f2;
}

.table-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.info-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  gap: 10px;
}

.info-container > div {
  margin-bottom: 10px;
  background-color: #429bcb;
  padding: 10px 20px;
  border-radius: 10px;
  width: 90%;
  color: white;
}

.info-container p {
  margin: 0;
  text-align: center;
  font-size: 0.9rem;
}

.material-symbols-outlined {
  margin-right: 3px;
  margin-left: 3px;
  vertical-align: sub;
}

#carta-natal, #carta-hoy {
  width: 100%;
  max-width: 850px;
  margin: 0 auto;

}

@media (min-width: 1400px) and (max-width: 1920px) {
  #carta-natal, #carta-hoy {
    max-width: 750px;
  }
}

@media (min-width: 1100px) and (max-width: 1400px) {
  #carta-natal, #carta-hoy {
    width: 90%;
    max-width: 600px;
  }
}
@media (min-width: 1920px) {
  #leyenda-aspectos {
    gap: 35px !important;
  }
}

#carta-natal svg text {
  pointer-events: none;
}

.planet-icon {
  font-size: 1.2rem;
  margin-right: 5px;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .container {
    max-height: none;
    overflow-y: visible;
    flex-direction: column;
  }

  .result-box {
    max-height: none; 
    width: auto; 
    margin-top: 20px;
    min-height: 52vh;
  }

  .info-container > div {
    margin: 10px 0; 
    flex: 1 0 auto;
    width: 100%; 
  }

  header .header-container {
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    position: relative;
    padding: 20px;
  }

  header img {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 0;
  }

  header h1 {
    position: relative;
    right: auto;
    text-align: center;
    flex-grow: 1;
    margin-left: 20%;
  }
}
  
@media (min-width: 768px) {
  header .header-container {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 20px;
  }

  header img {
    position: absolute;
    left: 50%; 
    transform: translateX(-50%);
    margin-bottom: 0;
  }

  header h1 {
    position: absolute;
    right: 10%;
    text-align: right;
    font-size: 1.5rem;
  }

  .container {
    padding: 20px;
  }

  .info-container > div {
    margin: 0 5px; 
    flex: 0 0 auto; 
    width: auto; 
  }
}

.header-info {
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 15px 35px;
  background-color: #e0e5ec;
  border-radius: 10px;
  color: black;
}

.header-info h2 {
  display: flex;
  align-items: center;
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.header-info p {
  display: flex;
  align-items: center;
  font-size: 1rem;
  margin: 5px 0;
}

.header-info span.material-symbols-outlined {
  margin-right: 8px;
  font-size: 1.2rem;
}
  
#leyenda-aspectos{
  margin-top: 20px; 
  margin-bottom: 40px; 
  display: flex; 
  flex-direction: column;
  gap: 10px;
  margin-left: 30px;
}
  
@media (min-width: 1025px) {
  #leyenda-aspectos{
    flex-direction: row; 
  }
  .header-info {
    display:flex; 
    justify-content: space-between;
  }
  .container {
    flex-direction: row;
    align-items: flex-start;
    overflow-y: hidden; 
  }

  .result-box {
    overflow-y: auto; 
    width: 75%;
    margin-left: 20px;
    margin-right: 18px;
  }

  .info-container > div {
    margin: 0 5px; 
    flex: 0 0 auto; 
    width: auto; 
  }

  h2, {
    font-size: 2rem;
    margin: 10px;
  }
  
  h3 {
    font-size: 2.3rem;
    margin: 10px;
  }
  
  form {
    margin-right: 10px;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

input[type="date"],
input[type="time"],
input[type="text"] {
  text-align: center;
}

input[type="date"]::-webkit-datetime-edit,
input[type="time"]::-webkit-datetime-edit,
input[type="text"]::-webkit-datetime-edit {
  text-align: center;
}
  
.result-box::-webkit-scrollbar {
  width: 12px; 
}

.result-box::-webkit-scrollbar-track {
  background: #f1f1f1; 
  border-radius: 10px; 
}

.result-box::-webkit-scrollbar-thumb {
  background: #2980b9; 
  border-radius: 10px; 
  border: 2px solid #f1f1f1; 
}

.result-box {
  scrollbar-width: thin; 
  scrollbar-color: #2980b9 #f1f1f1;
}
  
.moon-info {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #f2f2f2;
  border-radius: 10px;
  border: 1px solid #ddd;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.moon-info p {
  margin: 0;
  text-align: center;
  font-size: 1rem;
}

.spinner {
  border: 8px solid #f3f3f3; 
  border-top: 8px solid #3498db; 
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
  margin: 20px auto; 
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-text {
  text-align: center;
  font-size: 1.2rem;
  color: #555;
  margin-top: 10px;
  font-family: 'Montserrat', sans-serif;
}

@media (max-width: 767px) {
  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
  }

  .container {
    margin-top: 140px; 
  }

  .header-hidden {
    transform: translateY(-100%);
  }
  
  .main-button {
    padding: 10px 15px;
  }
}
.mobile-button {
  display: flex; 
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  margin-left: 10px; 
}

.mobile-button:hover {
  color: #eee; 
}

.mobile-button .material-symbols-outlined {
  font-size: 28px;
}

@media (min-width: 768px) {
  header .header-container {
    position: relative;
    justify-content: flex-start; 
  }

  header img {
    position: absolute;
    left: 50%; 
    transform: translateX(-50%);
  }

  header h1 {
    margin-left: auto; 
    margin-right: 10px;
  }

  .mobile-button {
    position: absolute;
    left: 10%; 
    top: 50%;
    transform: translateY(-50%);
  }
}

#astroForm {
  margin-left: 5px;
}

.imagen-hoy-v {
  display: none;
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
}

.imagen-carta-v {
  display: none;
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
}

@media (max-width: 820px) {

  #astroForm .botones {
    display: flex;
    opacity: 1;
    max-height: none; 
    transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease; 
  }

  #astroForm .botones.active {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0; 
  }

  #astroForm {
    display: block; 
  }

  .result-box {
    display: block;
    opacity: 1;
    max-height: none;
    min-height: 65vh;
  }

  .botones{
    padding: 10px;
  }
  .imagen-carta-v {
    display: block
  }
  .imagen-carta-h {
    display: none;
  }
  
  .imagen-hoy-h {
    display: none;
  }
  .imagen-hoy-v {
    display: block;
  }
  
  header .header-container {
    background: rgba(90, 147, 225, 0.5);
  }

  .result-box {
    padding: 5px;
  }
}

@media (min-width: 1366px) {
  .botones {
    gap: 8px;
  }
}

.modal {
  display: none;
  position: fixed; 
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%; 
  overflow: auto; 
  background-color: rgba(0, 0, 0, 0.5); 
}

.modal-content {
  background-color: #fefefe;
  margin: 5% auto; 
  padding: 20px;
  border: 1px solid #888;
  width: 95%; 
  max-width: 1000px; 
  border-radius: 8px; 
  position: relative;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.close-button {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  top: 10px;
  right: 15px;
  cursor: pointer;
}

.close-button:hover,
.close-button:focus {
  color: #000;
  text-decoration: none;
}

.aspecto-item {
    margin-bottom: 15px;
    padding-bottom: 10px;
    background: #e0e5ec;
    padding: 10px;
    border-radius: 10px;
    list-style: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.aspecto-item:last-child {
  margin-bottom: 0;
}

.aspecto-natal-item {
  margin-bottom: 15px;
  padding-bottom: 10px;
  border: solid 1px #fff;
  background: #e0e5ec;
  padding: 10px;
  border-radius: 10px;
  list-style: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.aspecto-natal-item:last-child {
  margin-bottom: 0;
  border-bottom: none;
}

.aspecto-natal-item:hover, .aspecto-item:hover {
  background-color: #f0f8ff;
}
#modalDescripcion {
  white-space: pre-wrap; 
  line-height: 1.6; 
}

.iaicon{
  width: 20%;
  max-width: 50px;
  margin-right: 10px;
  vertical-align: sub;
}

#datosModal .modal-content {
  margin: 5% auto; 
  padding: 20px;
  border: 1px solid #888;
  width: 90%; 
  max-width: 500px; 
  border-radius: 8px; 
  position: relative;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

#datosModal .imputFormulario {
  margin-bottom: 10px;
  width: calc(100% - 5px);
}

@media (min-width: 768px) {
  #datosModal .modal-content {
    margin: 15% auto;
    width: 80%;
    max-width: 500px;
  }
}

@media (max-width: 480px) {
  #datosModal .modal-content {
    margin: 35% auto;
    padding: 10px;
  }

  #datosModal .imputFormulario {
    font-size: 0.8rem;
  }
  
  .camposFormulario .material-symbols-outlined{
    font-size: 1rem;
  }
  
  .camposFormulario{
    font-size: 0.9rem;
  }
}

.form-row {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 15px;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.camposFormulario {
  font-size: 0.9rem;
  margin-bottom: 5px;
}

.imputFormulario {
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  width: 100%;
  box-sizing: border-box;
}

#submitButton {
  margin-top: 10px;
  align-self: center;
  width: 100%;
  margin-bottom: 20px;
}

/* Estilos para el modal de la gráfica */
#cartaModal, #cartanNatalModal {
  display: none; /* Oculto por defecto */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto; /* Habilitar scroll si es necesario */
  background-color: rgba(0, 0, 0, 0.8); /* Fondo oscuro semitransparente */
  animation: fadeIn 0.5s ease-out; /* Animación al abrir */
}

#cartaModal.modal-content, #cartanNatalModal .modal-content {
  background-color: #ffffff; /* Fondo blanco */
  margin: 5% auto; /* Centrar verticalmente */
  padding: 20px;
  width: 90%; /* Ocupa el 90% del ancho disponible */
  max-width: 900px; /* Ancho máximo */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* Sombra suave */
  position: relative;
}

#cartaContainer{
  display: flex;
  justify-content: center; /* Centrar la gráfica */
  align-items: center;
  overflow: auto; /* Permitir scroll si es necesario */
  max-height: 100vh; /* Altura máxima relativa a la pantalla */
}

#cartaModal.close-button, #cartanNatalModal .close-button {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  color: #333;
  cursor: pointer;
  transition: color 0.3s ease;
}

#cartaModal .close-button:hover, #cartanNatalModal .close-button:hover {
  color: #000; /* Resaltar en hover */
}

@media (max-width: 768px) {
  #cartaModal.modal-content, #cartanNatalModal .modal-content {
    margin: 10% auto; /* Reducir margen en pantallas pequeñas */
    width: 95%;
  }
}

.fecha-hora-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 5px;
}

@media (max-width: 400px) {
	input {
		padding: 10px 2px;
	}
	.fecha-hora-container {
	  gap: 5px;
	}
}
@media (max-width: 480px) {
  #cartaModal.modal-content, #cartanNatalModal .modal-content {
    padding: 10px; /* Menos padding en móviles */
  }

  #cartaModal.close-button, #cartanNatalModal .close-button {
    font-size: 1.2rem; /* Reducir tamaño del botón de cierre */
  }
}

/* Estilos para las pestañas personalizadas */
.custom-nav-tabs {
  display: flex;
  margin-bottom: 15px;
  list-style-type: none;
  padding-left: 45px;
}

.custom-nav-tabs .nav-item {
  margin-right: 10px;
}

.custom-nav-tabs .nav-link {
  background-color: #f1f1f1;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color 0.3s;
  font-size: 16px;
}

.custom-nav-tabs .nav-link.active {
  background-color: #ffffff;
  border-bottom: 2px solid #ffffff;
  font-weight: bold;
}

.custom-nav-tabs .nav-link:hover {
  background-color: #ddd;
}

/* Estilos para el contenido de las pestañas */
.tab-content {
  border: 1px solid #ddd;
  padding: 15px;
  background-color: #ffffff;
  border-radius: 8px;
  margin-bottom: 25px;
}

.resumen-text {
  font-size: 16px;
  line-height: 1.6;
}

/* Ajustes para la leyenda de aspectos */
#leyenda-aspectos {
  margin-top: 20px;
}

.aspecto-leyenda-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 5px;
}

.aspecto-color-box {
  width: 20px;
  height: 20px;
  border-radius: 50px;
}

.aspecto-text {
  font-size: 15px;
}

/* Ajustes para evitar que las pestañas se corten en dispositivos móviles */
@media (max-width: 767px) {
  .custom-nav-tabs {
    flex-wrap: wrap;
  }

  .custom-nav-tabs .nav-item {
    margin-right: 5px;
    margin-bottom: 5px;
  }

  .custom-nav-tabs .nav-link {
    padding: 8px 12px;
    font-size: 14px;
  }
}

.swal2-confirm, .swal2-cancel {
  display: flex;
  flex-grow: 1;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  text-align: center;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-position 0.5s ease-in-out !important;
  padding: 15px 25px;
  position: relative;
  overflow: hidden;
  background: #429bcb !important;
  background-size: 400% 400% !important;
  background-position: 0 50% !important;
  background-blend-mode: overlay !important;
  background-image: linear-gradient(to right, #4fa76d, #3b7b51, #69b2e7, #a1ca46) !important;
}

.swal2-confirm:hover, .swal2-cancel:hover {
  background-position: 100% 50% !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
  transform: scale(1.01) !important;
}

.swal2-confirm:active, .swal2-cancel:active {
  transform: scale(0.98) !important;
}

div:where(.swal2-container).swal2-center>.swal2-popup {
    border-radius: 15px;
}

.imagen-hoy-h {
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
}
.imagen-carta-h {
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
}
.imagen-aspecto-hoy {
  max-width: 500px;
}

/* Estilos añadidos para la disposición responsiva en el modal */
.description-image-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px; /* Espacio entre descripción e imagen */
  margin-top: 20px; /* Espacio superior para separar del título */
}

@media (min-width: 820px) {
  .description-image-wrapper {
    flex-direction: row; /* Disposición horizontal en pantallas grandes */
    align-items: flex-start; /* Alinear al inicio verticalmente */
  }

  .description-image-wrapper p#modalDescripcion {
    flex: 2; /* Ocupa más espacio */
    margin: 0; /* Elimina márgenes por defecto */
    text-align: left; /* Alinea el texto a la izquierda */
	margin-left: 20px;
	margin-bottom: 20px;
  }

  .description-image-wrapper img.imagen-aspecto-hoy {
    flex: 1; /* Ocupa menos espacio que el texto */
    max-width: 40%; /* Ajusta según prefieras */
    height: auto; /* Mantiene la proporción de la imagen */
  }
	
  .info-container {
    flex-direction: row;
    justify-content: space-around;
  }
}

/* Transición de opacidad para la imagen del modal */
#aspectoImagen {
  transition: opacity 1s ease-in-out;
}

/* Transición de opacidad para las imágenes */
.imagen-hoy-h, .imagen-hoy-v {
  transition: opacity 1s ease-in-out;
  opacity: 1; /* Visible inicialmente */
  width: 100%;
  height: auto;
  /* Remover position: absolute; y z-index */
}

/* Fundido suave al cambiar */
.imagen-hoy-h.fade-out, .imagen-hoy-v.fade-out {
  opacity: 0;
}

/* Mostrar solo una imagen según el tamaño de pantalla */
@media (min-width: 768px) {
  .imagen-hoy-v {
    display: none;
  }
  .imagen-hoy-h {
    display: block;
  }
}

@media (max-width: 767px) {
  .imagen-hoy-h {
    display: none;
  }
  .imagen-hoy-v {
    display: block;
  }
}

.imagen-container {
  position: relative; /* Mantener relativo para posibles futuras modificaciones */
  width: 100%;
  height: auto;
  margin-bottom: 20px; /* Espacio inferior para separar del siguiente contenido */
}

.tippy-box[data-theme~='mi-tema'] {
background-color: #00839b;
opacity: 0.9;
color: #fff;
border-radius: 8px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
padding: 8px;
}

.tippy-box[data-theme~='mi-tema'][data-placement^='top'] > .tippy-arrow::before {
border-top-color: #00839b;
}

.tippy-box[data-theme~='mi-tema'][data-placement^='bottom'] > .tippy-arrow::before {
border-bottom-color: #00839b;
}

.fecha-hora-container label {
  margin-right: 5px;
}

#botonIr, .boton-hoy, .arrow-button {
  padding: 10px 10px;
  max-width: 80px;
  min-width: 80px;
}
/* Añade esto a tu archivo CSS */
@keyframes heartbeat {
  0% {
    transform: scale(0.9);
  }
  25% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.9);
  }
  75% {
    transform: scale(1);
  }
  100% {
    transform: scale(0.9);
  }
}

.heartbeat {
  animation: heartbeat 2s infinite;
}

/* Ocultar elementos */
.oculto {
  display: none;
}

/* Contenedor Principal */
.fecha-hora-container {
  display: flex;
  flex-direction: row; /* Disposición en fila por defecto */
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap; /* Evita que los elementos se envuelvan */
}

/* Contenedor de Navegación y Fecha/Hora */
.navegacion-fecha {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex: 1; /* Permite que este contenedor ocupe el espacio disponible */
  min-width: 0;
  padding-left: 5%;
}

/* Contenedor de Botones "Ir" y "Hoy" */
.botones-accion {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-shrink: 0; /* Previene que este contenedor se encoja */
}

/* Estilos para la disposición en pantallas móviles */
@media (max-width: 767px) {
  .fecha-hora-container {
    flex-direction: column; /* Cambiar a columna para apilar los contenedores */
    align-items: center;
    gap: 10px; /* Espacio entre filas */
  }
  
  /* Estilos para el contenedor de navegación y fecha/hora */
  .navegacion-fecha {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 5px; /* Espacio entre elementos */
    width: 100%;
    padding: 0;
  }
  
  /* Ajustes para los botones de flecha y campos */
  .navegacion-fecha .arrow-button {
    padding: 8px; /* Reducir el padding para dispositivos pequeños */
    max-width: 40px; /* Limitar el ancho de los botones de flecha */
  }
  
  .navegacion-fecha input[type="date"],
  .navegacion-fecha input[type="time"] {
    flex: 1; /* Permitir que los campos crezcan para ocupar el espacio disponible */
    min-width: 0; /* Permitir que los campos se contraigan correctamente */
    padding: 8px;
    font-size: 0.9rem;
  }
  
  /* Estilos para el contenedor de botones de acción */
  .botones-accion {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px; /* Espacio entre botones */
    width: 100%;
  }
	#botonIr, .boton-hoy, .arrow-button {
	  padding: 10px 10px;
	  max-width: 60px;
	  min-width: 60px;
	}
}