/* ==========================================================================
   Kai Minimalist Framework - Utilities
   Theme-aware surface/ink helpers, spacing, flex, display, borders & sizing
   ========================================================================== */

/* --------------------------------------------------------------------------
   Display & Responsive Visibility
   -------------------------------------------------------------------------- */
.d-none         { display: none !important; }
.d-inline       { display: inline !important; }
.d-inline-block { display: inline-block !important; }
.d-block        { display: block !important; }
.d-grid         { display: grid !important; }
.d-flex         { display: flex !important; }
.d-inline-flex  { display: inline-flex !important; }
.d-table        { display: table !important; }
.d-table-cell   { display: table-cell !important; }

@media (min-width: 576px) {
    .d-sm-none         { display: none !important; }
    .d-sm-inline       { display: inline !important; }
    .d-sm-inline-block { display: inline-block !important; }
    .d-sm-block        { display: block !important; }
    .d-sm-flex         { display: flex !important; }
    .d-sm-inline-flex  { display: inline-flex !important; }
}

@media (min-width: 768px) {
    .d-md-none         { display: none !important; }
    .d-md-inline       { display: inline !important; }
    .d-md-inline-block { display: inline-block !important; }
    .d-md-block        { display: block !important; }
    .d-md-flex         { display: flex !important; }
    .d-md-inline-flex  { display: inline-flex !important; }
}

@media (min-width: 992px) {
    .d-lg-none         { display: none !important; }
    .d-lg-inline       { display: inline !important; }
    .d-lg-inline-block { display: inline-block !important; }
    .d-lg-block        { display: block !important; }
    .d-lg-flex         { display: flex !important; }
    .d-lg-inline-flex  { display: inline-flex !important; }
}

@media (min-width: 1200px) {
    .d-xl-none         { display: none !important; }
    .d-xl-inline       { display: inline !important; }
    .d-xl-inline-block { display: inline-block !important; }
    .d-xl-block        { display: block !important; }
    .d-xl-flex         { display: flex !important; }
    .d-xl-inline-flex  { display: inline-flex !important; }
}

@media print {
    .d-print-none         { display: none !important; }
    .d-print-inline       { display: inline !important; }
    .d-print-inline-block { display: inline-block !important; }
    .d-print-block        { display: block !important; }
    .d-print-flex         { display: flex !important; }
}

/* --------------------------------------------------------------------------
   Flexbox & Alignment
   -------------------------------------------------------------------------- */
.flex-row            { flex-direction: row !important; }
.flex-column         { flex-direction: column !important; }
.flex-row-reverse    { flex-direction: row-reverse !important; }
.flex-column-reverse { flex-direction: column-reverse !important; }
.flex-wrap           { flex-wrap: wrap !important; }
.flex-nowrap         { flex-wrap: nowrap !important; }
.flex-fill           { flex: 1 1 auto !important; }
.flex-grow-0         { flex-grow: 0 !important; }
.flex-grow-1         { flex-grow: 1 !important; }
.flex-shrink-0       { flex-shrink: 0 !important; }
.flex-shrink-1       { flex-shrink: 1 !important; }

.justify-content-start   { justify-content: flex-start !important; }
.justify-content-end     { justify-content: flex-end !important; }
.justify-content-center  { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-around  { justify-content: space-around !important; }
.justify-content-evenly  { justify-content: space-evenly !important; }

.align-items-start    { align-items: flex-start !important; }
.align-items-end      { align-items: flex-end !important; }
.align-items-center   { align-items: center !important; }
.align-items-baseline { align-items: baseline !important; }
.align-items-stretch  { align-items: stretch !important; }

.align-self-auto     { align-self: auto !important; }
.align-self-start    { align-self: flex-start !important; }
.align-self-end      { align-self: flex-end !important; }
.align-self-center   { align-self: center !important; }
.align-self-baseline { align-self: baseline !important; }
.align-self-stretch  { align-self: stretch !important; }

.order-first { order: -1 !important; }
.order-last  { order: 6 !important; }
.order-0 { order: 0 !important; }
.order-1 { order: 1 !important; }
.order-2 { order: 2 !important; }
.order-3 { order: 3 !important; }

.gap-0 { gap: 0 !important; }
.gap-1 { gap: 0.25rem !important; }
.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 1rem !important; }
.gap-4 { gap: 1.5rem !important; }
.gap-5 { gap: 3rem !important; }

.row-gap-0 { row-gap: 0 !important; }
.row-gap-1 { row-gap: 0.25rem !important; }
.row-gap-2 { row-gap: 0.5rem !important; }
.row-gap-3 { row-gap: 1rem !important; }
.row-gap-4 { row-gap: 1.5rem !important; }

.column-gap-0 { column-gap: 0 !important; }
.column-gap-1 { column-gap: 0.25rem !important; }
.column-gap-2 { column-gap: 0.5rem !important; }
.column-gap-3 { column-gap: 1rem !important; }
.column-gap-4 { column-gap: 1.5rem !important; }

@media (min-width: 768px) {
    .flex-md-row            { flex-direction: row !important; }
    .flex-md-column         { flex-direction: column !important; }
    .justify-content-md-start   { justify-content: flex-start !important; }
    .justify-content-md-end     { justify-content: flex-end !important; }
    .justify-content-md-center  { justify-content: center !important; }
    .justify-content-md-between { justify-content: space-between !important; }
    .align-items-md-center  { align-items: center !important; }
    .order-md-1 { order: 1 !important; }
    .order-md-2 { order: 2 !important; }
}

@media (min-width: 992px) {
    .flex-lg-row            { flex-direction: row !important; }
    .flex-lg-column         { flex-direction: column !important; }
    .justify-content-lg-between { justify-content: space-between !important; }
    .align-items-lg-center  { align-items: center !important; }
}

/* --------------------------------------------------------------------------
   Spacing (Margin & Padding)
   -------------------------------------------------------------------------- */
.m-0    { margin: 0 !important; }
.m-1    { margin: 0.25rem !important; }
.m-2    { margin: 0.5rem !important; }
.m-3    { margin: 1rem !important; }
.m-4    { margin: 1.5rem !important; }
.m-5    { margin: 3rem !important; }
.m-auto { margin: auto !important; }

.mx-0    { margin-inline: 0 !important; }
.mx-1    { margin-inline: 0.25rem !important; }
.mx-2    { margin-inline: 0.5rem !important; }
.mx-3    { margin-inline: 1rem !important; }
.mx-4    { margin-inline: 1.5rem !important; }
.mx-5    { margin-inline: 3rem !important; }
.mx-auto { margin-inline: auto !important; }

.my-0    { margin-block: 0 !important; }
.my-1    { margin-block: 0.25rem !important; }
.my-2    { margin-block: 0.5rem !important; }
.my-3    { margin-block: 1rem !important; }
.my-4    { margin-block: 1.5rem !important; }
.my-5    { margin-block: 3rem !important; }
.my-auto { margin-block: auto !important; }

.mt-0    { margin-top: 0 !important; }
.mt-1    { margin-top: 0.25rem !important; }
.mt-2    { margin-top: 0.5rem !important; }
.mt-3    { margin-top: 1rem !important; }
.mt-4    { margin-top: 1.5rem !important; }
.mt-5    { margin-top: 3rem !important; }
.mt-auto { margin-top: auto !important; }

.mb-0    { margin-bottom: 0 !important; }
.mb-1    { margin-bottom: 0.25rem !important; }
.mb-2    { margin-bottom: 0.5rem !important; }
.mb-3    { margin-bottom: 1rem !important; }
.mb-4    { margin-bottom: 1.5rem !important; }
.mb-5    { margin-bottom: 3rem !important; }
.mb-auto { margin-bottom: auto !important; }

.ms-0    { margin-inline-start: 0 !important; }
.ms-1    { margin-inline-start: 0.25rem !important; }
.ms-2    { margin-inline-start: 0.5rem !important; }
.ms-3    { margin-inline-start: 1rem !important; }
.ms-4    { margin-inline-start: 1.5rem !important; }
.ms-5    { margin-inline-start: 3rem !important; }
.ms-auto { margin-inline-start: auto !important; }

.me-0    { margin-inline-end: 0 !important; }
.me-1    { margin-inline-end: 0.25rem !important; }
.me-2    { margin-inline-end: 0.5rem !important; }
.me-3    { margin-inline-end: 1rem !important; }
.me-4    { margin-inline-end: 1.5rem !important; }
.me-5    { margin-inline-end: 3rem !important; }
.me-auto { margin-inline-end: auto !important; }

.p-0 { padding: 0 !important; }
.p-1 { padding: 0.25rem !important; }
.p-2 { padding: 0.5rem !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }
.p-5 { padding: 3rem !important; }

.px-0 { padding-inline: 0 !important; }
.px-1 { padding-inline: 0.25rem !important; }
.px-2 { padding-inline: 0.5rem !important; }
.px-3 { padding-inline: 1rem !important; }
.px-4 { padding-inline: 1.5rem !important; }
.px-5 { padding-inline: 3rem !important; }

.py-0 { padding-block: 0 !important; }
.py-1 { padding-block: 0.25rem !important; }
.py-2 { padding-block: 0.5rem !important; }
.py-3 { padding-block: 1rem !important; }
.py-4 { padding-block: 1.5rem !important; }
.py-5 { padding-block: 3rem !important; }

.pt-0 { padding-top: 0 !important; }
.pt-1 { padding-top: 0.25rem !important; }
.pt-2 { padding-top: 0.5rem !important; }
.pt-3 { padding-top: 1rem !important; }
.pt-4 { padding-top: 1.5rem !important; }
.pt-5 { padding-top: 3rem !important; }

.pb-0 { padding-bottom: 0 !important; }
.pb-1 { padding-bottom: 0.25rem !important; }
.pb-2 { padding-bottom: 0.5rem !important; }
.pb-3 { padding-bottom: 1rem !important; }
.pb-4 { padding-bottom: 1.5rem !important; }
.pb-5 { padding-bottom: 3rem !important; }

.ps-0 { padding-inline-start: 0 !important; }
.ps-1 { padding-inline-start: 0.25rem !important; }
.ps-2 { padding-inline-start: 0.5rem !important; }
.ps-3 { padding-inline-start: 1rem !important; }
.ps-4 { padding-inline-start: 1.5rem !important; }
.ps-5 { padding-inline-start: 3rem !important; }

.pe-0 { padding-inline-end: 0 !important; }
.pe-1 { padding-inline-end: 0.25rem !important; }
.pe-2 { padding-inline-end: 0.5rem !important; }
.pe-3 { padding-inline-end: 1rem !important; }
.pe-4 { padding-inline-end: 1.5rem !important; }
.pe-5 { padding-inline-end: 3rem !important; }

@media (min-width: 576px) {
    .mb-sm-0 { margin-bottom: 0 !important; }
    .mt-sm-0 { margin-top: 0 !important; }
    .me-sm-2 { margin-inline-end: 0.5rem !important; }
    .ms-sm-auto { margin-inline-start: auto !important; }
    .p-sm-4 { padding: 1.5rem !important; }
}

@media (min-width: 768px) {
    .mt-md-0 { margin-top: 0 !important; }
    .mb-md-0 { margin-bottom: 0 !important; }
    .mb-md-3 { margin-bottom: 1rem !important; }
    .me-md-1 { margin-inline-end: 0.25rem !important; }
    .me-md-2 { margin-inline-end: 0.5rem !important; }
    .me-md-3 { margin-inline-end: 1rem !important; }
    .ms-md-2 { margin-inline-start: 0.5rem !important; }
    .ms-md-auto { margin-inline-start: auto !important; }
    .p-md-4  { padding: 1.5rem !important; }
    .px-md-4 { padding-inline: 1.5rem !important; }
}

@media (min-width: 992px) {
    .mt-lg-0 { margin-top: 0 !important; }
    .mb-lg-0 { margin-bottom: 0 !important; }
    .me-lg-2 { margin-inline-end: 0.5rem !important; }
    .me-lg-3 { margin-inline-end: 1rem !important; }
    .ms-lg-2 { margin-inline-start: 0.5rem !important; }
    .ms-lg-auto { margin-inline-start: auto !important; }
    .p-lg-4 { padding: 1.5rem !important; }
}

/* --------------------------------------------------------------------------
   Sizing
   -------------------------------------------------------------------------- */
.w-25   { width: 25% !important; }
.w-50   { width: 50% !important; }
.w-75   { width: 75% !important; }
.w-100  { width: 100% !important; }
.w-auto { width: auto !important; }
.mw-100 { max-width: 100% !important; }
.min-w-0 { min-width: 0 !important; }

.h-25      { height: 25% !important; }
.h-50      { height: 50% !important; }
.h-75      { height: 75% !important; }
.h-100     { height: 100% !important; }
.h-auto    { height: auto !important; }
.vh-100    { height: 100vh !important; }
.min-vh-100 { min-height: 100vh !important; }

/* --------------------------------------------------------------------------
   Positioning
   -------------------------------------------------------------------------- */
.position-static   { position: static !important; }
.position-relative { position: relative !important; }
.position-absolute { position: absolute !important; }
.position-fixed    { position: fixed !important; }
.position-sticky   { position: sticky !important; }

.sticky-top {
    position: sticky;
    top: 0;
    z-index: 1020;
}

.fixed-top {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
}

.fixed-bottom {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1030;
}

.top-0    { top: 0 !important; }
.top-50   { top: 50% !important; }
.top-100  { top: 100% !important; }
.bottom-0 { bottom: 0 !important; }
.bottom-50 { bottom: 50% !important; }
.start-0  { left: 0 !important; }
.start-50 { left: 50% !important; }
.start-100 { left: 100% !important; }
.end-0    { right: 0 !important; }
.end-50   { right: 50% !important; }
.end-100  { right: 100% !important; }

.translate-middle   { transform: translate(-50%, -50%) !important; }
.translate-middle-x { transform: translateX(-50%) !important; }
.translate-middle-y { transform: translateY(-50%) !important; }

/* --------------------------------------------------------------------------
   Borders, Radius & Shadows
   -------------------------------------------------------------------------- */
.border        { border: 1px solid var(--border-color) !important; }
.border-0      { border: 0 !important; }
.border-top    { border-top: 1px solid var(--border-color) !important; }
.border-bottom { border-bottom: 1px solid var(--border-color) !important; }
.border-start  { border-inline-start: 1px solid var(--border-color) !important; }
.border-end    { border-inline-end: 1px solid var(--border-color) !important; }
.border-top-0  { border-top: 0 !important; }
.border-bottom-0 { border-bottom: 0 !important; }

.border-primary   { border-color: var(--accent-primary) !important; }
.border-secondary { border-color: var(--border-strong) !important; }
.border-success   { border-color: var(--success-color) !important; }
.border-danger    { border-color: var(--danger-color) !important; }
.border-warning   { border-color: var(--warning-color) !important; }
.border-info      { border-color: var(--info-color) !important; }
.border-light     { border-color: var(--border-subtle) !important; }
.border-dark      { border-color: var(--border-strong) !important; }
.border-subtle    { border-color: var(--border-subtle) !important; }
.border-1 { border-width: 1px !important; }
.border-2 { border-width: 2px !important; }
.border-3 { border-width: 3px !important; }

.rounded        { border-radius: var(--radius-sm) !important; }
.rounded-0      { border-radius: 0 !important; }
.rounded-1      { border-radius: var(--radius-xs) !important; }
.rounded-2      { border-radius: var(--radius-sm) !important; }
.rounded-3      { border-radius: var(--radius-md) !important; }
.rounded-4      { border-radius: var(--radius-lg) !important; }
.rounded-circle { border-radius: 50% !important; }
.rounded-top    { border-top-left-radius: var(--radius-md) !important; border-top-right-radius: var(--radius-md) !important; }
.rounded-bottom { border-bottom-left-radius: var(--radius-md) !important; border-bottom-right-radius: var(--radius-md) !important; }

.shadow-none { box-shadow: none !important; }
.shadow-sm   { box-shadow: var(--shadow-xs) !important; }
.shadow      { box-shadow: var(--shadow-sm) !important; }
.shadow-lg   { box-shadow: var(--shadow-lg) !important; }

/* --------------------------------------------------------------------------
   Text Formatting & Alignment
   -------------------------------------------------------------------------- */
.fs-1 { font-size: var(--text-3xl) !important; }
.fs-2 { font-size: var(--text-2xl) !important; }
.fs-3 { font-size: var(--text-xl) !important; }
.fs-4 { font-size: var(--text-lg) !important; }
.fs-5 { font-size: var(--text-base) !important; }
.fs-6 { font-size: var(--text-sm) !important; }

.fw-light    { font-weight: 300 !important; }
.fw-normal   { font-weight: 400 !important; }
.fw-medium   { font-weight: 500 !important; }
.fw-semibold { font-weight: 600 !important; }
.fw-bold     { font-weight: 700 !important; }
.fst-italic  { font-style: italic !important; }
.fst-normal  { font-style: normal !important; }

.lh-1    { line-height: 1 !important; }
.lh-sm   { line-height: 1.25 !important; }
.lh-base { line-height: 1.5 !important; }
.lh-lg   { line-height: 1.75 !important; }

.text-start  { text-align: left !important; }
.text-center { text-align: center !important; }
.text-end    { text-align: right !important; }

@media (min-width: 768px) {
    .text-md-start { text-align: left !important; }
    .text-md-end   { text-align: right !important; }
}

@media (min-width: 992px) {
    .text-lg-end   { text-align: right !important; }
}

.text-decoration-none      { text-decoration: none !important; }
.text-decoration-underline { text-decoration: underline !important; }
.text-lowercase  { text-transform: lowercase !important; }
.text-uppercase  { text-transform: uppercase !important; }
.text-capitalize { text-transform: capitalize !important; }

.text-nowrap   { white-space: nowrap !important; }
.text-wrap     { white-space: normal !important; }
.text-break    { word-wrap: break-word !important; word-break: break-word !important; }
.text-truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* --------------------------------------------------------------------------
   Theme-Aware Text & Background Colors (WCAG AA Compliant)
   -------------------------------------------------------------------------- */
.text-primary        { color: var(--accent-primary) !important; }
.text-secondary      { color: var(--text-secondary) !important; }
.text-muted,
.text-body-secondary { color: var(--text-muted) !important; }
.text-body           { color: var(--text-primary) !important; }
.text-success        { color: var(--success-color) !important; }
.text-danger         { color: var(--danger-color) !important; }
.text-warning        { color: var(--warning-color) !important; }
.text-info           { color: var(--info-color) !important; }
.text-light          { color: var(--text-primary) !important; }
.text-dark           { color: var(--text-primary) !important; }
.text-white          { color: #FFFFFF !important; }
.text-black          { color: #09090B !important; }

/* Theme-aware surfaces (opacity modifiers avoid unreadable solid contrast) */
.bg-transparent { background-color: transparent !important; }
.bg-body          { background-color: var(--bg-primary) !important; color: var(--text-primary); }
.bg-body-tertiary { background-color: var(--bg-secondary) !important; color: var(--text-primary); }
.bg-white         { background-color: var(--bg-elevated) !important; color: var(--text-primary); }
.bg-card          { background-color: var(--card-bg) !important; color: var(--text-primary); }
.bg-darker,
.bg-darker-bg     { background-color: var(--bg-secondary) !important; color: var(--text-primary); }
.bg-light         { background-color: var(--bg-secondary) !important; color: var(--text-primary); }
.bg-light-subtle  { background-color: var(--bg-tertiary) !important; color: var(--text-primary); }
.bg-dark          { background-color: var(--bg-tertiary) !important; color: var(--text-primary); }

[data-theme="light"] .bg-dark.text-white,
[data-theme="subtle"] .bg-dark.text-white,
[data-theme="monochrome"] .bg-dark.text-white {
    color: var(--text-primary) !important;
}

.bg-primary:not([class*="bg-opacity-"]) {
    background-color: var(--accent-primary) !important;
    color: var(--accent-contrast);
}
.bg-primary[class*="bg-opacity-"] {
    background-color: var(--accent-subtle) !important;
    color: var(--text-primary);
}

.bg-secondary:not([class*="bg-opacity-"]) {
    background-color: var(--bg-tertiary) !important;
    color: var(--text-primary);
}
.bg-secondary[class*="bg-opacity-"] {
    background-color: var(--bg-secondary) !important;
    color: var(--text-primary);
}

.bg-success:not([class*="bg-opacity-"]) {
    background-color: var(--success-color) !important;
    color: var(--success-contrast);
}
.bg-success[class*="bg-opacity-"] {
    background-color: var(--success-subtle) !important;
    color: var(--text-primary);
}

.bg-danger:not([class*="bg-opacity-"]) {
    background-color: var(--danger-color) !important;
    color: var(--danger-contrast);
}
.bg-danger[class*="bg-opacity-"] {
    background-color: var(--danger-subtle) !important;
    color: var(--text-primary);
}

.bg-warning:not([class*="bg-opacity-"]),
.bg-warning.text-dark {
    background-color: var(--warning-color) !important;
    color: var(--warning-contrast) !important;
}
.bg-warning[class*="bg-opacity-"] {
    background-color: var(--warning-subtle) !important;
    color: var(--text-primary);
}

.bg-info:not([class*="bg-opacity-"]),
.bg-info.text-dark {
    background-color: var(--info-color) !important;
    color: var(--info-contrast) !important;
}
.bg-info[class*="bg-opacity-"] {
    background-color: var(--info-subtle) !important;
    color: var(--text-primary);
}

.bg-primary-subtle   { background-color: var(--accent-subtle) !important; color: var(--text-primary) !important; }
.bg-secondary-subtle { background-color: var(--bg-secondary) !important; color: var(--text-primary) !important; }
.bg-success-subtle   { background-color: var(--success-subtle) !important; color: var(--text-primary) !important; }
.bg-danger-subtle    { background-color: var(--danger-subtle) !important; color: var(--text-primary) !important; }
.bg-warning-subtle   { background-color: var(--warning-subtle) !important; color: var(--text-primary) !important; }
.bg-info-subtle      { background-color: var(--info-subtle) !important; color: var(--text-primary) !important; }

.text-bg-primary   { background-color: var(--accent-primary) !important; color: var(--accent-contrast) !important; }
.text-bg-secondary { background-color: var(--bg-tertiary) !important; color: var(--text-primary) !important; }
.text-bg-success   { background-color: var(--success-color) !important; color: var(--success-contrast) !important; }
.text-bg-danger    { background-color: var(--danger-color) !important; color: var(--danger-contrast) !important; }
.text-bg-warning   { background-color: var(--warning-color) !important; color: var(--warning-contrast) !important; }
.text-bg-info      { background-color: var(--info-color) !important; color: var(--info-contrast) !important; }
.text-bg-light     { background-color: var(--bg-secondary) !important; color: var(--text-primary) !important; }
.text-bg-dark      { background-color: var(--bg-tertiary) !important; color: var(--text-primary) !important; }

/* Fixed Paper Sheet Override for Printed / Previewed Invoices */
.invoice-paper .bg-light        { background-color: #F8FAFC !important; color: #111827 !important; }
.invoice-paper .bg-light-subtle { background-color: #F1F5F9 !important; color: #111827 !important; }
.invoice-paper .text-dark       { color: #111827 !important; }
.invoice-paper .text-muted      { color: #4B5563 !important; }
.invoice-paper .border-light    { border-color: #E5E7EB !important; }
.invoice-paper .border-dark     { border-color: #1F2937 !important; }

/* Subtle Gradient & Legacy Neon Fallbacks (Monochrome Minimalism) */
.bg-gradient {
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0)) !important;
}

.bg-gradient-primary {
    background-color: var(--accent-primary) !important;
    color: var(--accent-contrast) !important;
}

.bg-gradient-info {
    background-color: var(--bg-secondary) !important;
    color: var(--text-primary) !important;
    border-bottom: 1px solid var(--border-color);
}

.text-primary-neon   { color: var(--accent-primary) !important; }
.text-secondary-neon { color: var(--text-secondary) !important; }
.text-accent-neon    { color: var(--success-color) !important; }
.text-danger-neon    { color: var(--danger-color) !important; }
.text-warning-neon   { color: var(--warning-color) !important; }
.text-info-neon      { color: var(--info-color) !important; }

.glow-primary,
.glow-secondary,
.glow-accent {
    box-shadow: var(--shadow-sm) !important;
}

/* --------------------------------------------------------------------------
   Overflow, Opacity, Interactivity, Float & Accessibility
   -------------------------------------------------------------------------- */
.overflow-auto     { overflow: auto !important; }
.overflow-hidden   { overflow: hidden !important; }
.overflow-visible  { overflow: visible !important; }
.overflow-scroll   { overflow: scroll !important; }
.overflow-x-auto   { overflow-x: auto !important; }
.overflow-y-auto   { overflow-y: auto !important; }
.overflow-x-hidden { overflow-x: hidden !important; }
.overflow-y-hidden { overflow-y: hidden !important; }

.opacity-0   { opacity: 0 !important; }
.opacity-25  { opacity: 0.25 !important; }
.opacity-50  { opacity: 0.5 !important; }
.opacity-75  { opacity: 0.75 !important; }
.opacity-100 { opacity: 1 !important; }

.pe-none { pointer-events: none !important; }
.pe-auto { pointer-events: auto !important; }

.user-select-none { user-select: none !important; }
.user-select-all  { user-select: all !important; }
.user-select-auto { user-select: auto !important; }
.cursor-pointer   { cursor: pointer !important; }

.float-start { float: left !important; }
.float-end   { float: right !important; }
.float-none  { float: none !important; }

.clearfix::after {
    display: block;
    clear: both;
    content: "";
}

.fade {
    transition: opacity var(--duration-fast) var(--ease-out);
}

.fade:not(.show) {
    opacity: 0;
}

.visually-hidden,
.visually-hidden-focusable:not(:focus):not(:focus-within),
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
