.timer-type-selection {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

.radio-container {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  position: relative;
  padding-left: 30px;
  margin-bottom: 5px;
  user-select: none;
  font-size: 14px;
  color: var(--text-dark);
}

.radio-container input[type="radio"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.radio-checkmark {
  position: absolute;
  top: 1px;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  border-radius: 50%;
  transition: all 0.2s ease;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Эффект при наведении */
.radio-container:hover input[type="radio"] ~ .radio-checkmark {
  background-color: #e0e0e0;
  border-color: #bbb;
}

/* Стиль при выборе */
.radio-container input[type="radio"]:checked ~ .radio-checkmark {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: none;
}

/* Внутренний кружок (появляется при выборе) */
.radio-checkmark:after {
  content: "";
  position: absolute;
  display: none;
  top: 5px;
  left: 5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
}

/* Показ внутреннего кружка при выборе */
.radio-container input[type="radio"]:checked ~ .radio-checkmark:after {
  display: block;
}

/* Группы настроек для типов таймеров */
.time-settings-group {
  padding: 15px;
  margin-top: 15px;
  background-color: rgba(248, 249, 250, 0.5);
  border-radius: var(--radius-sm);
  border: 1px dashed var(--border-color);
}

.icon-eye-off {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><g fill="none" stroke="%23000000" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10" fill="%23F0F0F0" stroke="%23D1D5DB"/><path d="M4 12s2.5-5 8-5 8 5 8 5-2.5 5-8 5-8-5-8-5z" /><circle cx="12" cy="12" r="3" /><line x1="3" y1="3" x2="21" y2="21" stroke="%23000000" stroke-width="1.8" /></g></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
}
