.navbar-brand.navbar-brand-center {
    float: none;
    height: 4.715rem;
    padding: 0;
    margin: 0;
    font-size: 1.286rem;
    font-weight: 500;
    line-height: 22px;
    justify-content: center;
    align-items: center;
    display: flex;
}

.site-navbar .navbar-header .navbar-brand-logo {
    height: 125px;

    margin-top: 2px;
}
.deviceInfo{
    display: none;
}
.author-name {
    color: #000;
    margin-left: 10px;
    margin-bottom: 2px;
    margin-right: 10px;
    font-weight: 600;
}
#selected-count
{
    min-width: 100px;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 13px;
}
.form-material .form-control {
    padding: 10px;
}
.form-material.has-warning .form-control-label,
.form-control-feedback,
.error {
    color: #f44336;
}

.form-control-feedback {
    margin-left: 15px;
}

/* Side modal */
.modal-dialog-slideout {
    min-height: 100%;
    margin: 0 0 0 auto;
    background: #fff;
}
.avatar-circle img.img-fluid {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 100%;
}
.remove-add-size-btn{
    position: absolute;
    right: 0;
    top: 0;
}
.modal.fade .modal-dialog.modal-dialog-slideout {
    -webkit-transform: translate(100%, 0) scale(1);
    transform: translate(100%, 0) scale(1);
}

.modal.fade.show .modal-dialog.modal-dialog-slideout {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
    display: flex;
    align-items: stretch;
    -webkit-box-align: stretch;
    height: 100%;
}

.modal.fade.show .modal-dialog.modal-dialog-slideout .modal-body {
    overflow-y: auto;
    overflow-x: hidden;
}

.modal-content {
    width: 100%;
}

.modal-dialog .slidePanel-header {
    position: relative;
    padding: 40px 30px;
    padding-right: 120px;
    color: #fff;
}

.modal-dialog .slidePanel-actions {
    float: right;
    margin: 0;
    margin-left: 15px;
    text-align: right;
    list-style: none;
}

.modal-dialog .slidePanel-header .stage-name {
    margin-top: 11px;
    font-size: 20px;
    font-weight: bold;
}

.text-bold {
    font-weight: 600;
}

.custom-nav-tabs .active {
    display: block;
}

.custom-nav-tabs .hide {
    display: none;
}

/* End Side modal */

.app-contacts table > tbody > tr > td,
.app-contacts table > tbody > tr > th,
.app-contacts table > thead > tr > td,
.app-contacts table > thead > tr > th {
    /* white-space: nowrap;*/
    vertical-align: middle;
    word-break: break-word;
}


.app-contacts table .avatar {
    margin-right: 10px;
    vertical-align: middle;
}

div.dataTables_wrapper div.dataTables_info {
    position: unset;
}

#toast-container > .toast {
    width: 700px;
    /* width: 100% */
}

.navbar-inverse .navbar-toolbar .nav-link {
    color: #000 !important;
}

.navbar-inverse .hamburger .hamburger-bar,
.navbar-inverse .hamburger:after,
.navbar-inverse .hamburger:before {
    background: #000;
}

.site-menu > .site-menu-item.active > a {
    color: #000;
}

.page-item.active .page-link {
    color: #fff;
    border-color: #000;
    background: #000;
}

.btn btn-primary {
    color: #fff !important;
    background: #000 !important;
}


.swal2-confirm.swal2-styled {
    background: #000 !important;
    box-shadow: none !important;
}

.custom-section-class {
    background: #fff;
    padding: 30px 20px 0px;
    margin-bottom: 40px;
}

.custom-section-class .card {
    background-color: #f3f4f5;
}

.sec-title-wp h3.section-title {
    margin: 0px 0px 15px;
}

.long-text {
    word-wrap: break-word;
    max-width: 100px;
}

.badge {
    padding: 6px 8px;
    line-height: normal;
    font-size: 90%;
}

/*.table-responsive a i {*/
/*    color: #757575;*/
/*}*/

.table-responsive a:hover {
    /* background: #000;
    color: white; */
}

.table-responsive a svg {
    padding-top: 5px;
    padding-left: 1px;
    padding-right: 1px;
}

.hover-link {
    position: relative;
}

.hover-link span.hover-text {
    display: inline-block;
    position: absolute;
    bottom: -19px;
    left: 50%;
    background: #000;
    padding: 3px 6px 1px;
    transform: translate(-50%, 10px);
    z-index: 2;
    color: #757575;
    font-size: 11px;
    font-weight: 400;
    transition: all 400ms ease;
    opacity: 0;
    visibility: hidden;
    border-radius: 2px;
    box-shadow: -3px 2px 10px 2px rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.hover-link:hover span.hover-text {
    opacity: 1;
    visibility: visible;
}

.hover-link span.hover-text:after {
    content: '';
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 7px solid #000;
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
}

.site-menubar-unfold .site-menu > .site-menu-item.hover > .site-menu-sub.sm-sub-down,
.site-menubar-unfold .site-menu > .site-menu-item:hover > .site-menu-sub.sm-sub-down {
    position: static !important;
    left: unset !important;
    width: 100% !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.avatar img.img-fluid {
    max-height: 40px;
    object-fit: cover;
}

.minpx-120 {
    min-width: 120px;
}

.minpx-100 {
    min-width: 100px;
}

.minpx-50 {
    min-width: 50px;
}

body table {
    font-size: 14px;
}

.modal-dialog .slidePanel-actions .slidePanel-close.icon.md-close,.modal-dialog .slidePanel-actions .icon.md-delete {
    color: #fff;
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 25px;
}

.password-toggle-icon {
    position: absolute;
    right: 10px;
    top: 33px;
    cursor: pointer;
    color: #666;
}
.icon.md-more{
    color: #000;
}
span.password-toggle-icon.login-password{
    top: 7px;
    right: 18px;
    z-index: 9;
}
.page-profile{
    min-height: calc(100% - 44px);
    background: #f3f4f5;
}
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 120px;
    height: 34px;
}

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

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: red;
    transition: .4s;
    border-radius: 34px;
    display: flex;
    align-items: center;
    padding: 0 5px;
    font-size: 12px;
    color: white;
    font-weight: bold;
}

.slider.transaction{
    background-color: #ffc107;
}
.modal-sm{
    width: 450px;
    max-width: 450px;
}
.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
    z-index: 2;
}

.toggle-switch input:checked + .slider {
    background-color: #000;
}

.toggle-switch input:checked + .slider:before {
    transform: translateX(86px);
}

.slider .status-text {
    position: absolute;
    width: 100%;
    text-align: center;
    z-index: 1;
}

.slider .status-text.suspended {
    left: 10px;
    color: white;
}

.slider .status-text.active {
    right: 10px;
    color: white;
}

.toggle-switch input:checked + .slider .status-text.suspended {
    display: none;
}

.toggle-switch input:not(:checked) + .slider .status-text.active {
    display: none;
}
.badge-success{background-color: #000}

/* KBS Admin Panel - Enhanced Select2 User Selection Styling */

/* Select2 Container */
.select2-container {
    width: 100% !important;
    margin-bottom: 0;
    z-index: 99999;
}
.select2-container--bootstrap .select2-selection--single {
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
}
.product-option {
    display: flex;
    align-items: center;
}
.product-image {
    width: 40px;
    height: 40px;
    object-fit: cover;
    margin-right: 10px;
    border-radius: 4px;
}

/* Selection box - improved height and padding */
.select2-container--default .select2-selection--multiple {
    border: 1px solid #e2e2e2;
    border-radius: 6px;
    background-color: #fff;
    min-height: 42px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: 4px 10px;
    transition: all 0.2s ease;
}

/* Focus state - more pronounced */
.select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: #007854;
    box-shadow: 0 0 0 3px rgba(0, 120, 84, 0.15);
    outline: none;
}

/* Dropdown styling - improved shadows and positioning */
.select2-container--default .select2-dropdown {
    border: 1px solid #e2e2e2;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-top: 4px;
    overflow: hidden;
}

/* Search field in dropdown */
.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #e2e2e2;
    border-radius: 4px;
    padding: 8px 12px;
    margin: 6px;
    width: calc(100% - 12px);
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
    border-color: #007854;
    box-shadow: 0 0 0 2px rgba(0, 120, 84, 0.1);
    outline: none;
}

/* Results styling - improved spacing */
.select2-container--default .select2-results__option {
    padding: 10px 14px;
    font-size: 14px;
    transition: background-color 0.15s ease;
}

/* Highlighted result - subtle highlight */
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: rgba(0, 120, 84, 0.08);
    color: #333;
}

/* Selected result - enhanced color */
.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: #dedede;
    color: #000;
}

/* Selected options (tags) - improved appearance */
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #f9f9f9;
    border: 1px solid #e5e5e5;
    border-radius: 20px;
    padding: 4px 10px;
    margin: 4px 6px 4px 0;
    font-size: 13px;
    color: #444;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
}

/* Remove button (x) for selected items - better positioning */
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #888;
    margin-right: 6px;
    font-weight: bold;
    font-size: 16px;
    opacity: 0.7;
    transition: all 0.2s ease;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: #d33;
    opacity: 1;
    transform: scale(1.1);
}

/* Placeholder - better visibility */
.select2-container--default .select2-selection--multiple .select2-search__field::placeholder {
    color: #aaa;
    font-size: 14px;
    opacity: 0.8;
}

/* User formatting in dropdown - enhanced user item display */
.select2-user-item {
    display: flex;
    align-items: center;
    padding: 4px 0;
}

.select2-user-item img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
    border: 1px solid #eee;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.select2-user-item .user-info {
    display: flex;
    flex-direction: column;
}

.select2-user-item .user-name {
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 2px;
}

.select2-user-item .user-email {
    font-size: 12px;
    color: #777;
    line-height: 1.2;
}

/* Selected user items - better display for selected tags */
.select2-selection__choice {
    position: relative;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Custom rendering for selected user tags */
.select2-user-tag {
    display: flex;
    align-items: center;
    max-width: 100%;
}

.select2-user-tag img {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    margin-right: 6px;
    object-fit: cover;
}

.select2-user-tag span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.select2-container--default .select2-selection--single{
    height: 2.573rem;
    padding: 4px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow{
    height: 34px;
}
/* Send button styling - enhanced */
.btn-send {
    background-color: #007854;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 24px;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 120, 84, 0.2);
}

.btn-send:hover {
    background-color: #006745;
    box-shadow: 0 3px 6px rgba(0, 120, 84, 0.3);
    transform: translateY(-1px);
}

.btn-send:active {
    transform: translateY(1px);
    box-shadow: 0 1px 2px rgba(0, 120, 84, 0.3);
}

/* Empty state styling */
.select2-results__message {
    color: #888;
    font-style: italic;
    padding: 12px;
    text-align: center;
}


/* Better spacing for multiple items */
.select2-container--default .select2-selection--multiple .select2-selection__rendered {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__display{
    padding-left: 15px;
}
/* Loading animation */
.select2-container--default .select2-results__option.loading-results {
    text-align: center;
    padding: 12px;
}

.select-info-main {
    display: flex;
}

.select-info-main img.rounded-circle {
    width: 35px;
    height: 35px;
}

.select-info-main .select-info-text {
    width: calc(100% - 35px);
    padding-left: 15px;
}

.select-info-main .select-info-text div strong {
    font-size: 14px;
}

.select-info-main .select-info-text div {
    line-height: 1.1;
}


.select2-selection--multiple .select2-selection__rendered li.select2-selection__choice {
    display: flex;
    flex-direction: row-reverse;
}

.select2-selection--multiple .select2-selection__rendered li.select2-selection__choice button.select2-selection__choice__remove {
    position: unset;
    margin-right: 0px;
    margin-left: 6px;
    border-right: none;
    border-left: 1px solid #aaa;
    padding-left: 6px;
}

.select2-selection--multiple .select2-selection__rendered li.select2-selection__choice button.select2-selection__choice__remove:hover {
    color: #000;
    box-shadow: none;
    outline: none;
    border-radius: unset;
    background: transparent;
}
.emoji-picker-container .emoji-menu .emoji-items {
    display: flex;
    flex-wrap: wrap;
}

.emoji-picker-container .emoji-menu .emoji-items a {
    padding: 4px;
}

/* File Uploader */
/* Image Uploader Component Styles */
.image-uploader {
    position: relative;
    width: 100%;
}

.file-drop-area {
    position: relative;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-drop-area:hover {
    border-color: #007bff;
    background-color: #e3f2fd;
}

.file-drop-area.dragover {
    border-color: #007bff;
    background-color: #e3f2fd;
    transform: scale(1.02);
}

.file-drop-area.has-files {
    border-color: #28a745;
    background-color: #d4edda;
}

.file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.file-msg {
    pointer-events: none;
    user-select: none;
}

.file-msg i {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

.file-msg div {
    font-size: 16px;
    color: #495057;
    margin-bottom: 5px;
}

.file-msg .text-muted {
    font-size: 14px;
    color: #6c757d !important;
}

.file-info {
    margin-top: 15px;
    padding: 10px;
    background-color: #e9ecef;
    border-radius: 5px;
    font-size: 14px;
}

.image-preview-container {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

.image-preview {
    position: relative;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.image-preview:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.image-preview img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    display: block;
}

.image-preview .image-info {
    padding: 8px;
    font-size: 12px;
    color: #6c757d;
    text-align: center;
    border-top: 1px solid #dee2e6;
    background-color: #f8f9fa;
}

.remove-image {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(220, 53, 69, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    line-height: 1;
}

.remove-image:hover {
    background: rgba(220, 53, 69, 1);
    transform: scale(1.1);
}

.upload-progress {
    margin-top: 10px;
}

.progress-bar {
    height: 4px;
    background-color: #e9ecef;
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: #007bff;
    width: 0%;
    transition: width 0.3s ease;
}

/* Error states */
.image-uploader.error .file-drop-area {
    border-color: #dc3545;
    background-color: #f8d7da;
}

.error-message {
    color: #dc3545;
    font-size: 14px;
    margin-top: 10px;
    padding: 8px;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
}
div:where(.swal2-container){
    z-index: 999999 !important;
}
body.swal2-height-auto{
    height: 100% !important;
}
.input-group-text {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: .375rem .75rem;
    margin-bottom: 0;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    text-align: center;
    white-space: nowrap;
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    border-radius: .25rem;
}
/* Success states */
.image-uploader.success .file-drop-area {
    border-color: #28a745;
    background-color: #d4edda;
}

/* Loading states */
.image-preview.loading {
    opacity: 0.7;
}

.image-preview.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
.size-input-group {
    margin-bottom: 15px;
    padding: 15px;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    background-color: #f8f9fa;
}
.size-input-group .form-row {
    margin-bottom: 10px;
}
.remove-size-btn {
    position: absolute;
    z-index: 9999;
    top: 0;
    right: 0;
    padding: 3px 10px;
}
#editSizesModal .modal-body{
    max-height: 600px;
    overflow: auto;
}
.page-login-v2 .login-left-v2 .page-login-main.form-horizontal{
    background: #000;
}
.file-drop-area {
    min-height: 200px; /* Adjust as needed */
    position: relative;
}

.inline-preview-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.remove-image {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 18px;
    cursor: pointer;
    z-index: 3;
}

#bulk-assign-btn[disabled]{
    cursor: not-allowed;
}
.remove-image:hover {
    background: rgba(255, 255, 255, 1);
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive design */
@media (max-width: 768px) {
    .image-preview-container {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 10px;
    }

    .image-preview img {
        height: 120px;
    }

    .file-drop-area {
        padding: 30px 15px;
        min-height: 100px;
    }
}

@media (max-width: 480px) {
    .image-preview-container {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* File Uploader */

/* Additional responsive adjustments */
@media (max-width: 576px) {
    .select2-container--default .select2-selection--multiple {
        min-height: 38px;
        padding: 3px 8px;
    }

    .select2-user-item img {
        width: 28px;
        height: 28px;
    }
}
.tracking-container{background: #fff;backdrop-filter:blur(10px);border-radius:20px;padding: 30px;width:100%;border:1px solid rgba(255,255,255,0.1);margin-bottom: 30px;}
.tracking-container .header{text-align:center;margin-bottom:40px;}
.tracking-container .header h1{color: #000000;font-size:2rem;font-weight:300;margin-bottom:10px;}
.tracking-container .header p{color:#a0a0a0;font-size:1rem;}
.tracking-container .progress-tracker{display:flex;justify-content:space-between;align-items:flex-start;position:relative;margin:40px 0;}
.tracking-container .stepv{display:flex;flex-direction:column;align-items:center;text-align:center;flex:1;position:relative;z-index:2;max-width:200px;}
.tracking-container .stepv-icon{width:50px;height:50px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin-bottom:15px;position:relative;transition:all 0.3s ease;}
.tracking-container .stepv-icon.completed{background:linear-gradient(135deg,#00d4aa,#00b894);}
.tracking-container .stepv-icon.current{background:linear-gradient(135deg,#ff6b6b,#ee5a24);animation:pulse 2s infinite;}
.tracking-container .stepv-icon.pending{background:#e8e8e8;border:2px solid rgba(0,0,0,0.2);}
@keyframes pulse{
    0%{transform:scale(1);}
    50%{transform:scale(1.1);}
    100%{transform:scale(1);}
}
.tracking-container .stepv-icon svg{width:24px;height:24px;fill:white;}
.tracking-container .stepv-icon.pending svg{fill:#a0a0a0;}
.tracking-container .stepv-content{color:#fff;}
.tracking-container .stepv-title{font-size:1.1rem;font-weight:600;margin-bottom:8px;}
.tracking-container .stepv-description{font-size:0.9rem;color:#a0a0a0;line-height:1.4;}
.tracking-container .stepv.completed .stepv-title{color:#00d4aa;}
.tracking-container .stepv.current .stepv-title{color:#ff6b6b;}
.tracking-container .stepv.pending .stepv-title{color:#666;}
.tracking-container .stepv.pending .stepv-description{color:#555;}

/* Mobile Responsive */
@media (max-width:768px){
    .tracking-container{padding:20px;}
    .tracking-container .header h1{font-size:1.5rem;}
    .tracking-container .progress-tracker{flex-direction:column;gap:30px;}
    .tracking-container .progress-line{top:25px;left:25px;right:auto;bottom:25px;width:3px;height:auto;}
    .tracking-container .progress-line::before{width:100%;height:60%;}
    .tracking-container .stepv{flex-direction:row;text-align:left;max-width:none;width:100%;}
    .tracking-container .stepv-icon{margin-bottom:0;margin-right:20px;flex-shrink:0;}
    .tracking-container .stepv-content{flex:1;}
}
@media (max-width:480px){
    .tracking-container{padding:15px;}
    .tracking-container .header h1{font-size:1.3rem;}
    .tracking-container .stepv-icon{width:40px;height:40px;margin-right:15px;}
    .tracking-container .stepv-icon svg{width:20px;height:20px;}
    .tracking-container .stepv-title{font-size:1rem;}
    .tracking-container .stepv-description{font-size:0.8rem;}
    .tracking-container .progress-line {
        left: 20px;
    }
}


.modal-body .modal-header .close {
    margin: 0;
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 28px;
}

.modal-body .modal-header {
    align-items: center;
}
#viewSizesContent .table td,#viewSizesContent .table th {
    word-wrap: unset;
    white-space: nowrap;
}
.custom-switch-label {
    position: relative;
    padding-left: 50px;
}
#clientFields{
    display: none;
}




.custom-switch-wrapper{display:flex;align-items:center;margin-bottom:10px;gap:10px;}
.custom-switch-input{position:absolute;opacity:0;}
.custom-switch-label:before{position: absolute;left: 0px;top: 0px;display:inline-block;width: 40px;height: 23px;background-color:#ccc;border-radius:50px;cursor:pointer;transition:background-color 0.3s ease;content: '';z-index: 1;}
.custom-switch-label::after{content:'';position:absolute;top: 3px;left: 4px;width: 17px;height: 17px;background-color:white;border-radius:50%;transition:transform 0.3s ease;z-index: 2;}
.custom-switch-input:checked + .custom-switch-label::before{background-color:#28a745;}
.custom-switch-input:checked + .custom-switch-label::after{transform: translateX(15px);}
.modal-header .close {
    margin-top: -15px;
}


/*===============================================================================
     Admin | Messages Chat
=================================================================================*/
.filter-cwrap .form-control.border{border-radius:14px;border:0px!important;}
.search-main{width:100vw;}
.messages-chat-main{background-color:#ffffff;border-radius:14px;}
.head-title h5{font-size:22px;color:var(--theme-black);margin-bottom:0;}
.chat-area{display:flex;flex-wrap:wrap;height:calc(100vh - 186px);position:relative;overflow:hidden;}
.chatlist{outline:0;height:100%;overflow:hidden;width:349px;}
.chat-area .modal-content{border:none;border-radius:0;outline:0;height:100%;}
.chat-area .modal-dialog-scrollable{height:100%!important;}
.chatbox{width:calc(100% - 349px);overflow:hidden;height:100%;border-left:1px solid #e8e8e8;}
.chat-header .head-title{padding-left:24px;border-bottom:1px solid #e8e8e8;padding-right:24px;height:79px;display:flex;align-items:center;}
.chatbox .modal-dialog,.chatlist .modal-dialog{max-width:100%;margin:0;}
.msg-search{padding:12px 24px;}
.chat-list-wrap{padding:12px;display:flex;flex-wrap:wrap;border-radius:14px;margin-bottom:8px;}
.chat-list-img{width:48px;height:48px;}
.chat-list-nm{font-size:14px;color:#000000;font-weight:bold;padding-right:35px;width:100%;}
.chat-list-nm-tm .chat-list-tm{font-size:14px;font-weight:bold;color:#d7d7d7;position:absolute;right:0;top:1px;}
.chat-list-nm-tm{display:flex;flex-wrap:wrap;padding-bottom:5px;position:relative;}
.chat-list-msg{font-size:12px;color:#797979;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow:hidden;word-break:break-word;}
.chat-list-img img{border-radius:12px;width:100%;height:100%;object-fit:cover;object-position:center;}
.chat-list-txt{padding-left:15px;width:calc(100% - 48px);padding-top:3px;position:relative;}
.chat-list-wrap.active{background-color:#0450BE!important;}
.chat-list-wrap.active .chat-list-nm{color:#ffffff;}
.chat-list-wrap.active .chat-list-msg{color:#c1c1c1;}
.chat-list-wrap:hover{background-color:#3776d2;}
.chat-list-wrap:hover .chat-list-nm{color:#ffffff;}
.chat-list-wrap:hover .chat-list-msg{color:#c1c1c1;}
.chat-list{padding-left:16px;padding-right:16px;}
.msg-body{padding:20px;}
.chat-area .modal-body{scrollbar-color:#0550be transparent;scrollbar-width:thin;overflow-y: auto;}
.msg-head-txt h3{font-size:20px;font-weight:bold;margin-bottom:5px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow:hidden;}
.msg-head-txt p{color:#797979;font-size:14px;font-weight:bold;margin-bottom:0;}
.msg-head-wrap{display:flex;align-items:center;height:79px;border-bottom:1px solid #e8e8e8;padding-left:24px;padding-right:24px;}
.msg-head-img{width:40px;height:40px;}
.msg-head-img img{object-fit:cover;object-position:center;width:100%;height:100%;border-radius:12px;}
.msg-head-txt{padding-left:15px;width:calc(100% - 40px);}
.msg-body ul{overflow:hidden;}
.msg-body ul li{list-style:none;margin-bottom:10px;}
.send-emoji-box{border-top:1px solid #e8e8e8;display:flex;flex-wrap:wrap;padding:24px;}
.chat-icon{display:none;}
.reply-ww{background-color:#0450BE;padding:10px 16px 10px 16px;border-radius:12px;display:inline-block;margin-bottom:10px;text-align:left;min-width:80px;}
.reply-box .reply-img{width:40px;height:40px;position:absolute;right:0;top:0;}
.reply-box .reply-img img{width:100%;height:100%;object-fit:cover;object-position:center;border-radius:12px;}
.reply-wp .reply-msg{font-size:14px;color:#fff;padding-bottom:5px;line-height:1.5;word-break:break-word;}
.reply-box{max-width:44%;position:relative;padding-right:55px;display:inline-block;}
.reply-wp .reply-tm{font-size:14px;color:#B8B8B8;text-align:right;}
.reply-wrap{text-align:right;}
.msg-body ul li.msg-divider{margin-bottom:0;text-align:center;padding-top:5px;padding-bottom:25px;font-size:14px;}
.sender-wrap{text-align:left;}
.sender-box{max-width:44%;position:relative;padding-left:55px;display:inline-block;}
.sender-ww{background-color:#F3F8FF;padding:10px 16px 10px 16px;border-radius:12px;display:inline-block;margin-bottom:10px;text-align:left;min-width:80px;}
.sender-wp .sender-msg{font-size:14px;color:#000000;padding-bottom:5px;line-height:1.5;word-break:break-word;}
.sender-wp .sender-tm{font-size:14px;color:#797979;text-align:right;}
.sender-box .sender-img{width:40px;height:40px;position:absolute;left:0;top:0;}
.sender-box .sender-img img{width:100%;height:100%;object-fit:cover;object-position:center;border-radius:12px;}
.msg-search .form-control{background-color:#F3F8FF;border:0!important;}
.send-msg-wrap{width: 100%}
.send-msg-wrap .form-control.border{border-width:2px!important;padding-right:50px;}
.send-msg-wrap .btn{background-color:transparent!important;border:0;padding:0px;position:absolute;right:20px;top:13px;}
.send-msg-wrap .send-msg{position:relative;}
.send-emoji-box .emoji-wrap{display:flex;align-items:center;flex-wrap:wrap;}
@media (max-width:1599px){

    /*======Admin | Messages Chat=====*/
    .head-title h5{font-size:20px;}
    .chatlist{width:310px;}
    .chatbox{width:calc(100% - 310px);}
    .msg-head-wrap{padding-left:20px;padding-right:20px;height:70px;}
    .chat-header .head-title{height:70px;padding-left:20px;padding-right:20px;}
    .msg-head-txt h3{font-size:18px;}
    .msg-head-txt{padding-left:10px;}
    .msg-head-txt p{font-size:13px;}
    .msg-search{padding:12px 20px;}
    .chat-list-wrap{padding:10px;margin-bottom:5px;}
    .chat-list{padding-left:14px;padding-right:14px;}
    .chat-list-txt{padding-left:10px;}
    .chat-list-nm{font-size:13px;}
    .chat-list-msg{font-size:11px;}
    .chat-list-nm-tm .chat-list-tm{font-size:13px;}
    .send-emoji-box{padding:20px;}
    .send-msg-wrap{padding-left:20px;}
    .reply-box{padding-right:50px;}
    .reply-wp .reply-msg{font-size:13px;padding-bottom:10px;line-height:1.4;}
    .reply-wp .reply-tm{font-size:13px;}
    .sender-box{padding-left:50px;}
    .sender-wp .sender-msg{font-size:13px;padding-bottom:10px;}
    .sender-wp .sender-tm{font-size:13px;}
    .send-msg-wrap .btn{top:12px;}
    .msg-body{padding:15px;}
    .msg-body ul li.msg-divider{font-size:13px;}
    .reply-ww{padding:8px 13px 10px 13px;}
    .sender-ww{padding:8px 13px 8px 13px;}
}
@media(max-width:1499px){

    /*======Admin | Messages Chat=====*/
    .head-title h5{font-size:18px;}
    .chatlist{width:290px;}
    .chatbox{width:calc(100% - 290px);}
    .chat-header .head-title{height:65px;padding-left:15px;padding-right:15px;}
    .msg-head-wrap{padding-left:15px;padding-right:15px;height:65px;}
    .msg-head-img{width:35px;height:35px;}
    .msg-head-txt{width:calc(100% - 35px);}
    .chat-list-img{width:40px;height:40px;}
    .chat-list-txt{width:calc(100% - 40px);}
    .send-emoji-box{padding:20px 15px;}
    .msg-head-txt h3{font-size:17px;margin-bottom:2px;}
    .emoji-icon img{width:20px;height:20px;}
    .send-msg-wrap{padding-left:15px;width:calc(100% - 20px);}
    .sender-box .sender-img{width:35px;height:35px;}
    .sender-box{padding-left:45px;}
    .reply-box .reply-img{width:35px;height:35px;}
    .reply-box{padding-right:45px;}
    .chat-list-nm-tm{padding-bottom:3px;}
    .msg-search{padding:12px 15px;}
}
@media (max-width:1399px){

    /*======Admin | Messages Chat=====*/
    .head-title h5{font-size:16px;}
    .chatlist{width:270px;}
    .chatbox{width:calc(100% - 270px);}
    .chat-list-nm-tm .chat-list-tm{font-size:12px;}
    .msg-head-txt p{font-size:12px;}
    .msg-head-txt h3{font-size:16px;}
    .chat-list-nm{padding-right:30px;}
    .chatlist{width:250px;}
}
@media(max-width:1299px){

    /*======Admin | Messages Chat=====*/
    .chatlist{width:250px;}
    .chatbox{width:calc(100% - 250px);}
}
@media (max-width:1199.98px){

    /*======Admin | Messages Chat=====*/
    .dashboard-umain .dashboard-uwrap.dashboard-uwrap-cm .search-filter-title{padding-bottom:10px;}
    .dashboard-umain .dashboard-uwrap.dashboard-uwrap-cm{flex-direction:column;align-items:flex-start;}
    .chat-list-wrap{padding:8px;}

    /** hide show chat **/

    .chat-icon{display:block;padding-right: 15px;}
    .chatlist{width:100%;}
    .chatbox{width:100%;position:absolute;right:-100%;background:#fff;transition:all 0.5s ease;border-left:none;}
    .showbox{right:0!important;transition:all 0.5s ease;}
    .head-title h4{font-size:18px;}

    .chatbox.chatbox-worker {width: 100%; position: unset; right: unset; transition: none; }


}
@media (max-width:991.98px){

    /*===Admin | Messages Chat====*/
    .search-main{width:100%;}
    .reply-box,.sender-box{max-width:85%;}
    .chat-area{height:calc(100vh - 150px);}
}
@media (max-width:767.98px){

    /*===Admin | Messages Chat====*/
    .space-center-wrap .sw-profile-head-title{padding-bottom:0;}
    .chat-area{height:calc(100vh - 125px);}
    .send-msg-wrap .btn{right:10px;}
    .send-msg-wrap .form-control.border{padding-right:40px;}
    .reply-box{padding-right:40px;}
    .sender-box{padding-left:40px;}
    .chat-list-txt{padding-left:7px;}
    .chat-list{padding-left:10px;padding-right:10px;}
}
.message-wrap .msg-body{max-height:none;}
.message-wrap{padding:0;}
.message-wrap ul{list-style:none;margin:0;padding:0;}
.chat-list-wrap:hover .chat-list-nm{color:#000;}
.chat-list-wrap:hover .chat-list-msg{color:#797979;}
.chat-list-wrap.active{border:none;background-color:#212121!important;}
.chat-list-wrap.active .chat-list-nm-tm .chat-list-tm{color:#fff;}
.chat-list-wrap.active:hover .chat-list-nm{color:#fff;}
.msg-search .form-control{border-radius:12px;box-shadow:none;font-size:14px;color:#000000;-webkit-appearance:none;font-weight:normal;padding:10px 20px 10px 20px;height:48px;background-color:rgba(0,0,0,0.05);}
.msg-search .form-control::placeholder{color:#000;}
.msg-search .form-control:focus{background-color:rgba(0,0,0,0.1);}
.chat-area .modal-body{overflow-y:inherit;padding:0;scrollbar-color:#212121 transparent;scrollbar-width:thin;}
.modal-dialog-scrollable .modal-body{overflow-y:auto;}
.chat-list-wrap:hover{background-color:rgba(0,0,0,0.1);text-decoration:none;}
.offline-indicator{background-color:rgba(255,0,0,1);position:absolute;left:0;top:0px;margin-right:0;}
.chat-list-img{position:relative;}
.chat-list-txt{padding-left:10px;}
.sender-msg,.reply-msg{padding:0;border-radius:0;max-width:100%;background-color:transparent;}
.reply-ww{background-color:#212121;border:1px solid rgba(255,255,255,0.5);}
.reply-ww .chat-timestamp{color:#E9EAEB;text-align: right}
.sender-ww{background-color:rgba(0,0,0,0.1);border:1px solid rgba(0,0,0,0.1);}
.sender-ww .chat-timestamp{color:#000;text-align: right}
.send-msg-wrap .form-control.border{background-color:#ffffff;border:2px solid rgba(102 102 102 / 35%)!important;border-radius:12px;box-shadow:none;font-size:14px;color:#000000;-webkit-appearance:none;appearance:none;font-weight:normal;padding:10px 50px 10px 20px;height:48px;}
.send-msg-wrap .form-control.border::placeholder{color:#000;}
.send-msg-wrap .form-control.border:focus{background-color:rgba(0,0,0,0.1);}
.send-msg-wrap .btn{box-shadow:none;}
.sender-wp .sender-tm{color:#000;}
.head-title h5{color:#000;font-weight:bold;}
.msg-head-txt h3{color:#000;}
.chat-list-nm{padding-right:50px;font-size:13px;}
.chat-list-nm-tm .chat-list-tm{font-size:11px;font-weight:bold;top:2px;color:#000;}
.chat-list-wrap.active:hover .chat-list-msg{color:#c1c1c1;}
.chat-timestamp{font-size:14px;}
.user-type-badge {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 12px;
    color: white;
}
.sales-badge {
    background-color: #007bff;
}
.client-badge {
    background-color: #28a745;
}
@media(max-width:1599px) {
    .chat-timestamp{font-size:13px;}
    .sender-wp .sender-msg,.reply-wp .reply-msg{padding-bottom:2px;}
    .chat-list-nm-tm .chat-list-tm{font-size:10px;}
    .chat-list-nm{padding-right:45px;font-size:12px;}
    .user-type-badge{font-size:9px;padding:2px 5px;}
}
