
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  background-color: #f8f9fa;
  color: #212529;
  min-height: 100vh;
  margin: 0;
}

h1 {
  text-align: center;
  color: #1a365d;
  margin: 2rem 0;
  font-weight: 700;
  font-size: 2.5rem;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  background: linear-gradient(45deg, #1a365d, #2563eb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.custom-radio-group {
  --transDur: 0.3s;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1em;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.custom-radio-group form {
  display: flex;
  gap: 0.1em;
  max-width: 20em;
  margin: auto;
  padding: 0 1em;
}

.custom-radio-group .radio-label {
  width: 100px;
  position: relative;
  display: block;
  text-align: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.custom-radio-group .radio-input {
  background-image: linear-gradient(#ffffff 33%, #414751 58%, #837b52, #c5baa1, #c3adaa);
  border-radius: 0;
  box-shadow: 0.1em 0 0 #2726267f inset, -0.1em 0 0 #27262600 inset, 0 0.1em 0 #afa490 inset,
    0 -0.1em 0 #ffffff3f, 0 0.2em 0.5em #0000007f, 0 -0.1em 0 #926086 inset,
    -0.1em -0.2em 0 #ffffff7f inset;
  cursor: pointer;
  display: block;
  margin-bottom: 0.5em;
  width: 100%;
  height: 0.8em;
  transition: box-shadow var(--transDur) ease-in-out;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.custom-radio-group .radio-input:checked {
  background-image: linear-gradient(#ffffff 33%, #414751 58%, #827a7b, #c0b6ac, #c3adaa);
  box-shadow: 0.1em 0 0 #272626af inset, -0.1em 0 0 #272626 inset, 0 0.1em 0 #847a62 inset,
    0 -0.1em 0 #ffffff3f, 0 0.1em 0 #ffffff7f, 0 -0.1em 0 #722257 inset,
    -0.1em -0.2em 0 #ffffff7f inset;
}

.custom-radio-group .radio-input:checked + span {
  opacity: 1;
  color: #2563eb;
  font-weight: 600;
}

.custom-radio-group .radio-input + span {
  opacity: 0.65;
  transition: all var(--transDur) ease-in-out;
}

.custom-radio-group .radio-label:first-child .radio-input {
  border-radius: 0.4em 0 0 0.4em;
}

.custom-radio-group .radio-label:last-child .radio-input {
  border-radius: 0 0.4em 0.4em 0;
}

.search input {
  padding: 12px 16px;
  width: 280px;
  margin-bottom: 24px;
  font-size: 16px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.search input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

#stations-list {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.station {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.station:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.station p {
  margin: 0;
  font-size: 16px;
  color: #4b5563;
}

button {
  padding: 8px 16px;
  background-color: #2563eb;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

button:hover {
  background-color: #1d4ed8;
}

#radio-player {
  margin-top: 24px;
  width: 100%;
  max-width: 480px;
  border-radius: 8px;
}
