.opciones-tema {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.opcion-tema {
  display: flex;
  align-items: center;
  padding: .8rem 1rem;
  border: 1px solid var(--gris-400);
  border-radius: 10px;
  background: var(--superficie);
  color: var(--texto);
  font-size: .92rem;
  text-align: left;
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease, transform .12s ease;
}
.opcion-tema:active { transform: scale(.98); }
.opcion-tema.activo {
  border-color: var(--verde);
  border-width: 2px;
  background: color-mix(in srgb, var(--verde) 12%, var(--superficie));
  font-weight: 700;
  color: var(--verde);
}
.opciones-estilo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
}
.opciones-estilo .opcion-tema { padding: .65rem .7rem; font-size: .8rem; }
.icono-opcion-estilo {
  display: inline-flex;
  flex-shrink: 0;
  margin-right: .4rem;
}
.icono-opcion-estilo svg { display: block; }

/* Confirmación al elegir estilo: el icono del tema aparece grande en el
   centro, en su propio acento (--verde ya está actualizado en ese momento,
   así que el color es siempre el del tema recién aplicado), con un golpe
   de rebote, y se desvanece solo. */
.flourish-estilo {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.flourish-estilo-icono {
  color: var(--verde);
  filter: drop-shadow(0 0 20px color-mix(in srgb, var(--verde) 55%, transparent));
  animation: flourish-estilo-pop .85s cubic-bezier(.22, .7, .3, 1) both;
}
.flourish-estilo-icono svg { width: 92px; height: 92px; }
@keyframes flourish-estilo-pop {
  0% { opacity: 0; transform: scale(.3) rotate(-12deg); }
  32% { opacity: 1; transform: scale(1.15) rotate(3deg); }
  55% { transform: scale(1) rotate(0deg); }
  78% { opacity: 1; }
  100% { opacity: 0; transform: scale(1.06); }
}

.lista-tipos-noti {
  margin-top: .85rem;
  display: flex;
  flex-direction: column;
}
.fila-tipo-noti {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .65rem .1rem;
  border-bottom: 1px solid var(--gris-200);
  font-size: .85rem;
  cursor: pointer;
}
.fila-tipo-noti:last-child { border-bottom: none; }
.in-tipo-noti {
  appearance: none;
  -webkit-appearance: none;
  width: 2.4rem;
  height: 1.4rem;
  border-radius: 1rem;
  background: var(--gris-400);
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color .2s ease;
}
.in-tipo-noti::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
  transition: transform .2s ease;
}
.in-tipo-noti:checked { background: var(--verde); }
.in-tipo-noti:checked::before { transform: translateX(1rem); }
