* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, sans-serif;
  background: #f5f5f5;
  color: #333;
}

#app {
  max-width: 100%;
  margin: 0;
  padding: 1rem;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

h1 {
  font-size: 1.5rem;
  font-weight: 600;
}

.add-btn {
  background: #007AFF;
  color: white;
  border: none;
  padding: 0.75rem 1rem;
  border-radius: 50px;
  font-size: 1rem;
  cursor: pointer;
  min-height: 44px;
}

.dance-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.dance-item {
  background: white;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dance-item.completed {
  opacity: 0.6;
}

.dance-item.completed h3 {
  text-decoration: line-through;
}

.dance-info h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.dance-info p {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.time {
  font-size: 0.8rem;
  color: #007AFF;
  font-weight: 500;
}

.dance-actions {
  display: flex;
  gap: 0.5rem;
}

.complete-btn, .delete-btn {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.complete-btn {
  background: #34C759;
  color: white;
}

.delete-btn {
  background: #FF3B30;
  color: white;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  width: 90%;
  max-width: 320px;
}

.modal-content h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.modal-content input {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 0.75rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
}

.modal-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.modal-actions button {
  flex: 1;
  padding: 0.75rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
}

.modal-actions button:first-child {
  background: #007AFF;
  color: white;
}

.modal-actions button:last-child {
  background: #e0e0e0;
  color: #333;
}
