/* Return to Dashboard Button */
.return-dashboard {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: #2c3e50;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.return-dashboard:hover {
  background-color: #34495e;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.return-dashboard:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(44, 62, 80, 0.3);
}

/* Base styles */
body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #333;
  margin: 0;
  padding: 20px;
  background-color: #f5f5f5;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

h1 {
  text-align: center;
  color: #2c3e50;
  margin-bottom: 20px;
}

.intro {
  text-align: center;
  color: #666;
  max-width: 800px;
  margin: 0 auto 40px;
}

/* Header controls */
.header-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding: 0 10px;
}

/* Legend styles */
.legend {
  display: flex;
  gap: 20px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Reset button styles */
.reset-button {
  background-color: #e74c3c;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.reset-button:hover {
  background-color: #c0392b;
}

.reset-button:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.3);
}

@media (max-width: 768px) {
  .header-controls {
    flex-direction: column;
    gap: 20px;
  }
}

.legend-color {
  width: 16px;
  height: 16px;
  border-radius: 4px;
}

.legend-required {
  background-color: #3498db;
}

.legend-suggested {
  background-color: #2ecc71;
}

/* Grid layout */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

/* Section styles */
.section {
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.section h2 {
  color: #2c3e50;
  margin-top: 0;
  padding-bottom: 10px;
  border-bottom: 2px solid #eee;
}

.checklist-group h3 {
  color: #666;
  font-size: 1rem;
  margin: 20px 0 10px;
}

/* Checklist styles */
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist.required .checklist-item {
  border-left: 3px solid #3498db;
}

.checklist.suggested .checklist-item {
  border-left: 3px solid #2ecc71;
}

.checklist-item {
  display: flex;
  align-items: center;
  padding: 10px;
  margin-bottom: 8px;
  background-color: #f8f9fa;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.checklist-item:hover {
  background-color: #f0f2f5;
}

.item-label {
  display: flex;
  align-items: center;
  flex: 1;
  cursor: pointer;
  margin-right: 10px;
}

/* Checkbox styles */
.checkbox {
  margin-right: 10px;
}

.item-text {
  flex: 1;
}

/* Expand button styles */
.expand-btn {
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  font-size: 1rem;
  padding: 4px 8px;
  border-radius: 50%;
  transition: all 0.2s;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  min-height: 24px;
}

.expand-btn:hover {
  color: #333;
  background-color: #e9ecef;
}

.expand-btn:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.3);
}

/* Details styles */
.details {
  display: none;
  margin-top: 8px;
  padding: 12px;
  background-color: #fff;
  border-radius: 4px;
  font-size: 0.9rem;
  color: #666;
  width: 100%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border-left: 3px solid #e9ecef;
  line-height: 1.5;
}

.details.active {
  display: block;
  animation: fadeIn 0.2s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .container {
    padding: 15px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .checklist-item {
    flex-direction: column;
  }

  .item-text {
    margin: 8px 0;
  }

  .expand-btn {
    align-self: flex-end;
  }
}
