@import url("./css/variables.css");
@import url("./css/fonts.css");

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html,
body {
  overflow-x: hidden;
  max-width: 100vw;
}

.carrusel-boton-glass {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.75rem;
  width: 2.75rem;
  border-radius: 9999px;
  color: var(--color-secundario);
  background-color: rgba(242, 238, 235, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(242, 238, 235, 0.25);
  transition: background-color 0.2s ease;
}

.carrusel-boton-glass:hover {
  background-color: rgba(242, 238, 235, 0.25);
}

.carrusel-track--sin-transicion {
  transition: none !important;
}

.liquid-glass {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background-color 0.2s ease;
}

.carrusel-boton-glass {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.75rem;
  width: 2.75rem;
  border-radius: 9999px;
  color: var(--color-secundario);
  background-color: rgba(242, 238, 235, 0.15);
  border: 1px solid rgba(242, 238, 235, 0.25);
}

.carrusel-boton-glass:hover {
  background-color: rgba(242, 238, 235, 0.25);
}

.boton-liquid-glass {
  background-color: rgba(255, 255, 255, 0.15);
}

.boton-liquid-glass:hover {
  background-color: rgba(255, 255, 255, 0.28);
}

.boton-liquid-glass.text-primario {
  background-color: #f2eeeb;
  border: 2px solid #1c2c3b;
}

.boton-liquid-glass.text-primario:hover {
  background-color: rgba(28, 44, 59, 0.15);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(28, 44, 59, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay--visible {
  display: flex;
}

.campo-mensaje-error {
  display: none;
  color: #b91c1c;
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

.campo-mensaje-error--visible {
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.dato-nautico-linea {
  flex: 1;
  border-bottom: 1px dotted var(--color-secundario);
  opacity: 0.5;
  margin: 0 0.5rem 0.3em 0.5rem;
  min-width: 1rem;
}
