/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Nov 14 2026 | 12:34:25 */
/* ==========================================================
   FIN — NOTIFICATION TOGGLE THEME | v1.0.0 TEST

   NEW — CSS | External File / Header / Frontend
   Priority: 5

   ON:  Charcoal track (#34383D)
        FIN cyan thumb (#04E3FF)

   OFF: Preserve existing gray track / white thumb

   Targets:
   - Native SureDash notification preferences
   - FIN Unified Notifications
   - FIN OneSignal subscription switch

   Presentation only. Does not alter notification logic.
   ========================================================== */


/* =========================================
   1. NATIVE SUREDASH NOTIFICATION SWITCHES
   ========================================= */

.portal-user-profile-main .portal-notification-toggle
.portal-notification-checkbox:checked + .portal-notification-slider {
    background-color: #545861 !important;
}

.portal-user-profile-main .portal-notification-toggle
.portal-notification-checkbox:checked + .portal-notification-slider::before {
    background-color: #FFC72C !important;
}

/* Keyboard focus */

.portal-user-profile-main .portal-notification-toggle
.portal-notification-checkbox:focus-visible + .portal-notification-slider {
    box-shadow: 0 0 0 3px rgb(4 227 255 / 0.35) !important;
}


/* =========================================
   2. FIN UNIFIED NOTIFICATION SWITCHES
   ========================================= */

#fin-unified-notifications-v112 .fin-un-switch
input:checked + .fin-un-switch-track {
    background-color: #545861 !important;
}

#fin-unified-notifications-v112 .fin-un-switch
input:checked + .fin-un-switch-track::before {
    background-color: #FFC72C !important;
}


/* =========================================
   3. FIN ONESIGNAL SUBSCRIPTION SWITCH
   ========================================= */

#fin-unified-notifications-v112 .fin-un-push-control
.onesignal-customlink-subscribe:is(
    .state-subscribed,
    [data-cl-state="true"]
) {
    background: #545861 !important;
}

#fin-unified-notifications-v112 .fin-un-push-control
.onesignal-customlink-subscribe:is(
    .state-subscribed,
    [data-cl-state="true"]
)::after {
    background-color: #FFC72C !important;
}


/* ==========================================================
   FIN — NOTIFICATION TOGGLE THEME | v1.0.1 TEST
   OneSignal subscribed track correction

   Higher specificity than FIN Unified Notifications
   inline styling. Preserves OneSignal behavior.
   ========================================================== */

#fin-unified-notifications-v112#fin-unified-notifications-v112
.fin-un-push-control
.onesignal-customlink-subscribe:is(
    .state-subscribed,
    [data-cl-state="true"]
) {
    background-color: #545861 !important;
    background-image: none !important;
}



/* FIN — OneSignal subscribed switch opacity test
   Same active slate/gold appearance as other switches.
   Does not affect unsubscribed or disabled states.
*/

#fin-unified-notifications-v112
.fin-un-push-control
.onesignal-customlink-subscribe:is(
    .state-subscribed,
    [data-cl-state="true"]
):not(:disabled):not([aria-disabled="true"]) {
    opacity: 1 !important;
}


/* ==========================================================
   FIN — FIRST STEPS PUSH TOGGLE | v1.0.2 TEST

   Extends existing FIN Notification Toggle Theme.
   Scoped to the First Steps push notification card.

   ON: Slate track / FIN gold thumb
   OFF: Preserve existing OneSignal styling
   ========================================================== */

/* Subscribed / ON track */
.fin-push-lesson
.onesignal-customlink-subscribe:is(
    .state-subscribed,
    [data-cl-state="true"]
) {
    background-color: #545861 !important;
    background-image: none !important;
    opacity: 1 !important;
}

/* Subscribed / ON thumb */
.fin-push-lesson
.onesignal-customlink-subscribe:is(
    .state-subscribed,
    [data-cl-state="true"]
)::after {
    background-color: #FFC72C !important;
}

/* Keyboard focus */
.fin-push-lesson
.onesignal-customlink-subscribe:focus-visible {
    outline: 2px solid #04E3FF !important;
    outline-offset: 3px;
}
