/* ═══════════════════════════════════════════════════════════
   METRONIC v9 & SWISSCONTACT OUTLINE NOTCHED FLOATING LABELS
   Tokenized, transform-only label motion, .input-group safe, single select arrow
   ═══════════════════════════════════════════════════════════ */

.form-floating {
    position: relative;
    display: block;
    width: 100%;
}

/* Ensure Bootstrap .input-group controls stay strictly inline on one row */
.input-group > .form-control,
.input-group > .form-select {
    display: block;
    width: 1%;
    min-width: 0;
    flex: 1 1 auto;
}

/* Inputs & Native Selects inside Floating Labels and standalone non-input-group fields */
.form-floating > .form-control,
.form-floating > .form-select,
.form-floating-input,
.form-floating-select,
.form-control:not(textarea):not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="hidden"]):not(.form-control-sm):not(.dt-global-search):not(.input-group > .form-control),
.form-select:not([multiple]):not(.form-select-sm):not(.app-grid-page-size-select):not(.dt-page-length-select):not(.input-group > .form-select),
.setting-input-control:not(textarea):not([type="checkbox"]):not([type="radio"]):not([type="color"]):not([type="hidden"]),
.nepali-datepicker {
    display: block;
    width: 100%;
    height: 52px !important;
    min-height: 52px !important;
    padding: 0.625rem 0.875rem !important;
    font-size: var(--fs-base);
    font-weight: 500;
    line-height: 1.5;
    border-radius: var(--radius-control) !important;
    border: 1px solid var(--floating-border) !important;
    background-color: var(--card-bg) !important;
    color: var(--floating-text-input) !important;
    transition: border-color var(--dur-micro) var(--ease-out), background-color var(--dur-micro) var(--ease-out);
    box-sizing: border-box !important;
}

.form-floating > .form-select,
.form-floating-select,
select.form-select {
    padding-right: 2.25rem !important;
    background-position: right var(--space-sm) center;
    background-repeat: no-repeat !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

.form-floating > select[multiple] {
    height: auto !important;
    min-height: 8rem !important;
    padding-top: 1.25rem !important;
}

/* Placeholder suppression so resting label never collides */
.form-floating > .form-control:not(:focus):placeholder-shown::placeholder,
.form-floating > textarea.form-control:not(:focus):placeholder-shown::placeholder,
.form-floating-input:not(:focus):placeholder-shown::placeholder,
.form-floating-textarea:not(:focus):placeholder-shown::placeholder,
.form-floating:not(.is-focused):not(.is-filled) > .form-control::placeholder,
.form-floating:not(.is-focused):not(.is-filled) > textarea::placeholder,
.form-floating:not(.is-focused):not(.is-filled) .form-floating-input::placeholder,
.form-floating:not(.is-focused):not(.is-filled) .form-floating-textarea::placeholder,
.form-floating-input.placeholder-transparent:not(:focus)::placeholder {
    color: transparent !important;
    opacity: 0 !important;
}

.form-floating > .form-control:focus::placeholder,
.form-floating > textarea.form-control:focus::placeholder,
.form-floating-input:focus::placeholder,
.form-floating-textarea:focus::placeholder,
.form-floating.is-focused > .form-control::placeholder,
.form-floating.is-focused > textarea::placeholder,
.form-floating.is-focused .form-floating-input::placeholder,
.form-floating.is-focused .form-floating-textarea::placeholder {
    color: var(--floating-placeholder) !important;
    opacity: 1 !important;
}

.form-floating:not(.is-focused):not(.is-filled) > select:not(:focus):has(option[value=""]:checked),
.form-floating:not(.is-focused):not(.is-filled) > .form-select:not(:focus):has(option[value=""]:checked),
.form-floating:not(.is-focused):not(.is-filled) > select.form-floating-select:not(:focus):has(option[value=""]:checked) {
    color: transparent !important;
}

.form-floating.is-focused > select,
.form-floating.is-filled > select,
.form-floating > select:focus,
.form-floating > select:not(:has(option[value=""]:checked)),
.form-floating.is-focused > .form-select,
.form-floating.is-filled > .form-select,
.form-floating > .form-select:focus,
.form-floating > .form-select:not(:has(option[value=""]:checked)) {
    color: var(--floating-text-input) !important;
}

/* Textarea Sizing */
.form-floating > textarea.form-control,
.form-floating-textarea {
    display: block;
    width: 100%;
    height: auto !important;
    min-height: 7rem !important;
    padding: 0.875rem !important;
    font-size: var(--fs-base);
    font-weight: 500;
    line-height: 1.5;
    border-radius: var(--radius-control) !important;
    resize: vertical;
    border: 1px solid var(--floating-border) !important;
    background-color: var(--card-bg) !important;
    color: var(--floating-text-input) !important;
    transition: border-color var(--dur-micro) var(--ease-out), background-color var(--dur-micro) var(--ease-out);
}

/* Hover States */
.form-floating > .form-control:hover,
.form-floating > .form-select:hover,
.form-floating > textarea.form-control:hover,
.form-floating-input:hover,
.form-floating-select:hover,
.form-floating-textarea:hover {
    border-color: var(--floating-border-hover) !important;
}

/* Focus States: Crisp outline ring (no instant transition fade, Gate 39a compliant) */
.form-floating > .form-control:focus,
.form-floating > .form-select:focus,
.form-floating > textarea.form-control:focus,
.form-floating-input:focus,
.form-floating-select:focus,
.form-floating-textarea:focus,
.form-floating.is-focused > .form-control,
.form-floating.is-focused > .form-select,
.form-floating.is-focused > textarea.form-control {
    background-color: var(--card-bg) !important;
    outline: 2px solid var(--floating-primary) !important;
    outline-offset: -2px !important;
    color: var(--floating-text-input) !important;
}

/* Floating Labels: Anchored top: 0 and animated strictly via transform (zero top layout animation, Gate 10a) */
.form-floating > label,
.form-floating > .form-floating-label,
.form-floating-label {
    position: absolute;
    top: 0 !important;
    left: 0.875rem !important;
    height: auto;
    min-height: 0;
    transform: translateY(1.125rem) scale(1) !important;
    transform-origin: left top;
    display: inline-flex;
    align-items: center;
    gap: var(--space-2xs);
    padding: 0 0.375rem;
    margin: 0;
    font-size: var(--fs-base);
    font-weight: 400;
    color: var(--floating-text-label) !important;
    pointer-events: none;
    background-color: transparent !important;
    border-radius: var(--radius-sm);
    z-index: 5;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 1.75rem);
    transition: transform var(--dur-micro) var(--ease-in-out), color var(--dur-micro) var(--ease-out);
}

.form-floating > textarea ~ label,
.form-floating > textarea.form-control ~ label,
.form-floating-textarea ~ .form-floating-label {
    transform: translateY(0.875rem) scale(1) !important;
}

.form-floating > label::after,
.form-floating > .form-floating-label::after {
    display: none !important;
    content: none !important;
    background-color: transparent !important;
}

/* Floated Notch Position */
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-control.lms-filled ~ label,
.form-floating > .form-control.is-filled ~ label,
.form-floating.is-filled > label,
.form-floating.is-focused > label,
.form-floating > textarea:focus ~ label,
.form-floating > textarea:not(:placeholder-shown) ~ label,
.form-floating > textarea.lms-filled ~ label,
.form-floating > textarea.is-filled ~ label,
.form-floating > textarea.form-control:focus ~ label,
.form-floating > textarea.form-control:not(:placeholder-shown) ~ label,
.form-floating > textarea.form-control.lms-filled ~ label,
.form-floating > textarea.form-control.is-filled ~ label,
.form-floating > .form-select:focus ~ label,
.form-floating > .form-select.lms-filled ~ label,
.form-floating > .form-select.is-filled ~ label,
.form-floating > select:focus ~ label,
.form-floating > select.lms-filled ~ label,
.form-floating > select.is-filled ~ label,
.form-floating > select:not(:has(option:checked[value=""])) ~ label,
.form-floating > input[type="date"] ~ label,
.form-floating > input[type="time"] ~ label,
.form-floating > input[type="datetime-local"] ~ label,
.form-floating > input[type="month"] ~ label,
.form-floating > input[type="week"] ~ label,
.form-floating-input:focus ~ .form-floating-label,
.form-floating-input:not(:placeholder-shown) ~ .form-floating-label,
.form-floating-input.lms-filled ~ .form-floating-label,
.form-floating-input.is-filled ~ .form-floating-label,
.form-floating-select:focus ~ .form-floating-label,
.form-floating-select.lms-filled ~ .form-floating-label,
.form-floating-select.is-filled ~ .form-floating-label,
.form-floating-select:not(:has(option:checked[value=""])) ~ .form-floating-label,
.form-floating-textarea:focus ~ .form-floating-label,
.form-floating-textarea:not(:placeholder-shown) ~ .form-floating-label,
.form-floating-textarea.lms-filled ~ .form-floating-label,
.form-floating-textarea.is-filled ~ .form-floating-label,
.form-floating-input[type="date"] ~ .form-floating-label,
.form-floating-input[type="time"] ~ .form-floating-label,
.form-floating-input[type="datetime-local"] ~ .form-floating-label,
.form-floating-input[type="month"] ~ .form-floating-label,
.form-floating-input[type="week"] ~ .form-floating-label,
.form-floating.float-always > label,
.form-floating.float-always > .form-floating-label {
    transform: translateY(-50%) scale(0.78) !important;
    background-color: var(--card-bg) !important;
    padding: 0 0.375rem !important;
    color: var(--floating-text-floated) !important;
    font-weight: 500 !important;
    z-index: var(--z-raised) !important;
}

.form-floating > .form-control:focus ~ label,
.form-floating > textarea:focus ~ label,
.form-floating > textarea.form-control:focus ~ label,
.form-floating > .form-select:focus ~ label,
.form-floating > select:focus ~ label,
.form-floating.is-focused > label,
.form-floating.is-focused > .form-floating-label,
.form-floating-input:focus ~ .form-floating-label,
.form-floating-textarea:focus ~ .form-floating-label,
.form-floating-select:focus ~ .form-floating-label,
.form-floating > .select2-container--open ~ label {
    color: var(--floating-primary) !important;
    font-weight: 600 !important;
}

/* Validation & Error States (constant border-width + outline ring) */
.form-floating > .form-control.is-invalid,
.form-floating > .form-control[aria-invalid="true"],
.form-floating > .form-select.is-invalid,
.form-floating > .form-select[aria-invalid="true"],
.form-floating > textarea.form-control.is-invalid,
.form-floating > textarea.form-control[aria-invalid="true"],
.form-floating-input.is-invalid,
.form-floating-input[aria-invalid="true"],
.form-floating-select.is-invalid,
.form-floating-select[aria-invalid="true"],
.form-floating-textarea.is-invalid,
.form-floating-textarea[aria-invalid="true"] {
    border-color: var(--floating-danger) !important;
}

.form-floating > .form-control.is-invalid:focus,
.form-floating > .form-control[aria-invalid="true"]:focus,
.form-floating > .form-select.is-invalid:focus,
.form-floating > .form-select[aria-invalid="true"]:focus,
.form-floating > textarea.form-control.is-invalid:focus,
.form-floating > textarea.form-control[aria-invalid="true"]:focus,
.form-floating-input.is-invalid:focus,
.form-floating-input[aria-invalid="true"]:focus,
.form-floating-select.is-invalid:focus,
.form-floating-select[aria-invalid="true"]:focus,
.form-floating-textarea.is-invalid:focus,
.form-floating-textarea[aria-invalid="true"]:focus {
    outline: 2px solid var(--floating-danger) !important;
    outline-offset: -2px !important;
}

.form-floating > .form-control.is-invalid ~ label,
.form-floating > .form-control[aria-invalid="true"] ~ label,
.form-floating > .form-select.is-invalid ~ label,
.form-floating > .form-select[aria-invalid="true"] ~ label,
.form-floating > textarea.form-control.is-invalid ~ label,
.form-floating > textarea.form-control[aria-invalid="true"] ~ label,
.form-floating-input.is-invalid ~ .form-floating-label,
.form-floating-input[aria-invalid="true"] ~ .form-floating-label,
.form-floating-select.is-invalid ~ .form-floating-label,
.form-floating-select[aria-invalid="true"] ~ .form-floating-label,
.form-floating-textarea.is-invalid ~ .form-floating-label,
.form-floating-textarea[aria-invalid="true"] ~ .form-floating-label {
    color: var(--floating-danger) !important;
    font-weight: 600 !important;
}

/* Password Toggles */
.form-floating .form-floating-password-toggle,
.form-floating .password-toggle,
.form-floating #toggle_password_visibility,
.form-floating [data-action="toggle-password"] {
    position: absolute;
    top: 50%;
    right: var(--space-sm);
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--color-muted);
    font-size: var(--fs-sm);
    font-weight: 500;
    cursor: pointer;
    z-index: 12;
    padding: var(--space-2xs) var(--space-xs);
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color var(--dur-micro) var(--ease-out);
    user-select: none;
}

.form-floating .form-floating-password-toggle:hover,
.form-floating .password-toggle:hover,
.form-floating #toggle_password_visibility:hover,
.form-floating [data-action="toggle-password"]:hover {
    color: var(--floating-primary);
}

.form-floating:has(.form-floating-password-toggle) > .form-control,
.form-floating:has(.password-toggle) > .form-control,
.form-floating:has(#toggle_password_visibility) > .form-control,
.form-floating.has-password-toggle > .form-control {
    padding-right: 3.5rem !important;
}

/* Leading Icons */
.form-floating.has-icon > .form-control,
.form-floating.has-icon > .form-floating-input {
    padding-left: 2.75rem !important;
}

.form-floating.has-icon > label,
.form-floating.has-icon > .form-floating-label {
    left: 2.5rem !important;
}

.form-floating.has-icon > .form-control:focus ~ label,
.form-floating.has-icon > .form-control:not(:placeholder-shown) ~ label,
.form-floating.has-icon.is-filled > label,
.form-floating.has-icon.is-focused > label {
    left: 0.875rem !important;
}

.form-floating > .input-icon-wrapper,
.form-floating > .input-leading-icon {
    position: absolute;
    left: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-placeholder);
    pointer-events: none;
    z-index: 6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Disabled States */
.form-floating > .form-control:disabled,
.form-floating > .form-select:disabled,
.form-floating > textarea.form-control:disabled,
.form-floating-input:disabled,
.form-floating-select:disabled,
.form-floating-textarea:disabled {
    background-color: var(--floating-disabled-bg) !important;
    color: var(--floating-disabled-ink) !important;
    border-color: var(--floating-disabled-border) !important;
    cursor: not-allowed;
    opacity: 0.72;
}

/* Nepali Datepicker Integration */
.form-floating.nepali-datepicker-wrapper,
.nepali-datepicker-wrapper.form-floating {
    position: relative;
}

.form-floating.nepali-datepicker-wrapper .ndp-icon,
.nepali-datepicker-wrapper.form-floating .ndp-icon {
    position: absolute;
    right: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 6;
    color: var(--color-muted);
    font-size: 1rem;
}

.form-floating.nepali-datepicker-wrapper > .form-control,
.nepali-datepicker-wrapper.form-floating > .form-control {
    padding-right: var(--space-xl) !important;
}

/* Select2 Integration — 52px Single Selection */
.form-floating > .select2-container--bootstrap5 .select2-selection--single,
.form-floating > .select2-container .select2-selection--single,
.form-floating .select2-container--bootstrap5 .select2-selection--single,
.form-floating .select2-container .select2-selection--single,
.select2-container--bootstrap5 .select2-selection--single,
.select2-container .select2-selection--single {
    height: 52px !important;
    min-height: 52px !important;
    padding: 0.625rem 2.25rem 0.625rem 0.875rem !important;
    border-radius: var(--radius-control) !important;
    border: 1px solid var(--floating-border) !important;
    background-color: var(--card-bg) !important;
    font-size: var(--fs-base) !important;
    font-weight: 500 !important;
    display: flex !important;
    align-items: center !important;
    box-sizing: border-box !important;
}

.form-floating > .select2-container--bootstrap5 .select2-selection--single .select2-selection__rendered,
.form-floating > .select2-container .select2-selection--single .select2-selection__rendered,
.form-floating .select2-container--bootstrap5 .select2-selection--single .select2-selection__rendered,
.form-floating .select2-container .select2-selection--single .select2-selection__rendered,
.select2-container--bootstrap5 .select2-selection--single .select2-selection__rendered,
.select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 50px !important;
    min-height: 50px !important;
    display: flex !important;
    align-items: center !important;
    color: var(--floating-text-input) !important;
    padding-left: 0 !important;
}

.form-floating > .select2-container--bootstrap5 .select2-selection--single .select2-selection__arrow,
.form-floating > .select2-container .select2-selection--single .select2-selection__arrow,
.form-floating .select2-container--bootstrap5 .select2-selection--single .select2-selection__arrow,
.form-floating .select2-container .select2-selection--single .select2-selection__arrow,
.select2-container--bootstrap5 .select2-selection--single .select2-selection__arrow,
.select2-container .select2-selection--single .select2-selection__arrow {
    top: 50% !important;
    transform: translateY(-50%) !important;
    right: 0.875rem !important;
}

/* Select2 Multiple Selection */
.form-floating > .select2-container--bootstrap5 .select2-selection--multiple,
.form-floating > .select2-container .select2-selection--multiple,
.form-floating .select2-container--bootstrap5 .select2-selection--multiple,
.form-floating .select2-container .select2-selection--multiple,
.select2-container--bootstrap5 .select2-selection--multiple,
.select2-container .select2-selection--multiple {
    min-height: 52px !important;
    height: auto !important;
    padding: var(--space-xs) var(--space-sm) !important;
    border-radius: var(--radius-control) !important;
    border: 1px solid var(--floating-border) !important;
    background-color: var(--card-bg) !important;
    font-size: var(--fs-base) !important;
    font-weight: 500 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 0.375rem !important;
    box-sizing: border-box !important;
}

.form-floating .select2-container .select2-selection--multiple .select2-selection__rendered {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 0.375rem !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    line-height: normal !important;
    min-height: auto !important;
}

.form-floating .select2-container .select2-selection--multiple .select2-selection__choice {
    display: inline-flex !important;
    align-items: center !important;
    gap: var(--space-2xs) !important;
    background-color: var(--color-paper-2) !important;
    color: var(--color-ink) !important;
    border: 1px solid var(--floating-border) !important;
    border-radius: var(--radius-badge) !important;
    padding: var(--space-2xs) var(--space-xs) !important;
    font-size: var(--fs-sm) !important;
    font-weight: 500 !important;
    line-height: 1.25 !important;
    margin: 0 !important;
    transition: background-color var(--dur-micro) var(--ease-out), border-color var(--dur-micro) var(--ease-out) !important;
}

.form-floating .select2-container .select2-selection--multiple .select2-selection__choice:hover {
    background-color: var(--color-paper-3) !important;
    border-color: var(--floating-border-hover) !important;
}

.form-floating .select2-container .select2-selection--multiple .select2-selection__choice__remove {
    color: var(--color-muted) !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    cursor: pointer !important;
    padding-right: var(--space-2xs) !important;
    margin-right: var(--space-3xs) !important;
    border: 0 !important;
    border-right: 1px solid var(--floating-border) !important;
    background: transparent !important;
}

.form-floating .select2-container .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: var(--color-danger-ink) !important;
}

.form-floating .select2-container .select2-selection--multiple .select2-search--inline {
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
}

.form-floating .select2-container .select2-selection--multiple .select2-search__field {
    margin: 0 !important;
    padding: var(--space-2xs) !important;
    font-size: var(--fs-base) !important;
    line-height: 1.25 !important;
    height: auto !important;
    color: var(--floating-text-input) !important;
}

.form-floating .select2-container .select2-selection--multiple .select2-selection__arrow {
    display: none !important;
}

/* Select2 Resting & Floated Label States */
.form-floating:not(.is-focused):not(.is-filled) > select.select2-hidden-accessible ~ label,
.form-floating:not(.is-focused):not(.is-filled) > .select2-container ~ label {
    transform: translateY(1.125rem) scale(1) !important;
    background-color: transparent !important;
    color: var(--floating-text-label) !important;
    font-weight: 400 !important;
    z-index: 5 !important;
}

.form-floating:not(.is-focused):not(.is-filled) .select2-selection__placeholder,
.form-floating:not(.is-focused):not(.is-filled) select:has(option[value=""]:checked) + .select2 .select2-selection__placeholder {
    color: transparent !important;
    opacity: 0 !important;
}

.form-floating.is-focused > select.select2-hidden-accessible ~ label,
.form-floating.is-filled > select.select2-hidden-accessible ~ label,
.form-floating.is-focused > .select2-container ~ label,
.form-floating.is-filled > .select2-container ~ label,
.form-floating > .select2-container.select2-container--open ~ label,
.form-floating > select.select2-hidden-accessible:not(:has(option:checked[value=""])) ~ label,
.form-floating:has(.select2-selection__choice) > label,
.form-floating:has(.select2-selection__choice) ~ label {
    transform: translateY(-50%) scale(0.78) !important;
    background-color: var(--card-bg) !important;
    padding: 0 0.375rem !important;
    color: var(--floating-text-floated) !important;
    font-weight: 500 !important;
    z-index: var(--z-raised) !important;
}

.form-floating > .select2-container--bootstrap5.select2-container--open .select2-selection,
.form-floating > .select2-container--open .select2-selection--single,
.form-floating.is-focused .select2-container .select2-selection {
    outline: 2px solid var(--floating-primary) !important;
    outline-offset: -2px !important;
}

.form-floating > .select2-container--open ~ label,
.form-floating.is-focused > select.select2-hidden-accessible ~ label,
.form-floating.is-focused > .select2-container ~ label {
    color: var(--floating-primary) !important;
    font-weight: 600 !important;
}

.form-floating.is-focused .select2-selection__placeholder,
.form-floating > .select2-container--open .select2-selection__placeholder,
.form-floating .select2-container--open .select2-selection__placeholder {
    color: var(--floating-placeholder) !important;
    opacity: 1 !important;
}

.form-floating.float-always > label,
.form-floating.float-always > .form-floating-label {
    transform: translateY(-50%) scale(0.78) !important;
    background-color: var(--card-bg) !important;
    padding: 0 0.375rem !important;
    color: var(--floating-text-floated) !important;
    font-weight: 500 !important;
    z-index: var(--z-raised) !important;
}

.form-floating > label .text-danger,
.form-floating > .form-floating-label .text-danger,
.form-floating-label .text-danger,
.form-floating > label .text-rose-500,
.form-floating > .form-floating-label .text-rose-500,
.form-floating-label .text-rose-500 {
    margin-left: var(--space-3xs);
    font-weight: 700;
}

.form-floating > .form-control.form-control-solid,
.form-floating > .form-select.form-select-solid {
    background-color: var(--card-bg) !important;
    border: 1px solid var(--floating-border) !important;
}

/* Form Switch Padded Box Alignment Guard */
.form-check.form-switch[class*="p-"],
.form-check.form-switch.p-3,
.form-check.form-switch.p-3\.5,
.form-check.form-switch.p-4 {
    display: flex !important;
    align-items: center !important;
    padding-left: 0.875rem !important;
}

.form-check.form-switch[class*="p-"] .form-check-input,
.form-check.form-switch.p-3 .form-check-input,
.form-check.form-switch.p-3\.5 .form-check-input,
.form-check.form-switch.p-4 .form-check-input {
    float: none !important;
    margin-left: 0 !important;
    margin-top: 0 !important;
    margin-right: var(--space-sm) !important;
    flex-shrink: 0 !important;
}
