/* Reserva Menu Styles - La Remolatxa */

/* Menu type sections */
.menu-type-section {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  margin-bottom: 1rem;
}

/* Dishes grid - llista vertical compacta */
.dishes-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Dish options - estil compacte */
.dish-option {
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: block;
  position: relative;
  user-select: none;
}

.dish-option:hover {
  border-color: var(--primary-color);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.dish-option.selected {
  border-color: var(--secondary-color);
  background: var(--secondary-alpha-05);
}

.dish-option.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background: #f8f9fa;
}

.dish-option.disabled:hover {
  transform: none;
  box-shadow: none;
  border-color: #e9ecef;
}

/* Dish checkbox (hidden) */
.dish-checkbox {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  z-index: 1;
}

/* Dish content */
.dish-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Dish check indicator */
.dish-check {
  width: 20px;
  height: 20px;
  border: 2px solid #dee2e6;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.dish-option:hover .dish-check {
  border-color: var(--primary-color);
}

.dish-option.selected .dish-check {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  color: white;
}

.dish-check i {
  font-size: 12px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.dish-option.selected .dish-check i {
  opacity: 1;
}

/* Dish info */
.dish-info {
  flex: 1;
}

.dish-name {
  font-weight: 600;
  color: #212529;
  margin-bottom: 0.1rem;
  font-size: 0.95rem;
  line-height: 1.3;
}

.dish-type {
  color: #6c757d;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* Action buttons section */
.action-buttons-section {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 1.5rem;
  margin-top: 1rem;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .dishes-grid {
    gap: 0.5rem;
  }

  .menu-type-section {
    padding: 1rem;
  }

  .dish-option {
    padding: 0.6rem 0.75rem;
  }

  .dish-content {
    gap: 0.5rem;
  }

  .dish-check {
    width: 18px;
    height: 18px;
  }

  .dish-name {
    font-size: 0.9rem;
  }

  .dish-type {
    font-size: 0.7rem;
  }
}