/* routes_wizard.css */
:root {
  --primary: #007bff;
  --success: #28a745;
  --error: #dc3545;
  --hint-bg: #f0f8ff;
  --text-color: #333;
  --border-radius: 4px;
  --spacing: 12px;
}
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: var(--text-color);
  background: #f9f9f9;
  line-height: 1.5;
}
#wizard {
  max-width: 1000px;
  margin: var(--spacing) auto;
  padding: 0 var(--spacing);
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
h1 {
  margin: var(--spacing) 0;
  font-size: 2rem;
  text-align: center;
}
.wizard-desc {
  font-size: 0.95rem;
  color: #555;
  margin: 0 0 var(--spacing);
  text-align: center;
}
#notification {
  display: none;
  padding: var(--spacing);
  margin-bottom: var(--spacing);
  border-radius: var(--border-radius);
  font-weight: bold;
}
#steps {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0 0 var(--spacing);
  border-bottom: 2px solid #eee;
}
#steps li {
  flex: 1 1 auto;
  text-align: center;
  padding: var(--spacing) 0;
  cursor: pointer;
  font-size: 1rem;
  border-bottom: 4px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}
#steps li.active {
  border-color: var(--primary);
  color: var(--primary);
  font-weight: bold;
}
#steps li.done {
  border-color: var(--success);
  color: var(--success);
}
#content {
  padding: 0 var(--spacing) var(--spacing);
  min-height: 400px;
}
.wizard-hint {
  background: var(--hint-bg);
  border-left: 4px solid var(--primary);
  padding: var(--spacing);
  margin-bottom: var(--spacing);
  border-radius: var(--border-radius);
  font-size: 0.9rem;
}
#actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: var(--spacing);
  padding: 0 var(--spacing) var(--spacing);
}
#actions button {
  flex: 1 1 auto;
  max-width: 180px;
  padding: var(--spacing) var(--calc(var(--spacing)*2));
  font-size: 1rem;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: background 0.3s;
}
#prevBtn {
  background: #6c757d;
  color: #fff;
}
#nextBtn {
  background: var(--primary);
  color: #fff;
}
#actions button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
input, textarea, select, button {
  font-family: inherit;
}
label {
  display: block;
  margin-bottom: var(--spacing);
}
input, textarea, select {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: var(--border-radius);
}
.map-container {
  width: 100%;
  height: 60vh;
  margin-bottom: var(--spacing);
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  overflow: hidden;
}
@media (max-width: 768px) {
  #wizard { padding: 0 calc(var(--spacing)/2); }
  h1 { font-size: 1.5rem; }
  #steps li { font-size: 0.9rem; padding: 8px 4px; }
  #actions button { flex: 1 1 100%; max-width: none; }
  .map-container { height: 50vh; }
}
