body {
  font-family: Arial, Helvetica, sans-serif;
  background: #f4f4f4;
  padding: 20px;
}

.container {
  max-width: 700px;
  margin: auto;
  background: white;
  padding: 20px;
  border-radius: 8px;
}

h1 {
  text-align: center;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

label {
  display: flex;
  flex-direction: column;
  font-weight: bold;
}

input,
select,
button {
  padding: 8px;
  font-size: 16px;
}

button {
  cursor: pointer;
  background: #222;
  color: white;
  border: none;
  border-radius: 4px;
}

button:hover {
  background: #444;
}

.output {
  margin-top: 20px;
  white-space: pre-line;
}

.error {
  color: #b00020;
  font-weight: bold;
  white-space: normal;
}

/* --- Old-school workout planner --- */

.planner-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 24px;
}

.planner-header h2 {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 3px;
  color: #6ec3e0;
}

.planner-header .dumbbell {
  font-size: 24px;
}

.planner-block {
  margin-bottom: 28px;
}

.planner-meta {
  display: flex;
  justify-content: space-between;
  font-weight: bold;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.planner-table {
  width: 100%;
  border-collapse: collapse;
  border: 2px solid #333;
  table-layout: fixed;
}

.planner-table th,
.planner-table td {
  border: 1px solid #333;
  padding: 8px 10px;
  text-align: left;
  font-size: 13px;
  height: 26px;
}

.planner-table th {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
  font-weight: 700;
}

.planner-table.blue th {
  background: #cfe8f3;
}

.planner-table.green th {
  background: #d9ead3;
}

.planner-table.tan th {
  background: #f4e4c1;
}
