/**
 * Notifier bell styles. All `--notifier-*` vars resolve to Tabler theme
 * vars first, hardcoded fallbacks only when the theme doesn't expose
 * them. Scoped under .notifier-bell-wrap / .notifier-modal-overlay.
 */

.notifier-bell-wrap,
.notifier-modal-overlay {
    /* Hardcoded palette — immune to host theme overrides */
    --notifier-primary:       #324E86;
    --notifier-primary-rgb:   50, 78, 134;
    --notifier-primary-dark:  #263c6a;
    --notifier-danger:        #dc3545;
    --notifier-success:       #198754;
    --notifier-warning:       #fd7e14;
    --notifier-info:          #0dcaf0;
    --notifier-purple:        #6f42c1;
    --notifier-teal:          #20c997;
    --notifier-surface:       #2c3440;
    --notifier-surface-alt:   #242c38;
    --notifier-border:        rgba(255, 255, 255, .12);
    --notifier-text:          #ffffff;
    --notifier-text-muted:    #b0bec5;
    --notifier-row-hover:     rgba(255, 255, 255, .08);
}

.notifier-bell-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-right: 8px;
    vertical-align: middle;
}

/* Floating mount: GLPI header DOM varies by theme; fixed bottom-right
   sidesteps every selector-based mount edge case. */
.notifier-bell-wrap.notifier-bell-floating {
    position: fixed;
    bottom: 20px;
    right: 20px;
    top: auto;
    left: auto;
    z-index: 10050;
    margin-right: 0;
}

.notifier-bell-wrap.notifier-bell-floating .notifier-bell-btn {
    width: 56px;
    height: 56px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #324E86;
    border: 0;
    border-radius: 50%;
    box-shadow: 0 8px 22px rgba(50,78,134,.4);
    color: #fff;
    font-size: 22px;
    transition: background-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.notifier-bell-wrap.notifier-bell-floating .notifier-bell-btn:hover,
.notifier-bell-wrap.notifier-bell-floating .notifier-bell-btn:focus-visible {
    background: #263c6a;
    box-shadow: 0 10px 26px rgba(50,78,134,.5);
    outline: 0;
    transform: translateY(-1px);
}

.notifier-bell-wrap.notifier-bell-floating .notifier-bell-badge {
    top: 0;
    right: 0;
    min-width: 22px;
    height: 22px;
    line-height: 22px;
    font-size: 11px;
    box-shadow: 0 0 0 2px #2c3440;
}

.notifier-bell-wrap.notifier-bell-floating.is-collapsed {
    right: -36px;
    transition: right .2s ease;
}

.notifier-bell-wrap.notifier-bell-floating.is-collapsed:hover {
    right: -20px;
}

.notifier-bell-wrap.notifier-bell-floating:not(.is-collapsed) {
    transition: right .2s ease;
}

.notifier-bell-wrap.notifier-bell-floating.is-collapsed .notifier-bell-panel {
    display: none !important;
}

.notifier-bell-restore {
    position: absolute;
    top: -10px;
    left: -14px;
    width: 22px;
    height: 22px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #324E86;
    color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(50,78,134,.4);
    z-index: 1;
}

.notifier-bell-wrap.notifier-bell-floating.is-collapsed .notifier-bell-restore {
    display: inline-flex;
}

/* Floating panel opens upwards from the button, anchored right-edge so
   it never spills off-screen on narrow viewports. */
.notifier-bell-wrap.notifier-bell-floating .notifier-bell-panel {
    top: auto;
    bottom: calc(100% + 12px);
    right: 0;
    left: auto;
    transform-origin: bottom right;
}

@media (max-width: 600px) {
    .notifier-bell-wrap.notifier-bell-floating {
        bottom: 14px;
        right: 14px;
    }
    .notifier-bell-wrap.notifier-bell-floating .notifier-bell-panel {
        width: calc(100vw - 28px);
        max-width: 460px;
        max-height: 75vh;
        right: 0;
    }
}

.notifier-bell-btn {
    background: transparent;
    border: 0;
    padding: 6px 10px;
    cursor: pointer;
    color: inherit;
    font-size: 18px;
    line-height: 1;
    border-radius: 8px;
    transition: background-color .15s ease;
    position: relative;
}

.notifier-bell-btn:hover,
.notifier-bell-btn:focus-visible {
    background-color: rgba(0, 0, 0, .08);
    outline: 0;
}

.notifier-bell-wrap.has-unread .notifier-bell-btn {
    animation: notifier-pulse 2s ease-in-out 1;
}

@keyframes notifier-pulse {
    0%, 100% { transform: rotate(0); }
    10%, 30% { transform: rotate(-12deg); }
    20%, 40% { transform: rotate( 12deg); }
    50%      { transform: rotate(0); }
}

.notifier-bell-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 10px;
    background: #dc3545;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
    box-shadow: 0 0 0 2px #2c3440;
    pointer-events: none;
}

.notifier-bell-panel {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    width: 700px;
    height: 70vh;
    max-height: 70vh;
    min-height: 500px;
    background: #2c3440;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, .22);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: notifier-pop-in .15s ease-out;
}

@keyframes notifier-pop-in {
    from { opacity: 0; transform: translateY(6px) scale(.98); }
    to   { opacity: 1; transform: none; }
}

.notifier-bell-panel[hidden] {
    display: none;
}

.notifier-bell-panel-header {
    background: #2c3440;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.notifier-bell-panel-titlebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px 10px;
}

.notifier-bell-panel-title {
    font-weight: 700;
    font-size: 16px;
    color: #ffffff;
}

.notifier-bell-panel-count {
    color: #b0bec5;
    font-weight: 500;
    font-size: 14px;
    margin-left: 2px;
}

.notifier-bell-tabs {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 0 10px;
    border-bottom: 1px solid rgba(255,255,255,.12);
    min-height: 40px;
    overflow-x: auto;
}

.notifier-bell-tab {
    background: transparent;
    border: 0;
    border-bottom: 2px solid transparent;
    padding: 8px 6px;
    margin-right: 2px;
    color: #b0bec5;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .02em;
    cursor: pointer;
    position: relative;
    transition: color .12s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.notifier-bell-tab:hover {
    color: #ffffff;
}

.notifier-bell-tab.is-active {
    color: #f5a623;
    border-bottom-color: #f5a623;
}

.tab-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 8px;
    background: rgba(255,255,255,.2);
    color: #ffffff;
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
}

.notifier-bell-tab.is-active .tab-badge {
    background: #f5a623;
    color: #1e2327;
}

.notifier-bell-markall {
    margin-left: auto;
    background: transparent;
    border: 0;
    color: #f5a623;
    font-size: 12px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
}

.notifier-bell-markall:hover {
    background: rgba(50,78,134,.15);
}

.notifier-bell-minimize {
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #b0bec5;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.notifier-bell-minimize:hover {
    background: rgba(0, 0, 0, .08);
    color: #ffffff;
}

.notifier-bell-panel-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 300px;
    background: #242c38;
}

.notifier-bell-list {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    flex: 1;
    min-height: 300px;
}

.notifier-bell-item {
    display: flex;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255,255,255,.12);
    cursor: pointer;
    transition: background-color .12s ease;
    background: #2c3440;
}

.notifier-bell-item:last-child {
    border-bottom: 0;
}

.notifier-bell-item:hover {
    background: rgba(255,255,255,.08);
}

.notifier-bell-item.is-unread {
    background: rgba(50,78,134,.2);
    border-left: 3px solid #f5a623;
    padding-left: 13px;
}

.notifier-bell-item.is-unread .notifier-bell-item-title {
    font-weight: 700;
    color: #ffffff;
}

.notifier-bell-item.is-unread .notifier-bell-item-msg {
    color: #ffffff;
}

.notifier-bell-item.is-unread:hover {
    background: rgba(50,78,134,.25);
}

.notifier-bell-item-icon {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #242c38;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b0bec5;
    font-size: 15px;
}

.notifier-bell-item.is-unread .notifier-bell-item-icon {
    background: #324E86;
    color: #fff;
}

.notifier-bell-item.notifier-event-assigned       .notifier-bell-item-icon { background: #198754; color: #fff; }
.notifier-bell-item.notifier-event-commented      .notifier-bell-item-icon { background: #6f42c1;  color: #fff; }
.notifier-bell-item.notifier-event-status_changed .notifier-bell-item-icon { background: #fd7e14; color: #fff; }
.notifier-bell-item.notifier-event-solution       .notifier-bell-item-icon { background: #20c997;    color: #fff; }
.notifier-bell-item.notifier-event-task_added     .notifier-bell-item-icon { background: #0dcaf0;    color: #000; }

.notifier-bell-item-body {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.notifier-bell-item-title {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notifier-bell-item-msg {
    font-size: 12px;
    color: #b0bec5 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Force all text inside the panel to be readable regardless of theme inheritance */
.notifier-bell-floating .notifier-bell-panel,
.notifier-bell-floating .notifier-bell-panel * {
    color: #ffffff;
}
.notifier-bell-floating .notifier-bell-panel .notifier-bell-item-msg,
.notifier-bell-floating .notifier-bell-panel .notifier-bell-item-meta,
.notifier-bell-floating .notifier-bell-panel .notifier-bell-tab:not(.is-active),
.notifier-bell-floating .notifier-bell-panel .notifier-bell-text-muted {
    color: #b0bec5;
}
.notifier-bell-floating .notifier-bell-panel .notifier-bell-tab.is-active,
.notifier-bell-floating .notifier-bell-panel .notifier-bell-markall {
    color: #f5a623;
}

.notifier-bell-item-meta {
    font-size: 11px;
    color: #b0bec5;
    opacity: .85;
    margin-top: 3px;
}

.notifier-bell-item-toggle {
    flex: 0 0 auto;
    align-self: center;
    width: 30px;
    height: 30px;
    padding: 0;
    margin-left: 6px;
    border: 1px solid rgba(50,78,134, .3);
    border-radius: 50%;
    background: #2c3440;
    color: #f5a623;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: background .12s ease, color .12s ease, border-color .12s ease;
}

.notifier-bell-item-toggle:hover,
.notifier-bell-item-toggle:focus-visible {
    background: #324E86;
    color: #fff;
    border-color: #f5a623;
    outline: 0;
}

.notifier-bell-item.is-read .notifier-bell-item-toggle {
    border-color: rgba(255,255,255,.12);
    color: #b0bec5;
}

.notifier-bell-item.is-read .notifier-bell-item-toggle:hover {
    border-color: rgba(50,78,134,.5);
    color: #f5a623;
    background: #2c3440;
}

/* ====== Grouped notifications ====== */

.notifier-bell-group {
    list-style: none;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.notifier-bell-group:last-child {
    border-bottom: 0;
}

/* The list-level border lives on the group <li>; strip it from the inner
   header to avoid doubling. */
.notifier-bell-group-header {
    border-bottom: 0 !important;
}

.notifier-bell-group-expand {
    flex: 0 0 auto;
    align-self: center;
    width: 28px;
    height: 28px;
    padding: 0;
    margin-left: 4px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #b0bec5;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: background .12s ease, color .12s ease, transform .15s ease;
}

.notifier-bell-group-expand:hover,
.notifier-bell-group-expand:focus-visible {
    background: rgba(50,78,134,.2);
    color: #f5a623;
    outline: 0;
}

.notifier-bell-group.is-expanded .notifier-bell-group-expand {
    color: #f5a623;
    transform: rotate(180deg);
}

.notifier-bell-group-meta-count {
    font-weight: 600;
    color: #f5a623;
    margin-left: 2px;
}

.notifier-bell-subs {
    list-style: none;
    margin: 0;
    padding: 0;
    background: #242c38;
    border-top: 1px solid rgba(255,255,255,.12);
}

.notifier-bell-sub-item {
    display: flex;
    gap: 10px;
    padding: 10px 16px 10px 56px;  /* 56px aligns with the group icon column */
    border-bottom: 1px solid rgba(255,255,255,.12);
    cursor: pointer;
    transition: background-color .12s ease;
    background: transparent;
}

.notifier-bell-sub-item:last-child {
    border-bottom: 0;
}

.notifier-bell-sub-item:hover {
    background: rgba(255,255,255,.08);
}

.notifier-bell-sub-item.is-unread {
    background: rgba(50,78,134,.2);
}

.notifier-bell-sub-item.is-unread:hover {
    background: rgba(50,78,134,.25);
}

.notifier-bell-sub-icon {
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #2c3440;
    border: 1px solid rgba(255,255,255,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b0bec5;
    font-size: 11px;
}

.notifier-bell-sub-item.notifier-event-assigned       .notifier-bell-sub-icon { background: #198754; border-color: #198754; color: #fff; }
.notifier-bell-sub-item.notifier-event-commented      .notifier-bell-sub-icon { background: #6f42c1;  border-color: var(--notifier-purple);  color: #fff; }
.notifier-bell-sub-item.notifier-event-status_changed .notifier-bell-sub-icon { background: #fd7e14; border-color: var(--notifier-warning); color: #fff; }
.notifier-bell-sub-item.notifier-event-solution       .notifier-bell-sub-icon { background: #20c997;    border-color: var(--notifier-teal);    color: #fff; }
.notifier-bell-sub-item.notifier-event-task_added     .notifier-bell-sub-icon { background: #0dcaf0;    border-color: var(--notifier-info);    color: #000; }

.notifier-bell-sub-body {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.notifier-bell-sub-msg {
    font-size: 12px;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notifier-bell-sub-item.is-unread .notifier-bell-sub-msg {
    font-weight: 600;
}

.notifier-bell-empty {
    padding: 48px 20px 60px;
    text-align: center;
    color: #b0bec5;
    font-size: 13px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.notifier-bell-empty-art {
    width: 80px;
    height: 80px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: linear-gradient(135deg,
        rgba(50,78,134,.25),
        rgba(50,78,134,.05));
    color: #f5a623;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notifier-bell-empty-title {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}

.notifier-bell-empty-hint {
    font-size: 13px;
    color: #b0bec5;
}

.notifier-bell-panel-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 10px 14px;
    border-top: 1px solid rgba(255,255,255,.12);
    background: #2c3440;
}

.notifier-bell-settings {
    background: #2c3440;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 8px;
    color: #ffffff;
    cursor: pointer;
    font-size: 13px;
    padding: 7px 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: border-color .12s ease, background .12s ease, color .12s ease;
}

.notifier-bell-settings i {
    color: #f5a623;
}

.notifier-bell-settings:hover,
.notifier-bell-settings:focus-visible {
    border-color: #f5a623;
    background: rgba(50,78,134,.15);
    outline: 0;
}

.theme-dark .notifier-bell-btn,
.is-dark-header .notifier-bell-btn {
    color: #fff;
}

.theme-dark .notifier-bell-btn:hover,
.is-dark-header .notifier-bell-btn:hover {
    background: rgba(255, 255, 255, .15);
}

/* ====== Preferences modal ====== */

.notifier-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, .5);
    z-index: 11000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    animation: notifier-fade-in .15s ease-out;
}

.notifier-modal-overlay[hidden] {
    display: none;
}

@keyframes notifier-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.notifier-modal {
    background: #2c3440;
    color: #ffffff;
    border-radius: 14px;
    box-shadow: 0 22px 60px rgba(0, 0, 0, .35);
    width: 520px;
    max-width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: notifier-pop-in .18s ease-out;
}

.notifier-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 22px;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.notifier-modal-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.notifier-modal-title i {
    color: #f5a623;
}

.notifier-modal-close {
    width: 32px;
    height: 32px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 8px;
    color: #b0bec5;
    cursor: pointer;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.notifier-modal-close:hover {
    background: rgba(0, 0, 0, .08);
    color: #ffffff;
}

.notifier-modal-body {
    padding: 18px 22px 8px;
    overflow-y: auto;
    flex: 1;
}

.notifier-modal-intro {
    margin: 0 0 16px;
    color: #b0bec5;
    font-size: 13px;
    line-height: 1.5;
}

.notifier-pref-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.notifier-pref-table thead th {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #b0bec5;
    padding: 8px 10px;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.notifier-pref-table thead th:first-child {
    text-align: left;
}

.notifier-pref-table tbody th {
    text-align: left;
    padding: 14px 10px;
    font-weight: 600;
    color: #ffffff;
    border-bottom: 1px solid rgba(255,255,255,.12);
    width: 50%;
}

.notifier-pref-table tbody td {
    text-align: center;
    padding: 14px 10px;
    border-bottom: 1px solid rgba(255,255,255,.12);
    vertical-align: middle;
}

.notifier-pref-table tbody tr:last-child th,
.notifier-pref-table tbody tr:last-child td {
    border-bottom: 0;
}

.notifier-switch {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 24px;
    cursor: pointer;
    vertical-align: middle;
}

.notifier-switch input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.notifier-switch-slider {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,.12);
    border-radius: 24px;
    transition: background .15s ease;
}

.notifier-switch-slider::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
    transition: transform .15s ease;
}

.notifier-switch input:checked + .notifier-switch-slider {
    background: #324E86;
}

.notifier-switch input:checked + .notifier-switch-slider::before {
    transform: translateX(18px);
}

.notifier-switch input:focus-visible + .notifier-switch-slider {
    box-shadow: 0 0 0 3px rgba(50,78,134,.25);
}

.notifier-modal-toast {
    margin-top: 14px;
    padding: 10px 14px;
    background: rgba(50,78,134,.15);
    color: #f5a623;
    border-radius: 8px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.notifier-modal-toast[hidden] {
    display: none;
}

.notifier-modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 14px 22px;
    border-top: 1px solid rgba(255,255,255,.12);
    background: #242c38;
}

.notifier-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 8px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    color: #ffffff;
    transition: background .12s ease, border-color .12s ease, color .12s ease;
}

.notifier-btn:hover {
    background: rgba(255,255,255,.08);
}

.notifier-btn-primary {
    background: #324E86;
    border-color: #f5a623;
    color: #fff;
}

.notifier-btn-primary:hover {
    background: #263c6a;
    border-color: var(--notifier-primary-dark);
    color: #fff;
}

.notifier-btn-primary:disabled,
.notifier-btn:disabled {
    opacity: .6;
    cursor: not-allowed;
}

@media (max-width: 600px) {
    .notifier-modal {
        width: 100%;
    }
    .notifier-pref-table tbody th {
        font-size: 13px;
    }
}

/* ====== Status badge ====== */
.notifier-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .03em;
    opacity: .9;
}

.notifier-status-badge .fa-circle {
    font-size: 7px;
}

/* ====== Sound toggle in preferences ====== */
.notifier-pref-sound {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0 4px;
    margin-top: 12px;
    border-top: 1px solid rgba(255,255,255,.09);
}

.notifier-pref-sound-label {
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.notifier-pref-sound-label .fas {
    color: #f5a623;
}

/* ====== Preference select ====== */
.notifier-pref-select {
    background: #1e2327;
    color: #ffffff;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 12px;
    cursor: pointer;
    outline: none;
    min-width: 180px;
}

.notifier-pref-select:focus {
    border-color: #f5a623;
}

.notifier-pref-select option {
    background: #1e2327;
    color: #ffffff;
}

/* ====== Sound sub-toggles ====== */
.notifier-pref-sound-subtoggle {
    background: rgba(255,255,255,.04);
    border-radius: 8px;
    padding: 8px 12px;
    margin: -4px 0 8px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.notifier-sound-sub-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.notifier-pref-sound-sublabel {
    color: #b0bec5;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.notifier-pref-sound-sublabel .fas {
    color: #6b7a8d;
    font-size: 11px;
}

.notifier-switch-sm .notifier-switch-track {
    width: 32px;
    height: 18px;
}

.notifier-switch-sm .notifier-switch-thumb {
    width: 14px;
    height: 14px;
}
