@import './workDefinitions/htmx-select.css?v=3.2.2';

:root {
    --brand-primary: #2E85FF;
    --fg-gray-quinary: #8293AB33;
}

body * {
    font-family: var(--cui-body-font-family);
}

:focus {
    outline: none;
}

.main-container {
    position: relative;
    overflow-y: auto;
    display: flex;
    flex-direction: row;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.page-head {
    display: flex;
    min-height: 76px;
    margin-right: -16px;
    margin-left: -16px;
    padding: 12px 16px;
    align-items: center;
    align-self: stretch;
    background: var(--bg-default, #F7F8FA);
    border-bottom: 1px solid var(--strokes-divider-primary, #9AA8BC);
}

.page-head h1 {
    margin-bottom: 0;
    padding-left: 3px;
}

.header-title {
    display: inline-flex;
    height: 32px;
    align-items: center;
    gap: 8px;
}

.page-title-container {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1 0 0;
}

.page-title {
    color: var(--fg-gray-primary, #0A0C0F);
    font-family: Montserrat;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 32px;
    letter-spacing: 0.72px;
}

.header-buttons {
    display: inline-flex;
    justify-content: flex-end;
    align-items: center;
    margin-left: auto;
    margin-right: 28px;
    gap: 20px;
}

.add-object-ref {
    display: flex;
    padding: 6px 12px 6px 6px;
    align-items: center;
    gap: 4px;
    border-radius: 4px;
    background: var(--brand-primary, #2E85FF);
    color: var(--brand-on-color, rgba(255, 255, 255, 0.90));
    text-align: center;
    font-family: "PT Root UI VF" !important;
    white-space: nowrap;
    font-size: 14px;
    font-style: normal;
    font-weight: 450;
    line-height: 20px;
    cursor: pointer;
    text-decoration: none !important;
}

.add-object-ref:hover {
    color: var(--brand-on-color, rgba(255, 255, 255, 0.90));
    background: var(--brand-secondary, #57a2ff);
}

.add-object-ref img {
    width: 20px;
    height: 20px;
}

.add-batch-object-ref {
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 6px 12px 6px 6px;
    gap: 4px;
    border-radius: 4px;
    border: 1px solid var(--strokes-divider-primary, #9AA8BC);
    background: var(--bg-accent, #FFF);
    color: var(--fg-gray-secondary, #435165);
    text-align: center;
    font-family: "PT Root UI VF" !important;
    white-space: nowrap;
    font-size: 14px;
    font-style: normal;
    font-weight: 450;
    line-height: 20px;
    text-decoration: none !important;
}

.add-batch-object-ref:hover {
    color: var(--fg-gray-secondary, #435165);
    background: var(--fg-gray-transparent-quarternary, rgba(175, 186, 202, 0.10));
}

.add-batch-object-ref img {
    width: 20px;
    height: 20px;
}

.add-object-ref *,
.add-batch-object-ref * {
    font-family: "PT Root UI VF" !important;
}

.export-to-csv {
    display: flex;
    align-items: center;
    padding: 6px 12px 6px 6px;
    gap: 4px;
    border-radius: 4px;
    border: 1px solid var(--strokes-divider-primary, #9AA8BC);
    background: var(--bg-accent, #FFF);
    color: var(--fg-gray-secondary, #435165) !important;
    text-align: center;
    font-family: "PT Root UI VF";
    white-space: nowrap;
    font-size: 14px;
    font-style: normal;
    font-weight: 450;
    line-height: 20px;
    cursor: pointer;
}

.csv-export-loader {
    display: none;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    box-sizing: border-box;
    border: 3px solid var(--strokes-divider-primary, #9AA8BC);
    border-top-color: transparent;
    border-radius: 50%;
    animation: csv-export-loader-spin 0.8s linear infinite;
}

.export-to-csv.is-loading .csv-export-loader {
    display: inline-block;
}

.export-to-csv.is-loading > img {
    display: none;
}

.export-to-csv:hover {
    background: var(--fg-gray-transparent-quarternary, rgba(175, 186, 202, 0.10));
}

.export-to-csv img {
    width: 20px;
    height: 20px;
}

@keyframes csv-export-loader-spin {
    to {
        transform: rotate(360deg);
    }
}

.infolink {
    background-image: url("/Images/question_in_circle.svg?v=3.2.2");
    display: flex;
    width: 20px;
    height: 20px;
    padding: 6px 6px;
    align-items: center;
    gap: 4px;
    border-radius: 4px;
}

.page-form-title {
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 0
}

.page-form {
    margin-left: 15px;
}

.page-form>form {
    margin-top: 30px;
}


.robots-page-head {
    width: 100%;
    background-color: #FFFFFF;
    display: inline-block;
    margin-top: -20px;
    position: sticky;
    top: 0;
    z-index: 10;
}

.element-page-head {
    width: 100%;
    background-color: #FFFFFF;
    padding-top: 20px;
    padding-bottom: 10px;
    position: sticky;
}

/* TODO вынести color: #000000; в отдельный стиль чтобы не перекрывать цвета в других стилях */
#table th {
    font-size: small !important;
    line-height: 23px;
    color: #000000;
    background: #061249;
    padding-left: 6px;
    font-weight: 400;
}

.agreement-div {
    text-align: left;
    width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 600;
}

.agreement-text {
    text-align: left;
    margin-bottom: 0;
}

.agreement-title {
    color: red;
}

.table-handler-first {
    font-size: small;
    line-height: 23px;
    color: #FFFFFF !important;
    background: #061249;
}

.table-handler-first a {
    color: #FFFFFF !important;
}

.table-handler-first a:hover {
    color: #FFFFFF !important;
    text-decoration: none;
}

.table-handler-others {
    font-size: small;
    line-height: 23px;
    color: #FFFFFF !important;
    background: #061249;
}

.table-handler-others a {
    color: #FFFFFF !important;
}

.table-handler-others a:hover {
    color: #FFFFFF !important;
    text-decoration: none;
}

.table-actions {
    width: 50px;
    min-width: 50px;
    max-width: 50px;
}

.table-border {
    border: 0.5px dashed #C2C4CD;
    transform: matrix(1, 0, 0, 1, 0, 0);
}

.table-head tr td {
    font-weight: 400;
    vertical-align: middle;
    line-height: 1.2em;
}

.table-head tr td:first-child {
    padding-left: 10px;
}

.table-details-head {
    background-color: #FFFFFF;
}

.table-details-head tr td {
    font-weight: 400;
    vertical-align: middle;
    line-height: 1.2em;
}

.admin-table-head {
    background-color: #FFFFFF;
}

.admin-table-head tr td {
    font-weight: 400;
    vertical-align: middle;
    line-height: 1.2em;
}

.add-calendar-schedule-type {
    position: relative;
    font-weight: 500;
    font-size: 14px;
    line-height: 16px;
    color: #212529 !important;
}

.add-calendar-schedule-type:hover {
    text-decoration: underline !important;
}

.first-col-data {
    font-weight: 300;
    font-size: 14px;
    align-items: center;
    color: #000000;
    height: 5px;
}

.first-col-data a {
    color: #1B84C4;
}

.table {
    width: 100%;
    table-layout: fixed;
    overflow-wrap: break-word;
    overflow-y: auto;
    margin-bottom: 0;
    padding-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.table tbody th,
.table tbody td {
    padding: 4px 0px 4px 6px !important;
    vertical-align: top;
    word-wrap: break-word;
}

.table tbody tr:hover {
    background-color: #F6F8FC;
}

.table tbody tr td span,
.table tbody tr td a span,
.related-table tbody tr td span {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-table {
    width: 100%;
    table-layout: fixed;
    overflow-wrap: break-word;
    margin-bottom: 0;
    padding-bottom: 0;
}

.related-table tr:hover {
    background-color: #F6F8FC;
}

.related-table tr td {
    padding: 0 5px 0 5px;
    max-width: 20%;
    word-wrap: break-word;
}

.related-table tbody tr td {
    border-bottom: 1px solid #dee2e6;
}

.related-td-left-top {
    text-align: left;
    vertical-align: top;
}

/* для элемента input c type="checkbox" - Таблица */
.table-checkbox {
    z-index: -1;
    opacity: 0;
    width: 0;
}

.table-checkbox + label {
    display: inline-flex;
    align-items: center;
}

/* создание в label псевдоэлемента before со следующими стилями */
.table-checkbox + label::before {
    content: '';
    display: inline-block;
    width: 1em;
    height: 1em;
    flex-shrink: 0;
    flex-grow: 0;
    border: 1px solid #5294DE;
    border-radius: 0.25em;
    margin-right: 0.5em;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 50% 50%;
}

/* стили при наведении курсора на checkbox */
.table-checkbox:not(:disabled):not(:checked)+label:hover::before {
    border-color: #b3d7ff;
}

/* стили для активного чекбокса (при нажатии на него) */
.table-checkbox:not(:disabled):active+label::before {
    background-color: var(--brand-primary, #2E85FF);
    border-color: var(--brand-primary, #2E85FF);
}

/* стили для чекбокса, находящегося в фокусе и не находящегося в состоянии checked */
.table-checkbox:focus:not(:checked)+label::before {
    border-color: var(--brand-primary, #2E85FF);
}

/* стили для чекбокса, находящегося в состоянии checked */
.table-checkbox:checked+label::before {
    border-color: var(--brand-primary, #2E85FF);
    background-color: var(--brand-primary, #2E85FF);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e");
}

/* стили для чекбокса, находящегося в состоянии disabled */
.table-checkbox:disabled+label::before {
    background-color: #e9ecef;
}

/* стили для чекбокса, находящегося в состоянии disabled */
.table-checkbox:disabled:checked+label::before {
    background-color: #e9ecef;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23888' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e");
}

/* Переключатель toggle switch */
.checkbox-switch {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.checkbox-switch__input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    clip: rect(0 0 0 0);
    overflow: hidden;
    white-space: nowrap;
}

.checkbox-switch__track {
    position: relative;
    display: inline-block;
    width: var(--switch-track-w, 34px);
    height: var(--switch-track-h, 18px);
    border-radius: 9999px;
    background-color: var(--fg-gray-quinary, #e0e5eb);
    cursor: pointer;
    transition: background-color 0.1s ease-in-out;
    margin: 0;
}

.checkbox-switch__thumb {
    position: absolute;
    top: 2px;
    left: 2px;
    width: var(--switch-thumb-size, 14px);
    height: var(--switch-thumb-size, 14px);
    border-radius: 50%;
    background-color: var(--bg-accent, #fff);
    box-shadow: 0 1px 2px rgba(10, 12, 15, 0.15);
    transition: transform 0.1s ease-in-out, background-color 0.1s ease-in-out;
}

.checkbox-switch__input:checked + .checkbox-switch__track {
    background-color: var(--brand-primary, #2e85ff);
}

.checkbox-switch__input:checked + .checkbox-switch__track .checkbox-switch__thumb {
    transform: translateX(var(--switch-thumb-travel, 16px));
    background-color: var(--brand-on-color, #ffffffe6);
}

.checkbox-switch__input:focus-visible + .checkbox-switch__track {
    outline: 2px solid var(--brand-secondary, #57a2ff);
    outline-offset: 2px;
}

.checkbox-switch__input:not(:disabled):not(:checked) + .checkbox-switch__track:hover {
    background-color: var(--fg-gray-quaternary, #9aa8bc);
}

.checkbox-switch__input:not(:disabled):checked + .checkbox-switch__track:hover {
    background-color: var(--brand-tertiary, #1c64d9);
}

.checkbox-switch__input:disabled + .checkbox-switch__track {
    cursor: not-allowed;
    background-color: var(--fg-gray-quinary, #E0E5EB);
}

.checkbox-switch__input:disabled + .checkbox-switch__track .checkbox-switch__thumb {
    cursor: not-allowed;
    background-color: var(--fg-gray-quaternary, #9AA8BC);
}

.checkbox-switch__input:disabled:checked + .checkbox-switch__track {
    cursor: not-allowed;
    background-color: var(--brand-surface-02, #D1EAFF);
}

.checkbox-switch__input:disabled:checked + .checkbox-switch__track .checkbox-switch__thumb {
    cursor: not-allowed;
    background-color: var(--brand-secondary, #57A2FF);
}

/* отображение привязки к Active Directory в списке пользователей */
.ad-checkbox {
    z-index: -1;
    opacity: 0;
}

/* создание в label псевдоэлемента before со следующими стилями */
.ad-checkbox+label::before {
    content: '';
    display: inline-block;
    width: 1em;
    height: 1em;
    flex-shrink: 0;
    flex-grow: 0;
    border: 1px solid #5294DE;
    border-radius: 0.25em;
    margin-top: 0.5em;
    margin-right: 0.5em;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 50% 50%;
}

/* стили при наведении курсора на checkbox */
.ad-checkbox:not(:disabled):not(:checked)+label:hover::before {
    border-color: #b3d7ff;
}

/* стили для активного чекбокса (при нажатии на него) */
.ad-checkbox:not(:disabled):active+label::before {
    background-color: #5294DE;
    border-color: #5294DE;
}

/* стили для чекбокса, находящегося в фокусе и не находящегося в состоянии checked */
.ad-checkbox:focus:not(:checked)+label::before {
    border-color: #5294DE;
}

/* стили для чекбокса, находящегося в состоянии checked */
.ad-checkbox:checked+label::before {
    border-color: #5294DE;
    background-color: #5294DE;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e");
}

/* стили для чекбокса, находящегося в состоянии disabled */
.ad-checkbox:disabled+label::before {
    background-color: #e9ecef;
}

/* стили для чекбокса, находящегося в состоянии disabled */
.ad-checkbox:disabled:checked+label::before {
    border-color: #5294DE;
    background-color: #5294DE;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e");
}

.ad-checkbox-container {
    display: flex;
    margin-left: -8px;
    height: 15px;
}

/* для элемента input c type="checkbox" - Форма */
.form-checkbox {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

/* создание в label псевдоэлемента before со следующими стилями */
.form-checkbox+label::before {
    content: '';
    display: inline-block;
    width: 1em;
    height: 1em;
    flex-shrink: 0;
    flex-grow: 0;
    border: 1px solid #050f3a;
    border-radius: 0.25em;
    margin-right: 0.5em;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 50% 50%;
}

/* стили при наведении курсора на checkbox */
.form-checkbox:not(:disabled):not(:checked)+label:hover::before {
    border-color: #b3d7ff;
}

/* стили для активного чекбокса (при нажатии на него) */
.form-checkbox:not(:disabled):active+label::before {
    background-color: #050f3a;
    border-color: #050f3a;
}

/* стили для чекбокса, находящегося в фокусе и не находящегося в состоянии checked */
.form-checkbox:focus:not(:checked)+label::before {
    border-color: #050f3a;
}

/* стили для чекбокса, находящегося в состоянии checked */
.form-checkbox:checked+label::before {
    border-color: #050f3a;
    background-color: #050f3a;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e");
}

/* стили для чекбокса, находящегося в состоянии disabled */
.form-checkbox:disabled+label::before {
    background-color: #e9ecef;
}

.table-data-ref {
    position: relative;
    font-weight: 300;
    font-size: 14px;
    text-decoration-line: underline;
    color: #245299;
}

.table-data-status {
    position: relative;
    font-weight: 300;
    font-size: 14px;
    color: #000000;
}

.table-data-others {
    position: relative;
    font-weight: 300;
    font-size: 14px;
    color: #000000;
    height: 5px;
}

.table-data-others a {
    color: #1B84C4;
}

.username {
    position: relative;
    font-weight: normal;
    font-size: 14px;
    line-height: 16px;
    color: #5A99FA;
}

.element-textarea {
    min-height: 10em;
}

chapter-level2 {
    font-size: 20px;
    line-height: 23px;
    color: #636A8A;
}

bt-with-focus {
    background: #1D254A;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 3px;
    font-size: small;
    line-height: 14px;
    display: flex;
    align-items: center;
    color: #FFFFFF;
}

.bt-without-focus {
    background: #FFFFFF;
    border-radius: 3px;
    font-size: 12px;
    line-height: 14px;
    display: flex;
    align-items: center;
    color: #1D254A;
}

.default-value {
    font-weight: 300;
    font-size: 12px;
    line-height: 14px;
    display: flex;
    align-items: center;
    color: #245299;
}

.info-text {
    font-weight: normal;
    font-size: 12px;
    line-height: 14px;
    display: flex;
    align-items: center;
    color: #636A8A;
}

.icon_items {
    display: flex;
}

.icon-btn::before {
    content: '';
    background-size: contain;
    width: 19px;
    min-width: 19px;
    height: 19px;
    display: inline-block;
    margin-right: 0px;
    vertical-align: middle;
    cursor: pointer;
}

.icon-btn-stream::before {
    background-image: url("/Images/AgentsMonitoring/stream-btn-icon.svg?v=3.2.2");
    width: 14px;
    min-width: 14px;
    height: 14px;
}

.icon-btn-no-click::before {
    content: '';
    background-size: contain;
    width: 19px;
    min-width: 19px;
    height: 19px;
    display: inline-block;
    margin-right: 0px;
    vertical-align: middle;
    cursor: auto;
}

.icon-btn-add::before {
    background-image: url("/Images/add_object_icon.svg?v=3.2.2");
}

.icon-btn-copy::before {
    background-image: url("/Images/content-copy-blue.svg?v=3.2.2");
}

.icon-btn-cross::before {
    background-image: url("/Images/Tasks/RedCross.svg?v=3.2.2");
}

.icon-btn-close::before {
    background-image: url("/Images/close20.svg?v=3.2.2");
}

.icon-btn-edit::before {
    background-image: url("/Images/pencil.svg?v=3.2.2");
}

.icon-btn-edit-outline::before {
    background-image: url("/Images/edit_icon_outline.svg?v=3.2.2");
}

.icon-btn-details::before {
    background-image: url("/Images/details.svg?v=3.2.2");
}

.icon-btn-eye::before {
    background-image: url("/Images/eye.svg?v=3.2.2");
}

.icon-btn-eye-outline::before {
    background-image: url("/Images/eye_icon_outline.svg?v=3.2.2");
}


.icon-btn-image-card::before {
    background-image: url("/Images/card-image-blue.svg?v=3.2.2");
}

.icon-btn-delete::before {
    background-image: url("/Images/delete.svg?v=3.2.2");
}

.icon-btn-delete-outline::before {
    background-image: url("/Images/delete_icon_outline.svg?v=3.2.2");
}

.icon-btn-download::before {
    background-image: url("/Images/download.svg?v=3.2.2");
}

.icon-btn-reload::before {
    background-image: url("/Images/Filters/refresh-blue.svg?v=3.2.2");
}

.icon-btn-start::before {
    background-image: url("/Images/Tasks/StartTaskButton.svg?v=3.2.2");
    margin: 0 4px;
}

.icon-btn-migrate::before {
    background-image: url("/Images/right_double_arrow.svg?v=3.2.2");
    margin: 0 4px;
}

.icon-btn-stop::before {
    background-image: url("/Images/Tasks/StopTaskButton.svg?v=3.2.2");
}

.icon-btn-softstop::before {
    background-image: url("/Images/Tasks/SoftStopTaskButton.svg?v=3.2.2");
    margin: 0 4px;
}

.icon-btn-process-softstop::before {
    background-image: url("/Images/Tasks/SoftStopInProcess.svg?v=3.2.2");
}

.icon-btn-cancel::before {
    background-image: url("/Images/close-thick.svg?v=3.2.2");
}

.icon-btn-logs::before {
    background-image: url("/Images/log.svg?v=3.2.2");
}

.icon-btn-filter {
    margin-bottom: 2px;
}

.icon-btn-filter::before {
    background-image: url("/Images/Filters/filter.svg?v=3.2.2");
    width: 20px;
    height: 20px;
    padding: 6px 6px;
    align-items: center;
    vertical-align: middle;
    gap: 4px;
}

.icon-btn-settings::before {
    background-image: url("/Images/Filters/gear.svg?v=3.2.2");
    width: 20px;
    height: 20px;
    padding: 6px 6px;
    align-items: center;
    vertical-align: middle;
    gap: 4px;
}

.icon-btn-inactive-sorting::before {
    background-image: url("/Images/sorting-arrow.svg?v=3.2.2");
    filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(268deg) brightness(108%) contrast(101%);
    width: 12px;
    min-width: 12px;
    height: 15px;
}

.icon-btn-sorting-asc::before {
    background-image: url("/Images/sorting-arrow.svg?v=3.2.2");
    filter: invert(36%) sepia(98%) saturate(1251%) hue-rotate(208deg) brightness(105%) contrast(94%);
    width: 12px;
    min-width: 12px;
    height: 15px;
}

.icon-btn-sorting-desc::before {
    background-image: url("/Images/sorting-arrow.svg?v=3.2.2");
    filter: invert(36%) sepia(98%) saturate(1251%) hue-rotate(208deg) brightness(105%) contrast(94%);
    width: 12px;
    min-width: 12px;
    height: 15px;
    transform: rotate(180deg);
}

.icon-btn-profile-outline::before {
    background-image: url("/Images/profile.svg?v=3.2.2");
}

.icon-btn-account-details::before {
    background-image: url("/Images/account-details-blue.svg?v=3.2.2");
}

.icon-btn-question-in-circle::before {
    background-image: url("/Images/question_in_circle.svg?v=3.2.2");
}

.icon-mail::before {
    content: '';
    background-size: contain;
    background-image: url("/Images/MailAccounts/Mail.svg?v=3.2.2");
    width: 16px;
    height: 16px;
    display: inline-block;
    margin-right: 0px;
    vertical-align: middle;
    cursor: pointer;
}

.label_position {
    margin-top: -12px;
    margin-left: 50px;
}

.field-infolink:before {
    content: url("/Images/info.svg?v=3.2.2");
    display: inline-block;
    width: 2ex;
    height: 2ex;
    margin-left: 5px;
}

.field-hint {
    border-bottom: 1px dotted #aaa;
    cursor: help;
    color: black;
}

.transparent-button {
    background-color: Transparent;
    background-repeat: no-repeat;
    border: none;
    outline: none;
}

.element-form-button {
    background-color: var(--brand-primary) !important;
    border-color: var(--brand-primary) !important;
    color: var(--brand-on-color) !important;
    min-height: 32px;
    padding: 0 1.95rem !important;
    outline: 0 !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: normal;
    text-align: center;
}

.element-form-button:hover {
    background-color: var(--brand-secondary, #57a2ff) !important;
    border-color: var(--brand-secondary, #57a2ff) !important;
    color: var(--brand-on-color) !important;
}

.element-form-button-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 1.95rem;
    outline: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-radius: 4px;
    border: 1px solid var(--strokes-divider-primary, #9AA8BC);
    background: var(--bg-accent, #FFF);
    color: var(--fg-gray-secondary, #435165) !important;
    text-align: center;
    font-family: "PT Root UI VF";
    white-space: normal;
    font-size: 14px;
    font-style: normal;
    font-weight: 450;
    line-height: 20px;
    text-decoration: none !important;
    cursor: pointer;
}

.element-form-button-back:hover {
    background: var(--fg-gray-transparent-quarternary, rgba(175, 186, 202, 0.10));
}

.element-form-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.element-form-btn-delete {
    color: #ffffff !important;
    background-color: #F58662 !important;
    border-color: #F58662 !important;
    padding-top: 3px !important;
}

.change-password-button {
    height: calc(1.4em + 0.75rem + 2px) !important;
    float: right;
}

.element-nav-link,
button.nav-link.card-nav {
    color: #5294de;
    border-radius: 0 !important;
    height: 100%;
    padding-top: 12px !important;
}

button.nav-link.card-nav {
    background-color: transparent;
}

.element-nav-link:hover {
    border-bottom: 1px solid transparent !important;
}

.element-nav-link-active,
button.nav-link.card-nav.active {
    background-color: var(--bg-default) !important;
    border-top: 5px solid #5294de !important;
    border-radius: 0 !important;
}

button.nav-link:focus {
    outline: 0px dotted;
    outline: 0px auto;
}

.queue-item-data-modal {
    overflow-wrap: break-word;
    overflow-y: auto;
    max-height: 6em;
}

.queue-item-table {
    width: 100%;
}

.queue-item-table td:nth-child(2) {
    word-break: break-word
}

div select,
div input {
    outline: 0 !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

.input-group>input[type=text].form-control:not(:last-child),
.input-group>input[type=number].form-control:not(:last-child) {
    border-top-right-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
}

input[type=file].form-control {
    height: calc(1.5em + 0.75rem + 7px);
}

.file-info-label {
    display: block;
}

.select2-custom-arrow {
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
    top: 50% !important;
    right: 8px !important;
    margin-top: -2px !important;
    border-color: #888 transparent transparent transparent !important;
    border-style: solid !important;
    border-width: 5px 4px 0 4px !important;
}

.select2-custom-arrow-opened {
    transform: rotate(180deg);
}

.select2-custom-clear {
    position: absolute !important;
    width: 5px !important;
    right: 15px !important;
    margin-top: -5px !important;
}

/* Select2 Multi-select с чекбоксами */
.select2-checkbox-option {
    display: flex;
    align-items: center;
    padding: 6px 12px;
    cursor: pointer;
}

.select2-checkbox-option.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.select2-checkbox-option:hover:not(.disabled) {
    background-color: #f5f5f5;
}

.select2-checkbox {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    cursor: pointer;
    accent-color: #3b82f6;
    flex-shrink: 0;
}

.select2-checkbox-option.disabled .select2-checkbox {
    cursor: not-allowed;
}

.select2-checkbox-label {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.select2-select-all {
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 8px;
    margin-bottom: 4px;
}

.select2-select-all-wrapper {
    padding: 0 !important;
}

.select2-select-all-wrapper:hover {
    background-color: transparent !important;
}

/* Prevent highlight on multi-checkbox options */
.select2-container--bootstrap .select2-results__option[aria-selected=true] .select2-checkbox-option {
    background-color: transparent;
}

.select2-container--bootstrap .select2-results__option--highlighted[aria-selected] .select2-checkbox-option:not(.disabled) {
    background-color: #f0f7ff;
    color: inherit;
}

.multiple-selection div div ul li label span {
    margin-left: 5px !important;
    white-space: normal;
}

/* для элемента input c type="checkbox" */
.element-form-checkbox {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

/* создание в label псевдоэлемента before со следующими стилями */
.element-form-checkbox+label::before {
    content: '';
    display: inline-block;
    width: 1em;
    height: 1em;
    flex-shrink: 0;
    flex-grow: 0;
    border: 1px solid #050f3a;
    border-radius: 0.25em;
    margin-right: 0.5em;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 50% 50%;
}

/* стили при наведении курсора на checkbox */
.element-form-checkbox:not(:disabled):not(:checked)+label:hover::before {
    border-color: #050f3a;
}

/* стили для активного чекбокса (при нажатии на него) */
.element-form-checkbox:not(:disabled):active+label::before {
    background-color: #050f3a;
    border-color: #050f3a;
}

/* стили для чекбокса, находящегося в фокусе и не находящегося в состоянии checked */
.element-form-checkbox:focus:not(:checked)+label::before {
    border-color: #050f3a;
}

/* стили для чекбокса, находящегося в состоянии checked */
.element-form-checkbox:checked+label::before {
    border-color: #050f3a;
    background-color: #050f3a;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e");
}

/* стили для чекбокса, находящегося в состоянии disabled */
.element-form-checkbox:disabled:not(:checked)+label::before {
    border-color: #bbbbbb;
    background-color: #e9ecef;
}

/* стили для чекбокса, находящегося в состоянии disabled */
.element-form-checkbox:disabled:checked+label::before {
    border-color: #bbbbbb;
    background-color: #e9ecef;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23888' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e");
}


/* select-checkbox: стиль чекбокса для multiple-select */
/* Сам элемент завернут в лейбл вот так: <label><input><span>...</span></label> */
.select-checkbox .ms-drop {
    border-color: var(--fg-gray-quinary);
}

.select-checkbox.ms-parent.form-control .ms-drop ul>li:not(.hide-radio) label {
    padding-left: 4px;
}

.select-checkbox .ms-select-all {
    border-bottom: 1px solid var(--fg-gray-quinary);
    padding-bottom: 8px;
}

.select-checkbox .ms-drop ul>li {
    padding: 4px 0;
}

.select-checkbox input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    position: absolute;
    z-index: -1;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
}

.select-checkbox input[type="checkbox"]+span::before {
    content: '';
    display: inline-block;
    width: 1.15em;
    height: 1.15em;
    flex-shrink: 0;
    flex-grow: 0;
    border: 1.5px solid var(--fg-gray-quinary);
    border-radius: 4px;
    margin-right: 0.75em;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 50% 50%;
    vertical-align: middle;
}

.select-checkbox input[type="checkbox"]:not(:disabled):not(:checked)+span:hover::before {
    border-color: #8293AB;
}

.select-checkbox input[type="checkbox"]:not(:disabled):active+span::before {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
}

.select-checkbox input[type="checkbox"]:focus:not(:checked)+span::before {
    border-color: #8293AB;
}

.select-checkbox input[type="checkbox"]:checked+span::before {
    border-color: var(--brand-primary);
    background-color: var(--brand-primary);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e");
}

.select-checkbox input[type="checkbox"]:disabled:not(:checked)+span::before {
    border-color: #bbbbbb;
    background-color: #e9ecef;
}

.select-checkbox input[type="checkbox"]:disabled:checked+span::before {
    border-color: #bbbbbb;
    background-color: #e9ecef;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23888' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e");
}


/* Кастомная радиокнопка для выбора активной версии */
.radio-group {
    cursor: pointer;
}

.radio-group input[type="radio"] {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    visibility: hidden;
    padding: 0;
    width: 1px;
}

.custom-radio {
    width: 16px;
    height: 16px;
    border-radius: 8px;
    background: white;
    box-shadow: inset 0 0 0 1px #E7EAEF;
    transition: all 0.15s ease;
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.custom-radio::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 4px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.1s ease;
}

.radio-group label:hover .custom-radio {
    box-shadow: inset 0 0 0 1px #9AA8BC;
}

.radio-group input[type="radio"]:checked + label .custom-radio {
    background: #2E85FF;
    border: none;
    box-shadow: none;
}

.radio-group input[type="radio"]:checked + label .custom-radio::after {
    transform: translate(-50%, -50%) scale(1);
    background: white;
}

.radio-group label:hover input[type="radio"]:checked + label .custom-radio,
.radio-group input[type="radio"]:checked + label:hover .custom-radio {
    background: #57A2FF;
}

.radio-group input[type="radio"]:disabled + label {
    cursor: not-allowed;
}

.radio-group input[type="radio"]:disabled + label .custom-radio {
    background: #E7EAEF;
    border: none;
}

.radio-group input[type="radio"]:disabled:checked + label .custom-radio {
    background: #E7EAEF;
    border: none;
}

.radio-group input[type="radio"]:disabled:checked + label .custom-radio::after {
    transform: translate(-50%, -50%) scale(1);
    background: #9AA8BC;
}

.data-Type-Span {
    color: darkgrey;
}

.clickable-element {
    cursor: pointer;
}

.pagination-button:hover {
    color: #ffffff !important;
}

.permissions-table {
    width: 100%;
}

.permissions-table thead tr td {
    border: 1px solid #dee2e6;
    height: 25px;
    padding: 1px 5px 1px 5px;
    background: #ddebf7;
}

.permissions-table tbody tr:hover {
    background-color: #ddebf7;
}

.permissions-table tbody tr td {
    border: 1px solid #dee2e6;
    height: 25px;
    padding: 1px 5px 1px 5px;
}

.permissions-table-crud-td {
    width: 50px;
    text-align: center;
}

.permissions-table-crud-td-inactive {
    width: 50px;
    background: #dee2e6;
}

.permissions-table-crud-td div {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.permissions-table-crud-td div label {
    margin: 3px auto 0 12px;
}

.task-data-table,
.data-agent-table {
    border-collapse: separate;
    border-spacing: 20px 10px;
    margin-left: -20px !important;
}

.data-agent-table tr {
    vertical-align: top;
}

.task-script-parameter,
.data-agent-select {
    min-width: 120px !important;
    width: 15% !important;
}

.task-data-source-select {
    min-width: 120px !important;
    width: 120px !important;
}

.task-data-value {
    min-width: 120px !important;
    width: 50% !important;
}

.data-value {
    min-width: 120px !important;
    width: 100% !important;
}

.task-data-button,
.data-agent-button {
    width: 40px !important;
}

.task-data-type {
    width: 35% !important;
}

.work-success-container {
    margin: 0 auto;
}

.work-success {
    width: 8px;
    height: 16px;
}

.auth-block label {
    margin: 5px 5px 5px 0;
}

.data-checkbox-container {
    display: flex;
    padding: 0;
    height: 5px;
}

.label-next-scheduler {
    margin-left: 15px;
    margin-bottom: 0;
}

.label-next-scheduler-span {
    color: var(--brand-primary, #2e85ff);
}

tbody tr:nth-child(2n) {
    background: #f9f9f9;
}

.error-parent {
    display: flex;
    justify-content: center;
    overflow: auto;
}

.error-block {
    width: 500px;
    height: 254px;
    margin-top: 5em;
    text-align: center;
}

.disabled {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
}

.multiline {
    white-space: pre-wrap;
}

.underline {
    text-decoration: underline;
}

.agent-error {
    display: block !important;
    background: #ffcece;
}

.agent-ingroups {
    display: block !important;
    background: #c9ffc9;
}

.select-option-in-access-group {
    display: block !important;
    background: #c9ffc9 !important;
}

.select-option-access-group-error {
    display: block !important;
    background: #ffcece !important;
}

.select-option-access-group-disabled {
    color: #cccccc;
}

.parameter-access-group-error {
    background: #ffcece !important;
}

.agent-groups-container {
    display: block;
}

.agent-groups-container-hidden {
    display: none;
}

input[type="time"].form-control.input-validation-error {
    border-color: #dc3545;
}

.hosts-agent-info-version {
    font-size: 0.7em;
    background: #82ff7d5c;
    padding: 0px 3px;
    border-radius: 3px;
    border: 1px solid #92f592;
    color: #00ba00;
    width: fit-content;
}

.alert-danger a {
    color: #721c24;
}

.alert-danger a:hover {
    color: #491217;
}

.flex-container {
    display: flex;
}

.deleted-entity {
    color: gray;
}

.process-block-input-parameter {
    margin: 6px 0;
}

.block-parameters-dropdown {
    width: 100%;
    border-radius: 6px;
}

.content-delimetr {
    height: 30px;
}

.ck-editor__editable_inline {
    min-height: 200px;
}

.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_se {
    left: auto !important;
    right: 0;
}

.ck.ck-heading-dropdown .ck-dropdown__panel.ck-dropdown__panel_se {
    left: 0 !important;
    right: auto !important;
}

.modal-right {
    margin-right: 50px;
    margin-top: 80px;
    float: right;
}

.modal-dialog.modal-right .modal-content {
    border-radius: 0;
    border: 0;
}

.modal-dialog.modal-right .modal-header {
    border-bottom: 0;
    padding: 1rem 3rem;
}

.modal-dialog.modal-right .modal-footer {
    border-top: 0;
}

.model-table {
    font-weight: 300;
    font-size: 14px;
    color: #000000;
    background-color: transparent;
    width: 100%;
}

.model-table td {
    padding: 10px;
    vertical-align: middle;
    text-align: center;
}

.model-table th {
    border-right: 1px solid rgba(175, 186, 202, 0.2);
    font-weight: 500;
    color: #000000;
    background-color: transparent;
    font-size: revert !important;
    text-align: center;
}

.model-table tr {
    border-bottom: 1px solid rgba(175, 186, 202, 0.2)
}

.modal-dialog.modal-right .modal-body,
.modal-dialog.modal-right .modal-footer {
    padding: 1rem 3rem;
}

.model-table tbody tr:nth-child(2n) {
    background: transparent;
}

.model-table tbody tr:last-of-type {
    background: transparent;
    border-bottom: 0;
}

.model-table th:last-of-type {
    border-right: 0;
}

.model-table th:first-of-type,
.model-table td:first-of-type {
    text-align: left;
}

.modal-right .btn-light {
    color: #212529;
    border: 1px solid rgba(175, 186, 202, 0.2);
}

button:focus {
    outline: none !important;
}

.modal-right .form-check-input {
    margin-left: 0;
    position: initial;
}

.modal-right .form-check-label {
    margin-left: 0;
    padding: 0 20px;
}

.modal-right .custom-select {
    min-width: 200px;
    background: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e) no-repeat right 0.75rem center/8px 10px;
}

.modal-right .custom-select option:hover {
    background-color: transparent;
}

.modal-right .custom-select option:hover ::after {
    content: "n";
}

.modal-right h6 {
    padding: 20px 0;
}

@media (min-width: 576px) {
    .modal-dialog.modal-right {
        min-width: 500px;
        width: 50%;
        max-width: 85%;
    }
}

.modal-dialog .form-check-input {
    width: 15px;
    height: 15px;
    vertical-align: middle;
    margin-top: -1px;
}

.settings-success-indicator-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin: 20px 6px 0 3px;
}

.settings-success-indicator-title-container {
    display: flex;
    align-items: center;
    gap: 4px;
}

.settings-success-indicator-title {
    color: var(--fg-gray-primary, #0A0C0F);
    font-family: "PT Root UI VF";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
}

.settings-success-indicator-dropdown-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.settings-success-indicator-period-title {
    color: var(--fg-gray-tertiary, #54657D);
    font-family: "PT Root UI VF";
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: 16px;
}

.settings-success-indicator-period-container.select2-container {
    width: 270px !important;
    height: 32px;
    margin-left: 0;
    margin-right: 0;
    background: var(--bg-accent, #FFF);
    border-radius: 4px;
    border: 1px solid var(--fg-gray-quinary, #E0E5EB);
    overflow: hidden;
}

.settings-success-indicator-period-container .select2-selection--single {
    background: var(--bg-accent, #FFF) !important;
}

.settings-success-indicator-period-container .select2-selection__rendered {
    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    flex: 1 0 0;
    overflow: hidden !important;
    color: var(--fg-gray-tertiary, #54657D) !important;
    text-overflow: ellipsis !important;
    font-family: "PT Root UI VF";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px !important;
}

.settings-success-indicator-period-container .select2-selection__arrow {
    content: url('/Images/small_chevron_down_gray.svg?v=3.2.2');
    display: flex;
    padding: 6px 6px;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    gap: 4px;
}

.settings-success-indicator-period-dropdown {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
    padding: 4px 0;
    background: var(--bg-accent, #FFF);
    border-radius: 4px;
    border-color: var(--bg-accent, #FFF) !important;
    box-shadow: 0 0 32px 0 rgba(39, 51, 75, 0.10), 0 32px 32px 0 rgba(39, 51, 75, 0.07);
}

.settings-success-indicator-period-dropdown-item {
    display: flex !important;
    align-items: center !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    flex: 1 0 0;
    overflow: hidden !important;
    min-height: 32px !important;
    padding: 4px 8px !important;
    gap: 4px !important;
    color: var(--fg-gray-primary, #0A0C0F) !important;
    text-overflow: ellipsis !important;
    font-family: "PT Root UI VF" !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 20px !important;
}

.settings-success-indicator-period-dropdown-item:hover {
    background: var(--fg-gray-transparent-quarternary, rgba(175, 186, 202, 0.10));
}

.settings-success-indicator-period-dropdown-item-selected {
    background: var(--brand-surface-01, #F0F9FF);
}

.settings-success-indicator-period-dropdown-alltime-item {
    border-bottom: 1px solid var(--stroke-divider-secondary, #8293ab33);
}

.filter-panel-success-period-label {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4px 8px;
    border-radius: 4px;
    background: var(--fg-gray-transparent-tertiary, rgba(175, 186, 202, 0.20));
}

.filter-panel-success-period-label span {
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    cursor: default;
    color: var(--fg-gray-secondary, #435165);
    font-family: "PT Root UI VF";
    font-size: 14px;
    font-style: normal;
    font-weight: 450;
    line-height: 24px;
}

.filter-panel-success-period-label-reset {
    content: url('/Images/close.svg?v=3.2.2');
    display: flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
}

.filter-panel-success-period-label-reset:hover {
    cursor: pointer;
}

.settings-auto-refresh-container {
    margin: 20px 6px 0 3px;
}

.settings-auto-refresh-icon {
    width: 38px;
    height: 38px;
    margin-bottom: 2px;
}

.settings-auto-refresh-comment {
    font-size: 11px !important;
    margin-left: 43px;
}

.settings-auto-refresh-input {
    margin-left: 10px;
    height: 25px;
    width: 60px;
    padding: 6px;
    border: 1.5px solid #cccccc;
    outline: none;
    text-align: right;
    font-weight: 600;
}

.settings-auto-refresh-reset {
    cursor: pointer;
    color: #0075ff !important;
    font-size: 13px !important;
    font-weight: 700;
}

.settings-auto-refresh-validation-error {
    display: none;
    margin-left: 28px;
    color: #dc3545 !important;
}

.agents-list-hidden {
    display: none;
}

.spinner {
    height: 72px;
    width: 72px;
}

.spinner .spinner-icon {
    width: 72px;
    height: 72px;
    background: url("/Images/loading_rect.gif?v=3.2.2") 0 0;
}

.modal-dialog .header-link {
    color: #0056b3 !important;
    text-decoration: underline !important;
    font-size: 10pt !important;
    font-weight: 500 !important;
    margin: 0 10px 10px 0;
    cursor: pointer;
}

.header-link {
    margin: 0 !important;
    opacity: .6;
}

.header-link:hover {
    opacity: 1;
}

.icon-padded {
    padding-right: 8px;
}

.nav-tabs .nav-link {
    color: #495057 !important;
}

.schedulers-header {
    width: 25%;
}

.schedulers-central-header {
    width: 50%;
    display: flex;
    justify-content: center;
}

.agent-diagnostic-modal {
    width: 80vw !important;
    max-width: 80vw !important;
}

.agent-diagnostic-header {
    padding: 7px 14px 7px 14px !important;
}

.diagnostic-information-header {
    margin: 0 !important;
    padding: 3px 0 3px 0;
    background-color: #ffffff;
    border-bottom: 1px solid #dee2e6;
}

.agent-diagnostic-counters-header {
    justify-content: left !important;
    padding: 3px 0 3px 14px !important;
}

.agent-diagnostic-counters {
    margin: 0 !important;
    padding: 3px 0 3px 0;
    background-color: #ffffff;
    border-bottom: 1px solid #dee2e6;
}

.agent-diagnostic-body {
    overflow-y: scroll;
}

.agent-screenshot-body {
    overflow-y: scroll;
    padding: 0 !important;
}

.agent-diagnostic-footer {
    padding: 7px 14px 7px 14px !important;
}

.agent-diagnostic-content {
    height: 80vh !important;
    max-height: 80vh !important;
}

.agent-diagnostic-table {
    width: 100%;
}

.agent-diagnostic-table thead tr th {
    padding: 0;
    color: #000000 !important;
    font-weight: 700;
    background: #ffffff !important;
}

.agent-diagnostic-table tbody td {
    word-break: break-word
}

.agent-diagnostic-digit-header {
    text-align: right;
}

.agent-diagnostic-digit-value {
    float: right;
}

.agent-diagnostic-dropdown-div {
    margin: auto 10px auto 10px;
}

.agent-diagnostic-dropdown-div-first {
    margin: auto 10px auto 0;
}

.agent-diagnostic-dropdown {
    width: 50px !important;
    height: 30px !important;
    padding: 0 !important;
    text-align: center;
}

.agent-screenshot {
    max-width: 100%;
}

.agent-screenshot-buttons-div {
    width: 100%;
    display: flex;
}

.agent-screenshot-button {
    margin-right: 15px;
}

.main-submenu-settings-table {
    width: 100%;
}

.main-submenu-settings-table thead tr th {
    border: 1px solid #dee2e6;
    height: 25px;
    padding: 1px 5px 1px 5px;
}

.main-submenu-settings-table tbody tr:hover {
    background-color: #f6f8fc;
}

.main-submenu-settings-table tbody tr td {
    border: 1px solid #dee2e6;
    height: 25px;
    padding: 1px 5px 1px 5px;
}

.main-submenu-settings-table-checkbox-td {
    width: 50px;
    text-align: center;
}

.main-submenu-settings-table tbody tr td div {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.main-submenu-settings-table-checkbox-td div label {
    margin: 3px auto 0 12px;
}

#actionPanel {
    padding-block: 0.5rem;
}

.flex-centered-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px 4px;
}

.btn-transparent {
    border: 0;
    background: #fff;
    cursor: pointer;
}

.div-long-text-wrap {
    word-wrap: break-word;
    white-space: normal;
}

.div-long-text-multiline {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: pre-wrap;
}

label.error {
    color: #dc3545;
}
