label.error {
    color: red;
    margin: 0;
    padding: 7px 0;
}

/*login details*/
.eye-icon{
    cursor: pointer;
    position: absolute;
    right: 8px;
    top: 8px;
    z-index: 1;
}
.z-0{
    z-index: 0 !important;
}
/*---*/
/* .previewContainer {
    display: none;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
  }
  #previewContainer1 .preview-item, #previewContainer2 .preview-item, #previewContainer3 .preview-item, #previewContainer4 .preview-item {
    position: relative;
    width: 170px;
    height: 170px;
    border: 1px solid #fff;
    border-radius: 5px;
    justify-content: center;
    display: flex !important;
    padding: 10px;
    align-items: center;
  }
  .preview-item img,
  .preview-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
  } */
  .close-btn {
    position: absolute;
    top: 2px;
    right: 5px;
    background: red;
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    cursor: pointer;
  }
  .pre-view-container {
    background-color:#272d34;
    display: none; /* Hidden by default */
    padding: 10px;
    border-radius: 8px;
  }
  .pre-view-container .preview-item img, .pre-view-container .preview-item video{
    width: 155px !important;
    height: 155px !important;
  }
    /* #previewContainer {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 15px;
    } */
    .preview-item {
        position: relative;
        /* width: 120px;
        height: 120px; */
    }
    .preview-item img,
    .preview-item video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 8px;
    }
    .close-btn {
        position: absolute;
        top: 2px;
        right: 5px;
        background: red;
        color: white;
        border: none;
        border-radius: 50%;
        width: 20px;
        height: 20px;
        cursor: pointer;
    }




/*payment status*/
.payment-status{
    background-color: transparent;
    border-radius: 3px;
    padding: 5px 13px;
    text-transform: capitalize;
}
.staus-success{
    border: 1px solid #06ab06;
    color: #06ab06;
}
.staus-warning{
    border: 1px solid #ddb110;
    color: #ddb110;
}
.staus-danger{
    border: 1px solid #d11919;
    color: #d11919;
}
/*notification*/
.position-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
}
/*delete popup*/
.swal2-confirm {
    background-color: #dc3741 !important;
}
.custom-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    font-family: Arial, sans-serif;
    font-size: 14px;
}

.custom-pagination .pagination-info {
    color: #6c757d;
}

.custom-pagination .pagination {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-pagination .pagination li {
    margin: 0 5px;
}

.custom-pagination .pagination li a,
.custom-pagination .pagination li span {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #555;
    background-color: #191c24;
    transition: all 0.3s ease;
}

.custom-pagination .pagination li a:hover {
    background-color: #f0f0f0;
}

.custom-pagination .pagination li.active span {
    background-color: #000;
    color: #fff;
    font-weight: bold;
    cursor: default;
}

.custom-pagination .pagination li.disabled span {
    color: #ccc;
    border-color: #ddd;
    cursor: not-allowed;
    background-color: #f9f9f9;
}



ul#category-listing {
    list-style-type: none;
    padding-left: 20px;
}

ul#category-listing>li {
    padding: 16px 18px;
    margin: 5px 0;
    background-color: #191C24;
    border: 1px solid #2a303e;
    border-radius: 4px;
    position: relative;
}


/* Style for the plus and minus icons */
.toggle-icon {
    /*    position: absolute;*/
    /*    left: -20px;*/
    /*    top: 50%;*/
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    /*    font-weight: bold;*/
}

.toggle-icon:hover {
    color: #007bff;
}

/* Style for nested categories */
ul#category-listing li>ul {
    display: none;
    /* Initially hide subcategories */
    margin-top: 10px;
}

ul#category-listing li>a {
    text-decoration: none;
    color: #9c9da3;
    font-size: 16px;
    /* font-weight: bold; */
}
table.dataTable tbody tr>td{
    color: #9c9da3;
}

ul#category-listing li>a:hover {
    color: #007bff;
}

/* Style for nested level 2 or deeper */
ul#category-listing li>ul>li {
    margin-left: 20px;
    list-style: none;
}

/*category design*/

.sidebar {
    width: 290px;
}

.side-icn {
    display: inline-flex;
    align-items: center;
}
.multi-img{
    position: relative;
}
.multiple-file-upload-default{
    width: 100%;
    position: absolute;
    left: 0;
    top: 27px;
    z-index: 5;
    opacity: 0;
    cursor: pointer;
}
button.close-btn-1{
    position: absolute;
    top: 5px;
    display: flex;
    align-items: center;
    right: 6px;
    background: red;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    width: 20px;
    height: 20px;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
}
/*selector image*/
.preview-container {
    display: none; /* Initially hidden */
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
    background: #2a3038;
    padding: 11px;
    border-radius: 5px;
}
 .preview-item, .preview-items {
    position: relative;
    display: inline-block;
} 
.preview-item img, .preview-item video, .preview-items img, .preview-items video {
    width: 100px;
    height: 100px;
    object-fit: cover;
   border: 2px solid #ddd; 
    border-radius: 5px;
} 
.close-btn {
    position: absolute;
    top: 3px;
    display: flex;
    align-items: center;
    right: 3px;
    background: red;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    width: 20px;
    height: 20px;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
}
div#users-table_paginate>a#users-table_previous,
div#users-table_paginate a#users-table_next,
div#users-table_paginate span>a,
div#product-table_paginate>a#product-table_previous,
div#product-table_paginate>a#product-table_next,
div#product-table_paginate span>a{
    border: 1px solid #606060;
    color: #979797 !important;
    padding: 4px 11px;
    margin: 0 5px;
}


.sub-category-list>li {
    background: #393f4e;
    border-radius: 4px;
    padding: 8px;
    margin: 5px 0;
}

ul.sub-child-category {
    background-color: #313644;
    border-radius: 5px;
}

ul.sub-child-category>li {
    border-radius: 4px;
    padding: 8px;
    margin: 5px 0;
}

ul#category-listing>li,
.sub-category-list>li,
ul.sub-child-category>li {
    position: relative;
}

.right-side-btn {
    position: absolute;
    right: 18px;
    top: 16px;
}

.right-side-btn>label.switch,
.child-right-side-btn>label.switch,
.sub-child-right-side-btn>label.switch {
    width: 33px;
    height: 15px;
}

.right-side-btn>label.switch .slider:before,
.child-right-side-btn>label.switch .slider:before,
.sub-child-right-side-btn>label.switch .slider:before {
    position: absolute;
    content: "";
    height: 19px;
    width: 19px;
    left: -2px;
    bottom: -2px;
}

ul.sub-category-list>li,
ul.sub-child-category>li {
    padding: 16px 18px;
}

.child-right-side-btn {
    position: absolute;
    top: 16px;
    right: 19px;
}

.sub-child-right-side-btn {
    position: absolute;
    top: 14px;
    right: 5px;
}

.search-filter-box {
    background: #191c24;
    border-radius: 5px;
}

.td-delete-icon.d-flex.gap-3 img {
    filter: brightness(0) invert(97%) !important;
}

.swal2-modal .swal2-icon {
    margin-bottom: 0 !important;
}

.search-input {
    width: 100%;
    padding: 7px;
    padding-left: 40px;
    font-size: 16px;
    border: 1px solid #ccc;
    color: #fff;
    border-radius: 30px;
    background-color: #292d38;
}

.status-btn>select#status,
.status-btn>select#status_filter,
.status-btn>select#publish_status_filter{
    border-radius: 30px;
    padding: 10px 33px;
    color: #fff;
    border: 1px solid #ccc;
}

.status-btn>select#status:focus,
.status-btn>select#status_filter:focus,
.status-btn>select#publish_status_filter:focus {
    outline: none;
    border: 1px solid transparent;
}

.sidebar .nav .nav-item .nav-link .menu-title {
    flex: 1;
}

/*user management*/
.table.table-dark tr>td>label.switch {
    width: 33px;
    height: 15px;
}

table.dataTable tbody tr>td {
    padding: 16px 15px;
}

.table.table-dark tr>td>label.switch .slider:before {
    position: absolute;
    content: "";
    height: 19px;
    width: 19px;
    left: -2px;
    bottom: -2px;
}
.form-control:disabled{
    background-color: #2A3038 !important;
}
.table.table-dark tr .td-delete-icon img {
    border-radius: 0 !important;
    width: 21px !important;
    height: 21px !important;
    object-fit: contain;
}
/*order page*/
.heading-primary{
    font-weight: 500;
    font-size: 21px;
    margin-bottom:0; 
    line-height: 27px;
}
.td-delete-icon {
    column-gap: 10px;
}
.table-bordered thead th{
    white-space: nowrap;
}
.status-bar{
    padding: 4px 0;
    padding-left: 16px;
    font-size: 16px;
    border: 1px solid #ccc;
    color: #fff;
    border-radius: 30px;
    background-color: #292d38;
}
.table-bordered>tbody>tr>td{
    border: none;
    padding: 5px !important;
}
.pro-img-box .profile{
    width: 145px;
    height: 145px;
    object-fit: cover;
}
input#password{
    width: 100%;
}
/*12-03-2025*/
a.sidebar-brand.brand-logo-mini img{
    width: 42px !important;
    height: 42px !important;
}
/*loader*/
/* Normal state when not loading */
.dataTables_wrapper.no-footer div.dataTables_processing, div#users-table_processing {
    padding: 0;
    /* position: absolute; */
    background: #bbbbbb;
    width: 100%;
    height: 60px;
    padding: 0px 0;
    color: #bbbbbb;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* position: relative; */
    z-index: 1;
}

/* Spinner style inside the loader */
.dataTables_wrapper.no-footer div.dataTables_processing::after,  div#users-table_processing::after {
    content: '';
    position: absolute;
    top: 23%;
    left: 50%;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 2s linear infinite;
}

/* Spinner animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/*loader*/
.dataTables_info, .dataTables_paginate{
    margin: 20px !important;
    color: #fff !important;
}
/**/
.form-group{
    position: relative;
}
.table-dark td{
    background-color: #191c24;
    color: #9c9da3;
}
.form-group .form-control {
    color: #fff;
}
tr>th::after, tr>th::before{
    content: "" !important;
}
table.dataTable tbody tr{
    background-color: #191c24 !important;
}
table.dataTable.no-footer {
    border-bottom: 1px solid #444c54 !important;
}
thead>tr>th {
    color: #ffffff !important;
    font-weight: 400 !important;
    line-height: 24px !important;
}
.form-control:focus{
    color: #fff;
}
.search-filter-box>div.row{
    row-gap: 10px;
}
/*12-03-2025*/
.user-des>h6 {
    font-size: 22px;
}
.four-user-block {
    background-color: #393F4E;
    border-radius: 6px;
}
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

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

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

input:checked+.slider {
    background-color: #2196F3;
}

input:focus+.slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked+.slider:before {
    -webkit-transform: translateX(20px);
    -ms-transform: translateX(20px);
    transform: translateX(20px);
}

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

.slider.round:before {
    border-radius: 50%;
}
.pdf-data::-webkit-scrollbar{
    background-color: rgba(68, 0, 255, 0);
}
.pdf-data::-webkit-scrollbar-thumb{
    /* color: red; */
    border: 2px solid transparent;
  background-clip: content-box;
    background-color: rgb(104, 104, 104);
}
.pdf-data::-webkit-scrollbar-track{
    /* color: rgb(0, 255, 200); */
    background-color: rgba(255, 255, 255, 0);
}
.total-price{
    font-size: 20px;
    color: green;
    font-weight: 600;
    margin: 0
}
.w-20{
    width: 20%;
}
@media (max-width:991px) {
    .sidebar-offcanvas {
        right: -290px;
    }
}

@media (max-width:975px) {
   

    ul#category-listing {
        padding: 0;
    }

    .search-filter-box {
        margin-left: 0 !important;
    }

}
@media (max-width:425px) {
    .inner-dashboard {
        padding: 15px;
    }
    .search-input{
        padding-left: 20px;
    }
    .user-manage-box {
        padding: 15px 11px;
    }
    .bold.title-main {
        font-size: 20px;
        margin-top: 10px;
    }
    .preview-item img, .preview-item video, .preview-items img, .preview-items video{
        width: 67px;
        height: 67px;
    }
    .close-btn{
        width: 17px;
        height: 17px;
        font-size: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .total-price{
        font-size: 17px;
    }
    .w-20{
        width: 100%;
    }
}

table.dataTable tbody tr {
    /* background: unset !important; */
}

.sidebar .sidebar-brand-wrapper .sidebar-brand img {
    height: 95px;
}