/* Cards desplegables */
.expandable-card {
  background: var(--dark-card);
  border-radius: 12px;
  margin-bottom: 1rem;
  border: 1px solid var(--light-gray);
  overflow: hidden;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 1rem;
  background: var(--primary);
  color: var(--dark);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  min-height: 44px;
  touch-action: manipulation;
}

.card-header:active {
  background: var(--primary-dark);
}

.toggle-icon {
  transition: transform 0.3s ease;
  font-size: 1.2rem;
}

.expandable-card.expanded .toggle-icon {
  transform: rotate(180deg);
}

.card-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.expandable-card.expanded .card-content {
  max-height: 1000px;
  padding: 0.5rem 0.8rem;
}