.card {
    --bs-card-spacer-y: 1.3375rem;
    --bs-card-spacer-x: 1.3375rem;
}

.form-control-error {
    border-color: #ff0000;
}

.sidebar .nav>li.menu-nav-account.active>a i {
    color: #fff;
}

.control-label__b,
.form-control__b {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1;
}

.form-control-plaintext {
    display: block;
    width: 100%;
    padding-top: 0.375rem;
    margin-bottom: 0;
    line-height: 1.5;
    background-color: transparent;
    border: solid transparent;
    border-width: 1px 0;
}

.checkbox.checkbox-css label::before {
    background-color: #fff;
}

.stackmenu {
    margin-bottom: 20px;
}
.stackmenu .list-group-item:first-child {
    /*border-top-right-radius: 0px !important;*/
    /*border-top-left-radius: 0px !important;*/
    border-top-right-radius: 3px !important;
    border-top-left-radius: 3px !important;
    border-color: transparent;
    padding: 11px 15px;
    background: #242a30;
    color: #fff;
}

/*div.stackmenu .list-group-item:first-child {*/
    /*border-top-right-radius: 0px !important;*/
    /*border-top-left-radius: 0px !important;*/
/*}*/

a.list-group-item.stackmenu-item {
    text-align: left;
    border-color: transparent;
}
a.list-group-item.stackmenu-item.active {
    /*font-weight: bold;*/
    /*border-color: #399bff;*/
    border-color: transparent;
    background-color: #00acac;
}
.stack-title {
    color: #fff;
}
a.list-group-item.stackmenu-item span {
    padding-left: 6px;
}
a.list-group-item.stackmenu-item i {
    width: 20px;
    text-align: center;
}

/* Wyśrodkowanie tabeli */
table.table-vertical-align tbody td {
    vertical-align: middle;
}

.spinner_in_button {
    position: relative !important;
    display: inline-block;
    margin-left: 12px;
    margin-right: 7px;
    margin-bottom: 5px;
}

html:not(.dark-mode) .bootstrap-table table {
    border: 0 solid #ddd;
}

html.dark-mode {
    --bs-gray-200-rgb: 41,46,51;
}

.dark-mode .bootstrap-table .table,
.dark-mode .bootstrap-table .table>thead>tr>th {
    border-bottom: 0 solid var(--bs-table-border-color);
}

.dark-mode .fixed-table-container {
    border: 0 solid var(--bs-table-border-color);
}

.dark-mode a {
    text-decoration: none;
}

.dark-mode button.btn.dropdown-toggle.bs-placeholder.btn-light {
    background: #495057;
    border: 1px solid #495057;
    color: #fff;
}

.dark-mode iframe.wysihtml5-sandbox {
    background: var(--app-component-bg)!important;
    border: 1px solid var(--app-component-border-color)!important;
    border-top: 0 !important;
}

.dark-mode textarea {
    background: #2d353c;
    color: var(--app-component-color);
}

.dark-mode .bootstrap-select .btn-light {
    background: var(--app-component-bg);
    color: var(--app-component-color);
}

.dark-mode .btn-close {
    background: transparent url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'><path d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/></svg>") center/1em auto no-repeat;
}

.dark-mode .sw-theme-arrows > ul.step-anchor,
.dark-mode .sw-theme-arrows .step-content {
    background: var(--app-component-bg);
}

.dark-mode .sw-theme-arrows {
    border: 1px solid var(--app-component-bg);
}


tr:last-child
{
    /*border-bottom: 1px solid #ddd;*/
}

.fixed-table-container tbody td {
    border-left: none;
    padding: 10px 15px;
}

.fixed-table-container thead th {
    border-left: none;
    border-bottom: 2px solid #dddddd;
}

.fixed-table-container {
    border-width: 1px;
}

.table-responsive {
    border: none;
}

html:not(.dark-mode) .table > thead:first-child > tr:first-child > th {
    border-bottom: 2px solid #ddd;
}

.modal-dialog-min-560 {
    min-width: 560px;
}

.modal-dialog-min-780 {
    min-width: 780px;
}

.modal-dialog-min-1000 {
    min-width: 1000px;
}

tr.no-records-found.has-error div {
    color: #ef4836;
}
.has-error .ui-widget.ui-widget-content {
    border-color: #ef4836;
}
.has-error .input-group-addon {
    color: #fff;
}
.has-error .selectpicker {
    border-color: #ef4836;
}
input.has-error  {
    border-color: #ef4836;
}
.bootstrap-select > button.btn.dropdown-toggle.btn-default {
    height: 100%;
}

.form-group {
    position: inherit;
}

.bootstrap-select .btn-light {
    color: #212529;
}

div.dropdown-menu.open {
    z-index: 1030;
}

.dropdown-menu.bottom-start-dropdown-menu {
    transform: translate3d(0px, 30px, 0px) !important;
    right: 0 !important;
}

.cursorover {
    cursor: pointer;
}

.form-group .form-group.has-error .control-label {
    color: #ff5b57;
}

.customer-details-page .has-success .control-label,
.customer-details-page .has-error .control-label,
.modal-content .has-success .control-label,
.modal-content .has-error .control-label {
    color: #242a30;
}

.customer-details-page .has-success .form-control,
.customer-details-page .has-error .form-control,
.modal-content .has-success .form-control,
.modal-content .has-error .form-control {
    border-color: #ccd0d4
}

.form-switch .form-check-input:checked {
    background-color: var(--bs-success);
    border-color: var(--bs-success);
}

#integration-table .ebay-integration-container {
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 4px;
    background: #fff;
    display: none;
}

#integration-table .ebay-integration-container.active {
    display: block;
}

#integration-table .expand-ebay:before {
    content: "\f103";
}

#integration-table .expand-ebay.active:before {
    content: "\f102";
}

.dark-mode #integration-table .ebay-integration-container {
    background: rgba(73, 80, 87, 0.7)
}

.integration-stats .widget-stats {
    color: rgb(70,80,86);
    min-height: 115px;
}

.billing-stats .widget-stats {
    color: rgb(70,80,86);
    min-height: 135px;
}

.billing-stats .widget-stats .fa {
    position: absolute;
    top: calc(50% - 15px);
    right: 13px;
    font-size: 0.8em;
}

.billing-stats .widget-stats .top-up-wrapper {
    position: absolute;
    bottom: 15px;
    right: 15px;
}

.integration-stats .widget-stats .fa {
    position: absolute;
    top: calc(50% - 15px);
    right: 13px;
    font-size: 0.8em;
}

.integration-stats .widget-stats .icon-wrapper {
    background: #d7f4e7;width: 56px;height: 56px;border-radius: 50%; font-size: 0.7em
}

.integration-stats .widget-stats .circle {
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: inline-block;
    background-color: transparent;
    border-top: 3px solid transparent;
    border-left: 3px solid #4ac996;
    border-right: 3px solid #4ac996;
    border-bottom: 3px solid #4ac996;
    transform: rotate(45deg);
    position: absolute;
    top: 13px;
    right: 13px;
}

.integration-stats .widget-stats .stats-title, .widget.widget-stats .stats-title,
.integration-stats .widget-stats .stats-desc, .widget.widget-stats .stats-desc {
    color: rgba(70,80,86, 0.7);
}

.integration-stats .widget-stats .stats-title, .widget.widget-stats .stats-title {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.integration-stats .widget-stats .stats-progress, .widget.widget-stats .stats-progress {
    background-color: rgb(238,242,247);
    height: 8px;
}

.integration-stats .widget-stats .stats-progress .progress-bar, .widget.widget-stats .stats-progress .progress-bar {
    background-color: rgb(47,135,255);
}

.integration-stats .progress-bar {
    position: relative;
}

.integration-stats .progress-bar:after {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 10px;
    background: #fff;
    position: absolute;
    top: 1px;
    right: 1px;
}

#integration-table th {
    color: #6b6e78;
    font-weight: 600;
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-light-rgb),var(--bs-bg-opacity))!important;
    font-family: 'Open Sans';
}
#integration-table th .sortable:before {
    content: "\f0dc";
    font-family: "FontAwesome";
    margin-right: 20px;
}

#integration-table tr td:first-child {
    padding: 10px 30px;
    width: 180px;
}

@media (max-width: 639px) {
    #integration-table tr td:first-child {
        padding: 10px;
    }
}

#integration-table .integration-logo {
    width: 20px;
    display: inline-block;
    font-size: 20px;
    margin-right: 10px;
}

.badge[data-bs-toggle="popover"] {
    cursor: pointer;
}

/** Settings page */
#sendtestemailModal .saveandclose {
    display: flex;
    align-items: center;
    gap: .3rem;
}

#sendtestemailModal .saveandclose > .loader {
    display: none;
}

#channeldatalist .editable-container .editableform .form-group>div {
    flex-wrap: nowrap;
}

@media (max-width: 991px) {
    #channeldatalist .editableform .editable-input .form-control,
    #channeldatalist .input-group .channel-price {
        max-width: 100px;
        min-width: 80px;
    }
}

.btn-save-form-smtp:disabled {
    pointer-events: auto;
    cursor: not-allowed;
}

.navbar-brand .logo,
.navbar-header .logo {
    background: url(./img/KeysenderBlack.svg) no-repeat;
    height: 30px;
    width: 165px;
    background-size: contain;
}

.dark-mode .navbar-brand .logo,
.dark-mode .navbar-header .logo {
    background: url(./img/KeysenderWhite.svg) no-repeat;
    height: 30px;
    width: 165px;
    background-size: contain;
}

.modal .modal-header {
    word-break: break-word;
}

.app-sidebar .menu .menu-item.integration-menu-item,
.sidebar .sub-menu>li.integration-menu-item {
    padding: 2px 0;
}

.bt3-sidebar.sidebar .sub-menu>li.integration-menu-item>a:before {
    content: '';
}

.bt3-sidebar.sidebar .sub-menu>li.integration-menu-item>a:after {
    content: "";
    position: absolute;
    left: -4px;
    top: 13px;
    width: 7px;
    height: 2px;
    background: #10181F;
}

.app-sidebar .menu .menu-item .menu-submenu .menu-item.integration-menu-item>.menu-link {
    padding-left: 3px;
}

.sidebar .sub-menu>li.integration-menu-item > a {
    padding-left: 6px;
}

.app-sidebar .menu .menu-item .menu-submenu .menu-item.integration-menu-item:after,
.sidebar .sub-menu>li.integration-menu-item:after {
    border:none
}


.app-sidebar .menu .menu-item .menu-submenu .menu-item.integration-menu-item .menu-submenu .menu-item:before,
.sidebar .sub-menu li.integration-menu-item .sub-menu li:before {
    left: -6px;
    top: -6px;
    height: 18px;
}

.app-sidebar .menu .menu-item .menu-submenu .menu-item.integration-menu-item .menu-submenu .menu-item .menu-link:after,
.sidebar .sub-menu li.integration-menu-item .sub-menu li a:after {
    width: 11px;
    left: -6px;
}

.product-inventory-table .select2-container--default .select2-selection--single .select2-selection__clear {
    padding-right: 5px;
}

.app-sidebar .menu .menu-profile .menu-profile-cover {
    background-image: unset;
}

.dark-mode .select2-search--dropdown .select2-search__field {
    border-color: #f8f9fa !important;
}

.dark-mode .btn-inverse {
    background-color: var(--bs-default);
    color: var(--bs-inverse);
}

.dark-mode .fixed-table-container tbody .selected td {
    background-color: #2d353c;
}
.panel-body .chats {
    padding: 0;
}
.slimScrollDiv .chats {
    padding-right: 15px;
}
.chats {
    list-style-type: none;
    margin: 0;
    padding: 12px 15px 15px;
}
.chats > li + li {
    margin-top: 15px;
}
.chats > li:before,
.chats > li:after {
    content: '';
    display: table;
    clear: both;
}
.chats .name {
    color: #333;
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    text-decoration: none;
}
.chats .name .label {
    font-size: 8px;
    padding: 1px 4px 2px;
    margin-left: 3px;
    position: relative;
    top: -1px;
}
.chats .date-time {
    font-size: 10px;
    display: block;
    float: right;
    color: #999;
    margin-top: 3px;
}
.chats .image {
    float: left;
    width: 60px;
    height: 60px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    overflow: hidden;
}
.chats .image img {
    max-width: 100%;
}
.chats .image + .message {
    margin-left: 75px;
}
.chats .message {
    border: 1px solid #ccd0d4;
    padding: 7px 12px;
    font-size: 12px;
    position: relative;
    background: #fff;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}
.chats .message:before,
.chats .message:after {
    content: '';
    position: absolute;
    top: 10px;
    left: -14px;
    border: 7px solid transparent;
    border-right-color: #ccd0d4;
}
.chats .message:after {
    left: -13px;
    border-right-color: #fff;
}
.chats .right .name {
    text-align: right;
}
.chats .right .date-time {
    float: left;
}
.chats .right .image {
    float: right;
}
.chats .right .image + .message {
    margin-right: 75px;
    margin-left: 0;
}
.chats .right .message:before,
.chats .right .message:after {
    left: auto;
    right: -14px;
    border-right-color: transparent;
    border-left-color: #ccd0d4;
}
.chats .right .message:after {
    right: -13px;
    border-left-color: #fff;
}
.dark-mode .bootstrap-select .no-results {
    background-color: var(--bs-dropdown-bg);
}

.dark-mode .iti__country-list {
    background: var(--app-component-bg);
    border: none;
    border-radius: 5px;
    margin-top: 1px;
    margin-left: 0px;
}