@import url("https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap");

body {
  font-family: "Raleway", sans-serif;
  font-weight: 400;
  margin: 0;
  padding: 0;
}

.map-content-page {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

/* Sidebar */
.sidebar {
  width: 450px;
  background: #ffffff;
  border-right: 1px solid #ddd;
  overflow-y: auto;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.sidebar h2 {
  font-size: 18px;
  margin-bottom: 10px;
}

.sidebar ul {
  list-style: none;
}

.sidebar ul li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}

/* Map section */
.map {
  flex: 1;
  background: #e5e5e5;
}

iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.side-bar-head {
  background-color: #045145;
  display: flex;
  align-items: center;
  color: #ffff;
  padding: 12px 20px;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 10;
}
.side-bar-head img {
  width: 28px;
  cursor: pointer;
}
.side-bar-head .user-detail {
  display: flex;
  gap: 10px;
}
.side-bar-head .user-detail img {
  width: 40px;
  border-radius: 50%;
  height: 40px;
}
.side-bar-head .user-title a {
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
  width: 175px;
}
.side-bar-head .inner-user-title a {
  font-size: 13px;
  padding-top: 4px;
  font-weight: 500;
  text-decoration: none;
  color: #fff;
}
.recomended-list {
  padding: 15px 15px 15px 72px;
  background-color: #f7f8f9;
}
.recomended-list .single-recomd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 5px;
  font-weight: 500;
}
.recomended-list .single-recomd span {
  color: #878787;
  font-size: 12px;
}
.recomended-list span.single-recomd-title {
  font-size: 14px;
  color: #000000;
}
.recomended-list .share-link {
  font-weight: 700;
  color: #4285f4;
  text-decoration: none;
  margin-top: 6px;
  font-size: 14px;
  margin-left: 8px;
}

.side-check-box .list-item {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.side-check-box .list-item:last-child {
  border-bottom: none;
}

.side-check-box .list-item input[type="checkbox"] {
  margin-right: 30px;
  width: 18px;
  height: 18px;
}

.side-check-box .list-item label {
  font-size: 15px;
  cursor: pointer;
  font-weight: 600;
  color: rgb(0 0 0);
}

.sidebar input[type="checkbox"] {
  accent-color: #045145;
}

/* accordian */
.accordion {
  padding-top: 14px;
}
.sidebar .accordion-header {
  display: flex;
}

.sidebar .accordion-header img {
  width: 27px;
  height: auto;
  cursor: pointer;
  transition: transform 0.3s;
}
.sidebar .header-dropdwon-arrow-button {
  display: inline-block;
  margin-right: 22px;
}

.sidebar .accordion-header .header-dropdwon-arrow-button.active {
  transform: rotate(180deg);
}

.sidebar .accordion-content {
  display: none;
  padding: 0;
  margin: 0;
  list-style: none;
  padding-left: 57px;
}

.sidebar .accordion-content li {
  padding: 8px 0px;
  border: 0px;
  cursor: pointer;
  font-size: 14px;
  color: #858585;
}

.sidebar .accordion-content li:hover {
  color: #2c2c2c;
}
.sidebar .accordion-header .location-icon {
  width: 20px;
  margin-bottom: -2px;
  height: auto;
}
.sidebar .accordian-header-title {
  font-size: 14px;
  font-weight: 500;
}
.sidebar .list-item-flex {
  padding: 20px 0;
  border: 1px solid #f7f7f7;
  padding-left: 20px;
}

/* scorll-bar */

.sidebar::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: #f5f5f5;
}

.sidebar::-webkit-scrollbar {
  width: 8px;
  background-color: #f5f5f5;
}

.sidebar::-webkit-scrollbar-thumb {
  background-color: #045145;
}

/* sidemenu-start */

.sidebar-menu {
  height: 100%;
  width: 300px;
  position: fixed;
  top: 0;
  left: -301px; /* hidden by default */
  background-color: #fff;
  border-right: 1px solid #ccc;
  overflow-x: hidden;
  transition: 0.3s;
  z-index: 1001;
}

.sidebar-menu a:hover {
  background-color: #f0f0f0;
}

/* Hamburger icon */
.hamburger {
  font-size: 30px;
  cursor: pointer;
  /* padding: 15px; */
  position: relative;
}

/* Dark transparent overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5); /* semi-transparent black */
  display: none;
  z-index: 1000;
}

.show-sidebar {
  left: 0;
}

.show-overlay {
  display: block;
}

.upper-side-menu {
  background-image: url("./img/user-bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  padding: 15px;
  min-height: 140px;
}
.side-user-avatar img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.side-menu-user-footer-detail {
  color: #fff;
  margin-top: 45px;
  font-weight: 600;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}
.side-menu-user-footer-detail .side-menu-user-title a {
  font-size: 14px !important;
}
.side-menu-user-footer-detail .side-menu-user-mail a,
.side-menu-user-footer-detail .side-menu-user-title a {
  font-size: 12px;
  margin-top: 5px;
  text-decoration: none;
  color: #fff;
}
.side-menu-user-footer-detail a:hover {
  background: transparent;
}

.side-menu-ul-content .side-menu-icon img {
  width: 20px;
}
.side-menu-ul-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
  border-bottom: 1px solid #e9e9e9;
}
.side-menu-ul-content ul a {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 15px;
  color: #333;
  font-weight: 500;
  font-size: 14px;
  padding: 15px;
}
.log-out-li-icon {
  margin-left: 33%;
}
/* sidemenu-end */

.side-dropdown {
  position: relative;
  display: inline-block;
}
.side-dropdown .dots {
  cursor: pointer;
  font-size: 22px;
}
.side-dropdown .menu {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  background: #fdfdfd;
  border-radius: 0;
  min-width: 270px;
  padding: 14px 0;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}
.side-dropdown .menu a {
  display: block;
  padding: 10px 20px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 14px;
  font-weight: 600;
}
.side-dropdown .menu a:hover {
  background: #f0f0f0;
}
.side-dropdown .show {
  display: block;
}

/* tooltip */

.side-bar-head .tooltip {
  position: relative;
  display: inline-block;
  cursor: pointer;
  transition: 0.3s ease-in-out;
}

.side-bar-head .tooltip .tooltip-text {
  visibility: hidden;
  width: 100%;
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 6px;
  border-radius: 6px;
  position: absolute;
  /* bottom: 0; */
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  opacity: 0;
  font-size: 13px;
  transition: 0.3s ease-in-out;
  top: 150%;
  padding: 10px;
  border: 1px solid #fff;
}

/* Tooltip arrow */
.side-bar-head .tooltip .tooltip-text::after {
  content: "";
  position: absolute;
  /* top: -10%; */
  left: 50%;
  margin-left: -5px;
  border-width: 7px;
  border-style: solid;
  border-color: #ffffff transparent transparent transparent;
  top: -15px;
  transform: rotate(181deg);
}

/* Show tooltip on hover */
.side-bar-head .tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* tooltip-ends */

/* search-side-bar */

/* Side menu */
.side-bar-head .search-side-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 450px;
  height: 100%;
  background: #fff;
  box-shadow: 4px 0 12px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  gap: 15px;
  transform: translateX(-100%); /* hidden to the left */
  transition: transform 0.3s ease; /* smooth animation */
  z-index: 1002;
}
.side-bar-head .search-side-menu.active {
  transform: translateX(0);
}

/* Back arrow */
.side-bar-head .back-btn {
  align-self: flex-start;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

/* Search input box */
.side-bar-head .search-box {
  position: relative;
  display: flex;
  align-items: center;
}
.side-bar-head .search-box input {
  width: 100%;
  padding: 12px 36px 12px 12px;
  font-size: 16px;
  outline: none;
  border: 0;
  border-bottom: 1px solid #ccc;
  border-radius: 0;
  background: transparent;
}
.side-bar-head .search-clear-btn {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #999;
  display: none;
}
.search-inner-side-content {
  display: flex;
  align-items: center;
  gap: 60px;
  background-color: #f8f8f8;
  padding: 13px;
}
.search-side-bar-emty-box {
  height: 100vh;
  display: flex;
  /* align-items: center; */
  justify-content: center;
  margin-top: 20%;
}
.search-side-bar-emty-box img {
  width: 100px;
  opacity: 0.6;
}
.search-side-bar-emty-box .side-bar-emty-box-title {
  color: #999999;
  font-size: 19px;
  font-weight: 400;
}
.search-side-bar-emty-box .img-box {
  text-align: center;
}
/* search-side-bar-ends */

.according-chat-text {
  display: none; /* Hidden by default */
}

.usersidebar-click-contnet .inner-side-user-content {
  display: flex;
  gap: 25px;
  padding: 15px;
  border-bottom: 1px solid #e9e9e9;
}
.usersidebar-click-contnet .inner-side-user-content img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}
.user-clikc-title-box {
  gap: 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 15px;
}
.user-clikc-title-box a {
  font-size: 14px;
  text-decoration: none;
  font-weight: 500;
  color: #242424;
}
.user-clikc-title-box a:hover {
  background: transparent;
}

/* responsive */

@media (max-width: 767px) {
  .map-content-page {
    flex-wrap: wrap;
    overflow-y: auto;
  }
  .map iframe {
    min-height: 300px;
  }
  .side-bar-head .user-title a {
    font-size: 15px;
    width: 150px;
}
.side-bar-head .user-detail img {
    width: 35px;
    height: 35px;
}
.sidebar .accordion-content li {
    font-size: 13px;
}
}
