﻿/* Fältstilarna för .filibabba-url-input låg här — den sjätte kopian av samma
   regler. De bor nu i partner-forms.css tillsammans med alla andras. */

/* --- Z-INDEX FIX FÖR ATT LÅTA SNACKBAREN VINNA --- */
/* Vi sätter maxvärdet på z-index globalt via body för HELA snackbar-kedjan */
body .mud-snackbar-provider,
body .mud-snackbar-location,
body .mud-snackbar {
    z-index: 2147483647 !important;
}

/* FIX: Tvinga snackbaren att vara 100% solid (inte genomskinlig) och ge den en härlig Lunchfilibabba-färg! */
body .mud-snackbar {
    opacity: 1 !important; /* Ingen genomskinlighet! */
}

body .mud-snackbar-info, body .mud-alert-filled-info {
    background-color: #581c87 !important; /* Lunchfilibabba Lila (Tailwind purple-900) */
    color: white !important;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.6) !important; /* En extra tydlig skugga */
    border-radius: 0.75rem !important; /* Mjuka kanter, precis som logotypen */
}

/* --- MUD-SWITCH DESIGNFIXAR --- */

/* 1. Spåret (track) när den är AV (grått istället för osynligt) */
.custom-feature-switch .mud-switch-base:not(.mud-checked) ~ .mud-switch-track {
    background-color: #cbd5e1 !important; /* Tailwind gray-300 */
    opacity: 1 !important;
}

/* 2. Knappen (thumb) när den är PÅ (Både upplåst och låst/disabled) */
.custom-feature-switch .mud-switch-base.mud-checked,
.custom-feature-switch .mud-switch-base.mud-checked.mud-disabled {
    color: rgb(var(--pp-action)) !important;
    opacity: 1 !important;
}

    /* 3. Spåret (track) när den är PÅ (Både upplåst och låst/disabled) */
    .custom-feature-switch .mud-switch-base.mud-checked ~ .mud-switch-track,
    .custom-feature-switch .mud-switch-base.mud-checked.mud-disabled ~ .mud-switch-track {
        background-color: rgb(var(--pp-action)) !important;
        opacity: 0.4 !important;
    }


/* Fältstilarna för .filibabba-email-verifier låg här — den nionde kopian. De bor
   nu i partner-forms.css, inklusive det låsta lägets egen bakgrund. */


