.main_container {
    width: 100%;
    padding: 40px;
    margin-top: 50px;
}

.custom_wrapper {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}

.custom_wrapper_fluid {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
}

.navbar,
.navbar *,
.navbar *:hover {
    background: #8b5cf6;
    color: #ffffff;
}

.navbar .nav-logo {
    width: 230px; 
    background: #fff; 
    padding: 10px 20px;
}

.navbar .nav-link {
    font-size: 18px;
}

.navbar .dropdown-toggle::after {
    vertical-align: 0.05em;
    font-size: 20px;
}

.navbar .dropdown-menu {
    right: -10px;
    top: calc(100% + 6px);
    /*border: none;*/
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
}

.nav-item.dropdown.user_profile .dropdown-toggle {
    min-width: 160px;
    text-align: right;
}

.imp_note {
    color: red;
    margin-top: 2px;
    font-size: 12px;
    line-height: 12px;
    position: absolute;
    width: 100%;
}

/*login page start*/
.login_container {
    height: 100vh;
}

.login_wrapper {
    max-width: 450px;
    width: 90%;
    margin: auto;
    background: #fff;
    box-shadow: 0px 4px 18px #888888;
    border-radius: 7px;
    padding: 30px 30px 50px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.login_image {
    text-align: center;
    margin-bottom: 20px;
}

.login_image .text {
    color: #8b5cf6;
    font-size: 25px;
    font-weight: 600;
    margin-top: -10px;
}

.login_wrapper .form-group {
    margin-bottom: 1.5rem;
}

.login_wrapper label {
    margin-bottom: 5px;
}

.login_wrapper input {
    height: 45px;
    border-radius: 30px;
    border-color: #8b5cf6;
}

.btn_login, .btn_login:hover {
    background-color: #8b5cf6;
    border-color: #8b5cf6;
    color: #ffffff;
    min-width: 150px;
    font-weight: 500;
    letter-spacing: 0.5px;
    width: 100%;
    height: 45px;
    margin-top: 20px;
    border-radius: 30px;
}

.admin-login, .admin-login:hover {
    color: #8b5cf6;
}
/*login page end*/

/*product summary page start*/
#product_summary_section {
    display: block;
}

.btn_add_product {
    color: #8b5cf6;
    border: solid 1px#8b5cf6;
    background-color: #ffffff;
    margin-bottom: 15px;
    min-width: 100px;
}

.btn_add_product:hover {
    background-color: #8b5cf6;
    color: #ffffff;
}

.product_summary_table_wrapper {
    background-color: #ffffff;
    box-shadow: 0px 4px 18px #888888;
    border-radius: 4px;
    position: relative;
}

.product_summary_table_wrapper .product_count {
    color: #8b5cf6;
    font-size: 18px;
    font-weight: 600;
}

.product_summary_table_wrapper .top .dataTables_filter {
    /*position: absolute;
    top: 16px;
    left: 8px;*/
    text-align: left;
    padding: 0.4rem 0.5rem 0;
    border-top: solid 1px #dddddd;
}

.product_summary_table_wrapper .bottom {
    min-height: 50px;
    border-top: solid 2px #ddd;
}

.product_summary_table_wrapper .bottom .dataTables_length {
    position: absolute;
    bottom: 8px;
    left: 8px;
}

.product_summary_table_wrapper .bottom .dataTables_paginate {
    position: absolute;
    bottom: 8px;
    right: 8px;
}

/*#product_summary_table_wrapper .row:first-child,
#product_summary_table_wrapper .row:last-child {
    padding: 10px;
}*/

#product_summary_table {
    margin: 0;
    padding: 0;
    border-top: solid 1px #ddd;
    border-bottom: solid 1px #ddd;
}

#product_summary_table thead {
    background-color: #f2f2f2;
}

#product_summary_table tr.inactive {
    background-color: #eeeeee;
}

#product_summary_table th {
    border-top: none!important;
    white-space: nowrap;
}

#product_summary_table td {
    padding-top: 0px;
    padding-bottom: 0px;
}

#product_summary_table td:first-child {
    width: 44px;
}

#product_summary_table td img {
    width: 50px;
    height: 50px;
    border-radius: 5px;
    margin: 8px 0px 12px;
    box-shadow: 0px 4px 5px #8b5cf6;
    cursor: pointer;
}

#product_summary_table td .edit_record,
#product_summary_table td .delete_record {
    color: #8b5cf6;
}

#product_summary_table th:first-child::after,
#product_summary_table th:first-child::before {
    content: "";
}

#product_summary_table tbody td.other_urls .d-flex {
    gap: 5px;
}

#product_summary_table tbody td.other_urls .img {
    margin: auto 0;
}

#product_summary_table tbody td.other_urls .img img {
    width: 40px;
    height: 40px;
    border-radius: 5px;
    margin: 0px 4px;
    box-shadow: none;
    border: solid 1px #dddddd;
    transition: transform .2s;
    /*transform: scale(1);*/
}

#product_summary_table tbody td.other_urls .img img:hover {
    transform: scale(2);
}

#product_summary_table tbody td.other_urls .url {
    margin: auto 0;
    word-break: break-all;
    font-size: 12px;
}

#product_summary_table tbody td .other_img_urls::-webkit-scrollbar-track {
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	border-radius: 10px;
	background-color: #F5F5F5;
}

#product_summary_table tbody td .other_img_urls::-webkit-scrollbar {
	width: 6px;
    height: 6px;
	background-color: #F5F5F5;
}

#product_summary_table tbody td .other_img_urls::-webkit-scrollbar-thumb {
	border-radius: 10px;
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
	background-color: #8b5cf6;
}

#product_summary_table_wrapper .dataTables_scrollBody {
    max-height: calc(100vh/1.54)!important;
    height: 100%!important;
}

#product_summary_table_wrapper table.dataTable thead>tr>th, #product_summary_table_wrapper table.dataTable thead>tr>td {
    padding-right: 0px!important;
}

#product_summary_table_wrapper table.dataTable thead>tr>th:before, table.dataTable thead>tr>th:after, table.dataTable thead>tr>td:before, table.dataTable thead>tr>td:after {
    content: ""!important;
    display: none!important;
    padding-right: 0px!important;
}

/*product summary page end*/

/*add product page start*/
#add_new_product_section{
    display: none;
}

.add_product_container {
    background: #ffffff;
    box-shadow: 0px 4px 18px #888888;
    border-radius: 4px;
}

.add_product_container .main-title {
    color: #303030;
    font-size: 25px;
    font-weight: 600;
    line-height: 32px;
    padding: 15px;
    text-align: center;
    /*background: #f2f2f2;*/
    background: rgba(139, 92, 246, 0.8);
    color: #ffffff;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    margin-bottom: 15px;
}

.add_product_container section {
    padding-bottom: 30px;
}

.add_product_container section fieldset {
    border: none;
    border-top: 1px solid #8b5cf6;
    padding: 0px 20px;
}

.add_product_container section fieldset legend {
    width: auto;
}

.add_product_container section fieldset legend .title {
    color: #8b5cf6;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 2px;
    padding: 0px 10px;
}
.add_product_container .img-section {
    box-shadow: 0px 4px 18px #8b5cf6;
    border-radius: 4px;
    width: fit-content;
    margin: 20px auto 0px;
}

.add_product_container .img-section .item-image {
    padding: 1px;
    height: 100%;
    max-width: 100%;
    min-height: 145px;
    max-height: 145px;
    object-fit: contain;
    border-radius: 4px;
}

.add_product_container .upload_image_Label {
    display: block;
    width: fit-content;
    margin: 10px auto 20px;
    cursor: pointer;
}

.add_product_container .upload_image_Label input[type="file"] {
    display: none;
}

.add_product_container .upload_image_Label .upload_image_text,
.add_product_container .upload_image_Label .upload_image_text:active {
    width: 100%;
    background-color: #8b5cf6;
    border-color: #8b5cf6;
}

.listing_status_table .channel {
    display: flex;
    gap: 0px;
}

.listing_status_table .channel div {
    margin: auto 0;
}

.listing_status_table .channel .btn_add_channel {
    background-color: transparent;
    border-color: transparent;
    color: #8b5cf6;
}

.listing_status_table .channel .btn_add_channel:focus {
    box-shadow: none; 
}

.listing_status_table .form-group {
    margin: 0;
}

.listing_status_table th {
    border-top: none;
}

.listing_status_table td {
    border: none;
}

.listing_status_table td .form-group {
    min-width: 150px;
}

.btn_add_product_submit,
.btn_add_product_submit:hover {
    background-color: #8b5cf6;
    border-color: #8b5cf6;
    color: #ffffff;
    min-width: 150px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.custom_dropdown {
    position: relative;
}

.custom_dropdown input[readonly] {
    z-index: 1;
    background-color: transparent!important;
}

.custom_dropdown .dropdown_icon {
    position: absolute;
    top: 31px;
    right: 45px;
}

.custom_dropdown .custom_dropdown_menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 99;
    background: #fff;
    border: solid 1px #dddddd;
    box-shadow: 0px 2px 10px #888888;
    max-height: 300px;
    overflow: auto;
    display: none;
}

.custom_dropdown .custom_dropdown_menu ul {
    width: 100%;
    margin-bottom: 1px;
}

.custom_dropdown .custom_dropdown_menu input {
    width: 97.5%;
    margin: 2px;
}

.custom_dropdown .custom_dropdown_menu ul li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0px;
    cursor: default;
    padding: 5px 10px;
}

.custom_dropdown .custom_dropdown_menu ul li div {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 5px;
}

.custom_dropdown .custom_dropdown_menu ul li:hover {
    background-color: #8b5cf6cc;
    color: #fff;
}

.custom_dropdown .custom_dropdown_menu ul li.selected {
    background-color: #8b5cf6;
    color: #fff;
}

.custom_dropdown .custom_dropdown_menu ul li a {
    cursor: pointer;
}
/*add product page end*/

/*inventory page start*/
.inventory_container {}

.inventory_container .nav-link {
    color: #8b5cf6;
}

.inventory_container .nav-link:hover {
    border-color: #8b5cf6 #8b5cf6 #8b5cf6;
}

.inventory_container .nav-link.active {
    background-color: #8b5cf6;
    border-color: #8b5cf6;
    color: #ffffff;
}

.inventory_container .tab-content{
    background: #ffffff;
    box-shadow: 0px 4px 18px #888888;
    border: solid 1px #8b5cf6;
    border-radius: 4px;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    padding: 20px 20px;
}

.inventory_container .tab-content table th {
    border-top: none;
    text-align: center;
    min-width: 90px;
}

.inventory_container .tab-content table td img {
    width: 50px;
    height: 50px;
    border-radius: 5px;
    /*margin: 5px 0px;*/
    box-shadow: 0px 4px 5px #8b5cf6;
}

.inventory_container .tab-content table td .form-group {
    margin-bottom: 0px;
}

.inventory_container .tab-content table td .form-group .form-control {
    min-width: 200px;
}

.inventory_container .tab-content table td .remove_record,
.inventory_container .tab-content table td .remove_record:hover {
    color: #8b5cf6;
}

.add_new_record_wrapper {
    border-top: solid 1px #8b5cf6;
}

.btn_add_new,
.btn_add_new:hover {
    background-color: #8b5cf6;
    border-color: #8b5cf6;
    color: #ffffff;
    min-width: 150px;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-top: 25px;
}

/*.view_trend_filters {
    border-bottom: solid 1px #8b5cf6;
    padding-bottom: 10px;
}*/

.view_trend_filters.advance_filter {
    border: solid 1px #8b5cf6;
    border-radius: 4px;
    padding-top: 10px;
    margin: auto;
    margin-top: 15px;
    position: relative;
}

.view_trend_filters.advance_filter .title {
    position: absolute;
    top: -11px;
    left: 10px;
    background: #ffffff;
    padding: 0px 5px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.view_trend_table_wrapper table td .status {
    white-space: nowrap;
    padding: 2px 10px;
    border-radius: 30px;
}

.view_trend_table_wrapper table td .out_of_stock {
    /*background-color: orangered;*/
    background-color: rgba(255, 0, 0, 0.9);
    color: #fff;
}

.view_trend_table_wrapper table td .low_stock {
    /*background-color: orangered;*/
    background-color: rgba(255, 140, 0, 1);
    color: #fff;
}

.view_trend_table_wrapper table td .over_stock {
    /*background-color: orange;*/
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
}

.view_trend_table_wrapper table td .healthy_stock {
    /*background-color: green;*/
    background-color: rgba(0, 128, 0, 0.7);
    color: #fff;
}

#view_trend_table_wrapper .dt-buttons {
    display: none;
}

#view_trend .date_range .form-group .form-control {
    padding-right: 35px;
    background: transparent;
}

#view_trend .date_range .form-group {
    position: relative;
    z-index: 1;
}

#view_trend .date_range .form-group .addon {
    position: absolute;
    top: 50%;
    right: 10px;
    opacity: 0.6;
    z-index: -1;
}

/*.view_trend_table_wrapper .fixTableHead {
    max-height: calc(100vh/1.57);
}*/

#view_trend_table thead th {
    background: #bfa4fa;
}

#view_trend_table thead th::before,
#view_trend_table thead th::after {
    content: "";
}

.generate_report .form-check-label {
    border: solid 1px #8b5cf6;
    padding: 0px 15px 1px;
    border-radius: 30px;
    margin: 3px 0px;
}

.generate_report .form-check-label.selected {
    background: rgba(139, 92, 246, 0.2);
}
/*inventory page end*/

/*employee page start*/
.add_employee_container table th {
    border-top: none;
}

.add_employee_container table td .form-group {
    margin-bottom: 0px;
}

.add_employee_container table td .permissions     {
    display: flex;
    flex-wrap: nowrap;
    gap: 5px 10px;
    justify-content: flex-start;
}

.add_employee_container table td .permissions .item {
    background-color: #8b5cf6;
    color: #ffffff;
    padding: 1px 10px 2px;
    border-radius: 30px;
    white-space: nowrap;
}

.add_employee_container table td .remove_record, .add_employee_container table td .remove_record:hover {
    color: #8b5cf6;
}
/*employee page end*/

/*inventory page start*/
.select2-container--bootstrap {
    width: 100%!important;
}
.pick_channel {
    min-width: 250px;
}

.tab-content table .form-control {
    min-width: 180px;
}

.sku_avil_qty {
    font-size: 12px;
    line-height: 12px;
    margin-top: 2px;
    position: absolute;
    color: green;
    font-weight: 500;
    padding: 0px 2px;
    display: none;
}

#view_trend table thead th {
    white-space: nowrap;
}
/*inventory page end*/

/*report start*/
.report_container {
    background-color: #ffffff;
    box-shadow: 0px 4px 18px #888888;
    border-radius: 4px;
    padding: 10px 15px;
    position: relative;
}

.report_container .date_range .form-group .form-control {
    padding-right: 35px;
    background: transparent;
}

.report_container .date_range .form-group {
    position: relative;
    z-index: 1;
}

.report_container .date_range .form-group .addon {
    position: absolute;
    top: 50%;
    right: 10px;
    opacity: 0.6;
    z-index: -1;
}

.report_container .date_range .btn {
    margin-top: 21px;
}

.report_container #report_table thead th {
    white-space: nowrap;
    padding: 0.5rem;
}

.report_container #report_table tbody td {
    padding: 0.5rem;
}

.admin_view_trend_link_container {
    position: relative;
    text-align: right;
    margin-bottom: -12px;
    z-index: 99;
}

.admin_view_trend_link_container a {
    font-size: 18px;
    color: #8b5cf6;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.admin_view_trend_link_container a:focus {
    box-shadow: none;
}

#report_table td.other_urls .d-flex {
    border: solid 1px #ddd;
    border-radius: 4px;
    padding: 0px 5px 2px;
}

#report_table td.other_urls .img {
    margin-top: 5px;
}

#report_table td.other_urls .img img {
    width: 30px;
    height: 30px;
    border: solid 1px #ddd;
    border-radius: 4px;
    margin-right: 5px;
    cursor: pointer;
}

/*#report_table td.other_urls .img img:hover {
    transform: scale(2);
}*/

#report_table td.other_urls .url {
    margin: auto 0;
    word-break: break-all;
    font-size: 12px;
}

#report_table tbody td.channel_listing {
    vertical-align: top!important;
    margin: 0;
}

#report_table tbody td.channel_listing .channel_listing_container {
    max-height: 82px;
    overflow: auto;
}

#report_table tbody td.date_range {
    line-height: 15px;
}

#generate_report .dataTables_scrollBody {
    max-height: calc(100vh/2)!important;
    height: calc(100vh/2)!important;
}

#generate_report .fixTableHead {
    max-height: calc(100vh/1.57);
}
/*report end*/

.dataTables_scrollBody {
    max-height: 55vh!important;
}

/*enlarge image tooltip start*/
.enlarge_image {
    position: absolute;
    width: 120px;
    height: 120px;
    border: solid 1px #ddd;
    border-radius: 4px;
    z-index: 999;
    background: #eeeeee;
    box-shadow: 0px 0px 5px #8b5cf6;
    display: none;
}

.enlarge_image img {
    width: 100%;
    height: 100%;
    border-radius: 5px;
}
/*enlarge image tooltip end*/