.col-xl-4, .col-lg-4, .col-sm-6 {
    display: grid;
    flex: 1;
}

.tbl-td-span{
    padding: 3px 15px;
    font-size: 11px;
    border-radius: 5px;
    font-style: normal;
    font-weight: 600;
}

.sp-labl-Yes{
    background-color: #09af40;
    color: #fff;
} 

.sp-labl-No{
    background-color: #ebdc14;
    color: #fff;
} 

.btn-action.edit-act {
    background-color: #0c55db;
    color: #FFF;
    padding: 2px 10px;
    border-radius: 5px;
    text-align: center;
}

.btn-action.edit-act i.lni.lni-pencil {
    font-size: 14px;
}

.text-danger.btn-action.del-act {
    background-color: #db0c0c;
    color: #FFF !important;
    padding: 1px 10px;
    border-radius: 5px;
}

.text-danger.btn-action.del-act i.lni.lni-trash-can {
    font-size: 15px;
}

.gap-10 {
    gap: 10px;
}

.btn-action:hover{
    opacity: 0.8;
}
  
.darkTheme .card-style {
    background: #14142D;
    border-color: #02021E;
}
.darkTheme .table th h6 {
    color: #fff;
    font-size: 12px;
    text-transform: uppercase;
}

.darkTheme .table td p {
    color: #838C9A;
    width: 125px;
}

/*Table header content*/

.header-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.left-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.right-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.table-search-input {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #FFF;
    padding: 0 10px 0 0;
    font-size: 11px;
    border: 1px solid #00000026;
    border-radius: 5px;
}

.table-search-input label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-icon,
.search-reset-icon {
    background: none;
    border: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    .left-section, .right-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}


.card-header {
    margin: 0 0 15px 0;
    border: 1px solid #82828738;
    padding: 5px 10px;
    border-radius: 2px !important;
}

.card-header button{
    color: #FFF;
}

.table-search-input button.search-icon {
    color: unset;
}

.table-search-input input.form-control.input-sm {
    background: none;
    border: none;
}

.card-header button.btn {
    font-size: 15px;
    color: #000000;
}

a.creat-btn {
   color: #FFF;
}

.darkTheme .input-style-1 label, .darkTheme .input-style-2 label, .darkTheme .input-style-3 label {
   color: #fff;
}

.darkTheme .select-style-1 label, .darkTheme .select-style-2 label, .darkTheme .select-style-3 label {
   color: #fff;
}

.darkTheme .input-style-1 input, .darkTheme .input-style-1 textarea, .darkTheme .input-style-2 input, .darkTheme .input-style-2 textarea, .darkTheme .input-style-3 input, .darkTheme .input-style-3 textarea {
    background: rgba(2, 2, 30, 0.2);
    border-color: #3F4053;
    color: rgba(255, 255, 255, 0.7);
}


.publish-button-cls {
    margin: 10px 0;
    margin: 10px 0;
    display: flex;
    gap: 10px;
}


.form-check.checkbox-style {
    display: flex;
    flex: 1;
    gap: 6px;
    margin-top: 5px;
}

.fit-cont-hieght{
    height: fit-content;
}

#toast-container {
    position: fixed;
    bottom: 40px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background-color: #333;
    color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s, transform 0.3s;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast .close-btn {
    margin-left: auto;
    background: none;
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

.toast-success {
    background-color: #28a745;
}

.toast-error {
    background-color: #dc3545;
}

/* delete popup */

#deleteBtn {
    background-color: #ff4d4d;
    color: white;
}
  
.popup {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}
  
.popup-content p {
    margin: 10px 0;
    width: unset !important;
}

.popup-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 30px;
    border: 1px solid #888;
    width: 400px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: bounceIn 0.6s;
    position: relative;
}
  
.popup-content h2 {
    margin-top: 0;
    color: #ff4d4d;
}
  
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    top: 1px;
    right: 12px;
    position: absolute;
}
  
.close:hover,
.close:focus {
    color: #ff4d4d;
    text-decoration: none;
    cursor: pointer;
}
  
.btn.confirm {
    background-color: #ff4d4d;
    color: white;
    margin-right: 10px;
}
  
.btn.cancel {
    background-color: #f4f4f4;
    color: #333;
}
  
@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}

.card-header button.dropdown-item {
    color: unset;
}


/* Basic styles */
.filter-dropdown-menu {
    display: none; /* Hide by default */
    position: absolute;
    background-color: white;
    border: 1px solid #ccc;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    width: 200px;
}

/* Show dropdown when target is matched */
#filterDropdown:target {
    display: block;
}

/* Style for the dropdown items */
.filter-dropdown-menu .dropdown-item {
    display: block;
    padding: 10px;
    cursor: pointer;
}

.filter-dropdown-menu .dropdown-item:hover {  background-color: #f1f1f1;}
/* Hide the link that opens the dropdown */
.hidden-link { display: none;}
/*  Pagination */
.dataTable-bottom {margin-top: 40px;}
.dataTable-info {float: left;}

nav.dataTable-pagination {float: right;}

ul.dataTable-pagination-list {
    margin: 0;
    padding-left: 0;
    display: flex;
    gap: 7px;
}

.dataTable-pagination-list li.active {
    background: #365CF5;
    color: #fff;
}

.dataTable-pagination-list li {
    list-style: none;
    float: left;
}

.dataTable-pagination-list li a {
    border: 1px solid transparent;
    float: left;
    margin-left: 2px;
    padding: 6px 12px;
    position: relative;
    text-decoration: none;
    color: #838C9A;
}

span.tbl-td-span.sp-labl-Active{
    background-color: #0a9538;
    color: #fff;
}

span.tbl-td-span.sp-labl-UnActive{
    background-color: #af0909;
    color: #fff;
}

.preview-container {
    margin-top: 15px;
    border: 2px dashed #ccc;
    border-radius: 5px;
    padding: 10px;
    text-align: center;
    /* height: 200px;  */
    overflow: hidden; 
    width: fit-content;
}

.preview-image {
    max-width: 100%;
    max-height: 100%;
}


.loader {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    z-index: 9999; /* Ensure it's on top */
}

      /* Loader spinner */
.loader-spinner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, #3498db 20%, transparent 20%),
                radial-gradient(circle, #3498db 20%, transparent 20%),
                radial-gradient(circle, #3498db 20%, transparent 20%);
    background-size: 50% 50%;
    background-position: 0 0, 50% 50%, 0 50%;
    background-repeat: no-repeat;
    animation: pulse 1.5s infinite ease-in-out;
}

/* Pulse animation */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}


div#previewProductContainer {
    width: 100%;
    height: 146px;
    display: flex;
    gap: 5px;
} 

div#previewProductContainer img.preview-image {
    width: 125px;
    max-width: 100%;
    height: 100%;
}



/* Container for each image and its remove button */
.image-container {
    position: relative;
    display: inline-block;
    margin: 5px;
    border: 1px solid #ddd;
    padding: 5px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Style for preview images */
.preview-image {
    max-width: 150px;  /* Adjust based on your design needs */
    max-height: 150px; /* Adjust based on your design needs */
    display: block;
    margin: 0 auto;
    border-radius: 5px;
}

/* Style for the remove button */
.remove-image {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: red;
    color: white;
    border: none;
    cursor: pointer;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.remove-image:hover {
    background: darkred;
}

/* Style for the error message */
.error-message-image {
    color: red;
    font-size: 14px;
    margin-top: 10px;
}

.table.striped-table tr td img {
    width: 50px;
    height: 50px;
}

.sticky-bar {
    position: fixed;
    top: 90px;
    left: 250px;
    width: calc(100% - 250px);
    background-color: #efefef;
    color: white;
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9000;
    padding-left: 41px;
    box-shadow: 0px 2px 9px rgb(83 83 110 / 34%);
}

.sticky-bar .save-buttons {
    display: flex;
}

.sticky-bar .save-buttons label {
    height: 35px;
    font-size: 12px;
    margin-right: 5px;
    border-radius: 5px;
}

.sticky-bar .navigation-bar {
    margin-left: auto;
}

.sticky-bar .breadcrumb-wrapper {
    display: flex;
    align-items: center;
}

.navigation-bar.breadcrumb-wrapper {
    margin: 0;
    margin-right: 25px;
}

.navigation-bar.breadcrumb-wrapper ol.breadcrumb {
    margin: 10px 0;
}

.navigation-bar.breadcrumb-wrapper .breadcrumb li a {
    color: #9da9c9;
}

.navigation-bar.breadcrumb-wrapper .breadcrumb li a:hover {
    color: #7091e9;
}

/*  sortig css*/

.sort-icon {
    display: inline;
    margin-left: 5px;
    color: #cccccc5e; /* Inactive color */
}
.sortable {
    cursor: pointer;
}

span.sort-icon.asc.active {
    color: rgb(255 255 255);
}

span.sort-icon.desc.active{
    color: rgb(255 255 255);
}

i.fas.fa-star {
    color: gold;
}

i.fas.fa-star-half-alt {
    color: gold;
}

.card-style.mb-30.ratting-heading-1 {
    padding: 13px 19px;
}

.ratting-heading-1 input[type="text"] {
    border: unset;
    background: unset;
    padding: 0;
    color: rgba(255, 255, 255, 0.7);
    width: 100%;
}

span.icon.ic span.text {
    font-size: 14px;
    font-weight: 500;
}
.status-btn.approved-btn {
    color: #365cf5;
    background: rgb(54 92 245 / 18%);
}

strong.currency-rs {
    font-size: 17px;
    font-weight: 100;
    margin-right: 2px;
}

.btn-action.view-act {
    background-color: #0c55db3d;
    color: #FFF;
    padding: 2px 10px;
    border-radius: 5px;
    text-align: center;
}

.trailed-text{
    display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;overflow: hidden;text-overflow: ellipsis;
}

/* Filter css */

.filter-wrap-box {
    display: none;
    padding: 10px;
    /* background-color: #f7f7f7; */
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: small;
}

.assign-lead-wrap-box {
    display: none;
    padding: 10px;
    /* background-color: #f7f7f7; */
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: small;
}

.assign-lead-wrap-box.show{
    display: flex;
    border: 1px solid #e4e4e5;
}

.filter-section {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    padding: 10px 10px;
    border: 1px solid #ffffff1f;
    border-radius: 8px;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-group label {
    margin-bottom: 5px;
    font-weight: bold;
}

.filter-dropdown {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.custom-date-range {
    display: flex;
    gap: 10px;
    align-items: center;
    align-self: end;
}

.custom-date-range.hidden {
    display: none;
}

.date-input {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .filter-section {
        flex-direction: column;
    }

    .filter-group, .custom-date-range {
        width: 100%;
    }

    .date-input {
        width: calc(50% - 10px);
    }
}

div#custom-date-range .col {
    gap: 4px;
    display: grid;
}

.filter-section button.main-btn.primary-btn.rounded-full.btn-hover {
    height: 35px;
    font-size: 12px;
    width: 50px;
    align-self: end;
}

.header-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.filter-wrap-box.show{
    display: flex;
    border: 1px solid #e4e4e5;
} 


.filter-button {
    display: inline-flex;
    align-items: center;
    padding: 10px 13px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 300;
    transition: background-color 0.3s ease;
    height: 36px;
}

.filter-button:hover {
    background-color: #0056b3;
}

.filter-button i{
    font-size: smaller;
}

.filter-icon {
    margin-right: 8px;
    font-size: 18px;
}

@media (max-width: 768px) {
    .filter-button {
        padding: 8px 16px;
        font-size: 14px;
    }

    .filter-icon {
        font-size: 16px;
    }
}

.input-rows-frm{
    display: flex;
    gap: 10px;
}

.half-width{
    width: 50%;
}

.d-inline-block button.btn.dropdown-toggle {
    color: #000000;
    text-decoration: underline;
}

.border1{
    border: 1px solid;
}
.border2{
    border: 2px solid;
}

.w-33{
    width: 33%;
}


.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
  }
  
  .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: 0.4s;
    border-radius: 34px;
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
  }
  
  input:checked + .slider {
    background-color: #4caf50;
  }
  
  input:checked + .slider:before {
    transform: translateX(26px);
  }


  /*lead details screen*/


  /* General Container Styling */
.lead-details-container {
    width: 95%;
    margin: 30px auto;
    font-family: 'Roboto', Arial, sans-serif;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    background-color: #f9f9f9;
    box-sizing: border-box;
}

/* Lead Details Section */
.lead-details {
    display: flex;
    justify-content: space-between;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    background-color: #fff;
    margin-bottom: 20px;
    position: relative;
}

.lead-info {
    flex: 1;
    padding: 15px;
    font-size: 16px;
    color: #333;
}

.lead-info p {
    margin: 8px 0;
}

.properties-tags {
    flex: 2;
    padding: 15px;
}

.properties-tags span {
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
    color: #333;
    margin-top: 7px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background-color:#9aa4ca;
    color: white;
    padding: 8px 12px;
    border-radius: 15px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.tag:hover {
    background-color: #0056b3;
}
.logs-section,
.change-status-log-section
{
    position: relative;
    margin-top: 27px;
}
/* Logs Section */
.logs-section,.change-status-log-section {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    background-color: #fff;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logs-section h3 {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    text-align: left;
    width: fit-content;
    float: left;
}



.load-more {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.load-more:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

.load-more:active {
    transform: translateY(0);
}

.tags a {
    color: #FFF;
}

a.btn-action.assign-act.eye-icon-box {
    background-color: #edd80b;
    color: #FFF;
    padding: 2px 7px;
    border-radius: 5px;
    text-align: center;
}

a.btn-action.assign-act {
    background-color: #0de46f;
    color: #FFF;
    padding: 2px 7px;
    border-radius: 5px;
    text-align: center;
}

a.btn-action.assign-act.eye-icon-box:hover,
a.btn-action.assign-act:hover{
    opacity: 0.7;
}


li.nav-item.active {
    color: #365cf5 !important;
}

li.nav-item.active svg circle,
li.nav-item.active svg path {
    fill: #365cf5;
    stroke:#365cf5;
}

.sidebar-nav-wrapper .sidebar-nav ul .nav-item.active > a, .sidebar-nav-wrapper .sidebar-nav ul .nav-item.active > a.collapsed, .sidebar-nav-wrapper .sidebar-nav ul .nav-item:hover > a, .sidebar-nav-wrapper .sidebar-nav ul .nav-item:hover > a.collapsed {
    color: #365cf5;
}

ul.dropdown-menu.dropdown-menu-end.show{
    right: -63px;
    transform: translate(42px, 49.5px) !important;
}

/*right-sidebar*/

/* Sidebar Styles */
.sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100%;
    background-color: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    transition: right 0.5s ease;
    z-index: 1000;
}

.sidebar.active {
    right: 0;
}

.sidebar-content {
    padding: 20px;
}

.sidebar-content h2 {
    margin: 0 0 20px;
}

.sidebar-content label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
}

.sidebar-content input {
    width: 95%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.sidebar-content button {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.sidebar-content button:hover {
    background-color: #0056b3;
}

.sidebar .close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
    color: #aaa;
}

.sidebar .close:hover {
    color: #000;
}
