body {
    overflow-y: scroll;
}

/* Make graph gradients end at white instead of lighter color */
[id^="SvgjsLinearGradient"] stop[offset="1"] {
  stop-color: #ffffff !important;
  stop-opacity: 0 !important;
}

/* Also target any empty stop colors */
[id^="SvgjsLinearGradient"] stop[stop-color=""] {
  stop-color: #ffffff !important;
  stop-opacity: 0 !important;
}
.offcanvas .dt-buttons {
    transform: translateX(-60px);
    visibility: visible;
    margin-top: 20em;
    position: absolute;
}

.offcanvas.show .dt-buttons, .offcanvas.showing .dt-buttons {
    display: none;
}

html:not(.layout-menu-collapsed) .bg-menu-theme .menu-inner .menu-item:not(.active) > .menu-link:hover, .layout-menu-hover.layout-menu-collapsed .bg-menu-theme .menu-inner .menu-item:not(.active) > .menu-link:hover {
    color: #007bff;
}
.layout-menu-collapsed:not(.layout-menu-hover):not(.layout-menu-offcanvas):not(.layout-menu-fixed-offcanvas) .layout-menu .app-brand {
    margin-left: 0.3rem;
}

#filterToggleButton[aria-expanded="false"] #filterShowButton, #filterToggleButton[aria-expanded="true"] #filterHideButton {
    display: block;
}
#filterToggleButton[aria-expanded="false"] #filterHideButton, #filterToggleButton[aria-expanded="true"] #filterShowButton {
    display: none;
}

#filterShowButton .dropdown-toggle, #filterHideButton .dropdown-toggle {
    margin-left: 3px;
}

#filterHideButton .dropdown-toggle::after {
    transform: rotate(135deg);
    margin-top: 1px;
}

.list_name_cell_hover:hover {
    background-color: #f8f8f8 !important;
    color: #007bff !important;
}
.list_name_cell_hover .product-name div[data-pim-type="product-overview-row-product-name"] {
    max-width: 17rem !important;
}

*[data-pim-type="product-overview-row-product-name"], *[data-pim-type="product-overview-row-stock"] {
    cursor: pointer;
}

tr[data-pim-type="product-overview-row-detail-warehouse-row"] td[data-pim-type="product-overview-row-detail-warehouse-cell"] {
    border-left: 4px solid var(--bs-primary) !important;
}
td[data-pim-type="product-overview-row-detail-warehouse-cell"] table tr th:first-child, td[data-pim-type="product-overview-row-detail-warehouse-cell"] table tr td:first-child {
    padding-left: 5rem !important;
}
td.list_detail_container {
    background-color: lightgrey !important;
    padding: 0 !important;
}

.list_detail.supplier-odd tr {
    background-color: #DFDFE3;
}

.list_detail.supplier-even tr {
    background-color: #e9e7fd;
}

.list_detail {
    width: 100%;
    padding: 0;
    margin: 0;
}

.list_detail th {
    font-weight: bold;
    color: black;
    border-bottom: solid 1px white;
    padding: 10px;
}

.dropdown-menu > li:first-child > hr.dropdown-divider {
    display: none;
}

.prefilter-tab:hover {
    border: solid lightgrey 1px;
    border-radius: 6px;
}

.filter_name_label {
    font-weight: bold;
    font-size: 16px !important;
}

.post_filter_name_edit_container li.prefilter-tab {
    margin-right: 10px;
}

.bootstrap-select {
    width: 100% !important;
    vertical-align: middle;
}
.bootstrap-select .btn .filter-option {
    text-overflow: ellipsis;
}

@media (min-width: 576px){
    .seven-cols .col-sm-1 {
        width: 100%;
        *width: 100%;
    }
    .seven-cols .col-md-6 {
        width: 50%;
        *width: 50%;
    }
}

/*@media (min-width: 768px){*/
/*    .seven-cols .col-md-1,*/
/*    .seven-cols .col-sm-1,*/
/*    .seven-cols .col-lg-1  {*/
/*        width: 100%;*/
/*        *width: 100%;*/
/*    }*/
/*}*/

@media (min-width: 992px) {
    .seven-cols .col-md-1,
    .seven-cols .col-sm-1,
    .seven-cols .col-lg-1 {
        width: 14.285714285714285714285714285714%;
        *width: 14.285714285714285714285714285714%;
    }
}

/**
 *  The following is not really needed in this case
 *  Only to demonstrate the usage of @media for large screens
 */
@media (min-width: 1200px) {
    .seven-cols .col-md-1,
    .seven-cols .col-sm-1,
    .seven-cols .col-lg-1 {
        width: 14.285714285714285714285714285714%;
        *width: 14.285714285714285714285714285714%;
    }
}


@media (min-width: 576px){
    .five-cols .col-sm-1 {
        width: 100%;
        *width: 100%;
    }
    .five-cols .col-md-6 {
        width: 50%;
        *width: 50%;
    }
}

/*@media (min-width: 768px){*/
/*    .seven-cols .col-md-1,*/
/*    .seven-cols .col-sm-1,*/
/*    .seven-cols .col-lg-1  {*/
/*        width: 100%;*/
/*        *width: 100%;*/
/*    }*/
/*}*/

@media (min-width: 992px) {
    .five-cols .col-md-1,
    .five-cols .col-sm-1,
    .five-cols .col-lg-1 {
        width: 15.285714285714285714285714285714%;
        *width: 15.285714285714285714285714285714%;
    }
}

/**
 *  The following is not really needed in this case
 *  Only to demonstrate the usage of @media for large screens
 */
@media (min-width: 1200px) {
    .five-cols .col-md-1,
    .five-cols .col-sm-1,
    .five-cols .col-lg-1 {
        width: 16.285714285714285714285714285714%;
        *width: 16.285714285714285714285714285714%;
    }
}

.expand_via_effect {
    -webkit-transition: width 1s ease-in-out;
    -moz-transition:width 1s ease-in-out;
    -o-transition: width 1s ease-in-out;
    transition: width 1s ease-in-out;
}

#productOverviewTable tr th:nth-child(2), #productOverviewTable tr td:nth-child(2) {
    padding-left: 0;
}

.actionButtons > a {
    margin-left: 10px;
}

.menu-vertical .menu-sub .menu-sub .menu-link {
    margin-left: 1.875rem !important;
    padding-left: 2.875rem !important;
}

.menu-vertical .menu-sub .menu-sub .menu-sub .menu-link {
    margin-left: 2.875rem !important;
    padding-left: 2.875rem !important;
}

div:has(> table.table) {
    overflow-x: auto;
}

#internal_id_container span {
    white-space: pre;
}

#categoryListContainer .select2-selection {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

/*
 * ApexChart
*/

.apexcharts-tooltip-marker {
    margin-right: 5px !important;
}

.apexcharts-tooltip-text-y-value {
    margin-left: 0 !important;
}

.calcPriceHeader th {
    text-transform: none;
    font-size: 0.6rem !important;
}

/*
 * ActivityTimeline
 */

.timeline .timeline-point-double {
    background: linear-gradient(
            to right,
            #ff9f43 50%,
            #ea5455 50%
    );
    box-shadow: 0 0 0 0 #ff9f43, 0 0 0 0.1875rem #ea5455;
    -moz-box-shadow: 0 0 0 0 #ff9f43, 0 0 0 0.1875rem #ea5455;
    -webkit-box-shadow: 0 0 0 0#ff9f43, 0 0 0 0.1875rem #ea5455;
}

.w-15 {
    width: 15% !important;
}

.fs-small {
    font-size: 90% !important;
}

.hr-full-width {
    margin-left: -1.5rem !important;
    margin-right: -1.5rem !important;
}

/* Overlay ve loading ikonu için stiller */
.overlay {
    display: none; /* Başlangıçta gizli */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Yarı şeffaf siyah */
    z-index: 999; /* Üstte durması için */
    justify-content: center;
    align-items: center;
}

.spinner {
    border: 16px solid #f3f3f3; /* Dış kısım */
    border-radius: 50%;
    border-top: 16px solid #3498db; /* Dönen kısmın rengi */
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

/* Spinner animasyonu */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.product-list-value::after {
    content: ":";
    margin-left: 0.06rem;
}

.product-list-striped{
    --bs-card-color-type: var(--bs-table-striped-color) !important;
    background-color: #fbfbfc;
}

.product-list-danger{
    --bs-card-color-type: var(--bs-table-striped-color) !important;
    background-color: #FDF1F1;
}


.text-truncate2 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.2em; /* Satır yüksekliğine göre ayarlama yapabilirsiniz */
    max-height: 2.4em; /* Satır yüksekliği * satır sayısı */
}

.text-truncate3 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    line-height: 1.2em; /* Satır yüksekliğine göre ayarlama yapabilirsiniz */
    max-height: 2.4em; /* Satır yüksekliği * satır sayısı */
}

.card-products .container {
    padding: 0 0 0 10px !important;
}

.card-products {
    box-sizing: border-box;
    position: relative;
    width: 100%;
    box-shadow: 0 .1875rem .75rem 0 rgba(47, 43, 61, .24);
    border-radius: 20px;
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(0 * var(--bs-gutter-y)) !important;
    margin-right: calc(0 * var(--bs-gutter-x)) !important;
    margin-left: calc(0 * var(--bs-gutter-x)) !important;
}

.break-text p {
    word-wrap: break-word;
}

.subject {
    font-family: "Public Sans";
    font-size: 13px;
}

.sub-subject {
    font-family: "Public Sans";
    font-size: 13px;
}

.warehouse-box {
    background-color: white;
    border-radius: 10px 10px 10px 10px;
    box-shadow: rgba(9, 30, 66, 0.25) 0px 4px 8px -2px, rgba(9, 30, 66, 0.08) 0px 0px 0px 1px;
}

.warehouse-box .zero-stock {
    color: #f19192;
    font: 400 15px/1.46 "Public Sans", Helvetica, Arial, serif;
}

.warehouse-box .datetime {
    color: #a5a3ae;
    font: 400 13px/1.69 "Public Sans", Helvetica, Arial, serif;
    letter-spacing: -0.7px;
}

.card-products .avatar img {
    height: auto !important;
    max-height: 48px !important;
}


#products_edit_tab_1_content .ql-editor {
    height: 17rem;
}

#cards-products .btn-label-secondary {
    background: light-dark(#fbfbfc, #424659) !important;
}

.layout-navbar .navbar-dropdown.dropdown-style-switcher .dropdown-menu {
    min-width: 14rem;
}

#categoryListContainer .select2-selection__arrow {
    display: none;
}

#categoryListContainer .select2-selection__clear {
    margin-right: calc(-1.3 * var(--bs-gutter-x));
}

#frmProduct button.btn:disabled {
    pointer-events: auto;
}

#categories-sorting li > a.text-muted {
    pointer-events: auto;
}

.select2-placeholder-width-100 .select2-search__field{
    width: 100% !important;
}

.select2-container {
    width: 100% !important;
}

.fi-en {
    background-image: url('/ext/vuexy/assets/vendor/fonts/flags/4x3/gb.svg');
}

.dropdown-menu li {
    cursor: pointer;
}
