/* ============================================= */
/* SafetyTraining - Utility Classes             */
/* Nur Klassen, die MudBlazor NICHT bietet      */
/* ============================================= */
/* HINWEIS: MudBlazor bietet bereits:           */
/* - Spacing: ma-*, pa-*, mt-*, mb-*, etc.      */
/* - Display: d-flex, d-none, d-block, etc.     */
/* - Flexbox: justify-*, align-*, flex-*        */
/* - Text: mud-typography-* Klassen             */
/* ============================================= */

/* ==================== */
/* Gap Utilities        */
/* (MudBlazor hat kein gap) */
/* ==================== */
.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: 2rem !important; }

/* ==================== */
/* Text Transform       */
/* ==================== */
.text-lowercase { text-transform: lowercase !important; }
.text-uppercase { text-transform: uppercase !important; }
.text-capitalize { text-transform: capitalize !important; }

/* ==================== */
/* Text Truncation      */
/* ==================== */
.text-truncate {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.text-wrap { white-space: normal !important; }
.text-nowrap { white-space: nowrap !important; }

/* ==================== */
/* Font Weight          */
/* ==================== */
.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; }

/* ==================== */
/* Font Style           */
/* ==================== */
.fst-italic { font-style: italic !important; }
.fst-normal { font-style: normal !important; }

/* ==================== */
/* Text Decoration      */
/* ==================== */
.text-decoration-none { text-decoration: none !important; }
.text-decoration-underline { text-decoration: underline !important; }
.text-decoration-line-through { text-decoration: line-through !important; }

/* ==================== */
/* Semantic Text Colors */
/* (Verwendet CSS-Variablen) */
/* ==================== */
.text-primary { color: var(--primary-color) !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-muted { color: var(--text-secondary) !important; }

/* ==================== */
/* Width/Height         */
/* ==================== */
.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; }

.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; }

.mw-100 { max-width: 100% !important; }
.mh-100 { max-height: 100% !important; }
.min-vh-100 { min-height: 100vh !important; }
.vh-100 { height: 100vh !important; }

/* ==================== */
/* Position Utilities   */
/* ==================== */
.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; }

.top-0 { top: 0 !important; }
.top-50 { top: 50% !important; }
.top-100 { top: 100% !important; }
.bottom-0 { bottom: 0 !important; }
.start-0 { left: 0 !important; }
.end-0 { right: 0 !important; }

.translate-middle {
    transform: translate(-50%, -50%) !important;
}

/* ==================== */
/* Border Utilities     */
/* (Verwendet CSS-Variablen) */
/* ==================== */
.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; }

.rounded { border-radius: var(--radius) !important; }
.rounded-0 { border-radius: 0 !important; }
.rounded-sm { border-radius: var(--radius-sm) !important; }
.rounded-md { border-radius: var(--radius-md) !important; }
.rounded-lg { border-radius: var(--radius-lg) !important; }
.rounded-circle { border-radius: 50% !important; }
.rounded-pill { border-radius: var(--radius-full) !important; }

/* ==================== */
/* Background Colors    */
/* (Verwendet CSS-Variablen) */
/* ==================== */
.bg-primary { background-color: var(--primary-color) !important; }
.bg-success { background-color: var(--success-color) !important; }
.bg-danger { background-color: var(--danger-color) !important; }
.bg-warning { background-color: var(--warning-color) !important; }
.bg-info { background-color: var(--info-color) !important; }
.bg-light { background-color: var(--bg-secondary) !important; }
.bg-dark { background-color: var(--bg-dark) !important; }
.bg-white { background-color: var(--white) !important; }
.bg-transparent { background-color: transparent !important; }

/* ==================== */
/* Shadow Utilities     */
/* ==================== */
.shadow-none { box-shadow: none !important; }
.shadow-sm { box-shadow: var(--shadow-sm) !important; }
.shadow { box-shadow: var(--shadow) !important; }
.shadow-md { box-shadow: var(--shadow-md) !important; }
.shadow-lg { box-shadow: var(--shadow-lg) !important; }

/* ==================== */
/* Overflow Utilities   */
/* ==================== */
.overflow-auto { overflow: auto !important; }
.overflow-hidden { overflow: hidden !important; }
.overflow-visible { overflow: visible !important; }
.overflow-y-auto { overflow-y: auto !important; }
.overflow-x-auto { overflow-x: auto !important; }

/* ==================== */
/* Cursor Utilities     */
/* ==================== */
.cursor-pointer { cursor: pointer !important; }
.cursor-default { cursor: default !important; }
.cursor-not-allowed { cursor: not-allowed !important; }
.cursor-grab { cursor: grab !important; }

/* ==================== */
/* User Interaction     */
/* ==================== */
.user-select-none { user-select: none !important; }
.user-select-all { user-select: all !important; }
.pe-none { pointer-events: none !important; }
.pe-auto { pointer-events: auto !important; }

/* ==================== */
/* Visibility           */
/* ==================== */
.visible { visibility: visible !important; }
.invisible { visibility: hidden !important; }

/* ==================== */
/* Opacity              */
/* ==================== */
.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; }

