/* App panel contrast tweaks, registered via FilamentAsset in AppPanelProvider. */

/* The default unchecked checkbox border (Filament's `ring-1 ring-gray-950/10`)
   is almost invisible on white, and overriding `--tw-ring-color` is a no-op
   under Tailwind v4's ring handling. Draw the outline with a box-shadow instead
   — reliable across Tailwind's ring internals — scoped to the unfocused state so
   Filament's own focus ring still shows. */
input[type='checkbox'].fi-checkbox-input:not(:checked):not(:indeterminate):not(:focus) {
    box-shadow: 0 0 0 1.5px rgb(100 116 139) !important; /* slate-500 — clearly outlined */
}

/* Filled primary buttons: show the bright brand orange by DEFAULT (it previously
   only appeared on hover), with white text lifted by a subtle shadow for
   legibility and a conventional darken on hover. */
.fi-btn.fi-color-primary:not(.fi-outlined) {
    --bg: #f59e0b !important; /* amber-500 — bright brand orange */
    --text: #ffffff !important;
    --hover-bg: #d97706 !important; /* amber-600 — darken on hover */
    --hover-text: #ffffff !important;
    --dark-bg: #f59e0b !important;
    --dark-text: #ffffff !important;
    --dark-hover-bg: #d97706 !important;
    --dark-hover-text: #ffffff !important;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
}
