:root {
  --bg: #f4f7fb;
  --card: #ffffff;
  --accent: #4f46e5;
  --muted: #6b7280;
  --success: #10b981;
  --program-bg: #fbfdff;
  --program-hover: #eef2ff;
}

* {
  box-sizing: border-box;
  font-family: Inter, system-ui, Arial, sans-serif;
  margin: 0;
  padding: 0;
}

body {
  background: linear-gradient(180deg,#eef2ff 0%,var(--bg) 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.container {
  width: 100%;
  max-width: 880px;
}

.card {
  background: var(--card);
  border-radius: 16px;
  box-shadow: 0 6px 30px rgba(15,23,42,0.08);
  padding: 28px;
}

h1 { margin:0 0 8px; font-size:20px; }
p.lead { margin:0 0 20px; color: var(--muted); }

.steps {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.step {
  background: #f8fafc;
  border-radius: 12px;
  padding: 10px 12px;
  text-align: center;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.step.active {
  background: linear-gradient(90deg, rgba(79,70,229,0.12), rgba(79,70,229,0.06));
  border-color: rgba(79,70,229,0.18);
  font-weight: 600;
}

.row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.row>div { flex: 1 1 100%; }
@media(min-width:600px){ .row>div { flex: 1; } }

label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}

input[type="text"], input[type="email"], textarea, select, input[type="date"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e6e9ef;
  border-radius: 10px;
  font-size: 14px;
}

textarea { min-height: 100px; resize: vertical; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  border: none;
  background: var(--accent);
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover { opacity: 0.9; }

.btn.ghost {
  background: transparent;
  border: 1px solid #e6e9ef;
  color: var(--muted);
}

.flex {
  display: flex;
  gap: 12px;
  align-items: center;
}

.programs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.program {
  flex: 1 1 30%;
  min-width: 160px;
  background: var(--program-bg);
  border-radius: 10px;
  padding: 14px;
  border: 1px solid #eef2ff;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.program:hover {
  background: var(--program-hover);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(79,70,229,0.08);
}

.program.selected {
  border: 2px solid var(--accent);
  box-shadow: 0 6px 20px rgba(79,70,229,0.12);
}

.program strong { display: block; margin-bottom: 8px; font-size: 16px; }

.program-content {
  display: none;
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
}

.program.selected .program-content { display: block; }

.timeslots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.slot {
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #e6e9ef;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slot:hover { background: #f8fafc; }
.slot.selected {
  background: #f0fdf4;
  border-color: var(--success);
  font-weight: 600;
}

.hidden { display: none; }
.center { display: flex; justify-content: center; }
.muted { color: var(--muted); font-size: 13px; }

.confirmation-box {
  padding: 12px;
  background: #fbfdff;
  border-radius: 10px;
  margin-top: 12px;
}
