.btn {
    --button-padding-y-sm: 3px 8px;
    --button-padding-x: 8px;
    --button-padding-y: 3px;
    --button-box-shadow: rgb(203, 213, 225) 0px 0px 0px 1px, rgba(15, 23, 41, 0.1) 0px 1px 1px 0px, rgba(52, 66, 86, 0.1) 0px 2px 5px 0px;
    --button-border-radius: 4px;
    font-size: 14px;
    font-weight: 400;
    block-size: auto;
    justify-content: center;
}

.btn-dark {
    background-color: #212529;
    border-color: #212529;
    color: #fff;
}

.btn-dark:hover, .btn-dark:active, .btn-dark:focus, .btn-dark:disabled {
    background-color: #424649 !important;
    border-color: #424649 !important;
    color: #fff !important;
}

.badge.bg-secondary {
    color: #fff;
}

.text-red {color: #942a4d;}

.checkbox-outline {margin-left: 0; padding-left: 0;}
.checkbox-outline2 {margin-left: 0;}

.bg-gray{background-color: #e3e3e3;}

.checkbox.checkbox-xsm label.zero-top::before,
.checkbox.checkbox-xsm label.zero-top::after {
    top: 0;
}

.sf-display-none, .sf-toolbar-closed {display: none;}

.tooltip-inner {
    text-align: left;
}

.form-control-disabled {
    background-color: #e2e8f1;
    opacity: 1;
}

.datagrid .ea-lightbox-thumbnail.big img {
    max-block-size: 200px;
}

#header-logo .logo-custom {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
}

.main-header #header-logo a {
    padding: 0 0 20px;
}

.page-login .main-header {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    margin-bottom: 0.5rem;
}

.page-login #header-logo {
    text-align: center;
}

.page-login .login-brand {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.5rem 0 1.25rem;
}

.page-login .login-brand-mark {
    display: block;
    width: 3.25rem;
    height: auto;
    flex-shrink: 0;
}

.page-login .login-brand-text {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.page-login .login-wrapper .content {
    margin-top: 0;
}

@media (min-width: 992px) {
    body.page-login {
        align-items: stretch;
        block-size: auto;
        display: block;
        inline-size: auto;
        justify-content: flex-start;
        min-block-size: 100%;
        overflow: auto;
        position: static;
    }

    body.page-login .login-wrapper {
        margin-block-start: 0;
        margin-inline: auto;
        padding-block-start: 4rem;
        padding-block-end: 2rem;
    }
}

.sidebar-logo-full {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem 0.5rem 0.5rem;
    box-sizing: border-box;
}

.sidebar-logo-mark {
    display: block;
    width: 2.75rem;
    min-width: 2.75rem;
    height: auto;
    flex-shrink: 0;
}

.sidebar-logo-text {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-align: left;
    white-space: nowrap;
}

.sidebar-logo-home {
    color: #1e3a5f;
}

.sidebar-logo-eye {
    color: #0d6efd;
}

.sidebar-logo-compact {
    display: block;
    width: 2rem;
    height: auto;
    margin: 0 auto;
}

.event-full-frame-preview img {
    display: block;
    max-width: min(100%, calc(100vw - 4rem));
    max-height: calc(100vh - 4rem);
    width: auto;
    height: auto;
    object-fit: contain;
}

.modal-zi .progress .progress-bar {
    width: 100%;
}

.btn-invisible {
    display: none;
}

.fs-7 {font-size: 0.75rem;}
.fs-6 {font-size: 0.50rem;}

@media (min-width: 992px) {
    .content-top .navbar-custom-menu {
        display: flex !important;
        align-items: center;
        gap: 0.5rem;
    }
}

@media (max-width: 991.98px) {
    .content-top .navbar-custom-menu {
        display: none !important;
    }
}