:root {
    color-scheme: light dark;
}

/* Reset styles
   ========================================================================= */
html, body {
    block-size: 100vh;
    margin: 0;
}
body {
    background-color: var(--body-bg);
    color: var(--text-color);
    font-family: var(--font-family-base);
    font-size: var(--font-size-base);
}

/* Needed because we always add 'fa fa-' to the given icon name, so these
   styles allow to override that with icon names such as 'symfony fab' */
i.fa, i.fas, i.far {
    font-family: 'Font Awesome 6 Free' !important;
}
i.fab {
    font-family: 'Font Awesome 6 Brands' !important;
}
i.fal {
    font-family: 'Font Awesome 6 Pro' !important;
}
i.fad {
    font-family: 'Font Awesome 6 Duotone' !important;
}
span.icon {
    display: inline-block;
    inline-size: 1.25em;
    text-align: center;
}
span.icon svg {
    inline-size: 100%;
    block-size: 100%;
    max-block-size: 1em;
    max-inline-size: 1em;
    vertical-align: text-bottom;
}
body[data-ea-icon-prefix="tabler"] span.icon svg {
    max-block-size: 1.15em;
    max-inline-size: 1.15em;
}

a {
    color: var(--link-color);
    text-decoration: none;
}
a:hover {
    color: var(--link-hover-color);
    text-decoration: var(--link-hover-decoration);
}

code, pre {
    color: var(--code-color);
    font-family: var(--font-family-monospace);
    font-size: 13px;
}
pre {
    line-height: 1.8;
}

/* Needed to provide BC compatibility because
   Bootstrap 5 replaced these classes by .text-start and .text-end */
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Layout
   ========================================================================= */
@media(min-width: 992px) {
    .wrapper {
        display: grid;
        grid-template-columns: var(--sidebar-max-width) auto;
        min-block-size: 100vh;
    }
}
@media(min-width: 1280px) {
    .wrapper {
        grid-column-gap: 0;
    }
}

body:not(.ea-content-width-full) .content-wrapper {
    max-inline-size: var(--body-max-width);
}
@media(min-width: 992px) {
    body.ea-sidebar-width-compact .wrapper {
        grid-template-columns: 44px auto;
    }
}

.responsive-header {
    align-items: center;
    background: var(--responsive-header-bg);
    box-shadow: inset 0 -1px 0 var(--responsive-header-border-color);
    display: flex;
    justify-content: space-between;
    padding: 8px 15px;
}
@media(min-width: 992px) {
    .responsive-header {
        display: none;
    }
}
.responsive-header #responsive-header-logo {
    padding: 0 15px;
    font-size: var(--font-size-base);
    font-weight: 500;
    margin: 0;
}
.responsive-header #responsive-header-logo a {
    color: var(--responsive-header-logo-color);
}

.responsive-header .dropdown-settings {
    display: block;
}
.main-header {
    display: none;
}
@media(min-width: 992px) {
    .main-header {
        display: block;
    }
}

.main-header .navbar {
    display: block;
    padding: 0 0 0 var(--sidebar-menu-items-padding-left);
}

.main-header #header-logo {
    overflow: hidden;
}
.main-header #header-logo a {
    color: var(--sidebar-logo-color);
    display: block;
    font-size: var(--font-size-lg);
    font-weight: 500;
    line-height: 24px;
    padding: 17px 0 28px 0;
}
.main-header #header-logo img,
.main-header #header-logo svg {
    max-inline-size: 100%;
}

.main-header #header-logo .logo-custom { display: block; }
.main-header #header-logo .logo-compact { display: none; }
@media(min-width: 992px) {
    body.ea-sidebar-width-compact .main-header #header-logo .logo-custom { display: none; }
    body.ea-sidebar-width-compact .main-header #header-logo .logo-compact { display: block; }
}

#navigation-toggler {
    background: transparent;
    border: 0;
    color: var(--text-color-dark);
    cursor: pointer;
    filter: opacity(50%);
    font-size: 17px;
    margin: 0 5px 0 -5px;
    padding: 0;
    inline-size: 24px;
}
@media(min-width: 992px) {
    #navigation-toggler {
        display: none;
    }
}

.sidebar-wrapper {
    position: relative;
}
.sidebar {
    background: var(--sidebar-bg);
    block-size: 100%;
    min-block-size: 100vh;
    inset-inline-start: calc(0px - 2 * 20px - var(--sidebar-max-width));
    overflow-x: hidden;
    overflow-y: auto;
    padding: 15px 20px;
    position: fixed;
    inset-block-start: 0;
    transition: left 0.3s;
    z-index: calc(var(--zindex-modal-backdrop) + 1);
    inline-size: calc(2 * 20px + var(--sidebar-max-width));
}
@media(min-width: 992px) {
    .sidebar {
        box-shadow: inset -1px 0 0 var(--sidebar-border-color);
        max-inline-size: var(--sidebar-max-width);
        padding: 0 var(--sidebar-padding-right) 0 var(--sidebar-padding-left);
        position: static;
        z-index: calc(var(--zindex-modal-backdrop) - 1);
        inline-size: initial;
    }
}
body.ea-mobile-sidebar-visible .sidebar {
    box-shadow: 20px 0 25px -5px rgba(0, 0, 0, 0.1), 10px 0 10px -5px rgba(0, 0, 0, 0.04);
    inset-inline-start: 0;
}

.user-menu-wrapper a.user-details,
a.user-menu-wrapper .user-details:hover {
    align-items: center;
    color: var(--user-name-color);
    cursor: pointer;
    display: flex;
    -webkit-appearance: none; /* needed for Safari */
}
.user-menu-wrapper.user-is-impersonated a.user-details,
.user-menu-wrapper.user-is-impersonated a.user-details:hover {
    color: var(--user-menu-impersonated-link-color);
    font-weight: 500;
}
.user-menu-wrapper .user-details .user-name {
    margin-inline-start: 6px;
}

.user-menu-wrapper .user-avatar {
    background: var(--user-avatar-icon-bg);
    border-radius: var(--border-radius);
    color: var(--user-avatar-icon-color);
    display: block;
    block-size: 21px;
    max-inline-size: 21px;
    inline-size: 2em;
    text-align: center;
}

.user-menu-wrapper .dropdown-menu {
    min-inline-size: 200px;
    max-inline-size: 480px;
}
.user-menu-wrapper .dropdown-menu .dropdown-user-details {
    align-items: flex-start;
    display: flex;
    padding: 0 5px;
}
.user-menu-wrapper .dropdown-menu .dropdown-user-details .user-avatar {
    block-size: 39px;
    max-inline-size: 39px;
    margin-block-start: 2px;
    margin-inline-end: 10px;
    inline-size: auto;
}
.user-menu-wrapper .dropdown-menu .dropdown-user-details .user-avatar .icon {
    font-size: 25px;
}
.user-menu-wrapper .dropdown-menu .dropdown-user-details .user-label {
    color: var(--text-muted);
    display: block;
    font-size: var(--font-size-sm);
    margin-block-end: 2px;
}

.dropdown-settings {
    display: none;
}
@media(min-width: 992px) {
    .dropdown-settings {
        display: block;
    }
}
.dropdown-settings .dropdown-settings-button {
    color: var(--dropdown-settings-icon-color);
    font-size: 16px;
    padding-inline-start: 15px;
}

.dropdown-settings .dropdown-header {
    color: var(--text-muted);
    display: block;
    font-size: var(--font-size-sm);
}

.dropdown-settings .dropdown-item.active {
    background: var(--dropdown-settings-active-item-bg);
    box-shadow: var(--dropdown-settings-active-item-shadow);
    color: var(--dropdown-settings-active-item-color);
}
.dropdown-settings .dropdown-item.active i,
.dropdown-settings .dropdown-item.active .icon {
    color: var(--dropdown-settings-active-item-color);
}

.content-wrapper {
    padding: 0 var(--content-padding-right) 15px var(--content-padding-left);
}
@media(min-width: 992px) {
    .content-wrapper {
        display: grid;
        grid-template-columns: auto var(--resize-handler-width);
        padding: 0 var(--lg-content-padding-right) var(--lg-content-padding-bottom) var(--lg-content-padding-left);
    }
}

.content {
    margin-block-start: 1px;
}

.resizer-handler {
    display: none;
}
@media(min-width: 992px) {
    .resizer-handler {
        cursor: col-resize;
        display: block;
        margin: 0 0 0 7px;
        min-block-size: 100vh;
        transition: background 0.7s;
        inline-size: 3px;
    }
    .resizer-handler:hover {
        background: var(--resize-handler-hover-bg);
    }
}
#sidebar-resizer-handler {
    position: absolute;
    inset-block-start: 0;
    inset-block-end: 0;
    inset-inline-end: 0;
    min-block-size: 100vh;
}

#content-resizer-handler {
    min-block-size: calc(100vh - 56px - var(--lg-content-padding-bottom));
}

.content-top {
    align-items: center;
    box-shadow: 0 1px 0 var(--content-top-border-color);
    display: flex;
    padding: 5px 15px 5px var(--content-padding-left);
}
@media(max-width: 992px) {
    .content-top.ea-search-disabled { box-shadow: none; }
}

@media(min-width: 992px) {
    .content-top {
        display: flex;
        block-size: 56px;
        justify-content: space-between;
        padding: 11px calc(var(--lg-content-padding-right) + var(--resize-handler-width)) 11px var(--lg-content-padding-left);
        position: relative;
    }
}

.content-top .navbar-custom-menu {
    display: none;
}
@media(min-width: 992px) {
    .content-top .navbar-custom-menu {
        display: block;
    }
}

.content-top .content-search {
    flex: 1;
}
.content-top .content-search .form-group {
    flex-basis: 100%;
    padding: 2px 0;
}
.content-top .content-search .form-widget {
    align-items: center;
    display: flex;
    flex: unset;
}
@media(min-width: 992px) {
    .content-top .content-search .form-widget {
        display: block;
    }
}
.content-top .content-search .content-search-icon {
    color: var(--content-search-icon-color);
    margin-inline-end: 0;
}
.content-top .content-search .content-search-reset {
    background: var(--content-search-reset-button-bg);
    border-radius: var(--border-radius);
    color: var(--content-search-reset-button-color);
    font-size: 13px;
    padding: 2px 2px;
}
.content-top .content-search .content-search-reset:hover {
    background: var(--content-search-reset-button-hover-bg);
    color: var(--content-search-reset-button-hover-color);
}

.content-top .content-search input[type="search"][name="query"] {
    background: var(--content-search-input-bg);
    border: 0;
    box-shadow: none;
    max-inline-size: unset;
}
/* needed to hide the default [X] mark showed by Webkit browsers in these fields */
.content-top .content-search input[type="search"][name="query"]::-webkit-search-decoration,
.content-top .content-search input[type="search"][name="query"]::-webkit-search-cancel-button,
.content-top .content-search input[type="search"][name="query"]::-webkit-search-results-button,
.content-top .content-search input[type="search"][name="query"]::-webkit-search-results-decoration {
    -webkit-appearance: none;
}

.content-top .content-search input[type="search"][name="query"]:focus,
.content-top .content-search input[type="search"][name="query"]:active {
    box-shadow: none;
    outline: none;
}

/* copied from https://css-tricks.com/auto-growing-inputs-textareas/#other-ideas */
.content-top .content-search .content-search-label {
    align-items: center;
    display: inline-grid;
    margin: 0;
    padding: 0;

    @media(min-width: 992px) {
        max-inline-size: 600px;
    }
}
.content-top .content-search .content-search-label::after,
.content-top .content-search .content-search-label input {
    grid-area: 1/2;
    resize: none;
    inline-size: auto;
}
.content-top .content-search .content-search-label input.is-blank {
    min-inline-size: 300px;
}
.content-top .content-search .content-search-label::after {
    /* the extra blank space is needed to make it look good */
    content: attr(data-value) "    ";
    block-size: 30px;
    visibility: hidden;
    white-space: pre-wrap;
}

.content-header {
    padding: 26px 0 16px;
}
@media(min-width: 768px) {
    .content-header {
        align-items: flex-start;
        background: var(--body-bg);
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        padding: 36px 0 16px;
    }
}

@media(min-width: 992px) {
    body.ea-new .content-header,
    body.ea-edit .content-header {
        position: sticky;
        inset-block-start: -20px;
        z-index: 999;
    }
}

.content-header-title {
    flex: 1;
}
.content-header-title .title {
    font-size: var(--font-size-xxl);
    font-weight: bold;
    line-height: 1.2;
    margin: 0;
    padding-inline-end: 15px;
}
@media(min-width: 992px) {
    .content-header-title .title {
        font-size: var(--font-size-xxxl);
    }
}
.content-header-title .title small {
    color: var(--gray-600);
    font-size: var(--font-size-lg);
    font-weight: 500;
    line-height: var(--font-size-lg);
}

.content-header-help i {
  color: var(--text-muted);
  cursor: pointer;
  font-size: 21px;
}

/* customizing Bootstrap's Saas variables for popovers doesn't work,
   so we need to define these styles explicitly */
.popover.ea-content-help-popover {
  --bs-popover-border-radius: var(--border-radius);

  border-color: var(--popover-border-color);
  box-shadow: var(--popover-shadow);
  max-inline-size: var(--popover-max-width);
}
.popover.ea-content-help-popover .popover-body {
  background: var(--popover-bg);
  border-radius: var(--border-radius);
  color: var(--popover-color);
  font-size: var(--font-size-base);
  padding: 15px;
  text-align: left;
}
.popover.ea-content-help-popover.bs-popover-auto[data-popper-placement^=top] > .popover-arrow:before,
.bs-popover-top > .popover-arrow:before {
    border-block-start-color: var(--popover-border-color);
}
.popover.ea-content-help-popover.bs-popover-auto[data-popper-placement^=top] > .popover-arrow:after,
.bs-popover-top > .popover-arrow:before {
    border-block-start-color: var(--popover-bg);
}
.popover.ea-content-help-popover.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:before,
.bs-popover-end > .popover-arrow:before {
    border-inline-end-color: var(--popover-border-color);
}
.popover.ea-content-help-popover.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:after,
.bs-popover-end > .popover-arrow:after {
    border-inline-end-color: var(--popover-bg);
}
.popover.ea-content-help-popover.bs-popover-auto[data-popper-placement^=bottom] > .popover-arrow,
.bs-popover-bottom > .popover-arrow {
  inset-block-start: -.5rem;
}
.popover.ea-content-help-popover.bs-popover-auto[data-popper-placement^=bottom] > .popover-arrow:before,
.bs-popover-bottom > .popover-arrow:before {
    border-block-end-color: var(--popover-border-color);
}
.popover.ea-content-help-popover.bs-popover-auto[data-popper-placement^=bottom] > .popover-arrow:after,
.bs-popover-bottom > .popover-arrow:after {
    border-block-end-color: var(--popover-bg);
}
.popover.ea-content-help-popover.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:before,
.bs-popover-start > .popover-arrow:before {
    border-inline-start-color: var(--popover-border-color);
}
.popover.ea-content-help-popover.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:after,
.bs-popover-start > .popover-arrow:after {
    border-inline-start-color: var(--popover-bg);
}

.ea-content-help-popover.tooltip.show {
  opacity: 1;
}

.content-header .datagrid-filters {
    margin-inline-end: 10px;
}
.content-header .page-actions {
    justify-content: right;
    flex-wrap: wrap;
    row-gap: 1em;
    display: flex;
    flex-direction: row;
    margin: 10px 0 15px;
}
@media(min-width: 768px) {
    .content-header .page-actions {
        margin: 2px 1px 0 10px;
    }
}
.content-header .page-actions:empty { display: none; }

.content-header .page-actions .btn + .btn {
    margin-inline-start: 10px;
}

.content-header .page-actions .btn-group .btn + .btn {
    margin-inline-start: 0;
}

.batch-actions form {
    display: flex;
}
.batch-actions .btn + .btn {
    margin-inline-start: 15px;
}

.with-rounded-top {
    border-start-start-radius: var(--border-radius);
    border-start-end-radius: var(--border-radius);
}
.with-rounded-bottom {
    border-end-start-radius: var(--border-radius);
    border-end-end-radius: var(--border-radius);
}
.datagrid.with-rounded-top thead tr:first-child th:first-child {
    border-start-start-radius: var(--border-radius);
}
.datagrid.with-rounded-top thead tr:first-child th:last-child {
    border-start-end-radius: var(--border-radius);
}

.content-footer {
    background: var(--body-bg);
    border-block-start: var(--border-width) var(--border-style) var(--content-section-border-color);
    border-end-start-radius: var(--border-radius);
    border-end-end-radius: var(--border-radius);
    color: var(--text-muted);
    margin-block-start: 15px;
    padding: 15px 0;
}

.content-panel {
    margin-block-end: 20px;
}

.content-panel-header {
    border-block-end: var(--border-width) var(--border-style) var(--content-section-border-color);
    font-size: var(--font-size-lg);
    line-height: 24px;
    margin: 0;
    padding: 15px 17px 15px 20px;
}
.content-panel-header.collapsible {
    padding: 0;
}
.content-panel-header.collapsible > a {
    color: inherit;
    display: block;
    padding: 15px 17px 15px 20px;
}
.content-panel-header.collapsible.with-help > a {
    padding: 15px 17px 1px 20px;
}
.content-panel-header.collapsible .collapse-icon {
    color: var(--color-primary);
    margin-inline-end: 5px;
    transition: all .1s linear;
}
.content-panel-collapse:not(.collapsed) .collapse-icon {
    transform: rotate(90deg);
}
.content-panel-header.collapsible.with-help .content-panel-header-help {
    padding: 0 17px 15px 20px;
}

.content-panel-header-help {
    color: var(--gray-500);
    font-size: var(--font-size-base);
}

.content-panel-body {
    background: var(--white);
    padding: 15px 20px;
}
@media(min-width: 992px) {
    .content-panel-body {
        padding: 18px 25px;
    }
}

.content-panel-body.with-min-h-250 {
    min-block-size: 250px;
}
.content-panel-body.with-background {
    background: var(--content-panel-bg);
}
.content-panel-body.without-padding {
    padding: 0;
}
.content-panel-body.without-header {
    border-start-start-radius: var(--border-radius);
    border-start-end-radius: var(--border-radius);
}
.content-panel-body.without-footer {
    border-end-start-radius: var(--border-radius);
    border-end-end-radius: var(--border-radius);
}

.content-panel-footer {
    border-block-start: var(--border-width) var(--border-style) var(--border-color);
    border-end-start-radius: var(--border-radius);
    border-end-end-radius: var(--border-radius);
    margin: 0;
    padding: 15px 17px 15px 20px;
}
.content-panel-footer.without-border {
    border-block-start: 0;
}
.content-panel-footer.without-padding {
    padding: 0;
}

.dropdown-menu {
    --dropdown-padding: 4px;

    background-color: var(--dropdown-bg);
    border-color: var(--dropdown-border-color);
    box-shadow: var(--shadow-xl);
    color: var(--dropdown-color);
    max-inline-size: 240px;
    padding: 5px;
}
.dropdown-menu li {
    border-radius: var(--border-radius);
}
.dropdown-menu a,
.dropdown-menu a:hover,
.dropdown-menu a:active {
    border-radius: var(--border-radius);
    color: var(--dropdown-link-color);
}
.dropdown-menu a:hover {
    background: var(--dropdown-link-hover-bg);
}
.dropdown-menu i,
.dropdown-menu .icon {
    color: var(--dropdown-icon-color);
    margin: 0 10px 0 4px;
    font-size: 15px;
}

.dropdown-menu .dropdown-item,
.dropdown-menu .dropdown-header {
    align-items: center;
    display: flex;
    block-size: 28px;
    white-space: nowrap;
    overflow: hidden;
    padding: 0 12px 0 6px;
    text-overflow: ellipsis;
}
.dropdown-menu .dropdown-divider {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: 0 -1px 0 var(--dropdown-border-color);
    block-size: 1px;
    margin: 6px calc(-1 * var(--dropdown-padding));
    opacity: 1;
}
.dropdown-menu .dropdown-item-color-scheme {
    color: var(--dropdown-color);
}
.dropdown-menu .dropdown-item-color-scheme:hover { background: transparent; }
.dropdown-menu .dropdown-item-color-scheme label { align-items: center; display: flex; }
.dropdown-menu .dropdown-item-color-scheme i { margin-block-start: 0; }
.dropdown-menu .dropdown-item-color-scheme select {
    background: var(--dropdown-bg);
    border: 1px solid var(--dropdown-border-color);
    border-radius: var(--border-radius);
    color: var(--dropdown-color);
    margin-inline-start: 10px;
    outline: none;
    padding: 0 4px;
}

.list-pagination {
    background: var(--table-footer-bg);
    border-end-start-radius: var(--border-radius);
    border-end-end-radius: var(--border-radius);
    color: var(--pagination-color);
    padding: 15px 0;
}
@media (min-width: 768px) {
    .list-pagination {
        align-items: center;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
}
.list-pagination-counter {
    color: var(--pagination-color);
}

.pager .pagination {
    --bs-pagination-font-size: var(--font-size-sm);
    --bs-pagination-focus-box-shadow: none;

    margin-block-end: 0;
}
@media (max-width: 992px) {
    .pager .pagination {
        margin-block-start: 15px;
    }
}
.page-item .page-link {
    white-space: nowrap;
}
.page-item.active .page-link, .page-item.active .page-link:hover {
    background: var(--pagination-active-bg);
    border-color: var(--pagination-active-bg);
    color: var(--pagination-active-color);
}
.page-item.disabled .page-link {
    background: transparent;
    color: var(--pagination-disabled-color);
}
.page-item .page-link,
.page-item .page-link:focus,
.page-item .page-link:hover {
    background: transparent;
    border: var(--border-width) var(--border-style) transparent;
    border-radius: var(--border-radius);
    color: inherit;
    margin: 0 1px;
}
/* needed to override some Bootstrap styles */
.page-item:not(:first-child) .page-link {
    margin: 0 1px;
}
.page-item .page-link:focus,
.page-item .page-link:hover {
    border-color: var(--pagination-hover-border-color);
}

@media (max-width: 768px) {
    .pager .page-item:not(.page-item-previous, .page-item-next, .page-item.active) {
        display: none;
    }
    .pager .page-item.active {
        margin: 0 1em;
    }
    .pager .page-item-previous,
    .pager .page-item-next {
        flex: 1;
    }
    .pager .page-item-previous .page-link,
    .pager .page-item-next .page-link {
        border: var(--border-width) var(--border-style) var(--border-secondary-color);
        border-radius: var(--border-radius);
    }
    .pager .page-item-previous:not(.disabled):hover .page-link,
    .pager .page-item-next:not(.disabled):hover .page-link {
        border-color: var(--link-color);
    }
    .pager .page-item-previous .page-link {
        padding-inline-start: calc(var(--bs-pagination-padding-x) / 2);
    }
    .pager .page-item-next .page-link {
        text-align: right;
        padding-inline-end: calc(var(--bs-pagination-padding-x) / 2);
    }
}

/* Modal for delete action */
.modal-content {
    border-color: var(--modal-border-color);
}
.modal-body {
    background: var(--modal-bg);
}
.modal-body h4 {
    font-size: var(--font-size-lg);
}

.modal-footer {
    background: var(--modal-footer-bg);
    border-color: var(--modal-border-color);
    padding: 8px 10px;
}

/* Flash messages */
#flash-messages {
    background: transparent;
}
.alert {
    border-width: 0 0 var(--border-width);
    margin-bottom: 0;
}
.alert .btn-close,
.alert .btn-close:focus {
    box-shadow: none;
    outline: none;
    background-size: .75em;
    padding: .5em;
    top: .75em;
    right: .5em;
}
.alert .btn-close:focus,
.alert .btn-close:hover {
    opacity: 1;
    background-color: light-dark(rgba(128, 128, 128, 0.2), rgba(128, 128, 128, 0.5));
}

.alert:last-of-type {
    border-block-end-width: 2px;
}

.alert.alert-primary {
    --bs-alert-bg: var(--alert-primary-bg);
    --bs-alert-border-color: var(--alert-primary-border-color);
    --bs-alert-color: var(--alert-primary-color);
}
.alert.alert-secondary {
    --bs-alert-bg: var(--alert-secondary-bg);
    --bs-alert-border-color: var(--alert-secondary-border-color);
    --bs-alert-color: var(--alert-secondary-color);
}
.alert.alert-success {
    --bs-alert-bg: var(--alert-success-bg);
    --bs-alert-border-color: var(--alert-success-border-color);
    --bs-alert-color: var(--alert-success-color);
}
.alert.alert-info {
    --bs-alert-bg: var(--alert-info-bg);
    --bs-alert-border-color: var(--alert-info-border-color);
    --bs-alert-color: var(--alert-info-color);
}
.alert.alert-warning {
    --bs-alert-bg: var(--alert-warning-bg);
    --bs-alert-border-color: var(--alert-warning-border-color);
    --bs-alert-color: var(--alert-warning-color);
}
.alert.alert-danger {
    --bs-alert-bg: var(--alert-danger-bg);
    --bs-alert-border-color: var(--alert-danger-border-color);
    --bs-alert-color: var(--alert-danger-color);
}
.alert.alert-light {
    --bs-alert-bg: var(--alert-light-bg);
    --bs-alert-border-color: var(--alert-light-border-color);
    --bs-alert-color: var(--alert-light-color);
}
.alert.alert-dark {
    --bs-alert-bg: var(--alert-dark-bg);
    --bs-alert-border-color: var(--alert-dark-border-color);
    --bs-alert-color: var(--alert-dark-color);
}
.ea-dark-scheme .alert:not(.alert-light) .btn-close,
.alert.alert-dark .btn-close,
.ea-dark-scheme .modal-header .btn-close {
    filter: invert(1);
}
[data-bs-theme="dark"] .btn-close {
    filter: none;
}

/* Utilities */
.text-primary { color: var(--text-primary-color) !important; }
.text-secondary { color: var(--text-secondary-color) !important; }
.text-tertiary { color: var(--text-tertiary-color) !important; }

.border-primary { border: 1px solid var(--border-primary-color) !important; }
.border-secondary { border: 1px solid var(--border-secondary-color) !important; }
.border-tertiary { border: 1px solid var(--border-tertiary-color) !important; }

.background-primary { background-color: var(--primary-bg) !important; }
.background-secondary { background-color: var(--secondary-bg) !important; }
.background-tertiary { background-color: var(--tertiary-bg) !important; }
