/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 2.5
*/
/* -----------------------------------------------Insights Dashboard-------------------------------------------------- */

.custom-legend {
    display: flex;
    justify-content: center;
    flex-direction: row;
    gap: 10px;
}

.legend-checkbox {
    display: flex;
    width: 15px;
    height: 15px;
    border-radius: 2px;
    font-weight: 900;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    border: 2px solid;
    /* Keep border static based on the color class */
    background-color: white;
    /* Default background color */
    transition: background-color 0.3s ease, color 0.3s ease;
    /* Smooth transition for background color */
}

.legend-checkbox.orange {
    border-color: #ff941b;
}

.legend-checkbox.blue {
    border-color: #60d0fa;
}

.legend-checkbox.checked.orange {
    background-color: #ff941b;
    /* Set background when checked */
}

.legend-checkbox.checked.blue {
    background-color: #60d0fa;
    /* Set background when checked */
}

.legend-checkbox::after {
    content: "✓";
    /* Always show checkmark */
    font-size: 12px;
    color: transparent;
    /* Hidden when unchecked */
    transition: color 0.3s ease;
}

.legend-checkbox.checked::after {
    color: white;
    /* Visible checkmark when checked */
}

.legend-container {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-direction: row;
}

#customDownloadDropdown {
    display: none;
    position: absolute;
    z-index: 1000;
    background: white;
    border: 1px solid rgb(204, 204, 204);
    padding: 10px;
    display: flex;
    flex-direction: column;
    width: 100%;
    left: 0;
    transform: translateY(8px);
    border-radius: 5px;
}

#customDownloadDropdown span {
    padding: 4px auto;
    border-radius: 5px;
}

#customDownloadDropdown span:hover {
    background-color: rgb(236, 236, 236);
}

table.dataTable>tbody>tr.child span.dtr-title {
    display: flex !important;
    align-items: center;
    flex-direction: row;
    gap: 2px;
}

table.dataTable>tbody>tr.child ul.dtr-details>li {
    display: flex !important;
    align-items: center;
    gap: 10px;
}

.dt-column-title {
    display: flex;
    justify-content: center;
    gap: 7px;
    flex-direction: row;
}

.info-popup {
    position: absolute;
    top: -32px;
    left: 12px;
    background: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    z-index: 1000;
    opacity: 0;
    /* Start with hidden */
    visibility: hidden;
    /* Keep it hidden by default */
    transition: opacity 0.3s ease, visibility 0.3s ease;
    /* Smooth transition for opacity and visibility */
    white-space: nowrap;
}

.info-popup-table {
    min-width: 400px;
    text-align: left;
    position: absolute;
    left: 15px;
    background: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    z-index: 1000;
    opacity: 0;
    /* Start with hidden */
    visibility: hidden;
    /* Keep it hidden by default */
    transition: opacity 0.3s ease, visibility 0.3s ease;
    /* Smooth transition for opacity and visibility */
}

.info-insights-popup-table,
.info-insights-popup {
    font-size: 16px;
    position: relative;
    /* For positioning the popup correctly */
    cursor: pointer;
}

.view-more-product .dt-length label {
    white-space: nowrap;
    margin-left: 10px;
}

.download-option {
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 5px;
}

.download-option:hover {
    background-color: #eeeeee;
}

/* Align text in columns 3, 4, and 5 to center */
.stats-widget.popular-products table th:nth-child(3),
.stats-widget.popular-products table th:nth-child(4),
.stats-widget.popular-products table th:nth-child(5),
.stats-widget.popular-products table td:nth-child(3),
.stats-widget.popular-products table td:nth-child(4),
.stats-widget.popular-products table td:nth-child(5) {
    text-align: center;
}

.stats-widget.popular-products table td:nth-child(5),
.stats-widget.popular-products table td:nth-child(6) {
    font-weight: 700;
}

/* Align text in column 6 to right */
.stats-widget.popular-products table th:nth-child(6),
.stats-widget.popular-products table td:nth-child(6) {
    text-align: right;
}

.stats-widget.popular-products table th:nth-child(5) {
    background-color: rgba(227, 246, 254, 0.53);
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.stats-widget.popular-products table tbody tr {
    background-color: transparent;
}

.stats-widget.popular-products table td {
    border-top: 1.3px solid #E6E9EE !important;
    padding: 15px;
}

.stats-widget.popular-products table td .loader {
    margin: 11px 0;
}

.stats-widget.popular-products table td:nth-child(5) {
    background-color: rgba(227, 246, 254, 0.53);
}

.stats-widget.popular-products table tr:last-child td:nth-child(5) {
    background-color: rgba(227, 246, 254, 0.53);
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.stats-widget.popular-brands table th:nth-child(2),
.stats-widget.popular-brands table th:nth-child(3),
.stats-widget.popular-brands table td:nth-child(2),
.stats-widget.popular-brands table td:nth-child(3) {
    text-align: center;
}

.stats-widget.popular-brands table td:nth-child(3),
.stats-widget.popular-brands table td:nth-child(4) {
    font-weight: 700;
}

.stats-widget.popular-brands table th:nth-child(4),
.stats-widget.popular-brands table td:nth-child(4) {
    text-align: right;
}

.stats-widget.popular-brands table th:nth-child(3) {
    background-color: rgba(227, 246, 254, 0.53);
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.stats-widget.popular-brands table tbody tr {
    background-color: transparent;
}

.stats-widget.popular-brands table td {
    border-top: 1.3px solid #E6E9EE !important;
    padding: 16.5px;
}

.stats-widget.popular-brands table td .loader {
    margin: 3.5px 0;
}

.stats-widget.popular-brands table td:nth-child(3) {
    background-color: rgba(227, 246, 254, 0.53);
}

.stats-widget.popular-brands table tr:last-child td:nth-child(3) {
    background-color: rgba(227, 246, 254, 0.53);
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.stats-widget.price-gab-products table th:nth-child(4),
.stats-widget.price-gab-products table td:nth-child(4),
.stats-widget.price-gab-products table th:nth-child(3),
.stats-widget.price-gab-products table td:nth-child(3) {
    text-align: center;
}

.stats-widget.price-gab-products table th:nth-child(5),
.stats-widget.price-gab-products table td:nth-child(5) {
    text-align: right;
}

.stats-widget.price-gab-products table td:nth-child(3),
.stats-widget.price-gab-products table td:nth-child(5) {
    font-weight: 700;
}

.stats-widget.price-gab-products table tbody tr {
    background-color: transparent;
}

.stats-widget.price-gab-products table td {
    border-top: 1.3px solid #E6E9EE !important;
    padding: 15px;
}

.stats-widget.price-gab-products table td .loader {
    margin: 11px 0;
}

.stats-widget.price-suggestion-product table th:nth-child(3),
.stats-widget.price-suggestion-product table td:nth-child(3),
.stats-widget.price-suggestion-product table th:nth-child(4),
.stats-widget.price-suggestion-product table td:nth-child(4),
.stats-widget.price-suggestion-product table th:nth-child(5),
.stats-widget.price-suggestion-product table td:nth-child(5) {
    text-align: center;
}

.stats-widget.price-suggestion-product table th:nth-child(6),
.stats-widget.price-suggestion-product table td:nth-child(6) {
    text-align: right;
}

.stats-widget.price-suggestion-product table td:nth-child(3),
.stats-widget.price-suggestion-product table td:nth-child(5),
.stats-widget.price-suggestion-product table td:nth-child(6) {
    font-weight: 700;
}

.stats-widget.price-suggestion-product table tbody tr {
    background-color: transparent;
}

.stats-widget.price-suggestion-product table td {
    border-top: 1.3px solid #E6E9EE !important;
    padding: 15px;
}

.stats-widget.price-suggestion-product table td .loader {
    margin: 10px 0;
}

.traffic-visibility {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.traffic-visibility table tbody tr td:first-child {
    vertical-align: sub;
    text-align: end;
}

.traffic-visibility table tbody tr td {
    color: #9d9d9d;
}

.traffic-visibility table {
    width: 95%;
}

.traffic-visibility table tbody tr:first-child td:first-child {
    font-weight: 700;
}

.traffic-visibility table tbody tr td:last-child {
    width: 100%;
}

.traffic-visibility-bar-container {
    background-color: #0fb8ed;
    width: 100%;
    height: 18px;
    border-radius: 10px;
    overflow: hidden;
}

.traffic-visibility-ads-bar {
    background-color: #ff8800;
    height: 100%;
    width: 0%;
    transition: width 0.3s ease;
}

.traffic-visibility-labels {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 3px 12px;
}

.traffic-visibility-label {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
}

.traffic-visibility-label .loader {
    width: 30px;
    margin: 2px 0;
}

.traffic-visibility .insights-widget-title {
    width: 100%;
    margin-bottom: 15px;
}

.insights-widget-desc {
    color: #9d9d9d;
    font-size: 1.4vh;
    width: 100%;
    margin-bottom: 15px;
}

.color-square-free-listing,
.color-square-ads {
    width: 15px;
    height: 15px;
    display: inline-block;
}

.color-square-free-listing {
    background-color: #0fb8ed;
}

.color-square-ads {
    background-color: #ff8800;
}

.custom-dash-border {
    position: relative;
    /* Ensure the parent element positions the pseudo-element correctly */
}

.custom-dash-border::before {
    content: "";
    position: absolute;
    top: 25px;
    /* Start 20px from the top */
    left: 0;
    width: 2px;
    /* Border thickness */
    height: calc(100% - 50px);
    /* Reduce the height by 40px (20px top + 20px bottom) */
    background-image: repeating-linear-gradient(to bottom,
            #efeff1,
            #efeff1 17px,
            /* Dash length */
            transparent 13px,
            /* Space length */
            transparent 30px
            /* Total length of a dash + gap */
        );
}

.highest-visibility-bars {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex: 1;
    flex-wrap: wrap;
    overflow: auto;
}

.highest-visibility-bar-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: flex-end;
    width: 16%;
    min-width: 100px;
    overflow: hidden;
}

.highest-visibility-bar-container .loader {
    background-color: #ededed;
    background: linear-gradient(100deg,
            rgba(255, 255, 255, 0) 40%,
            rgba(255, 255, 255, .5) 50%,
            rgba(255, 255, 255, 0) 60%) #ededed;
    background-size: 200% 100%;
    background-position-x: 180%;
    animation: 1s loading-table-data ease-in-out infinite;
    margin: 0;
    margin-top: 6px;
    width: 80px;
}

.highest-visibility-bar-container .percentage {
    color: #8e8e8e;
}

.highest-visibility-bar-container .domain-name {
    white-space: nowrap;
    display: flex;
    width: 90%;
    justify-content: center;
}

.highest-visibility-bar-container .domain-name a {
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.highest-visibility-bar-container .bar {
    background: linear-gradient(360deg, #28bfee, #80cf36);
    color: white;
    border-radius: 10px;
    padding-top: 2px;
    min-width: 45px;
    text-align: center;
    height: 1%;
    transition: height 0.3s ease;
}

.highest-visibility-bar-container .bar .percentage {
    display: inline-block;
    transform: rotate(-90deg);
}

.similar-visibility {
    flex: 1;
    gap: 2vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.similar-visibility .loader {
    margin: 3.5px 0;
}

.highest-visibility {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.insights-widget-title {
    color: #2f3b52;
    font-size: 1.7vh;
    font-weight: 500;
    margin-bottom: 5px;
    display: flex;
    gap: 10px;
}

.page-overlap-similar-visibility {
    width: 100%;
    border-collapse: collapse;
}

.page-overlap-headers {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    color: #39445a;
    font-weight: 600;
    font-size: 1.3vh;
}

.page-overlap-similar-visibility td {
    white-space: nowrap;
    /* Prevents text wrapping */
    padding: 10px;
    /* Optional: adds some spacing for better readability */
}

.page-overlap-similar-visibility td:first-child {
    max-width: 70px;
    width: 22%;
    text-overflow: ellipsis;
    color: #6ed4f3;
}

.page-overlap-similar-visibility td:last-child {
    width: 5%;
    /* Set a fixed width for the last column */
    text-align: left;
    min-width: 55px;
    color: #8e8e8e;
}

.page-overlap-similar-visibility th:nth-child(2),
.page-overlap-similar-visibility td:nth-child(2) {
    width: auto;
    /* Allow the middle column to take remaining space */
    min-width: 100px;
}

.overlap-bar-container {
    overflow: hidden;
    background-color: #e6e9ee;
    height: 15px;
    border-radius: 20px;
    position: relative;
}

.overlap-bar {
    width: 0%;
    position: absolute;
    height: 100%;
    background-color: #0fb8ed;
    transition: width 0.3s ease;
}

#overallForInsights {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

#overallForInsights .stats-widget {
    padding: 10px;
    padding-left: 40px;
    white-space: nowrap;
    padding-left: 3vh;
    display: flex;
    flex-direction: column;
    flex: 1;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-left-color: #0FB8ED;
    border-left-width: 7px;
    min-width: 130px;
}

#overallForInsights .stats-widget h3 {
    font-size: 16px;
    color: #AFAFAF;
    margin: 0;
    padding-top: 0;
}

#overallForInsights .stats-widget span {
    font-size: 28px;
    color: #15223C;
    font-weight: 600;
}

.dropdown-container {
    display: none;
    position: absolute;
    background-color: white;
    border: 1px solid #E6E9EE;
    border-radius: 5px;
    padding: 10px;
    box-shadow: 0px 4px 6px 2px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
    z-index: 1;
    max-height: 600px;
    overflow-y: auto;
}

.dropdown-option {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 5px;
}

.cirlce-dote {
    outline: 2px solid #5992f4;
    border-radius: 50%;
    width: 20px;
    height: 20px;
}

.cirlce-dote.selected {
    border: 2px solid #ffffff;
    background-color: #5992f4;
}


.container-row {
    display: flex;
    flex-wrap: nowrap;
}

#insights-datepicker .daterangepicker {
    top: auto !important;
    left: auto !important;
    transform: translateY(10px);
}


.insights-filter {
    background-color: white;
    border: 1px solid #E6E9EE;
    border-radius: 40px;
    padding: 5px 26px;
    font-weight: 600;
    color: #6c757d;
    cursor: pointer;
}

.insights-filter:hover {
    background-color: rgb(240, 240, 240);
}

.insights-tables {
    display: flex;
    gap: 2vh;
    flex-wrap: wrap;
}

.insights-tables table {
    border-top: 0 !important;
}

.insights-tables th {
    background-color: white;
    border-width: 0 !important;
    font-size: 16px !important;
    color: rgba(0, 0, 0, 0.7);
}

.insights-tables .popular-products th:first-child {
    width: 50px;
}

.insights-tables .popular-products td:first-child {
    display: flex;
    justify-content: center;
}

.insights-tables td {
    background-color: white;
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-width: 0 !important;
    font-size: 16px !important;
    vertical-align: middle;
    color: rgba(0, 0, 0, 0.7);
}

.insights-tables img {
    height: 50px;
    width: 50px;
    min-width: 50px;
    object-fit: cover;
    border-radius: 4px;
}

.popular-products,
.popular-brands,
.price-gab-products,
.price-suggestion-product {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}

.popular-products,
.popular-brands,
.price-gab-products,
.price-suggestion-product h4 {
    color: #15223C;
}

.view-more-product {
    height: 100%;
    overflow: auto;
    width: 100%;
    overflow-x: auto;
    background-color: white;
    border: 1px solid #E6E9EE;
    padding: 25px;
}

.insights-tabs-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Tab Container Styling */
.insights-tabs {
    position: relative;
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    margin-bottom: 20px;
    margin-top: 15px;
    background-color: white;
    border: 1px solid #E6E9EE;
    border-radius: 10px;
    width: fit-content;
    --left: 0;
    --width: 0;
}

/* Add a moving background effect */
.insights-tabs::before {
    content: '';
    position: absolute;
    top: 0;
    left: var(--left);
    height: 100%;
    width: var(--width);
    background-color: #0fb8ed;
    border-radius: 10px;
    transition: all 0.3s ease;
    z-index: 0;
}

/* Individual Tab Styling */
.insight-tab {
    position: relative;
    font-size: 18px;
    font-weight: 600;
    padding: 10px 30px;
    border-radius: 40px;
    color: #6c757d;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 1;
}

/* Active Tab Styling */
.insight-tab.active {
    color: #fff;
}

/* Hover Effect for Tabs */
.insight-tab:hover {
    color: #a8bbcb;
}

.close-insights-table {
    background-color: white;
    border: none;
    cursor: pointer;
    padding: 8px 15px;
    margin-right: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.close-insights-table:hover {
    background-color: rgb(227, 227, 227);
    transform: scale(1.05);
}

.close-insights-table:active {
    background-color: rgb(206, 206, 206);
    transform: scale(0.95);
}

/* Animation class for the growing effect */
.animate-grow {
    transform: scale(0.5);
    /* Start smaller */
    opacity: 0;
    /* Start invisible */
    transition: transform 0.3s ease, opacity 0.3s ease;
    /* Smooth transition */
}

/* Full size and visible */
.animate-grow.show {
    transform: scale(1);
    /* Full size */
    opacity: 1;
    /* Fully visible */
}

.visibility-change,
.price-comparison {
    display: flex;
    flex: 1;
    flex-direction: column;
    white-space: wrap;
    justify-content: space-between;
}

.tab-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.price-bar {
    display: flex;
    gap: 5px;
    margin-top: 8px;
    height: 70px;
    border-radius: 7px;
    overflow: hidden;
}

/* Individual bar sections */
.bar-section {
    height: 100%;
    transition: width 0.5s ease-in-out;
}

.cheaper-label,
.similar-label,
.expensive-label {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cheaper-label .square-color,
.similar-label .square-color,
.expensive-label .square-color {
    width: 10px;
    height: 10px;
    min-width: 10px;
}

.cheaper-label .square-color,
.cheaper {
    background-color: #0fb8ed;
}

.similar-label .square-color,
.similar {
    background-color: #afafaf;
}

.expensive-label .square-color,
.expensive {
    background-color: #ff8800;
}

/* Styling for the labels */
.price-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 14px;
    color: #6c757d;
    /* Gray color for text */
}

.price-distribution-row {
    display: flex;
    gap: 10px;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 5px 15px;
    border-radius: 5px;
}

.price-distribution-row.grid {
    display: grid;
    grid-template-columns: 2fr 6fr 1fr;
    padding: 5px 15px;
    border-radius: 5px;
}

.price-distribution-row.grid .price-distribution {
    width: 100%;
}

.price-distribution-row .price-count {
    display: flex;
    justify-content: flex-end;
}


.price-distribution-row:hover {
    background-color: #ebebeb;
}

.price-comparison .loader {
    background-color: #ededed;
    background: linear-gradient(100deg,
            rgba(255, 255, 255, 0) 40%,
            rgba(255, 255, 255, .5) 50%,
            rgba(255, 255, 255, 0) 60%) #ededed;
    background-size: 200% 100%;
    background-position-x: 180%;
    animation: 1s loading-table-data ease-in-out infinite;
    margin: 7px 0;
}

.price-distribution-row .loader {
    background-color: #ededed;
    background: linear-gradient(100deg,
            rgba(255, 255, 255, 0) 40%,
            rgba(255, 255, 255, .5) 50%,
            rgba(255, 255, 255, 0) 60%) #ededed;
    background-size: 200% 100%;
    background-position-x: 180%;
    animation: 1s loading-table-data ease-in-out infinite;
    margin: 0;
}

.price-distribution-row span:first-child .loader {
    min-height: 18px;
    min-width: 200px;
}

.price-distribution-row span:last-child .loader {
    min-height: 18px;
    min-width: 100px;
}


.price-distribution {
    width: 60%;
}

.price-distribution .price-bar {
    height: 15px;
    margin-top: 10px;
    gap: 2px;
}

.price-distribution .price-labels {
    margin-top: 0;
}

/* Dropdown Button */

/* Tooltip container hidden by default */
.tooltip-popup {
    position: absolute;
    display: none;
    align-items: center;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 5px;
    z-index: 1000;
    width: 200px;
    top: -10px;
    right: -220px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Tooltip arrow */
.tooltip-arrow {
    position: absolute;
    width: 0;
    height: 0;
    border-bottom: 10px solid transparent;
    border-top: 10px solid transparent;
    border-right: 10px solid #dadada;
    left: -10px;
}

/* Tooltip content */
.tooltip-content {
    font-size: 14px;
    color: #333;
}

div.dt-button-collection.dtb-collection-closeable {
    width: 75% !important;
}

.title-span {
    color: #00743182;
}

.type-span,
.gtin-span,
.mpn-span,
.size-span,
.description-span,
.id-span,
.brand-type {
    color: #0070bb76;
}

.preview-container {
    margin-top: 1%;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.preview-container span {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    display: inline-block;
}

.preview-tables {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.preview-table {
    margin-top: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 10px;
}

.preview-table span {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    display: inline-block;
}

.preview-table table tbody tr td:nth-child(1) {
    width: 16%;
}

.preview-table table tbody tr td:nth-child(2) {
    width: 38%;
}

.preview-table table tbody tr td:nth-child(3) {
    width: 46%;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

table th,
table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

table th {
    background-color: #f4f4f4;
    font-weight: 600;
    text-transform: uppercase;
    color: #555;
}

table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

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

table tbody td {
    font-size: 14px;
    color: #333;
}

.save-title-settings-button {
    padding: 6px 30px;
    background-color: #0fb8ed;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
}

.save-title-settings-button:hover {
    background-color: #2980b9;
}

.save-title-settings-button.green {
    background-color: #81cf34;
}

.save-title-settings-button.green:hover {
    background-color: #77be30;
}

.refresh-table-title-data-button {
    background-color: #3498db;
    font-size: 1em !important;
    color: white !important;
    width: 27px;
    height: 27px;
    text-align: center;
    border-radius: 5px;
    align-content: center;
    margin-left: 10px;
    cursor: pointer;
}

.refresh-table-title-data-button:hover {
    background-color: #2980b9;
}

.refresh-table-title-data-button:active {
    background-color: #2570a2;
}

.xml-title-modifier-container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.draggables-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    /* Ensures space between draggable items */
}

.draggable {
    padding: 5px 15px 5px 15px;
    background-color: #0070bb29;
    color: #000d15;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    text-align: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
    will-change: transform;
    height: 35px;
}


.draggable:hover {
    background-color: #2980b9;
    color: white;
}

.dropzone {
    min-height: 70px;
    background-color: #f3f3f3;
    border: 2px solid #ebebeb;
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    padding: 10px;
    gap: 10px;
    transition: background-color 0.3s ease;
}

.add-new-draggable {
    display: inline-block;
    padding: 5px;
    background-color: #ffffff;
    border: 1px solid #b1b1b1;
    color: #b1b1b1;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    text-align: center;
    width: 30px;
}

.add-new-draggable:hover {
    background-color: #dddddd;
}

.draggables-container .draggable input.add-new-draggable-input {
    border: none;
    padding: 0;
    color: white;
    background-color: transparent;
    font-size: 1em;
    font-weight: bold;
}

.custom-draggable {
    background-color: #6100e352;
}


.custom-draggable:hover {
    background-color: #6100e38c;
}

.draggables-container .draggable input.add-new-draggable-input::placeholder {
    color: white;
}

.dropzone.drag-active {
    background-color: #d1f7c4;
    border-color: #27ae60;
}

/* Specific styling for the title element */
.title-draggable {
    background-color: #00743145 !important;
}

.title-draggable:hover {
    background-color: #64b954 !important;
}

/* Placeholder styling */
.placeholder {
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    opacity: 0.5;
    border: 1px dashed #ccc;
    transition: all 0.2s ease;
    width: 100px;
    /* Adjust based on draggable size */
    height: 40px;
    /* Adjust based on draggable size */
}

/* Hide the dragged item during dragging */
.hidden {
    display: none;
}

/* Animation for smooth movement of elements */
.draggable {
    transition: transform 0.3s ease, opacity 0.3s ease;
    /* Smooth movement and opacity */
    will-change: transform;
    /* Optimizes animations */
}

.dropdown-checkbox {
    position: relative;
    display: inline-block;
}

.title-optimization-container-toggle,
.refresh-container-toggle {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    border-radius: 8px;
}

.title-optimization-container-toggle {
    background-color: #e2f0e2;
}

.refresh-container-toggle {
    background-color: #e3f6fe;
}

.find-and-replace-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.title-settings-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
    flex: 1 1 580px;
}

.title-text-order-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.disabled-container {
    opacity: 0.5;
    filter: grayscale(100%);
    pointer-events: none;
    /* Block interactions */
    position: relative;
    /* Make sure the overlay stays within the container */
}

#findInput,
#replaceInput {
    padding: 8px 10px;
    border: 1.5px solid #0FB8ED;
    border-radius: 10px;
}

#findReplaceContainer {
    width: 100%;
    height: 172px;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 7px 10px;
    padding: 10px;
    overflow-y: auto;
    border: 1.5px solid #0FB8ED;
    border-radius: 10px;
    background-color: #f3f3f3;
}

#findReplaceContainer::-webkit-scrollbar {
    width: 16px;
    height: 16px;
}

#findReplaceContainer::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
    padding: 3px;
}

#findReplaceContainer::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 10px;
    border: 4px solid transparent;
    background-clip: padding-box;
}

#findReplaceContainer::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}

.find-replace-item {
    background-color: #7bcdee;
    color: white;
    padding: 10px;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s ease, content 0.3s ease;
    text-align: center;
}

.find-replace-item:hover {
    background-color: red;
    color: transparent;
    /* Hides the text */
}

.find-replace-item::after {
    content: "";
    /* Initial state without trashcan icon */
}

.find-replace-item:hover::after {
    content: "\f1f8";
    /* Unicode for the trashcan icon from FontAwesome */
    font-family: 'FontAwesome';
    font-size: 16px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
}

.settings-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.account-item-details .dropdown-checkbox .dropdown-checkbox-button,
.dropdown-checkbox .dropdown-checkbox-button {
    border: 1.5px solid #0FB8ED;
    border-radius: 10px !important;
    height: 40px;
    color: #848484;
    font-size: 16px;
    font-weight: 700;
    padding: 1px 10px;
    cursor: pointer;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.account-item-details .dropdown-checkbox-button option {
    background-color: white;
}

/* Dropdown Content (hidden by default) */
.my-account-dashboard-eshop-connected-accounts-details .account-item-details .dropdown-checkbox .dropdown-checkbox-content,
.dropdown-checkbox .dropdown-checkbox-content {
    display: none;
    position: absolute;
    background-color: white;
    width: 190px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 5px;
    padding: 10px;
    max-height: 290px;
    overflow-y: scroll;
    overflow-x: hidden;
}

.title-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 15px;
}

.title-label {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
    white-space: nowrap;
}

.title-select-input {
    display: flex;
    gap: 10px;
    align-items: center;
}

.styled-select {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 1em;
    background-color: #f9f9f9;
    width: 150px;
}

.styled-select:focus {
    border-color: #007bff;
    outline: none;
}

.account-item-details .styled-input {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 1em;
    width: 180px;
}

#campaignsSettings,
#languageSettings {
    height: 0;
    padding: 0;
    opacity: 0;
    overflow: hidden;
    transition: height 0.5s ease, padding 0.5s ease, opacity 0.5s ease;
    /* Smooth transitions */
}

#campaignsSettings.open,
#languageSettings.open {
    height: auto;
    /* Let the element adjust height */
    padding: 15px 10px 18px 10px;
    /* Add padding */
    overflow: visible;
    opacity: 1;
    /* Fully visible */
}

.styled-input:focus {
    border-color: #007bff;
    outline: none;
}

/* Show the dropdown content */
.dropdown-checkbox.active .dropdown-checkbox-content {
    display: block;
}

/* Individual checkbox item */
.dropdown-checkbox-content label {
    display: flex;
    align-items: center;
    padding: 8px;
    cursor: pointer;
}

.dropdown-checkbox-content label input {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    min-width: 18px;
}

.my-account-dashboard-eshop-connected-accounts-details .account-item-details .dropdown-checkbox .dropdown-checkbox-content .save-unselected-feeds-button,
.save-unselected-feeds-button {
    color: #007bff;
    font-weight: 700;
    background-color: white;
    border: none;
    cursor: pointer;
    padding: 8px 15px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border-radius: 20px;
    /* Smooth transition for background and scale */
}

.my-account-dashboard-eshop-connected-accounts-details .account-item-details .dropdown-checkbox .dropdown-checkbox-content .save-unselected-feeds-button:hover,
.save-unselected-feeds-button:hover {
    background-color: rgb(227, 227, 227);
    transform: scale(1.05);
    /* Slight scaling effect on hover */
}

.save-unselected-feeds-button:active {
    background-color: rgb(206, 206, 206);
    transform: scale(0.95);
    /* Slight shrinking effect on click */
}

/* Base styles for the checkbox */
input[type="checkbox"] {
    appearance: none;
    width: 20px;
    height: 20px;
    background-color: white;
    border: 2px solid #bdbdbd;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
}

/* Add a checkmark when the checkbox is checked */
input[type="checkbox"]:checked {
    background-color: #3b71ca;
    border-color: #3b71ca;
}

/* Add the checkmark using the :after pseudo-element */
input[type="checkbox"]:checked::after {
    content: '✓';
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
}

/* Label styling for the checkbox */
label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
}

/* Space between checkbox and label text */
label span {
    margin-left: 10px;
}

/* The switch - the outer container */
.switch {
    position: relative;
    display: inline-block;
    width: 70px;
    height: 34px;
}

/* The slider inside the switch */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

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

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.slider.refresh:before {
    background-color: #e3f6fe;
}

.slider.title:before {
    background-color: #e2f0e2;
}

.slider.small:before {
    height: 16px;
    width: 16px;
}

input:checked+.slider {
    background-color: #0056b3;
}

input:checked+.slider:before {
    transform: translateX(26px);
}

/* Rounded switch */
.slider.round {
    border-radius: 34px;
}

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

/* -----------------------------------------------My Account Dashboard-------------------------------------------------- */

/* Style for the modal container */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1000;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
    padding-top: 60px;
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* -----------------------------------------------My Account Dashboard-------------------------------------------------- */

.shops-dropdown {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    align-items: center;
}

.shops-dropdown .select2-selection.select2-selection--single {
    display: flex;
    align-items: center;
}

.shops-dropdown .select2.select2-container.select2-container--default {
    height: 28px;
}

.addShopIcon {
    color: white;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 5px;
}

.addShopIcon.bi-trash3-fill {
    background-color: red;
}

.addShopIcon.bi-plus-circle {
    background-color: #00a6ff;
}

.addShopIcon.bi-trash3-fill:hover {
    background-color: rgb(216, 0, 0);
}

.addShopIcon.bi-plus-circle:hover {
    background-color: #0093e1;
}

.loading-spinner-run {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    margin-left: -10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-top: 2px solid #fff;
    animation: spin 1s linear infinite
}

.loading-spinner {
    display: none;
    width: 50px;
    height: 50px;
    border: 5px solid rgba(0, 0, 0, 0.1);
    /* Light gray border */
    border-top: 5px solid #3498db;
    /* Blue color for the top */
    border-radius: 50%;
    /* Make it circular */
    animation: spin 1s linear infinite;
    /* Spin animation */
    margin-top: 45px;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    20%,
    60% {
        transform: translateX(-5px);
    }

    40%,
    80% {
        transform: translateX(5px);
    }
}

.shake {
    animation: shake 0.2s;
}

.error {
    border: 1px solid red !important;
}

.connectAccount {
    cursor: pointer;
    border: 1px solid #E6E9EE;
    border-radius: 30px;
    background-color: white;
    color: #15223C;
    font-size: 23px;
    display: flex;
    padding: 15px 60px;
}

.connectAccount:hover {
    border-color: #007bff;
}

.selectAccount {
    cursor: pointer;
    border: 1px solid #E6E9EE;
    border-radius: 30px;
    background-color: #DAF4FF;
    color: #15223C;
    font-size: 23px;
    display: flex;
    padding: 15px 60px;
}

.selectAccount:hover {
    border-color: #007bff;
}

.get-started-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.get-started {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 650px;
    text-align: center;
}

.get-started #next_step {
    background-color: #0FB8ED;
    border: 0;
    padding: 10px 35px;
    border-radius: 10px !important;
    color: white;
    font-size: 18px;
    margin: 20px;
    margin-top: 45px;
    cursor: pointer;
}

.get-started #back_step {
    background-color: #AFAFAF;
    border: 0;
    padding: 10px 35px;
    border-radius: 10px !important;
    color: white;
    font-size: 18px;
    margin: 20px;
    margin-top: 45px;
    cursor: pointer;
}

.get-started #eshop_title {
    border: 1px solid #E6E9EE;
    border-radius: 10px;
    text-align: center;
    color: #15223C;
    font-size: 23px;
}

.get-started label {
    color: #15223C;
    font-size: 18px;
    margin: 10px;
}

.progress-bar-container {
    width: 100%;
    /* Full width of the container */
    height: 20px;
    /* Height of the progress bar */
    background-color: #FFFFFF;
    /* Light gray background for the empty part */
    border-radius: 10px;
    /* Rounded corners */
    overflow: hidden;
    /* Hide overflow for the rounded corners */
    border: 1px solid #E6E9EE;
    margin-bottom: 80px;
}

.progress-bar-fill {
    height: 100%;
    /* Fill the height of the container */
    width: var(--fill-percentage);
    /* Use CSS variable to set the fill percentage */
    background-color: #0FB8ED;
    /* Fill color, adjust to your preference */
    border-radius: 10px;
    transition: width 0.4s ease-in-out;
    /* Smooth transition for the fill change */
}

.my-account-dashboard {
    display: flex;
    flex-direction: column;
}

.my-account-dashboard-top {
    display: flex;
    flex-wrap: wrap;
}

.my-account-dashboard-bottom {
    display: flex;
    flex-wrap: wrap;
}

.my-account-dashboard-subscription {
    background-color: #81CF34;
    border-radius: 20px;
    display: flex;
    width: 33%;
    margin-right: 20px;
    padding: 20px;
    margin-bottom: 20px;
    flex: 1 1 fit-content;
}

.my-account-dashboard-subscription-left {
    display: flex;
    align-items: center;
    padding-right: 30px;
}

.my-account-dashboard-subscription-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.my-account-dashboard-subscription-right p {
    padding-bottom: 5px;
}

.my-account-dashboard-subscription-right div p:nth-child(1) {
    font-size: 16px;
    color: white;
}

.my-account-dashboard-subscription-right div p:nth-child(2) {
    font-size: 16px;
    color: #15223C;
    font-weight: 600;
}

.my-account-dashboard-subscription-right div p:nth-child(2) span {
    font-size: 28px;
    max-width: 200px;
    display: block;
}

.my-account-dashboard-subscription-right div p:nth-child(3) {
    font-size: 18px;
    color: white;
}

.my-account-dashboard-subscription-right p:nth-child(2) {
    font-size: 14px;
    color: white;
}

.my-account-dashboard-subscription-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 8px solid #15223C;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
}

.my-account-dashboard-subscription-progress {
    font-weight: 600;
    font-size: 26px;
}

.my-account-dashboard-google-accounts {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-between;
    background-color: white;
    border-radius: 20px;
    width: 33%;
    margin-right: 20px;
    padding: 20px;
    flex: 1 1 fit-content;
    margin-bottom: 20px;
}

.my-account-dashboard-google-accounts h5 {
    color: #0FB8ED;
    font-size: 16px !important;
    font-weight: bold !important;
}

#add-new-account {
    color: #FF4D00;
    cursor: pointer;
}

#add-new-account:hover {
    color: #de4200;
}

.my-account-dashboard-google-accounts-list {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.my-account-dashboard-google-accounts-list .account-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 10px 0;
}

.my-account-dashboard-google-accounts-list .account-item div {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
    color: #15223C;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.my-account-dashboard-google-accounts-list .account-item div span:last-child {
    width: 200px;
}

.my-account-dashboard-google-accounts-list .account-item div span {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    min-width: 25px;
}

.my-account-dashboard-google-accounts-list .account-item .disconnect-btn {
    background-color: transparent;
    border: 1px solid #1F2F53;
    color: #1F2F53;
    font-weight: 600;
    font-size: 14px;
    border-radius: 10px !important;
    padding: 7px 15px;
    cursor: pointer;
}

.my-account-dashboard-google-accounts-list .account-item .disconnect-btn:hover {
    background-color: #f2f2f2;
}

.my-account-dashboard-google-accounts-list .account-item .disconnect-btn:active {
    background-color: #d3d3d3;
}

.google-icon {
    background: url('https://img.icons8.com/color/25/000000/google-logo.png') no-repeat;
    display: inline-block;
    width: 25px;
    height: 25px;
    margin-right: 10px;
}

.my-account-dashboard-eshop {
    background-color: #0FB8ED;
    border-radius: 20px;
    display: flex;
    padding: 20px;
    flex: 1 1 fit-content;
    margin-bottom: 20px;
    margin-right: 20px;
}

.my-account-dashboard-eshop-left {
    display: flex;
    align-items: center;
    padding-right: 35px;
}

.my-account-dashboard-eshop-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.my-account-dashboard-eshop-right a button {
    background-color: #003469;
    border: 1px solid #003469;
    border-radius: 10px !important;
    padding: 10px 12px;
    color: white;
    cursor: pointer;
    font-size: 18px;
}

.my-account-dashboard-eshop-right p {
    padding-bottom: 0;
    color: white;
    font-size: 16px;
}

.my-account-dashboard-eshop-right .shop-name h3 {
    margin-bottom: 0;
    font-weight: 800;
    color: white;
    font-size: 26px;
    display: flex;
}

.my-account-dashboard-eshop-right .shop-name {
    display: flex;
    align-items: center;
    color: white;
    font-weight: 800;
    font-size: 15px;
}

.my-account-dashboard-eshop-right .change-name {
    display: none;
    font-size: 35px;
    align-items: center;
}

.change-name .bi.bi-check {
    cursor: pointer;
    color: #81CF34;
}

.change-name .bi.bi-x {
    cursor: pointer;
    color: red;
}

.my-account-dashboard-eshop-right .change-name input {
    background-color: transparent !important;
    border: none !important;
    color: white;
    font-size: 26px !important;
    font-weight: 800 !important;
    width: 60%;
    padding: 0 !important;
}

.shop-name .pencil-icon {
    opacity: 0;
}

.shop-name:hover .pencil-icon {
    opacity: 1;
}

.my-account-dashboard-eshop-right h3:nth-child(3) {
    margin-bottom: 33px !important;
    font-weight: 800;
    color: #15223C;
    font-size: 26px;
}

.my-account-dashboard-eshop-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 6px solid #fff;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 90px;
}

.my-account-dashboard-right-top {
    display: flex;
    min-width: 67.4%;
    flex-wrap: wrap;
    justify-content: space-between;
    flex: 1 1 fit-content;
}

.my-account-dashboard-eshop-connected-accounts {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    background-color: #E6E9EE;
    border-radius: 20px;
    flex: 1 1 fit-content;
    padding: 20px;
    margin-bottom: 20px;
    margin-right: 20px;
    min-width: 47%;
}

.my-account-dashboard-eshop-connected-accounts h5 {
    color: #1F2F53;
    font-size: 18px !important;
    font-weight: bold !important;
}

.my-account-dashboard-eshop-connected-accounts .connected-accounts-status {
    display: flex;
    width: 100%;
    justify-content: space-around;
}

.my-account-dashboard-eshop-connected-accounts .connected-accounts-status div {
    display: flex;
}

.my-account-dashboard-eshop-connected-accounts .connected-accounts-status div i.bi.bi-check2 {
    text-align: center;
    background-color: #62A71E;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    color: #E6E9EE;
    margin-left: 3px;
    transform: translateY(-10px);
}

.my-account-dashboard-eshop-connected-accounts .connected-accounts-status div i.bi.bi-x {
    text-align: center;
    background-color: #EE0D0D;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    color: #E6E9EE;
    margin-left: 3px;
    transform: translateY(-10px);
}

.bi::before,
[class*=" bi-"]::before,
[class^=bi-]::before {
    vertical-align: -.100em;
}

.my-account-dashboard-eshop-connected-accounts .connected-accounts-status img {
    width: 65px;
    height: 65px;
}

.grey-filter {
    filter: grayscale(100%);
}

.my-account-dashboard-eshop-connected-accounts-details {
    min-width: 66%;
    background-color: white;
    border-radius: 20px;
    padding: 20px;
    padding-top: 10px;
    margin-right: 20px;
    flex: 1 1 fit-content;
    margin-bottom: 20px;
}

.my-account-dashboard-eshop-connected-accounts-details .account-item-details {
    display: flex;
    align-items: center;
    padding: 0 10px;
    padding-bottom: 18px;
    padding-top: 15px;
    border-bottom: 1.5px solid #E6E9EE;
}

.my-account-dashboard-eshop-connected-accounts-details .account-item-details div {
    display: flex;
    flex-direction: column;
    width: 25%;
    color: #15223C;
    font-size: 14px;
}

.my-account-dashboard-eshop-connected-accounts-details .account-item-details div span:last-child {
    font-size: 16px;
    font-weight: bold;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    width: 200px;
}

.my-account-dashboard-eshop-connected-accounts-details .account-item-details img {
    height: 34px;
    margin-right: auto;
    margin-bottom: 0;
}

.my-account-dashboard-eshop-connected-accounts-details .account-item-details button {
    width: 110px;
    background-color: transparent;
    border: 1px solid #1F2F53;
    color: #1F2F53;
    font-weight: 600;
    font-size: 14px;
    border-radius: 10px !important;
    padding: 7px 0;
    margin: 0 10px;
    cursor: pointer;
}

.my-account-dashboard-eshop-connected-accounts-details .account-item-details button:hover {
    background-color: rgb(240, 240, 240);
}

.my-account-dashboard-eshop-connected-accounts-details .account-item-details button.connect-button {
    background-color: #0FB8ED;
    border: none;
    color: white;
}

.my-account-dashboard-eshop-connected-accounts-details .account-item-details button.connect-button:hover {
    background-color: #119fca;
}

/* -----------------------------------------------Product Performance-------------------------------------------------- */

body#header-outer .mobile-header li:not([class*="button_"])>a .menu-title-text:after,
#header-outer[data-lhe="animated_underline"]:not([data-format="left-header"]) nav>ul>li:not([class*="button_"])>a .menu-title-text:after,
body.material #slide-out-widget-area[class*="slide-out-from-right"] .off-canvas-menu-container li a:after,
body.material #slide-out-widget-area[class*="slide-out-from-right"] .off-canvas-menu-container .nectar-menu-item-with-icon .menu-title-text:after,
body#slide-out-widget-area.fullscreen-split .off-canvas-menu-container .nectar-menu-item-with-icon .menu-title-text:after,
body#header-secondary-outer[data-lhe="animated_underline"] nav>.sf-menu>li>a .menu-title-text:after,
#slide-out-widget-area.fullscreen-split .inner .off-canvas-menu-container li a:after,
#slide-out-widget-area.fullscreen-inline-images .inner .off-canvas-menu-container li a span:after {
    border-top-width: 0;
}

.col.span_9.col_last {
    margin-left: 0 !important;
    width: 100% !important;
}

.col.span_9.col_last nav {
    width: 100%;
    justify-content: end;
}

.col.span_9.col_last nav ul:first-child {
    margin-left: 10% !important;
}

.my-menu-item a {
    display: flex !important;
    align-items: center;
}

.my-menu-item a span,
.my-menu-item a i {
    color: #747474 !important;
    font-size: 16px;
}

.my-menu-item a i {
    font-size: 20px;
    margin-right: 8px;
    font-weight: bold;
}

.my-menu-item a:hover span,
.my-menu-item a:hover i {
    color: #0FB8ED !important;
}

.my-menu-item.current-menu-item a {
    border-radius: 8px;
    background-color: #E3F6FE;
    padding: 10px 18px !important;
}

.my-menu-item.current-menu-item a span,
.my-menu-item.current-menu-item a i {
    color: #0FB8ED !important;
}

/* Gradient state */
.gradient-active {
    background-color: #ededed;
    background: linear-gradient(130deg,
            rgba(255, 255, 255, 0) 40%,
            rgba(220, 220, 220, 0.5) 50%,
            rgba(255, 255, 255, 0) 60%) #ededed;
    background-size: 200% 100%;
    background-position-x: 150%;
    animation: 1s background-finish ease-in-out infinite;
}

@keyframes background-finish {
    to {
        background-position-x: -50%;
    }
}

.container-wrap {
    background-color: #F9F9F9;
    padding-bottom: 45px;
    position: relative;
    /* Ensure any child elements are positioned correctly */
    border-top: 4px solid transparent;
    /* Initial transparent border */
    overflow: hidden;
    /* Ensure the loading bar stays within the container */
}

.loading-bar {
    position: absolute;
    display: none;
    bottom: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0FB8ED, #8AEB2A, #0FB8ED);
    background-size: 200% 100%;
    animation: gradient-animation 2s linear infinite;
}

/* Define the keyframes for the gradient animation */
@keyframes gradient-animation {
    0% {
        background-position-x: 0%;
    }

    100% {
        background-position-x: -200%;
    }
}

.dt-button[title="Filter"],
.dt-button[title="Column Visibility"],
.dt-button[title="Options"],
.dt-button[title="Export Options"] {
    margin: 0 !important;
    border: 1px solid #E6E9EE !important;
    border-radius: 12px !important;
    background: none !important;
    background-color: white !important;
    color: #AFAFAF !important;
    font-size: 16px !important;
}

.dt-button[title="Export Options"] {
    overflow: visible !important;
}

.dt-button[title="Filter"] span,
.dt-button[title="Column Visibility"] span,
.dt-button[title="Options"] span {
    font-size: 16px;
}

div.dt-container .dt-paging button.dt-paging-button.first.disabled,
div.dt-container .dt-paging button.dt-paging-button.previous.disabled,
div.dt-container .dt-paging button.dt-paging-button.last.disabled,
div.dt-container .dt-paging button.dt-paging-button.next.disabled {
    color: #ABAFB3 !important;
}

div.dt-container .dt-paging button.dt-paging-button.first,
div.dt-container .dt-paging button.dt-paging-button.previous,
div.dt-container .dt-paging button.dt-paging-button.last,
div.dt-container .dt-paging button.dt-paging-button.next {
    color: rgba(0, 0, 0, 0.5) !important;
}

div.dt-container .dt-paging button.dt-paging-button.current {
    background: none !important;
    border: none !important;
    color: #0FB8ED !important;
    font-weight: bold;
    font-size: 16px;
}

div.dt-container .dt-paging button.dt-paging-button.current:hover {
    background: none !important;
    border: none !important;
    color: #0FB8ED !important;
    font-weight: bold;
}

div.dt-container .dt-paging button.dt-paging-button {
    background: none !important;
    border: none !important;
    color: #ABAFB3 !important;
    font-weight: 400;
    font-size: 16px;
}

div.dt-container .dt-paging button.dt-paging-button:hover {
    background: none !important;
    border: none !important;
    color: #0FB8ED !important;
    font-weight: bold;
    box-shadow: none !important;
}

div.dt-container .dt-paging button.dt-paging-button:focus {
    box-shadow: none !important;
}

.dt-buttons .dt-button.buttons-collection .dt-button-down-arrow {
    display: none;
}

.table-top-part .custom-header h4 {
    margin: 0;
    color: #15223C !important;
}

.table-top-part .custom-header h4 {
    margin: 0;
}

.table-top-part {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.table-bottom-part {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 18px;
}

.table-bottom-part .dt-info {
    color: #464A53;
    font-size: 15px;
}

.dt-length {
    display: flex;
    align-items: center;
}

.dt-search {
    display: flex;
    align-items: center;
    border: 1px solid #E6E9EE;
    border-radius: 12px;
    padding: 5px 15px;
}

.dt-search label {
    color: #AFAFAF;
}

.dt-search input {
    border: none !important;
}

#tableData thead th {
    text-align: center;
    background-color: #B5B5B5;
    color: white;
    border: none;
    font-size: 16px;
    border: 0;
}

#tableData thead th span {
    color: white;
    white-space: nowrap;
    display: flex;
    flex-direction: row;
    gap: 5px;
}

#tableData tfoot th {
    text-align: center;
    background-color: #f6f6f6;
    color: #747474;
    border: none;
    font-size: 16px;
    border: 0;
    white-space: nowrap;
}

#tableData thead th span {
    color: white;
}

#tableData {
    border-top: none;
}

#tableData td {
    border: 0;
}


#tableData thead tr th:first-child {
    border-top-left-radius: 15px;
}

#tableData thead tr th:last-child {
    border-top-right-radius: 15px;
}

#tableData tbody td {
    text-align: center;
    vertical-align: middle;
    color: #747474;
    font-size: 16px;
}

body:not(.woocommerce-cart) .main-content table {
    border-collapse: unset;
}

/* -----------------------------------------------New CSS-------------------------------------------------- */

.loader {
    background-color: #ededed;
    height: 18px;
    border-radius: 7px;
    width: 100%;
    margin: 16px 0;
}

td .loader {
    background-color: #ededed;
    background: linear-gradient(100deg,
            rgba(255, 255, 255, 0) 40%,
            rgba(255, 255, 255, .5) 50%,
            rgba(255, 255, 255, 0) 60%) #ededed;
    background-size: 200% 100%;
    background-position-x: 180%;
    animation: 1s loading-table-data ease-in-out infinite;
}

@keyframes loading-table-data {
    to {
        background-position-x: -30%;
    }
}

.segmentation-settings {
    display: flex;
    justify-content: space-around;
    background-color: white;
    border: 1px solid #E6E9EE;
    border-radius: 12px;
    height: 0;
    max-height: 0;
    /* Transition between 0 and this value */
    overflow: hidden;
    opacity: 0;
    transition: max-height 1s ease, opacity 1s ease, padding 1s ease, margin-bottom 1s ease;
}

.segmentation-variables {
    width: 60%;
    margin: 15px 0;
}

.segmentation-variables .variables {
    display: flex;
    justify-content: flex-start;
}

.segmentation-input {
    display: flex;
    border: 1px solid #E6E9EE;
    border-radius: 12px;
    height: 55px;
    align-items: center;
    padding: 10px 20px;
}

.segmentation-input-form {
    color: #747474;
    margin-left: 15px;
}

.segmentation-input i {
    font-size: 26px;
    color: #AFAFAF;
    margin-top: auto;
}

.segmentation-input input[type=number] {
    border: 0 !important;
    text-align: end;
    padding-right: 1px;
}

.segmentation-input input[type="number"] {
    -moz-appearance: textfield;
    /* Firefox */
}

.segmentation-input input[type="number"]::-webkit-inner-spin-button,
.segmentation-input input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    /* Remove default spinner appearance */
    margin: 0;
}

.xml-input {
    display: flex;
    border: 1px solid #E6E9EE;
    border-radius: 12px;
    height: 55px;
    align-items: center;
    padding: 10px 20px;
}

.xml-input-form select {
    border: 1px solid #E6E9EE !important;
    border-radius: 12px !important;
    text-align: center;
    height: 55px;
    align-items: center;
    padding: 10px 20px;
}

.xml-input-form {
    color: #747474;
    margin: 20px 0;
}

.xml-input i {
    font-size: 26px;
    color: #AFAFAF;
    margin-top: auto;
}

.xml-input input[type=text] {
    border: 0 !important;
    padding-right: 1px;
}

.xml-input input[type="text"] {
    -moz-appearance: textfield;
    /* Firefox */
}

.xml-input input[type="text"]::-webkit-inner-spin-button,
.xml-input input[type="text"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    /* Remove default spinner appearance */
    margin: 0;
}

/* Style for the main container of each file */
.file-container {
    width: 100%;
    padding: 10px 40px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}

/* Style for the file link and cron status container */
.xml-name-div {
    display: flex;
    justify-content: space-between;
}

/* Style for the settings icon */
.settings-icon {
    font-size: 22px;
}

/* Style for the dropdown content container */
.xml-settings-div {
    height: auto;
    overflow: hidden;
    border-bottom: 1px solid #c7c7c7;
    display: flex;
    margin-top: 10px;
    transition: height 0.3s linear;
}

/* Style for the dropdown inner content */
.dropdown-content {
    height: auto;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0 40px;
    padding-bottom: 10px;
}

/* Style for each section inside the dropdown */
.dropdown-section {
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    flex-direction: column;
}

.dropdown-section-header {
    display: flex;
    justify-content: space-between;
    padding: 20px 15px;
    cursor: pointer;
}

/* Hover effect for sections */
.dropdown-section-header:hover {
    background-color: #f0f0f0;
    /* Optional: Add a hover color */
}

.refresh-data-button {
    background-color: #3566b6;
    color: white;
    width: 27px;
    height: 27px;
    text-align: center;
    border-radius: 5px;
    align-content: center;
    margin-left: 10px;
    cursor: pointer;
}

.refresh-data-button:hover {
    background-color: #315ea6;
}

.refresh-data-button:active {
    background-color: #274b85;
}

.apply-settings-btn.disabled,
.reset-settings-btn.disabled {
    pointer-events: none;
    /* Prevent click events */
    opacity: 0.6;
    /* Visually indicate it's disabled */
    cursor: not-allowed;
    /* Change cursor to indicate disabled */
}

.segments-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.segments-tab {
    text-align: center;
    border-radius: 0.25rem;
    color: #0FB8ED;
    background-color: white;
    padding: 3px 12px;
    font-size: 15px;
    font-weight: 400;
    cursor: pointer;
    box-shadow: 0px 0px 2px 1px #00000026;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.segments-tab.active {
    background-color: #0FB8ED;
    color: white;
}


.apply-settings-btn {
    background-color: #1F2F53;
    text-align: center;
    display: block;
    border-radius: 15px;
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 600;
    padding: 10px 40px;
    cursor: pointer;
}

.apply-settings-btn:hover {
    background-color: #1b263f;
}

.reset-settings-btn {
    text-align: center;
    display: block;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    background-color: #FF8800;
    color: white;
    border-radius: 15px;
    padding: 10px 40px;
    transition: background-color 0.2s ease;
}

.reset-settings-btn:active {
    background-color: #d67302;
}

.slide-panel-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.slide-panel-footer label {
    font-size: 16px;
    font-weight: 600;
    color: #747474;
    width: 40%;
}

.slide-panel {
    position: fixed;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    top: 0;
    right: -450px;
    width: 450px;
    max-width: 100%;
    height: 100%;
    background-color: white;
    transition: right 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
}

.slide-panel.open {
    right: 0;
    /* Slide in from the right */
}

.info-message-overlay {
    position: absolute;
    display: none;
    justify-content: center;
    width: 100%;
    height: 100%;
    z-index: 100;
    background: rgba(0, 0, 0, 0.1);
}

.xml-list-overlay {
    padding-top: 100px;
    position: absolute;
    display: flex;
    justify-content: center;
    width: 100%;
    height: 100%;
    z-index: 99;
    background: rgba(0, 0, 0, 0.2);
    /* Ensure it is below the panel but above other elements */
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 99;
    /* Ensure it is below the panel but above other elements */
    display: none;
    /* Hidden by default */
}

.overlay.show {
    display: block;
    /* Show when active */
}

.products-btn {
    background-color: #1F2F53;
    border-radius: 15px;
    color: #FFFFFF;
    font-size: 18px;
    padding: 10px 40px;
    cursor: pointer;
}

.products-btn:hover {
    background-color: #1b263f;
    color: #FFFFFF;
}

.top-product-tables {
    display: flex;
    justify-content: space-between;
    white-space: nowrap;
}

.top-product-tables table {
    border-top: 0 !important;
}

.top-product-tables th {
    background-color: white;
    border-width: 0 !important;
    font-size: 16px !important;
    color: rgba(0, 0, 0, 0.7);
}

.top-product-tables td {
    background-color: white;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    border-width: 0 !important;
    border-top: 1.3px solid #E6E9EE !important;
    font-size: 16px !important;
    vertical-align: middle;
    color: rgba(0, 0, 0, 0.7);
}

.top-product-tables tr th:nth-child(4),
.top-product-tables tr th:nth-child(5),
.top-product-tables tr th:nth-child(6),
.top-product-tables tr td:nth-child(4),
.top-product-tables tr td:nth-child(5),
.top-product-tables tr td:nth-child(6) {
    text-align: center;
}

.top-product-tables tr td:nth-child(2) {
    display: flex;
}

.stats-widget.top-performing-products tr th:nth-child(4) {
    background-color: rgba(227, 246, 254, 0.53);
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.stats-widget.top-performing-products tr td:nth-child(4) {
    background-color: rgba(227, 246, 254, 0.53);
    font-weight: 700;
}

.stats-widget.top-performing-products tr:last-child td:nth-child(4) {
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.stats-widget.top-traffic-products tr th:nth-child(5) {
    background-color: rgba(227, 246, 254, 0.53);
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.stats-widget.top-traffic-products tr td:nth-child(5) {
    background-color: rgba(227, 246, 254, 0.53);
    font-weight: 700;
}

.stats-widget.top-traffic-products tr:last-child td:nth-child(5) {
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.top-product-tables img {
    height: 50px;
    width: 50px;
    min-width: 50px;
    object-fit: cover;
    border-radius: 4px;
}

.top-performing-products,
.top-traffic-products {
    overflow-x: auto;
    width: 49.5%;
}

.top-performing-products,
.top-traffic-products h4 {
    color: #15223C;
}

.chart-container {
    display: flex;
}

.line-chart {
    width: 49.5%;
    min-height: 350px;
}

.inner-chart-container {
    display: flex;
    width: 50.5%;
}

.categories {
    display: flex;
    flex-direction: column;
    border-left: 1.5px solid #E6E9EE;
    margin-bottom: 15px;
    height: 300px;
    overflow: auto;

    /* Optional: To make the scrollbar appear when hovering */
    scrollbar-width: thin;
    /* Firefox */
    scrollbar-color: #888 #E6E9EE;
    /* Firefox */
}

/* Webkit browsers (Chrome, Safari, Edge) */
.categories::-webkit-scrollbar {
    width: 8px;
    /* width of the scrollbar */
}

.categories::-webkit-scrollbar-track {
    background-color: #E6E9EE;
    /* track color */
    border-radius: 10px;
    /* rounded corners for track */
}

.categories::-webkit-scrollbar-thumb {
    background-color: #888;
    /* thumb color */
    border-radius: 10px;
    /* rounded corners for thumb */
    border: 2px solid #E6E9EE;
    /* adds some spacing between thumb and track */
}

.categories::-webkit-scrollbar-thumb:hover {
    background-color: #555;
    /* darker thumb on hover */
}

.categories-container {
    width: 50%;
    height: min-content;
}

@media (max-width: 1600px) {
    .top-product-tables {
        flex-direction: column;
    }

    .top-performing-products {
        width: 100%;
        margin-bottom: 1%;
    }

    .top-traffic-products {
        width: 100%;
    }
}

@media (max-width: 1440px) {
    .chart-container {
        flex-direction: column;
    }

    .line-chart {
        width: 100%;
    }

    .inner-chart-container {
        margin-top: 1%;
        width: 100%;
    }

    .products-count {
        width: 35% !important;
        margin: 0 !important;
        margin-right: 1.5% !important;
    }
}

@media (max-width: 1150px) {
    #overall .stats-widget {
        width: 32.6% !important;
    }

    #overall .stats-widget:nth-child(4) {
        width: 49.5% !important;
        margin-left: 0 !important;
        margin-top: 0 !important;
    }

    #overall .stats-widget:nth-child(5) {
        width: 49.5% !important;
        margin-top: 0 !important;
    }
}

@media (max-width: 900px) {
    .inner-chart-container {
        flex-direction: column;
    }

    .products-count {
        width: 100% !important;
    }

    .stats-widget.total:nth-child(2) {
        margin: 1% 0 !important;
    }

    .segments-analysis {
        width: 100% !important;
        margin-top: 1% !important;
    }

    #overall .stats-widget {
        width: 49.5% !important;
    }

    #overall .stats-widget:nth-child(2) {
        width: 49.5% !important;
        margin-right: 0 !important;
    }

    #overall .stats-widget:nth-child(4) {
        width: 49.5% !important;
        margin-right: 0 !important;
        margin-left: 1% !important;
    }

    #overall .stats-widget:nth-child(5) {
        width: 100% !important;
    }
}

@media (max-width: 550px) {
    #overall .stats-widget {
        width: 100% !important;
    }

    #overall .stats-widget:nth-child(2) {
        width: 100% !important;
        margin-left: 0 !important;
    }

    #overall .stats-widget:nth-child(4) {
        width: 100% !important;
        margin-left: 0 !important;
    }
}

.segments-analysis {
    width: 66%;
    height: auto;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding-bottom: 0 !important;
    gap: 10px;
}

.segments-analysis h4 {
    display: flex;
    justify-content: center;
    gap: 10px;
    color: #15223C;
}

.segments-analysis h5 {
    text-align: center;
    font-size: 18px;
    color: #0FB8ED;
    margin-bottom: 25px;
}


.pie-chart-container {
    display: flex;
}

.pie-chart {
    width: 50%;
}

#myDoughnutChart {
    transform: translatex(-10px);
}

.apexcharts-legend {
    justify-content: center !important;
}

.products-count {
    width: 30%;
    display: flex;
    flex-direction: column;
    margin: 0 2%;
    min-height: 450px;
}

.products-count .total {
    display: flex;
    align-items: flex-end;
    padding: 30px 25px;
}

.products-count .total h5 {
    font-size: 16px;
    line-height: normal;
    color: #AFAFAF;
}

.products-count .total img {
    width: 50px;
    height: 50px;
    min-height: 50px;
    margin-right: 20px;
}

.products-count .total div span:first-child {
    font-size: 28px;
    color: #15223C;
    font-weight: 600;
}

.products-count .total div span {
    font-size: 16px;
    color: #AFAFAF;
}

#overall {
    display: flex;
    flex-wrap: wrap;
}

#overall .stats-widget {
    padding: 10px;
    padding-left: 40px;
    width: 19.2%;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-left-color: #0FB8ED;
    border-left-width: 7px;
}

#overall .stats-widget h3 {
    font-size: 16px;
    color: #AFAFAF;
}

#overall .stats-widget span {
    font-size: 28px;
    color: #15223C;
    font-weight: 600;
}

.stats-widget {
    background-color: white;
    border: 1px solid #E6E9EE;
    border-radius: 12px;
    padding: 25px;
}

#segmentsButton.settings-button,
#xmlButton.settings-button {
    border-radius: 10px !important;
    border: 1px solid #E6E9EE;
    background-color: #FFFFFF;
    color: #747474;
    font-size: 18px;
    font-weight: 600;
    padding: 4px 12px;
    margin: 3px 0;
    margin-left: 14px;
    cursor: pointer;
}

#shops_dropdown {
    border: 1.5px solid #0FB8ED;
    border-radius: 10px;
    width: auto;
    max-width: 200px;
    height: 40px;
    color: #747474;
    font-size: 16px;
    font-weight: 700;
    padding: 1px 20px;
    cursor: pointer;
}

.top-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 10px 0;
}

.top-container .elements {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

#datepicker {
    display: flex;
    align-items: center;
    margin: 10px 0;
    flex-wrap: wrap;
}

.date-label {
    border-radius: 10px;
    background-color: #ECECEC;
    padding: 2px 8px;
    color: #747474;
}

body {
    font-family: 'Open Sans', sans-serif;
}

/* -------------------------------------------------End---------------------------------------------------- */


.delete-btn {
    margin-left: 10px;
    cursor: pointer;
}

.delete-btn:hover {
    color: red;
    /* Optional: Change color on hover to indicate it's clickable */
}

/* The Modal (background) */
.modal {
    display: none;
    /* Hidden by default */
    position: absolute;
    /* Stay in place */
    z-index: 3;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 50%;
    /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.popup-message {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: red;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 18px;
    z-index: 1000;
}

.tab-button {
    cursor: pointer;
    padding: 10px 20px;
    border: 1px solid black;
    border-bottom: none;
    background-color: white;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    display: inline-block;
    z-index: 0;
}

.tab-button:first-child {
    margin-left: 30px
}

.tab-button.active {
    transform: translateY(1px);
}

.table-wrapper {
    padding: 18px;
    position: relative;
}

.table-wrapper .loading-overlay {
    transform: translate(-20px, -20px);
    display: flex;
}

.loading-overlay {
    background-color: rgba(0, 0, 0, 0.5);
    /* Adjusted opacity and color for general use */
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 10;
    display: none;
    justify-content: center;
    align-items: center;
}

.loading-circle {
    border: 8px solid rgba(243, 243, 243, 0.3);
    border-top: 8px solid #a8a8a8;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* General dropdown container */
.dropdowns {
    position: absolute;
    overflow: hidden;
    overflow-y: auto;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* Main dropdown */
.dropdown {
    display: none;
    position: absolute;
    background-color: #fff;
    width: 300px;
    height: 400px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    z-index: 1;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Path display styling */
.path-display {
    padding: 10px 15px;
    background-color: #f5f5f5;
    border-bottom: 1px solid #ddd;
    font-size: 14px;
    color: #333;
    display: flex;
    flex-wrap: wrap;
}

.path-display span {
    cursor: pointer;
    text-decoration: underline;
    color: #007bff;
    margin-right: 8px;
    white-space: nowrap;
}

/* Account link styling */
.dropdown .account-link,
.new-dropdown .account-link {
    color: #333;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 12px 16px;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.dropdown .account-link:hover,
.new-dropdown .account-link:hover {
    background-color: #f1f1f1;
}

/* Arrow icon styling */
.arrow {
    height: 100%;
    width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    transition: color 0.2s ease;
}

.arrow:hover {
    color: #007bff;
}

/* New dropdown styling */
.new-dropdown {
    position: absolute;
    background-color: #fff;
    width: 300px;
    height: 400px;
    overflow: auto;
    z-index: 3;
    display: none;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Search input styling */
#search-input {
    width: calc(100% - 32px);
    margin: 8px 16px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

#search-input:focus {
    border-color: #007bff;
    outline: none;
}

/* No accounts message */
.no-accounts {
    padding: 12px 16px;
    font-size: 14px;
    color: #999;
}

.large-image-preview {
    position: absolute;
    display: none;
    border: 1px solid #ccc;
    background: white;
    padding: 5px;
    z-index: 1000;
    border-radius: 5px;
}

.large-image-preview img {
    max-width: 200px;
    /* Adjust the size as needed */
    max-height: 200px;
}

/* Set the height for each row */
#tableData tbody tr td {
    height: 50px;
    white-space: nowrap;
    overflow: hidden;
    max-width: 180px;
    text-overflow: ellipsis;
}

.tooltip {
    display: none;
    position: absolute;
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-width: 300px;
    white-space: normal;
    border-radius: 5px;
    /* Allow wrapping inside tooltip */
}

/* Container to ensure the image fits within the specified height */
.image-container {
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* Image styling to ensure it fits within the container */
.square-image {
    width: 70px;
    height: 70px !important;
    object-fit: cover;
}

div.dt-container div.dt-layout-row:first-child {
    display: flex !important;
    justify-content: space-between !important;
}

.saved-shop {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
    background-color: #f9f9f9;
}

.saved-shop h4 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 8px;
}

.saved-shop p {
    margin: 4px 0;
}

.saved-shop .delete-shop {
    display: inline-block;
    margin-top: 8px;
    padding: 8px 16px;
    background-color: #ff4c4c;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
}

.saved-shop .delete-shop:hover {
    background-color: #ff1f1f;
}


#merchantButtonSelect,
#adsButtonSelect {
    cursor: pointer;
    display: inline-block;
    padding: 8px 16px;
    margin: 10px;
    background-color: #007bff;
    color: #fff;
    border-radius: 5px;
    text-align: center;
}

.select-account-container {
    display: flex;
    align-items: center;
    margin: 15px 0;
    flex-wrap: wrap;
    justify-content: center;
}

.shops {
    width: 1200px;
}

.stepButtons {
    display: none;
    border-top: 1px solid #ccc;
    justify-content: flex-end;
    padding: 10px;
    width: 100%;
}

.step-button {
    padding: 12px 24px;
    background-color: #007bff;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.step-button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

.step-button:active {
    background-color: #004085;
    transform: translateY(0);
}

.newShop {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 50px 0;
}

.steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 400px;
    width: 60%;
    flex-direction: column;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}

.steps-container {
    display: flex;
    align-items: center;
    height: 100%;
}

.step {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100%;
}

.step.active {
    display: flex;
    opacity: 1;
    transform: translateX(0);
}

.step-next {
    transform: translateX(100%);
}

.step-prev {
    transform: translateX(-100%);
}

.createShop {
    display: inline-block;
    padding: 12px 24px;
    margin: 10px;
    background-color: #007bff;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.createShop:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

.createShop:active {
    background-color: #004085;
    transform: translateY(0);
}


.input {
    margin-bottom: 10px;
}

.input-wrapper {
    position: relative;
}

.input-wrapper .form-control {
    padding-right: 25px;
    /* Adjust padding to prevent overlap */
}

.input-addon {
    position: absolute;
    top: 45%;
    right: 10px;
    /* Adjust as necessary */
    transform: translateY(-50%);
    pointer-events: none;
    /* Ensure it doesn't block input clicks */
    color: #000;
    /* Adjust color as needed */
}

#calendar {
    position: relative;
}

#calendar .calendar-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

#calendar input[type="text"] {
    width: 100%;
    padding-right: 35px;
    /* Add space for the calendar icon */
}

.select-options select {
    width: 100%;
}

.btn-primary {
    background-color: #007bff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    color: white;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.btn-default {
    background-color: #007bff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    color: white;
    transition: background-color 0.3s;
}

.btn-default:hover {
    background-color: #0056b3;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    margin-bottom: 10px;
    font-size: 14px;
}

.form-control:focus {
    border-color: #80bdff;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.25);
}


#tableData tbody tr td {
    line-height: 0;
}

.side-content {
    margin: 10px 0px 100px 100px;
    width: 100%;
    max-width: 300px;
}

.category {
    display: flex;
    align-items: center;
    padding: 6px;
    margin-left: 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.category:hover {
    background-color: #f0f0f0;
}

.color-circle {
    width: 15px;
    min-width: 15px;
    height: 15px;
    border-radius: 50%;
    margin: 5px;
}

.category .title {
    white-space: nowrap;
    font-size: 13px;
    font-weight: bold;
    color: #000000;
}

.category .percentage {
    width: 100%;
    text-align: end;
    color: #15223C;
    font-size: 12px;
}

.category .total {
    font-size: 13px;
    color: #B5B5B5;
}

.color-circle.high {
    background-color: #81CF34;
    /* Bright green for high */
}

.color-circle.medium {
    background-color: #FFDD00;
    /* Yellow for medium */
}

.color-circle.low {
    background-color: #FF8800;
    /* Bright orange for low */
}

.color-circle.ga {
    background-color: #ff5e00;
    /* Red-orange for ga */
}

.color-circle.limited-high {
    background-color: #A0E060;
    /* Lighter, softer green for limited-high */
}

.color-circle.limited-low {
    background-color: #FFAA66;
    /* Softer orange for limited-low */
}

.color-circle.limited {
    background-color: #AFAFAF;
    /* Base gray for limited */
}

.color-circle.zero {
    background-color: #747474;
    /* Dark gray for zero */
}

.color-circle.zero-high {
    background-color: #9BCC6A;
    /* Grayish green for zero-high */
}

.color-circle.zero-low {
    background-color: #FF9966;
    /* Grayish orange for zero-low */
}

.main-content {
    width: 100%;
}

body[data-fancy-form-rcs="1"] .fancy-select-wrap {
    padding-top: 0;
}

body:not(.woocommerce-cart) .main-content table {
    margin: 0;
}

.daterangepicker {
    transform: translateY(-30px);
}

#account_selects_container span {
    margin-top: 0 !important;
}

#account_selects_container span {
    margin-top: 4px;
}

#overall h3 {
    margin: 0;
    padding-top: 0;
    font-size: 16px;
    color: #666;
}

#overall p {
    margin: 5px 0 0;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    padding-bottom: 0;
}

.connections {
    display: flex;
    flex-direction: column;
    margin: auto;
}

.connections .auth-button {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 400px;
    padding: 10px;
    margin: 10px 0;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease;
    font-family: Arial, sans-serif;
    border: 1px solid #ddd;
}

.connections .google-login-link {
    background-color: #fff;
    color: #555;
    border-color: #ddd;
    margin: 6px;
}

.connections .google-login-link .auth-icon {
    background: url('https://img.icons8.com/color/16/000000/google-logo.png') no-repeat;
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 10px;
}

.connections .facebook-login-link {
    background-color: #3b5998;
}

.connections .facebook-login-link .auth-icon {
    background: url('https://img.icons8.com/ios-filled/16/ffffff/facebook-new.png') no-repeat;
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 10px;
}

.connections .auth-button:hover {
    opacity: 0.9;
}

.disconnect {
    position: relative;
}

.disconnect::after {
    content: 'Disconnect';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #eb2727;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    border-radius: 5px;
    /* Ensure it matches the button's border-radius */
}

.disconnect:hover::after {
    opacity: 1;
}

.disconnect:hover {
    color: transparent;
    /* Hide original text */
    background-color: transparent;
    /* Hide original background */
}