.tab {
    overflow: hidden;
}

.button-table {
    background: #4c4ABA;
    border-radius: 999px;
    box-shadow: #5E5DF0 0 10px 20px -10px;
    color: #FFFFFF;
    cursor: pointer;
    display: block; /* Makes the button a block element, allowing it to expand in width */
    font-family: Inter, Helvetica, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Noto Color Emoji", "Segoe UI Symbol", "Android Emoji", EmojiSymbols, -apple-system, system-ui, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px; /* This height should align with your max-height if needed */
    max-height: 32px; /* Restricting the height */
    padding: 0 18px; /* Horizontal padding */
    text-align: center; /* Centers text within the button */
    word-break: keep-all; /* Prevents words from breaking at line ends */
    border: none;
    margin: auto; /* Centering the button if it's alone in a block */
    vertical-align: middle; /* Aligns the button vertically if inline-block */
    box-sizing: border-box; /* Includes padding and border in the width */
}

.button-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    overflow-x: auto;
}

.button-table {
    margin-right: 8px;
    white-space: nowrap;
}

.popup-content {
    position: absolute;
    background-color: #FFF;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 5px;
    z-index: 1000;
    display: none;
}

.toggle-button {
    margin-right: 0;
}

.button-34 {
    background: #4c4ABA;
    border-radius: 999px;
    box-shadow: #5E5DF0 0 10px 20px -10px;
    box-sizing: border-box;
    color: #FFFFFF;
    cursor: pointer;
    font-family: Inter,Helvetica,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Noto Color Emoji","Segoe UI Symbol","Android Emoji",EmojiSymbols,-apple-system,system-ui,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans",sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    opacity: 1;
    outline: 0 solid transparent;
    padding: 8px 18px;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    width: fit-content;
    word-break: break-word;
    border: 0;
}

.button-31 {
    background-color: #d3d3d3;
    border-radius: 4px;
    border-style: none;
    box-sizing: border-box;
    color: #000000;
    cursor: pointer;
    display: inline-block;
    font-family: "Farfetch Basis","Helvetica Neue",Arial,sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0;
    max-width: none;
    min-height: 44px;
    min-width: 10px;
    outline: none;
    overflow: hidden;
    padding: 9px 20px 8px;
    position: relative;
    text-align: center;
    text-transform: none;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    width: 100%;
}

    .button-31:hover,
    .button-31:focus {
        opacity: .75;
    }

.purple_table {
    font-family: Arial, Helvetica, sans-serif;
    border-collapse: collapse;
    width: 100%;
}

    .purple_table td, .purple_table th {
        border: 1px solid #ddd;
        padding: 8px;
        /*background-color: #CCCCCC;*/
    }

    .purple_table tr:nth-child(even) {
        background-color: #f2f2f2;
    }

tr:nth-child(odd) {
    background-color: #e6e4e4;
}

.purple_table tr:hover > td, .table-hover > tbody > tr:hover > th {
    background-color: #FFFFFF;
}

.purple_table th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: left;
    background-color: #4C4ABA;
    color: white;
}

/*Style for the tabs*/
.tab :nth-child(n) {
    background-color: #d3d3d3;
    border: 2px solid #000000;
    border-color: #858585;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    border-radius: 15px;
    font-weight: 600;
}

.center {
    text-align: center;
    display: inline;
}
/*Style for the odd tabs, to give it an alternating background color*/
.tab :nth-child(odd) {
    background-color: #c2c2c2;
}

/* Change background color of buttons on hover */
.tab button:hover {
    background-color: #b9b8ca;
}

/* Create an active/current tablink class */
.tab button.active {
    background-color: #FFFFFF;
}

/* Style the tab content */
.tabcontent {
    display: none;
    padding: 6px 0px;
    border-top: none;
}

.collapsible {
    background-color: #777;
    color: white;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
}

    .active, .collapsible:hover {
        background-color: #555;
    }

.content {
    padding: 0 18px;
    display: none;
    overflow: hidden;
    background-color: #f1f1f1;
}

.Form {
    position: relative;
    text-align: center;
    width: 100%;
}

.FormPopup {
    display: none;
    position: fixed;
    left: 45%;
    top: 25%;
    transform: translate(-50%, -25%);
    border: 10px solid #FCC00B;
    background-color: #FCC00B;
    z-index: 9;
}

.table_field.highlight {
    background-color: #fcc;
}

body {
    margin: 0 auto;
    font-family: Tahoma, Verdana, Arial, sans-serif;
    background-color: #FCF3EC;
}



#notifications {
    position: absolute;
    top: 80px;
    right: 20px;
    display: none;
    background-color: white;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

#notifications li {
    list-style-type: none;
    padding: 12px 16px;
    text-align: center;
}

#notifications-button {
    position: relative;
}

#notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: red;
    color: white;
    font-size: 12px;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
}


#notifications li:hover {
    background-color: #f1f1f1;
}


#menu {
    position: absolute;
    top: 50px;
    right: 20px;
    display: none;
    background-color: white;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

#menu li {
    list-style-type: none;
    padding: 12px 16px;
    text-align: center;
}

#menu li:hover {
    background-color: #f1f1f1;
}

#notifications-button {
    position: absolute;
    top: 40px;
    right: 120px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

#notifications-button img {
    display: block;
}
#menu-button {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    padding: 12px 16px;
    cursor: pointer;
}

    #menu-button:hover {
        background-color: #4c4ABA;
    }
.notification-panel {
    position: absolute;
    left: 0%;
    top: 110%;
    transform: translate(-0%, 0%);
    width: 300px;
    background-color: #fff;
    box-shadow: 0px 0px 10px #ccc;
    border-radius: 5px;
    padding: 20px;
}

.notification-panel-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.notification-panel-header h3 {
    margin: 0;
}

.notification-panel-extra-html {
    margin: 0;
    border-bottom-color: black;
    align-items: center;
    left:100px;
}

.arrow {
    display: block;
    margin-left: 10px;
    border: solid black;
    border-width: 0 3px 3px 0;
    padding: 3px;
    vertical-align: middle;
    cursor: pointer;
}
.ascending {
    transform: rotate(135deg);
    -webkit-transform: rotate(225deg);
    border-bottom-color: black;
}

.descending {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    border-top-color: black;
}
/* Style the form container */
#TransitionForm {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.form_row {
    display: flex;
    padding: 0.1rem;
}
.form_label {
    width: 200px;
}

/* Style the form fields */
.form_input_field {
    margin-left: auto;
}

/* Style the select element */
select {
    width: 100%;
    padding: 0;
    margin: 0;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6.2 9.2l5.3 5.3c.4.4 1 .4 1.4 0l5.3-5.3c.4-.4.4-1 0-1.4s-1-.4-1.4 0l-4.6 4.6-4.6-4.6c-.4-.4-1-.4-1.4 0s-.4 1 0 1.4z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 0.7rem top 50%;
}

/* Style the submit button */
#transition_form_ok,
.disapprove-btn {
    background-color: #0077cc;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

    #transition_form_ok:hover {
        background-color: #005faa;
    }

/* Style the cancel button */
.cancel {
    background-color: #ccc;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

    .cancel:hover {
        background-color: #999;
    }

#barChart {
    background-color: #f0f0f0; /* Light gray as an example */
}

.date-range-picker {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 20px;
}

    .date-range-picker label,
    .date-range-picker input {
        margin-right: 10px;
    }

.selected-row {
    background-color: #a0a0a0; /* Dark grey color */
}

.d-flex {
    width: 100%;
}

.form-control {
    flex-grow: 1;
}

.popup-item {
    margin-bottom: 10px;
}

    .popup-item:last-child {
        margin-bottom: 0;
    }

.hidden {
    display: none;
}

.visible {
    display: block;
}

.popup-content {
    position: absolute;
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border: 3px solid #ccc;
    box-shadow: 0 40px 8px rgba(0,0,0,0.1);
    z-index: 100;
    right: 0;
    width: auto;
    border-radius: 10px;
    padding: 5px;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.popup-content.visible {
    opacity: 1;
    visibility: visible;
}

.popup-content .popup-item {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #333;
}

.popup-content .popup-item:last-child {
    margin-bottom: 0;
}

.purple_table {
    font-family: Arial, Helvetica, sans-serif;
    border-collapse: collapse;
    width: 100%;
}

.purple_table td, .purple_table th {
    border: 1px solid #ddd;
    padding: 12px;
}

.purple_table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.purple_table tr:hover {
    background-color: #f1f1f1;
}

.purple_table th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: left;
    background-color: #4C4ABA;
    color: white;
}

/* Normal Inputs */
.search-text {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-text:focus {
    border-color: #4C4ABA;
    box-shadow: 0 0 5px rgba(76, 74, 186, 0.5);
}

/* Button Search */
.button-search {
    background: #d6d6d6;
    border-radius: 30px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    color: #333;
    cursor: pointer;
    font-family: Inter, Helvetica, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Noto Color Emoji", "Segoe UI Symbol", "Android Emoji", EmojiSymbols, -apple-system, system-ui, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", sans-serif;
    font-size: 14px;
    font-weight: 600;
    border: none;
    padding: 8px 16px;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

    .button-search:hover {
        background: #c7c7c7;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    }
.column-filter-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.column-filter {
    width: 100px;
    display: inline-block;
    flex-grow: 0;
    margin-left: auto; /* This will push the input to the right */
}

.not-empty-container {
    display: flex;
    align-items: center;
}

/* Style the Shopify Importer Form */
#ImportFromShopifyForm {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 500px;
    margin: auto;
    font-family: 'Inter', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    #ImportFromShopifyForm input.search-text {
        width: 80%;
        margin-bottom: 20px;
    }

    #ImportFromShopifyForm .purple_table {
        width: 100%;
        margin-bottom: 20px;
    }

    #ImportFromShopifyForm .pagination {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    #ImportFromShopifyForm button.btn {
        background-color: #4c4ABA;
        color: #ffffff;
        border: none;
        border-radius: 5px;
        padding: 10px 20px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

        #ImportFromShopifyForm button.btn:hover {
            background-color: #3b3a8f;
        }
        /* Disabled state */
        #ImportFromShopifyForm button.btn:disabled {
            background-color: #d3d3d3;
            color: #a9a9a9;
            cursor: not-allowed;
        }
    #ImportFromShopifyForm #CloseShopifyImport {
        align-self: flex-end;
    }

#ImportFromShopifyFormNotificationBox {
    margin-top: 20px;
    width: 100%;
}
.CloseButton {
    position: absolute;
    top: 10px; /* Adjust as necessary */
    right: 10px; /* Adjust as necessary */
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}
.test-server-bar {
    background-color: #f44336; /* Bright red */
    color: white;
    padding: 10px 0; /* Top and bottom padding for height */
    text-align: center;
    font-weight: bold;
    font-size: 16px; /* Adjust as needed */
    margin: 0;
    width: 100%;
    box-sizing: border-box; /* Ensures padding doesn't affect width */
}

[hidden] {
    display: none !important;
}


/* Spinner for loading */
.spinner-border {
    width: 2rem;
    height: 2rem;
    margin: auto;
    display: block;
}

/* Card Styles */
.card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 20px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f5f5f5;
    padding: 10px 15px;
    font-weight: bold;
    cursor: move;
}

.card-options {
    display: flex;
    align-items: center;
}

    .card-options select,
    .card-options input {
        margin-left: 5px;
        margin-right: 5px;
    }

.card-body {
    padding: 15px;
    position: relative;
    /* Added max-height & scroll */
    max-height: 1000px;
    overflow-y: auto;
}

#dashboard-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

    #dashboard-content .card {
        flex: 1 1 calc(33.333% - 20px);
        box-sizing: border-box;
        min-width: 300px;
    }

.card-placeholder {
    border: 2px dashed #ccc;
    background-color: #f9f9f9;
    height: 300px;
    margin-bottom: 20px;
    flex: 1 1 calc(33.333% - 20px);
}

.nav-tabs .nav-link {
    color: #555;
}

    .nav-tabs .nav-link.active {
        background-color: #fff;
        border-color: #dee2e6 #dee2e6 #fff;
        color: #007bff;
    }


canvas {
    background-color: #fff;
    border-radius: 6px;
}

@media (max-width: 768px) {
    #dashboard-content .card {
        flex: 1 1 calc(50% - 20px);
    }
}

@media (max-width: 576px) {
    #dashboard-content .card {
        flex: 1 1 100%;
    }
}
.button-small {
    padding: 3px 8px;
    font-size: 12px;
    border-radius: 6px;
    background-color: #eee;
    border: 1px solid #ccc;
    cursor: pointer;
    white-space: nowrap;
}

.button-small:hover {
    background-color: #ddd;
}


  .modal {
            display: none;
            position: fixed;
            z-index: 1;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgb(0,0,0);
            background-color: rgba(0,0,0,0.4);
        }

        .modal-content {
            background-color: #fefefe;
            margin: 5% auto;
            padding: 20px;
            border: 1px solid #888;
            width: 80%;
            height: 750px;
        }

