.button-group {
    display: flex;
    align-items: center;
}

.button-group-space {
    display: inline-flex;
    -moz-box-pack: justify;
    justify-content: space-between;
}

.custom-btn, .default-btn {
    display: flex;
    appearance: none;
    -moz-box-align: center;
    align-items: center;
    -moz-box-pack: center;
    justify-content: center;
    user-select: none;
    position: relative;
    white-space: nowrap;
    vertical-align: middle;
    outline: transparent solid 2px;
    outline-offset: 2px;
    line-height: 1.2;
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    height: 32px;
    background-color: var(--background-group-button);
    color: var(--text-group-button);
    border-style: solid;
    border-width: 1px;
    border-color: var(--border-color);
    box-shadow: var(--box-shadow);
}

.custom-btn {
    border-radius: 0.375rem 0 0 0.375rem;
}

.default-btn {
    border-radius: 0 0.375rem 0.375rem 0;
}

.custom-btn.active, .default-btn.active {
    background-color: var(--bg-group-button-active);
    color: var(--text-group-button-active);
}

.custom-btn:not(.active):hover {
    background-color: var(--df-button-bg-hover);
    color: var(--text-group-button);
}

.default-btn:not(.active):hover {
    background-color: var(--df-button-bg-hover);
    color: var(--text-group-button);
}

.custom-btn.active:hover, .default-btn.active:hover {
    background-color: var(--df-hover);

}

.table {
    background-color: var(--table-bg) !important;
}

.clean-container {
    border-width: 1px;
    border-radius: 0.5rem;
    box-shadow: var(--box-shadow);
    background-color: var(--container-bg);
    border-color: var(--container-border);
    display: grid;
    place-items: center;
    overflow: hidden;
    border-style: dashed;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    padding-inline: 0;
}

.cmd-padding {
    padding: 2rem;
}

.no-commands-container {
    display: flex;
    -moz-box-align: center;
    align-items: center;
    flex-direction: column;
    gap: 0.5rem;
    padding: 2rem;
    position: relative;
}

.cmd-text {
    font-size: 0.875rem;
    max-width: 300px;
    text-align: center;
}

.svg-fit {
    width: 1em;
    height: 1em;
    display: inline-block;
    line-height: 1em;
    flex-shrink: 0;
    color: currentcolor;
    font-size: 2.25rem;
}

.bg-for-icon {
    padding: 1rem;
    margin-bottom: 0.5rem;
    background-color: var(--commands-bg);
    border-radius: 20px;
    display: grid;
    place-items: center;
    color: var(--bs-font-color);
}

.svg-inline--fa {
    overflow: visible;
    box-sizing: content-box;
}

.table-container {
    contain: paint;
    border-width: 1px;
    padding: 0;
    border-radius: 0.5rem;
    box-shadow: var(--box-shadow);
    background-color: var(--container-bg);
    border-color: var(--border-color);
    border-style: solid;
}

.specific-tables th:first-child, .specific-table td:first-child {
    padding-left: 1.5rem;
}

.specific-tables th:last-child, .specific-table td:last-child {
    padding-right: 1.5rem;
}

.specific-tables {
    margin-bottom: 0 !important;
    border-color: var(--border-color);
    width: 100% !important;
}

.custom-table th:first-child, .specific-tables td:first-child {
    padding-left: 1.5rem;
}

.custom-table th:last-child, .specific-tables td:last-child {
    padding-right: 1.5rem;
}

.custom-table tr:last-child td, .specific-tables tr:last-child td {
    border-bottom: 0;
}

.custom-table {
    margin-bottom: 0 !important;
    border-color: var(--border-color);
    width: 100% !important;
}

.table > :not(:last-child) > :last-child > * {
    border-bottom-color: var(--border-color);
}

.switch {
    margin-left: 15px;
    margin-top: 4px;
    position: relative;
    display: inline-block;
    width: 2.125rem;
    height: 1.25rem;
}

.switch:disabled,
.switch[disabled],
.switch[aria-disabled="true"],
.switch[data-disabled] {
    opacity: 0.4;
    cursor: not-allowed;
    border: none;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 1rem;
    width: 1rem;
    left: 0.125rem;
    bottom: 0.125rem;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #527bcd;
}

input:focus + .slider {
    box-shadow: 0 0 1px #527bcd;
}

input:checked + .slider:before {
    -webkit-transform: translateX(0.825rem);
    -ms-transform: translateX(0.825rem);
    transform: translateX(0.825rem);
}


.slider.round {
    border-radius: 1.25rem;
}

.slider.round:before {
    border-radius: 50%;
}

.edit-button {
    display: inline-flex;
    appearance: none;
    -moz-box-align: center;
    align-items: center;
    -moz-box-pack: center;
    justify-content: center;
    user-select: none;
    position: relative;
    white-space: nowrap;
    vertical-align: middle;
    outline: transparent solid 2px;
    outline-offset: 2px;
    line-height: 1.2;
    border-radius: 0.375rem;
    font-weight: 600;
    transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform;
    transition-duration: 200ms;
    height: 1.5rem;
    min-width: 1.5rem;
    font-size: 0.75rem;
    border-width: 1px;
    border-style: solid;
    border-image: none;
    border-color: var(--border-color);
    color: #1e2025;
    box-shadow: var(--box-shadow);
    padding-inline: 0;
    padding-top: 0;
    padding-bottom: 0;
    background-color: var(--edit-btn-color);
}

.edit-button:hover {
    background-color: var(--navlink-hover);
}

.edit-button.active {
    box-shadow: 0 0 0 3px rgba(66, 153, 255, 0.6);
    background: #e7e7e8;
}

td.command-cell {
    padding-inline-start: 1.5rem;
    padding-inline-end: 1.5rem;
    color: var(--bs-font-color);
    border-color: var(--border-color);
    padding-top: 0.9rem !important;
    padding-bottom: 0.9rem !important;
}

td.command-cell-custom {
    padding-inline-start: 1.5rem;
    padding-inline-end: 1.5rem;
    text-overflow: ellipsis;
    text-align: start;
    position: relative;
    color: var(--bs-font-color);
    border-color: var(--border-color);
    padding-top: 0.9rem !important;
    padding-bottom: 0.9rem !important;
}

td.command-cell-custom2 {
    padding-inline-start: 1.5rem;
    padding-inline-end: 1.5rem;
    text-overflow: ellipsis;
    text-align: start;
    position: relative;
    color: var(--bs-font-color);
    border-color: var(--border-color);
    padding-top: 0.9rem !important;
    padding-bottom: 0.9rem !important;
    display: none;
}

.edit-svg {
    color: var(--svg-color);
    width: 12px;
    height: 12px;
}

th.head-commands {
    font-family: 'Lexend', sans-serif;
    font-weight: 700;
    padding-inline-start: 1.5rem;
    padding-inline-end: 1.5rem;
    text-transform: uppercase !important;
    letter-spacing: 0.05rem !important;
    text-align: start !important;
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
    line-height: 1rem !important;
    font-size: 0.75rem !important;
    color: var(--text-muted);
    cursor: pointer;
    user-select: none;
    border-color: #f1f1f2;
    white-space: nowrap;
}

th.head-commands-end {
    font-family: 'Lexend', sans-serif;
    font-weight: 700;
    padding-inline-start: 1.5rem;
    padding-inline-end: 1.5rem;
    text-transform: uppercase !important;
    letter-spacing: 0.05rem !important;
    text-align: center !important;
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
    line-height: 1rem !important;
    font-size: 0.75rem !important;
    color: var(--text-muted);
    cursor: pointer;
    user-select: none;
    border-color: #f1f1f2;
    white-space: nowrap;
}

th.head-commands-end-buttons {
    font-family: 'Lexend', sans-serif;
    font-weight: 700;
    padding-inline-start: 1.5rem;
    padding-inline-end: 1.5rem;
    text-transform: uppercase !important;
    letter-spacing: 0.05rem !important;
    text-align: center !important;
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
    line-height: 1rem !important;
    font-size: 0.75rem !important;
    color: var(--text-muted);
    user-select: none;
    border-color: #f1f1f2;
    white-space: nowrap;
}

@media screen and (min-width: 48em) {
    .head-commands-end2 {
        display: table-cell !important;
    }
}

@media screen and (min-width: 48em) {
    .command-cell-custom2 {
        display: table-cell !important;
    }
}

@media screen and (min-width: 48em) {
    .head-commands-middle {
        display: table-cell !important;
    }
}

th.head-commands-middle {
    font-family: 'Lexend', sans-serif;
    font-weight: 700;
    padding-inline-start: 1.5rem;
    padding-inline-end: 1.5rem;
    text-transform: uppercase !important;
    letter-spacing: 0.05rem !important;
    text-align: start !important;
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
    line-height: 1rem !important;
    font-size: 0.75rem !important;
    color: var(--text-muted);
    cursor: pointer;
    display: none;
    user-select: none;
    border-color: #f1f1f2;
    white-space: nowrap;
}

th.head-commands-end2 {
    font-family: 'Lexend', sans-serif;
    font-weight: 700;
    padding-inline-start: 1.5rem;
    padding-inline-end: 1.5rem;
    text-transform: uppercase !important;
    letter-spacing: 0.05rem !important;
    text-align: center !important;
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
    line-height: 1rem !important;
    font-size: 0.75rem !important;
    color: var(--text-muted);
    cursor: pointer;
    user-select: none;
    display: none;
    border-color: #f1f1f2;
    white-space: nowrap;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--tearinbot-colors-blackAlpha-600) !important;
    display: none;
    border-width: 1px;
    border-style: solid;
    border-color: var(--backdrop-color);
}

.modal-backdrop.show {
    display: block;
}

/*.modal-dialog {*/
/*    position: absolute;*/
/*    display: flex;*/
/*    width: 100vw;*/
/*    height: 100vh;*/
/*    left: 0;*/
/*    top: 0;*/
/*    right: 0;*/
/*    justify-content: center;*/
/*    align-items: center;*/
/*    overflow: auto;*/
/*    overscroll-behavior-y: none;*/
/*    border-width: 1px;*/
/*    margin: 0 auto !important;*/
/*}*/

.modal-footer {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
}

.modal-footer .btn {
    width: 46%;
}

.command-create {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    margin-inline: auto;
    padding-inline-start: 1rem;
    padding-inline-end: 1rem;
    flex: 1 1 0;
    padding-top: 0.5rem;
    padding-bottom: 1.5rem;
    max-width: 768px;
}

.command-create-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex: 1 1 0;
    background-color: transparent;
}

.alias-textHelp {
    color: var(--tearinbot-colors-textSecondary);
    line-height: normal;
    font-size: 0.875rem;
}

.cancel-button {
    display: inline-flex;
    appearance: none;
    -moz-box-align: center;
    align-items: center;
    -moz-box-pack: center;
    justify-content: center;
    user-select: none;
    position: relative;
    white-space: nowrap;
    vertical-align: middle;
    outline: transparent solid 2px;
    outline-offset: 2px;
    line-height: 1.2;
    border-radius: 0.375rem;
    font-weight: 600;
    transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform;
    transition-duration: 200ms;
    height: 2rem;
    min-width: 2rem;
    font-size: 0.875rem;
    padding-inline-start: 0.75rem;
    padding-inline-end: 0.75rem;
    border-width: 1px;
    border-style: solid;
    border-image: none;
    border-color: var(--border-color);
    color: rgba(255, 255, 255, 0.92);
    box-shadow: var(--box-shadow);
    background-color: rgba(255, 255, 255, 0.04);
}

.create-button {
    display: inline-flex;
    appearance: none;
    -moz-box-align: center;
    align-items: center;
    -moz-box-pack: center;
    justify-content: center;
    user-select: none;
    position: relative;
    white-space: nowrap;
    vertical-align: middle;
    outline: transparent solid 2px;
    outline-offset: 2px;
    line-height: 1.2;
    border-radius: 0.375rem;
    border: none;
    font-weight: 600;
    transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform;
    transition-duration: 200ms;
    height: 2rem;
    min-width: 2rem;
    font-size: 0.875rem;
    padding-inline-start: 0.75rem;
    padding-inline-end: 0.75rem;
    background-color: #f1f1f2;
    color: #18191e;
}

.cancel-button:active {
    box-shadow: 0 0 0 3px rgba(66, 153, 255, 0.6);
    background: rgba(255, 255, 255, 0.16);
}

.create-button:active {
    box-shadow: 0 0 0 3px rgba(66, 153, 255, 0.6);
}

.cancel-button:hover {
    background-color: rgba(255, 255, 255, 0.06);
}

.cancel-button:disabled,
.cancel-button[disabled],
.cancel-button[aria-disabled="true"],
.cancel-button[data-disabled] {
    opacity: 0.4;
    cursor: not-allowed;
}

.create-button:disabled,
.create-button[disabled],
.create-button[aria-disabled="true"],
.create-button[data-disabled] {
    opacity: 0.4;
    cursor: not-allowed;
    border: none;
}

.modal-header {
    display: flex;
    -moz-box-align: center;
    align-items: center;
    flex-direction: row;
    gap: 0.5rem;
    flex: 0 1 0;
    font-size: 1.25rem;
    font-weight: 600;
    -moz-box-pack: justify;
    justify-content: space-between;
    padding-inline-start: 1.5rem;
    padding-inline-end: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-content {
    outline: transparent solid 2px;
    outline-offset: 2px;
    border-radius: 0.375rem;
    color: inherit;
    box-shadow: rgba(0, 0, 0, 0.1) 0 0 0 1px, rgba(0, 0, 0, 0.2) 0 5px 10px, rgba(0, 0, 0, 0.4) 0 15px 40px;
    max-width: 32rem;
    background-color: var(--container-bg);
    border-color: var(--border-color);
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes scaleOut {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.9);
    }
}

.modal.fade .modal-dialog {
    transition: transform 0.2s ease, opacity 0.2s ease;
    animation: scaleOut 0.2s forwards;
}

.modal.show .modal-dialog {
    animation: scaleIn 0.2s forwards;
}

.modal-cancel-button {
    display: inline-flex;
    appearance: none;
    -moz-box-align: center;
    align-items: center;
    -moz-box-pack: center;
    justify-content: center;
    user-select: none;
    position: relative;
    white-space: nowrap;
    vertical-align: middle;
    outline: transparent solid 2px;
    outline-offset: 2px;
    line-height: 1.2;
    border-radius: 0.375rem;
    font-weight: 600;
    transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform;
    transition-duration: 200ms;
    height: 2.5rem;
    min-width: 2.5rem;
    font-size: 1rem;
    padding-inline-start: 1rem;
    padding-inline-end: 1rem;
    border-width: 1px;
    border-style: solid;
    background-color: var(--tearinbot-colors-LmodalButtons-backgroundSecondary);
    border-image: none;
    border-color: var(--border-color);
    color: var(--tearinbot-colors-textPrimary);
    box-shadow: var(--box-shadow);
    flex: 1 1 0;
}

.modal-cancel-button:active {
    box-shadow: 0 0 0 3px rgba(66, 153, 255, 0.6);
    background: rgba(255, 255, 255, 0.16);
}

.modal-cancel-button:hover {
    background-color: var(--tearinbot-colors-LmodalButtons-hover);
}

.modal-create-button:active {
    box-shadow: 0 0 0 3px rgba(66, 153, 255, 0.6);
}

.modal-create-button:not([disabled]):hover {
    background-color: var(--tearinbot-colors-RmodalButtons-hover);
}

.modal-create-button:disabled,
.modal-create-button[disabled],
.modal-create-button[aria-disabled="true"],
.modal-create-button[data-disabled] {
    opacity: 0.4;
    cursor: not-allowed;
}

.modal-cancel-button:disabled,
.modal-cancel-button[disabled],
.modal-cancel-button[aria-disabled="true"],
.modal-cancel-button[data-disabled] {
    opacity: 0.4;
    cursor: not-allowed;
}

.modal-create-button {
    display: inline-flex;
    appearance: none;
    -moz-box-align: center;
    align-items: center;
    -moz-box-pack: center;
    justify-content: center;
    user-select: none;
    position: relative;
    white-space: nowrap;
    vertical-align: middle;
    outline: transparent solid 2px;
    outline-offset: 2px;
    line-height: 1.2;
    border-radius: 0.375rem;
    font-weight: 600;
    transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform;
    transition-duration: 200ms;
    height: 2.5rem;
    min-width: 2.5rem;
    font-size: 1rem;
    padding-inline-start: 1rem;
    padding-inline-end: 1rem;
    background-color: var(--tearinbot-colors-RmodalButtons-backgroundSecondary);
    color: var(--tearinbot-colors-textInverse);
    border-color: transparent;
    flex: 1 1 0;
}

.form-control:disabled, .form-control[disabled] {
    opacity: 0.4;
    cursor: not-allowed;
    border: none;
    background: rgba(255, 255, 255, 0.04);
}

#command-form input[type="text"],
#command-form textarea,
#command-form select,
#command-form input[type="number"],
#command-form input[type="file"],
#command-form input[type="range"] {
    border: 2px solid var(--border-color);
    background-color: var(--container-bg);
    color: var(--bs-font-color);
}

#command-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.form-control:focus {
    box-shadow: none;
}

textarea.form-control {
    min-height: 5rem;
}

.form-control::placeholder {
    color: var(--tearinbot-colors-tearinbot-placeholder-color) !important;
}

.form-control {
    min-width: 0;
    outline: transparent solid 2px;
    outline-offset: 2px;
    position: relative;
    transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform;
    transition-duration: 200ms;
    border-width: 2px;
    border-style: solid;
    border-image: none;
    border-color: transparent;
    background: rgba(255, 255, 255, 0.04);
    color: #f1f1f2;
}

.form-label:disabled, .form-label[disabled] {
    opacity: 0.4;
}

.form-selected {
    display: block;
    width: 100%;
    padding: .375rem 2.25rem .375rem .75rem;
    -moz-padding-start: calc(0.75rem - 3px);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #f1f1f2;
    background-color: rgba(255, 255, 255, 0.04);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 16px 12px;
    border: 2px solid rgba(255, 255, 255, 0.06);
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-selected > option {
    background: #35373b !important;
}

.form-selected:focus {
    background-color: #35373b;
    outline: none;
}

.modal-body {
    padding: 1.5rem;
    padding-inline-start: 1.5rem;
    padding-inline-end: 1.5rem;
}

.x-button {
    display: inline-flex;
    appearance: none;
    -moz-box-align: center;
    align-items: center;
    -moz-box-pack: center;
    justify-content: center;
    user-select: none;
    position: relative;
    white-space: nowrap;
    vertical-align: middle;
    outline: transparent solid 2px;
    outline-offset: 2px;
    line-height: 1.2;
    border-radius: 0.375rem;
    font-weight: 600;
    transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform;
    transition-duration: 200ms;
    height: 2.5rem;
    min-width: 2.5rem;
    font-size: 1rem;
    color: var(--test-color);
    padding-inline: 0;
    padding-top: 0;
    padding-bottom: 0;
    border: none;
}

.x-button:hover {
    color: #acadae;
    background-color: unset;
}

.error-form.show {
    border-color: rgb(252, 129, 129) !important;
}