.nav-tabs .nav-link {
    cursor: pointer;
}
[v-cloak] { display: none; }
/* Увеличиваем контейнер свитча и выравниваем по центру строки */
.custom-switch.custom-switch-xl {
    padding-left: 3.5rem;
    height: 1.75rem;
    display: inline-flex; /* Гарантирует правильное центрирование текста по вертикали */
    align-items: center;
}

/* Увеличиваем подложку (серый овал) */
.custom-switch.custom-switch-xl .custom-control-label::before {
    left: -3.5rem;
    width: 2.75rem;
    height: 1.5rem;
    border-radius: 1rem;
}

/* Увеличиваем белый бегунок (круг) внутри */
.custom-switch.custom-switch-xl .custom-control-label::after {
    left: calc(-3.5rem + 2px);
    width: calc(1.5rem - 4px);
    height: calc(1.5rem - 4px);
    border-radius: 1rem;
}

/* Смещение бегунка при активации с учетом нового размера */
.custom-switch.custom-switch-xl .custom-control-input:checked ~ .custom-control-label::after {
    transform: translateX(1.25rem);
}

/* ИСПРАВЛЕНИЕ: Меняем цвет на инфо-синий (цвета badge-info) при включении */
.custom-switch.custom-switch-xl .custom-control-input:checked ~ .custom-control-label::before {
    border-color: #17a2b8 !important;
    background-color: #17a2b8 !important;
}

/* ИСПРАВЛЕНИЕ: Смягчаем тень при фокусе, чтобы она была синеватой (под цвет тегов) */
.custom-switch.custom-switch-xl .custom-control-input:focus ~ .custom-control-label::before {
    box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.25) !important;
}

.custom-switch.custom-switch-xl .custom-control-input:focus:not(:checked) ~ .custom-control-label::before {
    border-color: #ced4da !important;
}
/* Имитация стандартного инпута AdminLTE/Bootstrap с тегами внутри */
.form-control-tags-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  width: 100%;
  min-height: calc(2.25rem + 2px);
  padding: 4px 12px;
  background-color: #fff;
  border: 1px solid #ced4da;
  border-radius: .25rem;
  box-shadow: inset 0 0 0 transparent;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

/* Фокус на контейнере при вводе */
.form-control-tags-wrapper:focus-within {
  border-color: #80bdff;
  outline: 0;
  box-shadow: 0 0 0 .2rem rgba(0,123,255,.25);
}

/* Поддержка класса ошибки для кастомного контейнера */
.form-control-tags-wrapper.is-invalid-wrapper {
  border-color: #dc3545;
}
.form-control-tags-wrapper.is-invalid-wrapper:focus-within {
  box-shadow: 0 0 0 .2rem rgba(220,53,69,.25);
}

/* Стилизация самих тегов */
.age-tag {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  padding: 4px 8px !important;
  border-radius: 4px;
  font-weight: 500;
}

/* Кнопка удаления тега */
.age-tag-remove {
  margin-left: 6px;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  transition: color 0.15s ease;
}
.age-tag-remove:hover {
  color: #ffc107;
}

/* Внутренний невидимый инпут */
.tags-inline-input {
  flex: 1;
  min-width: 60px;
  border: none !important;
  outline: none !important;
  padding: 0 !important;
  height: 100%;
  background: transparent;
  color: #495057;
}
