a article {
  cursor: pointer;
  transition: transform 0.1s ease;
}

a article:hover {
  transform: translateY(-1px);
}

a {
  text-decoration: none;
  color: inherit;
}

/* Ocultar todos los breakpoints por defecto */
.bp-xs, .bp-sm, .bp-md, .bp-lg { display: none; }
      
/* Mostrar solo el breakpoint actual */
@media (max-width: 47.9375em) { .bp-xs { display: inline; } }
@media (min-width: 48em) and (max-width: 63.9375em) { .bp-sm { display: inline; } }
@media (min-width: 64em) and (max-width: 74.9375em) { .bp-md { display: inline; } }
@media (min-width: 75em) { .bp-lg { display: inline; } }
/* app/assets/stylesheets/floating_footer.css */

/* Footer flotante en esquina inferior derecha */
.floating-footer {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 1000;
  
  /* Estilos base de PicoCSS */
  background: var(--background-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  
  /* Tamaño y espaciado */
  padding: 0.5rem 1rem;
  min-width: 200px;
  max-width: 300px;
  
  /* Transiciones suaves */
  transition: all 0.3s ease;
  opacity: 0.9;
}

.floating-footer:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Contenido del footer */
.floating-footer-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.8rem;
  text-align: center;
}

.floating-footer-links {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.floating-footer-links a {
  color: var(--primary);
  text-decoration: none;
  font-size: 0.75rem;
  padding: 0.2rem 0.4rem;
  border-radius: var(--border-radius);
  transition: background-color 0.2s ease;
}

.floating-footer-links a:hover {
  background-color: var(--primary-hover);
  color: var(--primary-inverse);
}

/* Versión compacta del footer */
.floating-footer.compact {
  padding: 0.4rem;
  min-width: auto;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.floating-footer.compact .floating-footer-content {
  display: none;
}

.floating-footer.compact .footer-toggle {
  display: block;
  font-size: 1.2rem;
}

.footer-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary);
}

/* Responsive: en móviles hacer más pequeño */
@media (max-width: 768px) {
  .floating-footer {
    bottom: 4rem; /* Espacio para navegación móvil */
    right: 0.5rem;
    min-width: 150px;
    font-size: 0.7rem;
  }
  
  .floating-footer-links a {
    font-size: 0.65rem;
    padding: 0.15rem 0.3rem;
  }
}

/* Tema oscuro */
@media (prefers-color-scheme: dark) {
  .floating-footer {
    background: var(--card-background-color);
    border-color: var(--card-border-color);
  }
}

/* Variante para Hotwire Native */
.native-app .floating-footer {
  bottom: 5rem; /* Más espacio en apps nativas */
}

/* Animación de entrada */
@keyframes slideInFromRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 0.9;
  }
}

.floating-footer {
  animation: slideInFromRight 0.5s ease-out;
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */


details ul {
  list-style: none !important;
  padding-left: 0 !important;
}

details ul li {
  list-style: none !important;
  margin-left: 0;
}


.fa-square-check {
  animation: checkAnimation 0.3s ease-in-out;
}

@keyframes checkAnimation {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}


