:root {
    --tblr-primary: #014f86 !important;
    --tblr-primary-rgb: 1, 79, 134;
    --tblr-primary-fg: #ffffff;
    --tblr-primary-darken: #003d69;
    --tblr-brand: var(--tblr-primary);
    --tblr-link-color: var(--tblr-primary);
    --tblr-link-color-rgb: var(--tblr-primary-rgb);
    --tblr-link-hover-color: var(--tblr-primary-darken);
    --tblr-link-hover-color-rgb: 0, 61, 105;
    --tblr-gray-50: #f6f8fb;
    --tblr-gray-50-rgb: rgb(246,248,251);
    --tblr-disabled-color: var(--tblr-gray-400);
    --tblr-active-bg: var(--tblr-gray-100);
    --tblr-border-radius: 4px;
    --tblr-border-radius-lg: 4px;
    margin-left: 0 !important;
    margin-right: 0 !;
    --tblr-body-color: #182433 !important;
    --tblr-body-color-rgb: 24, 36, 51 !important;
    --tblr-body-bg: #f1f1f1;
    --tblr-btn-padding-y: 0.5625rem;
    
}

:root[data-bs-theme="dark"] {
    /* Neutral blacks instead of Tabler's slate (blue) grays. Surfaces, forms and borders derive from these. */
    --tblr-gray-700: #333333;
    --tblr-gray-800: #161616;
    --tblr-gray-900: #0a0a0a;
    --tblr-dark: #161616;
    --tblr-secondary-bg: #161616;
    --tblr-secondary-bg-rgb: 22, 22, 22;
    --tblr-tertiary-bg: #121212;
    --tblr-tertiary-bg-rgb: 18, 18, 18;
    --tblr-border-color: #2b2b2b;
    --tblr-border-color-translucent: rgba(255, 255, 255, 0.08);
    --tblr-code-bg: #1f1f1f;
    --tblr-body-color: #e5e7eb !important;
    --tblr-body-color-rgb: 229, 231, 235 !important;
    --tblr-body-bg: #0a0a0a;
    --tblr-body-bg-rgb: 10, 10, 10;
    --tblr-active-bg: #262626;
    --tblr-primary: #0a75c2 !important;
    --tblr-primary-rgb: 10, 117, 194;
    --tblr-primary-darken: #0964a5;
    --tblr-link-color: #55aae7;
    --tblr-link-color-rgb: 85, 170, 231;
    --tblr-link-hover-color: #8bc5ee;
    --tblr-link-hover-color-rgb: 139, 197, 238;
}

:root[data-bs-theme="dark"] ::-moz-selection {
    color: #0a0a0a;
    background-color: var(--tblr-link-color);
}

:root[data-bs-theme="dark"] ::selection {
    color: #0a0a0a;
    background-color: var(--tblr-link-color);
}

.company_logo_dark {
    display: none !important;
}

:root[data-bs-theme="dark"] .company_logo_light {
    display: none !important;
}

:root[data-bs-theme="dark"] .company_logo_dark {
    display: inline-block !important;
}

@media (min-width: 992px) {
    :root, :host {
        margin-left: 0 !important;
    }
}

/* TABLER 1.20 FIX */
.navbar {
    --tblr-navbar-color: var(--tblr-body-color) !important;
}

.navbar .navbar-nav .nav-link {
    position: relative;
    min-width: 2rem;
    min-height: 1rem;
    justify-content: center;
    border-radius: var(--tblr-border-radius);
}

.table thead th, .markdown > table thead th {
    font-weight: var(--tblr-font-weight-bold);
}

.badge {
    --tblr-badge-font-weight: var(--tblr-font-weight-bold);
}

.page-pretitle {
    font-size: 0.625rem !important;
    font-weight: var(--tblr-font-weight-bold);
}

.page-title {
    font-size: var(--tblr-font-size-h2);
    line-height: var(--tblr-line-height-h4);
}
.form-control {
    padding: 0.5625rem 0.75rem;
    font-family: var(--tblr-font-sans-serif);
}

.form-select {
    padding: 0.5625rem 0.75rem;
    font-family: var(--tblr-font-sans-serif);
}

.form-selectgroup-label {
  padding: 0.5625rem 0.75rem;
}

.steps {
    flex-direction: row;
}

button {
    --tblr-btn-padding-y: 0.5625rem !important;
}

.btn {
    --tblr-btn-padding-y: 0.5625rem !important;
}

.list-group {
    --tblr-list-group-item-padding-y: 0.7rem !important;
}
/* END TABLER 1.20 FIX */

.flag.flag-text {
    height: 1em;
}

/* DARK THEME */
.theme_switcher_label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    min-height: 2.5rem;
    padding: 0.375rem 0.75rem;
    cursor: pointer;
}

.theme_switcher_compact {
    width: auto;
    min-height: 0;
    padding: 0;
}

.theme_switcher_input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    clip-path: inset(50%);
}

.theme_switcher_toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    flex: 0 0 auto;
    width: 40px;
    height: 20px;
    padding: 5px;
    border-radius: 9999px;
    box-shadow: inset 0 0 5px 1.5px rgba(0, 0, 0, 0.1);
}

.theme_switcher_input:focus-visible + .theme_switcher_toggle {
    outline: 3px solid rgba(var(--tblr-primary-rgb), 0.35);
    outline-offset: 2px;
}

.theme_switcher_moon,
.theme_switcher_sun {
    flex: 0 0 12px;
    width: 12px;
    height: 12px;
    color: var(--tblr-primary);
}

.theme_switcher_ball {
    position: absolute;
    top: 2.5px;
    left: 2.5px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: var(--tblr-primary);
    transform: translateX(0);
}

.color_theme_animations_enabled .theme_switcher_toggle {
    transition: box-shadow 0.3s cubic-bezier(0.76, 0, 0.24, 1);
}

.color_theme_animations_enabled .theme_switcher_ball {
    transition: transform 0.3s cubic-bezier(0.76, 0, 0.24, 1), background-color 0.3s cubic-bezier(0.76, 0, 0.24, 1);
}

.theme_switcher_input:checked + .theme_switcher_toggle,
[data-bs-theme="dark"] .theme_switcher_toggle {
    box-shadow: inset 0 0 5px 1.5px rgba(0, 0, 0, 0.5);
}

.theme_switcher_input:checked + .theme_switcher_toggle .theme_switcher_ball,
[data-bs-theme="dark"] .theme_switcher_ball {
    background-color: #ebeaf7;
    transform: translateX(20px);
}

@media (prefers-reduced-motion: reduce) {
    .color_theme_animations_enabled .theme_switcher_toggle,
    .color_theme_animations_enabled .theme_switcher_ball {
        transition: none;
    }
}
