/* Animaciones y transiciones */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.btn {
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

/* Mejoras de accesibilidad */
:focus {
  outline: 3px solid rgba(58, 99, 81, 0.5);
  outline-offset: 2px;
}

.btn:focus, a:focus {
  outline: 3px solid rgba(58, 99, 81, 0.5);
  outline-offset: 2px;
}

/* Mejoras de rendimiento */
img {
  max-width: 100%;
  height: auto;
}

/* Mejoras de usabilidad */
.current-day {
  background-color: var(--accent-color);
  color: var(--light-text);
  font-weight: bold;
  border-radius: var(--border-radius);
  padding: 0.25rem 0.5rem;
}

.challenge-progress {
  margin: 1rem 0;
  font-weight: bold;
  color: var(--primary-color);
}

.navigation-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  gap: 1rem;
}

/* Mejoras para impresión */
@media print {
  header, footer, .btn, .navigation-buttons {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.5;
    color: #000;
    background: #fff;
  }
  
  a {
    color: #000;
    text-decoration: underline;
  }
  
  .content {
    box-shadow: none;
    margin: 0;
    padding: 0;
  }
  
  h1, h2, h3 {
    page-break-after: avoid;
  }
  
  p, blockquote {
    orphans: 3;
    widows: 3;
  }
}
