/********************* DASHBOARD *************************/

.layout-wrap .flat-counter-v1 {
  display: grid;
  gap: 40px;
  margin-bottom: 30px;
}

.layout-wrap .flat-counter-v1 .counter-box {
  display: flex;
  gap: 20px;
  align-items: center;
  background-color: #FFEBED;
  font-family: Poppins;
  padding: 25px;
  border: 1px solid #e4e4e4;
  border-radius: 30px;
  width: 260px;
  height: 234px;
  font-size: 20px;
  top: 168.07px;
  left: 40.71px;
  font-family: Poppins;
}

.layout-wrap .flat-counter-v1 .counter-box .box-icon {
  background-color: rgba(238, 103, 66, 0.1);
  flex-shrink: 0;
}

.layout-wrap .flat-counter-v1 .counter-box .box-icon .icon {
  font-size: 40px;
  color: #ED2027;
}

.layout-wrap .flat-counter-v1 .counter-box .title-count {
  margin-bottom: 4px;
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
  text-transform: capitalize;
}

.counter-section-detail {
  grid-template-columns: repeat(3, 1fr);
}

.dashboard-section .counter-section-info {
  font-family: "DM Sans", sans-serif;
  margin-bottom: 40px;
  color: #202020;
}

.dashboard-section .counter-section-info h5,
.notification-container-info h5 {
  font-size: 25px;
  line-height: 40px;
  font-weight: 700;
  color: #05004E;
}

.dashboard-section .counter-section-info span {
  color: #737791;
  font-size: 20px;
  line-height: 38px;
  font-weight: 400;
}

.flat-counter-vv2 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* space between top image and bottom text */
  height: 100%;
  /* Ensure height is defined */
}

.flat-counter-vv2 img {
  align-self: flex-start;
  /* ensures the image stays at the top */
}

.content-box.inner-content-detail {
  align-self: flex-start;
  /* optional: controls horizontal alignment */
}

.activity {
  margin-top: 50px;
  margin-bottom: 50px;
}

.summary {
  width: 401px;
  height: 537px;
}

.leads {
  width: 60;
  height: 437px;
}

.recent-message .notification-img img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: none;
  padding: 5px;
}

.project-count {
  background-color: #FFEBED !important;
  height: 100% !important;
  padding: 25px;
  border-radius: 20px;
}

.project-count h3,
.properties-count h3,
.likes-count h3,
.impression-count h3,
.clicks-count h3,
.reviews-count h3 {
  font-family: "DM Sans", sans-serif !important;
  line-height: 40px;
}

.project-count h5,
.properties-count h5,
.likes-count h5,
.impression-count h5,
.clicks-count h5,
.reviews-count h5 {
  font-family: "DM Sans", sans-serif !important;
  color: #425166;
  padding-top: 5px;
}

.project-count span,
.properties-count span,
.likes-count span,
.impression-count span,
.clicks-count span,
.reviews-count span {
  font-family: "DM Sans", sans-serif !important;
  color: #4079ED;
  font-size: 16px;
  line-height: 20px;
  font-weight: 500;
  padding-top: 5px;
}

.project-count img,
.properties-count img,
.likes-count img,
.impression-count img,
.clicks-count img,
.reviews-count img {
  margin-bottom: 30px;
}

.properties-count,
.likes-count,
.impression-count,
.clicks-count,
.reviews-count {
  height: 100% !important;
  padding: 25px;
  border-radius: 20px;
}

.properties-count {
  background-color: #DEFBFF !important;
}

.likes-count {
  background-color: #FFECD5 !important;
}

.impression-count {
  background-color: #E2F0FF !important;
}

.clicks-count {
  background-color: #EFFFDE !important;
}

.reviews-count {
  background-color: #F3E8FF !important;
}

.dashboard-inner-content {
  padding: 25px;
  border-radius: 20px;
  border: 1px solid #e4e4e4;
  background-color: #ffffff;
  font-family: "DM Sans", sans-serif;
  width: 70%;
}

.data-section {
  display: flex;
}

.activity-inner-content,
.lead-section,
.total-lead-container {
  margin: 50px 0px 0px 0px;
  display: flex;
  gap: 50px;
}

.bar-chart-intro-sec {
  display: flex;
  position: relative
}

.inner-title-sec,
.lead-visit-container {
  width: 70%;
}

.inner-filter-sec {
  display: flex;
  justify-content: center;
  align-items: center;
  float: right;
  /* width: 270px; */
  background-color: rgba(0, 65, 105, 0.19);
  border-radius: 25px;
  padding-right: 10px;
  padding-left: 10px;
}

.bar-chart-intro-sec .inner-title-sec h6,
.traffic-container .traffic-container-info h6,
.lead-visit-container-info h6,
.total-lead-container-inner h6,
.total-lead-container-outer h6 {
  font-family: "DM Sans", sans-serif;
  font-size: 18px;
  line-height: 20px;
  color: #9291A5;
  font-weight: 400;
  margin: 0px;
  padding: 0px;
}

.bar-chart-intro-sec .inner-title-sec h3,
.traffic-container .traffic-container-info h3,
.lead-visit-container-info h3,
.total-lead-container-inner h3,
.total-lead-container-outer h3 {
  font-family: "DM Sans", sans-serif;
  font-size: 22px;
  line-height: 28px;
  color: #1E1B39;
  font-weight: 700;
  margin: 0px;
  padding: 0px;
}

.bar-filter-btn {
  padding: 10px 10px;
  background: none;
  border: none;
  color: #9291A5;
}

.bar-filter-btn.active {
  background-color: #1E1B39;
  color: #FFF;
  margin: 6px 0px;
  padding: 5px 10px;
  border-radius: 25px;
}

.bar-chart-graph {
  max-width: 800px;
  height: 500px;
  width: 100%;
  margin: 25px 0px 0px 0px;
}

.bar-chart-container,
.lead-visit-container {
  padding: 25px;
  border: 1px solid #e4e4e4;
  background-color: #ffffff;
  border-radius: 20px;
  width: 70%;
}

.traffic-container,
.notification-container,
.lead-inner-content {
  width: 30%;
  padding: 25px;
  border: 1px solid #e4e4e4;
  background-color: #ffffff;
  border-radius: 20px;
  display: grid;
}

.total-lead-container,
.lead-inner-content {
  width: 30%;
  padding: 25px;
  border: 1px solid #e4e4e4;
  border-radius: 20px;
}

/* .total-lead-container-info{padding: 35px; border: 1px solid #e4e4e4;border-radius: 20px; width: 458px; height: 370px;} */
.total-lead-info {
  display: flex;
  position: relative;
  justify-content: space-between;
}

.total-lead-container-outer {
  float: right;
}

/* .total-lead-container-inner h6 { font-size: 18px; line-height: 20px; font-weight: 700; color: #615E83; margin: 0; padding: 0; }
.total-lead-container-inner h3 { font-size: 22px; line-height: 28px; color: #1E1B39; font-family: 'Poppins', sans-serif; margin: 0; font-weight: 700; padding: 0; }
.total-lead-container-outer h6 { font-size: 22px; line-height: 28px; font-weight: 700; color: red; margin: 0; padding: 0; }
.total-lead-container-outer h3 { font-size: 22px;  line-height: 28px; color: #1E1B39; font-family: 'Poppins', sans-serif !important; text-align: left; font-weight: 700; margin: 0; padding: 0; } */


.duallinechart canvas {
  display: block;
  height: 200px;
}

.static-outer-container {
  width: 300px;
  height: 300px;
}

.leads-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 400px;
  gap: 40px;
}

.static-container {
  width: 30%;
  padding: 35px;
  border: 1px solid #e4e4e4;
  border-radius: 20px;
}

/* .lead-inner-content{background-color: #ffffff; display: flex; width: 100%; gap: 52px;} */

.campaign-container {
  width: 737px;
  height: 410px;
  ;
  padding: 35px;
  border: 1px solid #e4e4e4;
  border-radius: 20px;
}

.campaign-outer-container {
  width: 300px;
  height: 300px;
}

.campaign-container-info h6 {
  font-family: "DM Sans", sans-serif;
  font-size: 20px;
  line-height: 40px;
  font-weight: 700;
  color: #9291A7;
  width: 118px;
  height: 18px;
}

.campaign-container-info h3 {
  font-family: "DM Sans", sans-serif !important;
  font-size: 20px;
  color: #1E1B39;
  width: 294px;
  height: 25px;
  display: inline;
  font-family: Poppins;
}

.total-developers {
  background-color: #EFEFEF !important;
  height: 100% !important;
  padding: 25px;
  border-radius: 20px;
  gap: 59px
}

.total-developers h3 {
  font-family: "DM Sans", sans-serif !important;
  line-height: 40px;
}

.total-developers h5 {
  font-family: "DM Sans", sans-serif !important;
  color: #425166;
  padding-top: 5px;
}

.total-developers span {
  font-family: "DM Sans", sans-serif !important;
  color: #4079ED;
  font-size: 20px;
  line-height: 20px;
  font-weight: 500;
  padding-top: 5px;
}

.total-developers img {
  margin-bottom: 30px;
}

/* total-agency */
.total-agency {
  background-color: #FFF4E8 !important;
  height: 100% !important;
  padding: 25px;
  border-radius: 20px;
  gap: 59px
}

.total-agency h3 {
  font-family: "DM Sans", sans-serif !important;
  line-height: 40px;
}

.total--agency h5 {
  font-family: "DM Sans", sans-serif !important;
  color: #425166;
  padding-top: 5px;
}

.total-agency span {
  font-family: "DM Sans", sans-serif !important;
  color: #4079ED;
  font-size: 20px;
  line-height: 20px;
  font-weight: 500;
  padding-top: 5px;
}

.total-agency img {
  margin-bottom: 30px;
}

.notification-img img {
  padding: 8px;
  background-color: #E3F5FF;
  border-radius: 8px;
  width: 50px;
}

.notification-item {
  display: flex;
  gap: 10px;
  margin: 0px 0px 10px 0px;
}

.notification-detail h6 {
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 242px;
}

.notification-detail span {
  color: #1C1C1C66;
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
}

.notification-detail h5 {
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 15px;
  color: #1E1B39;
  margin: 0px 0px 25px 0px;
}

.activity-inner-content,
.lead-section,
.total-lead-container {
  gap: 0px;
}

.dashboard-inner-content,
.bar-chart-container,
.lead-visit-container {
  margin-right: 30px;
}

@media only screen and (max-width: 1024px) {

  .data-section .dashboard-inner-content,
  .data-section .notification-container,
  .activity-inner-content .bar-chart-container,
  .activity-inner-content .notification-container,
  .lead-section .lead-visit-container,
  .lead-section .lead-inner-content {
    width: 100%;
  }

  .data-section,
  .activity-inner-content,
  .lead-section {
    display: block;
  }

  .data-section .notification-container,
  .activity-inner-content .bar-chart-container,
  .activity-inner-content .notification-container,
  .lead-section .lead-visit-container,
  .lead-section .lead-inner-content {
    margin-top: 30px;
  }

  .lead-section .total-lead-container-info .inner-section {
    justify-content: center;
    display: flex;
  }

  .semicirclechart canvas {
    width: 300px;
  }
}

@media only screen and (max-width: 768px) {

  .activity-inner-content,
  .lead-section,
  .total-lead-container {
    margin: 0px !important;
  }

  .bar-chart-intro-sec .outer-title-sec {
    width: 100%;
  }

  .bar-chart-intro-sec {
    display: block;
  }

  .bar-chart-graph {
    max-width: 400px;
  }

  .inner-filter-sec {
    flex-direction: column;
    width: auto;
    float: right;
    display: none;
  }

  .bar-chart-intro-sec {
    display: flex;
    max-height: 100px;
  }

  .semicirclechart canvas {
    width: 300px;
  }
}

@media only screen and (max-width: 425px) {

  .activity-inner-content,
  .lead-section,
  .total-lead-container {
    margin: 0px !important;
  }

  .semicirclechart canvas {
    width: 200px !important;
  }

  .duallinechart {
    margin-bottom: 0px;
    padding: 10px 0px 0px 0px !important;
  }

  .clicks-count .flat-counter-vv2,
  .properties-count .flat-counter-vv2,
  .likes-count .flat-counter-vv2,
  .impression-count .flat-counter-vv2,
  .reviews-count .flat-counter-vv2 {
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .clicks-count .flat-counter-vv2 img,
  .properties-count .flat-counter-vv2 img,
  .likes-count .flat-counter-vv2 img,
  .impression-count .flat-counter-vv2 img,
  .reviews-count .flat-counter-vv2 img {
    align-self: center;
  }

  .clicks-count,
  .properties-count,
  .likes-count,
  .impression-count,
  .reviews-count {
    justify-content: center;
    align-items: center;
    display: flex;
  }

  .project-count h5,
  .properties-count h5,
  .likes-count h5,
  .impression-count h5,
  .clicks-count h5,
  .reviews-count h5 {
    font-size: 25px;
    line-height: 30px;
  }

  .project-count span,
  .properties-count span,
  .likes-count span,
  .impression-count span,
  .clicks-count span,
  .reviews-count span {
    font-size: 18px;
    line-height: 20px;
  }

  .semicirclechart canvas {
    width: 300px;
  }
}

@media (max-width: 1300px) and (min-width: 1024px) {
  .semicirclechart canvas {
    width: 215px !important;
  }

  .semicirclechart {
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

/************************* Table *************************/
.common-table-container {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #374151;
  line-height: 1.5;
}

.table-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #e4e4e4;
  background-color: #ffffff;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  margin: 10px 0;
}

.header-title {
  font-size: 26px;
  line-height: 1;
  font-weight: 600;
  color: #111827;
  margin: 0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #6b7280;
  margin-bottom: 0;
}

.breadcrumb-current {
  color: #111827;
}

.table-content {
  background-color: #ffffff;
  padding: 1.5rem;
  min-height: calc(100vh - 80px);
}

.business-header {
  display: flex;
  align-items: center;
  justify-content: end;
  margin-bottom: 1.5rem;
}

.business-title {
  font-size: 1.25rem;
  font-weight: 500;
  color: #111827;
  margin: 0;
}

.add-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: #00a8c1;
  color: white;
  text-decoration: none;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background-color 0.2s;
  border: none;
  cursor: pointer;
}

.add-button:hover {
  background-color: #045c8d;
}

.search-filter-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.search-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.search-group {
  display: flex;
  align-items: center;
}

.search-input {
  width: 320px;
  padding: 0.5rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search-input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-button {
  margin-left: 0.5rem;
  padding: 0.5rem 1.5rem;
  background-color: #f3f4f6;
  color: #374151;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.search-button:hover {
  background-color: #e4e4e4;
}

.filter-container {
  position: relative;
}

.filter-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  background-color: white;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

.filter-button:hover {
  background-color: #f9fafb;
}

.filter-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.25rem;
  width: 12rem;
  background-color: white;
  border: 1px solid #e4e4e4;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.filter-dropdown-item {
  width: 100%;
  padding: 0.5rem 1rem;
  text-align: left;
  background: none;
  border: none;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

.filter-dropdown-item:hover {
  background-color: #f9fafb;
}

.table-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.action-menu-button {
  padding: 0.5rem;
  color: #9ca3af;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}

.action-menu-button:hover {
  color: #4b5563;
}

.table-container {
  background-color: white;
  border: 1px solid #e4e4e4;
  border-radius: 10px;
  overflow-x: auto;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.table-header-row {
  background-color: #f9fafb;
}

.table-header-cell {
  padding: 1rem 1.5rem;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #161e2d;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid #e4e4e4;
}

.table-body {
  background-color: white;
}

.table-row {
  border-bottom: 1px solid #f3f4f6;
  transition: background-color 0.2s;
}

.table-row:hover {
  background-color: #f9fafb;
}

.table-cell {
  padding: 1rem 1.5rem;
  white-space: nowrap;
  font-size: 14px;
  color: #161e2d;
  text-align: center;
  vertical-align: middle;
}

.loading-container {
  padding: 3rem 1.5rem;
  text-align: center;
}

.loading-content {
  display: flex;
  justify-content: center;
  align-items: center;
}

.loading-spinner {
  animation: spin 1s linear infinite;
  border-radius: 50%;
  height: 2rem;
  width: 2rem;
  border: 2px solid #e4e4e4;
  border-top-color: #3b82f6;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loading-text {
  margin-left: 0.5rem;
  color: #6b7280;
}

.empty-state {
  padding: 3rem 1.5rem;
  text-align: center;
  color: #6b7280;
}

.image-cell-container {
  display: flex;
  justify-content: center;
}

.avatar-wrapper {
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  display: flex;
}

.avatar-image {
  width: 100px;
  height: 100%;
  margin: 5px;
  object-fit: cover;
}

.avatar-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #d1d5db;
  display: flex;
  align-items: center;
  justify-content: center;
}

.normal-image {
  border-radius: 5px !important;
  border-radius: none !important;
}

.avatar-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: #6b7280;
}

.status-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.normal-btn {
  /**/
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  background-color: #d1fae5;
  color: #065f46;
  border: none;
  margin: 0px 5px;
}

.status-active {
  background-color: #d1fae5;
  color: #065f46;
}

.status-inactive {
  background-color: #fee2e2;
  color: #991b1b;
}

.status-unknown {
  background-color: #f3f4f6;
  color: #374151;
}

.action-buttons {
  display: flex;
  justify-content: center;
}

.action-btn {
  padding: 0.5rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
  background-color: transparent;
}

.action-btn-view {
  color: #3b82f6;
}

.action-btn-view:hover {
  background-color: #dbeafe;
}

.action-btn-edit {
  color: #6b7280;
}

.action-btn-edit:hover {
  background-color: #f3f4f6;
}

.action-btn-delete {
  color: #ef4444;
}

.action-btn-delete:hover {
  background-color: #fef2f2;
}

.pagination-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
}

.pagination-info {
  font-size: 0.875rem;
  color: #6b7280;
}

.pagination-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pagination-btn {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.5rem;
  border: 1px solid #045c8d;
  cursor: pointer;
  transition: background-color 0.2s;
  /* background-color: #fef3c7; */
  color: #6b7280;
}

.pagination-btn:hover:not(:disabled) {
  background-color: #045c8d;
  color: #ffffff;
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination-btn-page {
  padding: 0.5rem 0.75rem;
  color: #374151;
  background-color: #fef3c7;
}

.pagination-btn-page:hover {
  background-color: #045c8d;
}

.pagination-btn-page.active {
  background-color: #045c8d;
  color: white;
}

.visit-controls-container {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.visit-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
}

.visit-btn-active {
  background: #00a8c1;
  color: white;
}

.visit-btn-inactive {
  background: #f8f9fa;
  color: #6c757d;
  border: 1px solid #e9ecef;
}

.visit-btn-inactive:hover {
  background: #e9ecef;
  color: #495057;
}

.visit-btn-active:hover {
  background: #045c8d;
}

.date-filter-button-enhanced {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #045c8d;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  min-width: 140px;
  min-height: 44px;
}

.date-filter-button-enhanced:hover {
  background: #00a8c1;
}

.date-filter-dropdown-enhanced {
  position: absolute;
  right: 45px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  z-index: 1000;
  margin-top: 8px;
  overflow: hidden;
  width: 300px;
}

.export-button-enhanced {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  color: white;
  border: none;
  background: #00a8c1;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  min-width: 160px;
  min-height: 44px;
}

.export-button-enhanced:hover {
  background: #045c8d;
}

.export-dropdown-enhanced {
  position: absolute;
  right: 40px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  z-index: 1000;
  margin-top: 8px;
  min-width: 280px;
  overflow: hidden;
}

.date-input-enhanced {
  width: 100%;
  padding: 10px 12px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 14px;
}

.date-input-enhanced:focus {
  outline: none;
  border-color: #667eea;
}

.date-filter-apply-btn-enhanced {
  flex: 1;
  padding: 10px 16px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
}

.date-filter-apply-btn-enhanced:hover {
  background: linear-gradient(135deg, #0d9488 0%, #047857 100%);
}

.date-filter-reset-btn-enhanced {
  flex: 1;
  padding: 10px 16px;
  background: #f3f4f6;
  color: #6b7280;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
}

.date-filter-reset-btn-enhanced:hover {
  background: #e5e7eb;
  color: #374151;
}

.date-input-enhanced {
  -webkit-appearance: none !important;
  -moz-appearance: textfield !important;
  appearance: none !important;
  position: relative !important;
  z-index: 1000 !important;
  pointer-events: auto !important;
  background: white !important;
  border: 1px solid #ccc !important;
  padding: 8px 12px !important;
  border-radius: 4px !important;
  font-size: 14px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.date-input-enhanced::-webkit-calendar-picker-indicator {
  opacity: 1 !important;
  cursor: pointer !important;
  position: relative !important;
  z-index: 1001 !important;
}

.date-filter-dropdown-enhanced {
  position: absolute !important;
  z-index: 9999 !important;
  background: white !important;
  border: 1px solid #ccc !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
  padding: 16px !important;
  min-width: 300px !important;
}

.date-input-group {
  margin-bottom: 12px !important;
}

.date-input-group label {
  display: block !important;
  margin-bottom: 4px !important;
  font-weight: 500 !important;
}

.export-dropdown-enhanced {

  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  z-index: 1000;
  margin-top: 8px;
  min-width: 280px;
  overflow: hidden;
}

.dropdown-header {
  padding: 16px 20px 8px;
  border-bottom: 1px solid #f3f4f6;
  background: #fafafa;
}

.dropdown-header span {
  font-size: 14px;
  font-weight: 600;
  color: #374151;
}

.dropdown-content {
  padding: 8px;
}

.export-dropdown-item-enhanced {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 16px;
  background: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: 4px;
}

.export-dropdown-item-enhanced:hover {
  background: #f8fafc;
}

.export-dropdown-item-enhanced.pdf-export:hover {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
}

.export-dropdown-item-enhanced.excel-export:hover {
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
}

.export-icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.export-text-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
}

.export-title {
  font-size: 14px;
  font-weight: 500;
  color: #111827;
  margin-bottom: 2px;
}

.export-subtitle {
  font-size: 12px;
  color: #6b7280;
}


@media (max-width: 768px) {
  .header-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .search-filter-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .search-input {
    width: 100%;
  }

  .pagination-container {
    flex-direction: column;
    gap: 1rem;
  }

  .table-cell {
    padding: 0.75rem;
    font-size: 0.8125rem;
  }
}


.layout-wrap .main-content-inner {
  background-color: #f7f7f7;
}



/**************** ChAT *******************/

.modern-chat-container {
  display: flex;
  height: 80vh;
  background: #f0f2f5;
  font-family: "DM Sans", sans-serif, 'Segoe UI', Roboto, sans-serif;
}

.chat-sidebar {
  width: 380px;
  background: white;
  border-right: 1px solid #e4e6ea;
  display: flex;
  flex-direction: column;
  height: 100vh;
}

.sidebar-header {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-title h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: #050505;
  letter-spacing: -0.5px;
}

.message-count {
  background: #42526e;
  color: white;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  min-width: 20px;
  text-align: center;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-btn {
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: #65676b;
  border-radius: 6px;
  font-size: 16px;
  transition: all 0.2s ease;
}

.header-btn:hover {
  background: #f2f3f5;
  color: #050505;
}

.search-container {
  padding: 0px 20px 16px 20px;
}

.search-input-wrapper {
  position: relative;
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #65676b;
  font-size: 14px;
}

.search-input {
  width: 100%;
  padding: 10px 12px 10px 36px;
  border: none;
  border-radius: 20px;
  background: #f0f2f5;
  font-size: 15px;
  outline: none;
  transition: all 0.2s ease;
  font-weight: 400;
}

.search-input:focus {
  background: #e4e6ea;
}

.search-input::placeholder {
  color: #65676b;
}

.chat-list {
  flex: 1;
  overflow-y: scroll !important;
  overflow-x: auto;
  padding: 0;
  margin-bottom: 50px;
}

.chat-item {
  display: flex;
  padding: 12px 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  align-items: center;
}

.chat-item:hover {
  background: #f2f3f5;
}

.chat-item.active {
  background: #ee67421a;
}

.chat-avatar {
  position: relative;
  margin-right: 12px;
  flex-shrink: 0;
}

.avatar-image {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.online-status {
  position: absolute;
  bottom: 20px;
  right: 5px;
  width: 15px;
  height: 15px;
}

.online-status img {
  border: 2px solid #fff;
  vertical-align: middle;
  border-radius: 50%;
}

.chat-content {
  flex: 1;
  min-width: 0;
}

.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.chat-name {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #050505;
  line-height: 1;
}

.chat-time {
  font-size: 12px;
  color: #65676b;
  flex-shrink: 0;
  margin-left: 8px;
  font-weight: 400;
}

.chat-preview {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.property-title {
  margin: 0;
  font-size: 14px;
  color: #65676b;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.last-message-text {
  margin: 0;
  font-size: 12px;
  color: #00a8c1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.sidebar-footer {
  padding: 16px 20px;
  border-top: 1px solid #e4e6ea;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  background: none;
  border: none;
  cursor: pointer;
  color: #65676b;
  font-size: 15px;
  text-align: left;
  transition: all 0.2s ease;
  font-weight: 400;
}

.footer-btn:hover {
  color: #050505;
}

.footer-btn i {
  font-size: 16px;
  width: 20px;
}

.chat-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: white;
  overflow: hidden;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-back {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: #65676b;
  border-radius: 8px;
}

.mobile-back:hover {
  background: #f2f3f5;
}

.chat-user {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.user-info h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  color: #050505;
  line-height: 1.3;
}

.user-status {
  font-size: 12px;
  color: #31a24c;
  font-weight: 400;
  margin-top: 2px;
}

.chat-actions {
  display: flex;
  gap: 4px;
}

.action-btn {
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: #00a8c1;
  border-radius: 50%;
  font-size: 16px;
  transition: all 0.2s ease;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.action-btn:hover {
  background: rgba(24, 119, 242, 0.1);
}

.messages-area {
  flex: 1;
  padding: 16px 20px;
  overflow-y: auto;
  background: #f7f7f7;
}

.message-group {
  margin-bottom: 16px;
}

.message {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-bottom: 4px;
}

.message.sent {
  justify-content: flex-end;
}

.message-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.message-bubble {
  max-width: 60%;
  padding: 8px 12px;
  border-radius: 16px;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 400;
}

.message.received .message-bubble {
  background: #00a8c1;
  color: #fff;
  border-bottom-left-radius: 4px;
}

.message.sent .message-bubble {
  background: #004169;
  color: white;
  border-bottom-right-radius: 4px;
}

.message-time {
  text-align: center;
  margin: 12px 0;
}

.message-time span {
  font-size: 11px;
  color: #65676b;
  font-weight: 400;
}

.message-input-area {
  padding: 16px 20px;
  border-top: 1px solid #e4e6ea;
  background: white;
}

.input-container {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f0f2f5;
  border-radius: 20px;
  padding: 8px 16px;
  transition: all 0.2s ease;
}

.input-container:focus-within {
  box-shadow: 0 0 0 2px rgba(24, 119, 242, 0.2);
}

.input-action {
  background: none;
  border: none;
  cursor: pointer;
  color: #00a8c1;
  font-size: 16px;
  padding: 4px;
  border-radius: 50%;
  transition: all 0.2s ease;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.input-action:hover {
  background: rgba(24, 119, 242, 0.1);
}

.message-input {
  flex: 1;
  border: none;
  background: none;
  outline: none;
  padding: 6px 8px;
  font-size: 15px;
  color: #050505;
}

.message-input::placeholder {
  color: #65676b;
}

.send-button {
  background: none;
  border: none;
  color: #00a8c1;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.2s ease;
}

.send-button:hover {
  background: rgba(24, 119, 242, 0.1);
}

.send-button:disabled {
  color: #bcc0c4;
  cursor: not-allowed;
}

.no-chat {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
}

.no-chat-content {
  text-align: center;
  color: #65676b;
}

.no-chat-content i {
  font-size: 64px;
  margin-bottom: 20px;
  opacity: 0.3;
  color: #65676b;
}

.no-chat-content h3 {
  margin: 0 0 8px 0;
  font-size: 20px;
  font-weight: 400;
  color: #050505;
}

.no-chat-content p {
  margin: 0;
  font-size: 14px;
  color: #65676b;
}

.emoji-picker {
  position: absolute;
  top: 60px;
  z-index: 1000;
}

.user-bar-sec {
  padding: 20px;
  border-bottom: 1px solid #e4e4e4;
}

.main-content-inner {
  padding: 40px 15px !important;
  background-color: #f7f7f7;
}

.modern-chat-container {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #e4e4e4;
}

.user-name-avatar {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  background-color: var(--bg-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 50%;
}

.modern-chat-container .hide {
  display: none;
}

/* .modern-chat-container .show {
  display: flex;
} */

.chat-avatar .user-name-avatar {
  width: 56px;
  height: 56px;
  margin: 5px;
  font-size: 25px;
  text-transform: capitalize;
}

/* @media (max-width: 768px) {
  .modern-chat-container {
    position: relative;
  }

  .chat-sidebar {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 10;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }

  .chat-sidebar.show {
    transform: translateX(0);
  }

  .chat-sidebar.hide-mobile {
    transform: translateX(-100%);
  }

  .chat-main {
    width: 100%;
  }

  .chat-main.show-mobile {
    display: flex;
  }

  .mobile-back {
    display: block;
  }

  .search-container {
    padding: 12px 16px;
  }

  .sidebar-header {
    padding: 16px;
  }

  .chat-list {
    padding: 0;
  }

  .chat-item {
    padding: 12px 16px;
  }

  .sidebar-footer {
    padding: 12px 16px;
  }

  .messages-area {
    padding: 12px 16px;
  }

  .message-input-area {
    padding: 12px 16px;
  }

  .chat-header {
    padding: 12px 16px;
  }
} */

@media (max-width: 768px) {
  .modern-chat-container {
    display: flex;
    flex-direction: column; 
    height: 100vh;
  }

   .chat-sidebar .chat-list {
    flex: 1; 
    overflow-y: auto;
    height: 1000px !important;
    margin-bottom: 0;
  }

  .chat-sidebar {
    width: 100%;
    height: 40%; 
    overflow-y: auto;
    background: #fff;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
  }

  .chat-main {
    width: 100%;
    height: 60%; 
    background: #f9f9f9;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
  }

  
  .chat-main .chat-header {
    height: 70px; 
    padding: 16px 16px; 
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ddd;
  }
  .chat-main .user-bar-sec {
    padding-left: 0;
  }

  .mobile-back {
    display: none; 
  }

  .search-container,
  .sidebar-header,
  .chat-list,
  .sidebar-footer,
  .messages-area,
  .message-input-area {
    padding: 12px 16px;
  }

  .chat-item {
    padding: 12px 16px;
  }
}


.user-name-avatar {
  width: 40px;
  height: 40px;
  margin: 5px;
}

.inner-content-detail h5 {
  font-size: 22px;
  line-height: 30px;
  margin-top: 10px;
}

.user-dashboard .dashboard-inner-content {
  /* width: 100%; */
}

.img-wrapper-sec {
  width: 70px;
  height: 70px;
  align-items: center;
  border-radius: 10px;
}

.upload-container-sec {
  margin-bottom: 20px;
}

.upload-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
}

.upload-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.upload-left {
  flex-shrink: 0;
}

.upload-button {
  background-color: #00abc7;
  color: white;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  display: inline-block;
  position: relative;
}

.upload-button:hover {
  opacity: 0.9;
}

.upload-hidden-input {
  display: none;
}

.upload-right {
  position: relative;
}

.image-wrapper {
  position: relative;
  display: inline-block;
}

.preview-image {
  width: 60px;
  height: 60px;
  border-radius: 5px;
  object-fit: cover;
  border: 1px solid #ddd;
}

.delete-icon {
  position: absolute;
  top: -6px;
  right: -6px;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
  cursor: pointer;
}

.delete-icon:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.table-cell img {
  width: 70px !important;
  height: 70px !important;
  align-items: center;
  border-radius: 10px;
}

.ql-toolbar.ql-snow {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  border: 1px solid #e4e4e4;
}

.ql-editor.ql-blank {
  border: 1px solid #e4e4e4;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.ql-container.ql-snow {
  border: 1px solid #e4e4e4;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.table-row .table-cell .whatsapp-icon {
  width: 20px !important;
  height: 20px !important;
  margin-left: 9px;
  padding: 3px;
}