/* Notification settings (cabinet): channel cards with switches instead of plain checkboxes. */
.notif-panel { max-width: 640px; }
.notif-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.notif-head h2 { margin: 0 0 4px; }
.notif-head .sub { margin: 0; }
.notif-head-ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: #ff8a1e18; color: #ff8a1e; flex: 0 0 auto; }
.notif-head-ico .i { width: 20px; height: 20px; }
.notif-form { display: flex; flex-direction: column; gap: 10px; }
.notif-card {
  display: flex; align-items: center; gap: 14px; padding: 15px 16px; border-radius: 16px; cursor: pointer;
  border: 1px solid #ffffff12; background: #ffffff05; transition: border-color .15s, background .15s;
}
.notif-card:hover { border-color: #ffffff24; background: #ffffff08; }
.notif-card:has(.notif-check:focus-visible) { outline: 2px solid #ff8a1e; outline-offset: 2px; }
.notif-ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #ffffff0a; color: #c9c7d1; flex: 0 0 auto; }
.notif-ico .i { width: 18px; height: 18px; }
.notif-ico-tg { background: #ffffff0a; }
.notif-ico-tg svg { width: 22px; height: 22px; }
.notif-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.notif-text b { font-size: 14px; color: #f5f5f7; font-weight: 600; }
.notif-text small { font-size: 12px; color: #8d8c98; line-height: 1.45; }
.notif-check {
  appearance: none; -webkit-appearance: none; margin: 0; flex: 0 0 auto; width: 44px; height: 26px; border-radius: 999px; cursor: pointer;
  background: #ffffff1c; position: relative; transition: background .2s;
}
.notif-check::after {
  content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: #e9e8ee; box-shadow: 0 1px 3px #0005; transition: transform .2s;
}
.notif-check:checked { background: linear-gradient(135deg, #ffb36b, #ff8a1e); }
.notif-check:checked::after { transform: translateX(18px); background: #fff; }
.notif-check:disabled { opacity: .45; cursor: not-allowed; }
.notif-check:focus-visible { outline: 2px solid #ff8a1e; outline-offset: 3px; }
.notif-note { display: flex; gap: 9px; align-items: flex-start; margin: 6px 2px 0; font-size: 12px; color: #8d8c98; line-height: 1.55; }
.notif-note .i { width: 15px; height: 15px; flex: 0 0 auto; margin-top: 2px; color: #ff9c4b; fill: none; }
.notif-form .form-msg { margin: 0; min-height: 0; }
.notif-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.notif-actions .btn { min-width: 150px; }
@media (max-width: 480px) {
  .notif-actions .btn { flex: 1 1 100%; }
  .notif-card { padding: 13px; gap: 11px; }
}
@media (prefers-reduced-motion: reduce) { .notif-check, .notif-check::after, .notif-card { transition: none; } }
