:root{
  --card-bgc:#1e1e1e;
  --icon-d-b: #a3a3a3dd;
  --grey-btn-b: rgba(118, 119, 122, 0.495);
  --btn-bgc:#3e3e3e82
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  display: flex;
  justify-content: center;
}

/* icon hover tyels */
.icon {
  position: relative;
  /* display: inline-block; */
}

.icon::after {
  content: attr(data-name);
      position: absolute;
      bottom: -40px; /* this is a problam buttom */
      left: 50%;
      transform: translateX(-50%);
      background-color: var(--grey-btn-b);
      backdrop-filter: blur(30px); /* Applies blur effect */
      -webkit-backdrop-filter: blur(30px); 
      /* color: #fff; */
      padding: 8px 12px;
      font-size: 14px;
      font-family: Arial, sans-serif;
      font-weight: bold;
      letter-spacing: 1px;
      word-spacing: 2px;
      white-space: nowrap;
      opacity: 0;
      z-index: 10;
      pointer-events: none;
      border-radius: 6px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
      transition: opacity 0.3s ease;
      transition-delay: 0s; /* default (no delay when hiding) */
}

.icon:hover::after {
  opacity: 1;
  transition-delay: 1s; /* delay only when showing */
}

body::-webkit-scrollbar {
  width: 6px; /* Adjust as needed */
  height: 6px; /* For horizontal scrollbar */
}

body::-webkit-scrollbar-thumb {
  background-color: #888; /* Change color */
  border-radius: 10px; /* Rounded corners */
}

body::-webkit-scrollbar-thumb:hover {
  background-color: #555;
}

/* ! sidebar */
.sidebar {
  position: sticky;
  top: 0;
  width: 25%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100vh;
  border-right: 1px solid rgba(81, 81, 81, 0.356);
  transition: all 0.2s ease-in-out;
  /* overflow: scroll; */
}

.sidebar > div {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.log_search {
  margin: 1.5rem;
}

.sidebar > div > .log,.log {
  margin-bottom: 15px;
  text-align: center;
  font-size: 1.7rem;
  cursor: default;
  background: linear-gradient(
    to right,
    rgb(255, 0, 0),
    rgb(232, 14, 199),
    rgb(3, 248, 248)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.log_i {
  display: none;
}

.sidebar > div > .search {
  width: 80%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease-in-out;
}

.sidebar > div > .search > input {
  padding: 8px;
  width: 80%;
  border-radius: 10px;
  font-size: 1.2rem;
  background-color: inherit;
  color: inherit;
  border: 2px solid rgb(59, 58, 58);
  outline: none; /* Remove default outline */
  transition: all 0.2s ease;
  &:focus {
    border-color: transparent; /* Hide default border */
    outline: 2px solid transparent; /* Base outline */
    outline-offset: 2px; /* Space between element and outline */
    box-shadow: 0 0 5px rgba(255, 0, 0, 0.207), 0 0 10px rgba(232, 14, 199, 0.229),
      0 0 15px rgba(248, 3, 81, 0.296);
  }
}

.search_i {
  width: 100%;
  font-size: 1.3rem;
  padding: 4px;
  display: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* list_opation */
.list_opation {
  height: 100%;
}

.sidebar > div > ul {
  list-style: none;
  width: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: space-evenly;
  transition: all 0.2s ease-in-out;
  max-height: 600px;
}

.sidebar > div > ul > li {
  flex: 1;
  width: 90%;
  padding: 4px;
  font-size: 1.3rem;
  font-weight: bold;
  display: flex;
  padding-left: 10px;
  align-items: center;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.2s ease;
  gap: 10px;
  overflow: hidden;
  &:hover {
    background-color: #35343421;
  }
}

.sidebar> div>ul>li>span>i{
  font-size: 1.3rem;
}

.sidebar > div > ul > li>span>svg{
  font-size: 1.6rem;
}

.sidebar > div > ul > li a{
  text-decoration: none;
  color: inherit;
  display: flex;
  gap: 10px;
}

.user_and_post {
  margin-bottom: 2rem;
}

.user_and_post > div {
  width: 80%;
  transition: all 0.2s ease;
}

.user_and_post > .post {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px 0 10px 0;
}

.user_and_post > div > button {
  padding: 1rem;
  width: 80%;
  font-size: 1.4rem;
  font-weight: bolder;
  background-color: var(--grey-btn-b);
  color: white;
  text-shadow: 0 0 10px black;
  border-radius: 2rem;
  border: 1px solid rgba(62, 60, 60, 0.299);
  cursor: pointer;
  transition: all 0.2s ease;
}

.post_i {
  display: none;
  align-items: center;
  font-size: 1.3rem;
  cursor: pointer;
}

.user_and_post > .usercard {
  display: none;
  padding: 10px 0px 10px 0;
  border: 1px solid rgba(62, 60, 60, 0.299);
  border-radius: 1rem;
  cursor: pointer;
  transition: all 0.2 ease;
}
.user_and_post > .usercard_lo_si {
  display: none;
  gap: 10px;
  padding: 10px 0px 10px 0;
  transition: all 0.2 ease;
}

.user_and_post > .usercard_lo_si>.sihm {
  display: flex;
  padding: 7px 1rem 7px 1rem;
  border: 1px solid rgba(62, 60, 60, 0.299);
  transition: all 0.2 ease;
  border-radius: 1rem;
  font-size: 1.1rem;
  cursor: pointer;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.sidebar > .user_and_post > .usercard > img {
  width: 60px;
  height: 60px;
  margin: 0 5px 0 5px;
  border-radius: 50%;
  transition: all 0.2s ease;
  object-fit: cover;
}

.user_and_post > .usercard > div {
  margin-left: 10px;
  transition: all 0.2s ease;
}

.user_and_post > .usercard > div > .name {
  font-size: 1.1rem;
  font-family: var(--font-ss);
}

.user_and_post > .usercard > div > .username {
  font-size: 1rem;
  opacity: 0.8;
  font-family: var(--font-ss);
}

/* ! navbar */

.navbar_m {
  display: none;
  justify-content: space-around;
  align-items: center;
  position: sticky;
  top: 0;
  font-size: 1.6rem;
  padding-top: 5px;
  padding-bottom: 0;
  z-index: 1;
  background-color: rgba(59, 57, 57, 0.116); /* Semi-transparent background */
  backdrop-filter: blur(30px); /* Applies blur effect */
  -webkit-backdrop-filter: blur(10px); /
}

.navbar_m>div{
  cursor: pointer;
  position: relative;
}

.navbar_m>.log{
font-size: 2rem; 
cursor: default;
}


/* ! main  secation*/
.main {
  display: none;
  flex-direction: column;
  width: 50%;
  align-items: center;
  transition: all 0.2s ease-in-out;
}

/* home */

.home{
  width: 100%;
  display: none;
  flex-direction: column;
  align-items: center;
  min-height: 100dvh;
  overflow: hidden;
  /* justify-content: center; */
}

.home > nav {
  width: 100%;
  display: flex;
  justify-content: space-evenly;
  height: 40px;
  background-color: rgba(59, 57, 57, 0.116); /* Semi-transparent background */
  backdrop-filter: blur(10px); /* Applies blur effect */
  -webkit-backdrop-filter: blur(10px); /* For Safari */
}

.home > nav > div {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  font-size: 1.2rem;
  cursor: pointer;
  height: 100%;
  transition: all 0.2s ease;
  &:hover {
    background-color: #2d2c2c4c;
  }
}

/* main */

/* post secation for you */

.home>main {
  width: 80%;
}

.home>main > .post {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-top: 1px solid var(--border-color);
}

.home>main > .post > .user {
  display: flex;
  width: 100%; 
  align-items: center;
  justify-content: space-between;
  margin: 10px 0 10px 0;
}

.home>main > .post > .user > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.home>main > .post > .user > div > div {
  cursor: pointer;
}

.home>main > .post > .user > div > div > .name {
  font-size: var(--post-u-name-s);
  font-weight: bold;
  font-family: var(--font-ss);
}

.home>main > .post > .user > div > div > .username {
  opacity: 0.8;
  font-family: var(--font-ss);
  display: flex;
  gap: 1.5rem;
}

.home>main > .post > .user > div >.image_post{
  background-color: #7474741f;
}

.home>main > .post > .user > div > img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
}

.home>main > .post > .user > .follow{
  position: relative;
  margin-right: 20px;
}

.home>main > .post > .user > .follow > button {
  padding: 3px;
  font-size: 1rem;
  min-width: 90px;
  background-color: inherit;
  border: 1px solid rgb(87, 83, 83);
  color: inherit;
  border-radius: 10px;
  cursor: pointer;
}

.post > .title_mess {
  display: flex;
  width: 93%;
  align-items: flex-start;
  /* background-color: #7474741f; */
  padding: 10px 5px 10px 20px;

}

.post > .title_mess>pre{
  font-size: var(--post-u-name-s);
  font-family: var(--font-ss);
}

.home>main > .image_post {
  width: 100%;
}

.home>main > .post > .image_post {
  width: 100%;
  display: flex;
  border-radius: 1rem;
}

.home>main > .post > .image_post > img {
  /* width: 100%; */
  border-radius: 1rem;
  cursor: pointer;
  max-height: 80dvh;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
}

.home>main > .post > .tools {
  display: flex;
   width: 100%;
  margin: 7px;
  font-size: 1.3rem;
  justify-content: space-between;
}

.home>main > .post > .tools > .left_tools {
  display: flex;
  gap: 25px;
}

.home>main > .post > .tools > .left_tools > div {
  display: flex;
  gap: 8px;
  cursor: pointer;
  margin-left: 20px;
}

.home>main > .post > .tools > .right_tools {
  display: flex;
  gap: 25px;
  margin-right: 20px;
}

.home>main > .post > .tools > .right_tools > div {
  cursor: pointer;
}

.post > .tools > .left_tools>div>span{
  font-size: 1.1rem;
}

/* ! footer */
.footer_m {
  position: sticky;
  bottom: 0;
  display: none;
  font-size: 1.5rem;
  justify-content: space-around;
  align-items: center;
  /* background-color: #7171717d; */
  border: 1px solid var(--border-color);
  border-bottom: none;
  border-radius: 10px;
  background-color: rgba(59, 57, 57, 0.116); /* Semi-transparent background */
  backdrop-filter: blur(40px); /* Applies blur effect */
  -webkit-backdrop-filter: blur(10px); 
}

.footer_m > div {
  cursor: pointer; 
}

.footer_m > .post_icon {
  position: relative;
  font-size: 2.6rem;
  bottom: 14px;
   background-color: rgba(177, 175, 175, 0.751); 
   /*backdrop-filter: blur(30px); 
   -webkit-backdrop-filter: blur(30px); */
  display: flex;
  width: 60px;
  height: 60px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border-top: 1px solid var(--border-color);
  
  box-shadow: inset 0 0 10px var(--card-bgc);
  text-shadow: 0 0 10px var(--card-bgc);
  /* text-shadow:inset 0 0 10px var(--card-bgc); */
}

.footer_m > .post_icon>i{
  opacity: 0.7;
  text-shadow: 0 0 10px var(--card-bgc);
}

.footer_m >div> a{
  color: inherit;
}

/* ! Toolbar */
.toolbar {
  position: sticky;
  top: 0;
  display: none;
  flex-direction: column;
  width: 25%;
  height: 100vh;
  border-left: 1px solid rgba(81, 81, 81, 0.356);
  transition: all 0.2s ease-in-out;
}

.toolbar > .nav_tools {
  width: 100%;
  display: flex;
  font-size: 1.2rem;
  justify-content: space-evenly;
  height: 60px;
}

.toolbar > .nav_tools > div {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 6px 0 6px 0;
  gap: 10px;
  &:hover {
    background-color: #35343421;
  }
}

/* ! message list toolbar */

.toolbar>.message {
  display: none;
  flex-direction: column;
  align-items: center;
  overflow: auto;
}
.message > .search_mss {
  width: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px;
  gap: 10px;
}

.message > .search_mss>.message_menu>i{
  font-size: 1.5rem;
  cursor: pointer;
}
.message > .search_mss > input {
  padding: 8px 1rem;
  width: 75%;
  font-size: 1rem;
  font-family: var(--font-ss);
  background-color: inherit;
  color: inherit;
  border-radius: 10px;
  border: 1px solid #8080807e;
  outline: none;
  transition: all 0.2s ease;
  &:focus {
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.585), 0 0 6px rgba(255, 255, 255, 0.574);
  }
}

.message > ul {
  list-style: none;
  width: 90%;
  display: flex;
  flex-direction: column;
  overflow: auto;
  /* scrollbar-width: thin; */
}

.message > ul::-webkit-scrollbar {
  width: 4px; /* Adjust as needed */
  /* height: 6px; For horizontal scrollbar */
}

.message > ul::-webkit-scrollbar-thumb {
  background-color: #888; /* Change color */
  border-radius: 10px; /* Rounded corners */
}

.message > ul::-webkit-scrollbar-thumb:hover {
  background-color: #555;
}

.message > ul > li {
  display: flex;
  align-items: center;
  justify-content: start;
  border-radius: 1rem;
  padding: 6px;
  cursor: pointer;
  gap: 10px;
  transition: all 0.2s ease;
  &:hover {
    background-color: #35343421;
    .menu{
      opacity: 0.7;
    }
  }
}

.message > ul > li > img {
  height: 45px;
  width: 45px;
  border-radius: 50%;
  object-fit: cover;
}

.message > ul > li > .div {
  width: 80%;
}

.message > ul > li > .div > .name {
  font-size: var(--post-u-name-s);
  font-family: var(--font-ss);
}

.message > ul > li > div > .message {
  font-size: 0.8rem;
  font-family: var(--font-ss);
  opacity: 0.7;
}

.message > ul > li > .menu {
  font-size: 1.4rem;
  opacity: 0;
  margin-right: 10px;
}

/* ! chat user style */

.chat_user{
  display: none;
  flex-direction: column;
  width: 99%;
  height: 100%;
}

/* nav */
.chat_user>.chat_nav{
  display: flex;
  width: 100%;
  padding: 4px 0 4px 0;
  justify-content: space-around;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);

}

.chat_user>.chat_nav>div{
  cursor: pointer;
}

.chat_user>.chat_nav>.chat_list_btn{
  font-size: 1.5rem;
  display: flex;
  align-items: center;
}

.chat_user>.chat_nav>.user_id{
 display: flex;
 width: 70%;
}

.chat_user>.chat_nav>.user_id>img{
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  padding: 3px;
  margin-right: 0.5rem;
}

.chat_user>.chat_nav>.user_id>div>.name{
  font-size: var(--post-u-name-s);
  font-family: var(--font-ss);
}

.chat_user>.chat_nav>.user_id>div>.username{
  font-size: 0.8;
  font-family: var(--font-ss);
  opacity: 0.7;
}

.chat_user>.chat_nav>.chat_user_menu{
  font-size: 1.5rem;
  display: flex;
  align-items: center;
}

/* main */

.chat_user>.chat_main{
  height: 100%;
  width: 100%;
  overflow: auto;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
}

.chat_user>.chat_main::-webkit-scrollbar {
  width: 4px;
}

.chat_user>.chat_main::-webkit-scrollbar-thumb {
  background-color: #888; /* Change color */
  border-radius: 10px; /* Rounded corners */
}

.chat_user>.chat_main::-webkit-scrollbar-thumb:hover {
  background-color: #555;
}

.chat_user>.chat_main>div{
  width: fit-content;
  font-family: Georgia, 'Times New Roman', Times, serif;
  margin-top: 10px;
  
}

.chat_user>.chat_main>.come{
  padding: 10px;
margin-left: 20px;
display: flex;
flex-direction: column;
align-items: center;
  border-top-right-radius: 1rem;
  border-bottom-right-radius: 1rem;
  border-bottom-left-radius: 1rem;
  border: 1px solid transparent;
  background-color: #5655555e;
}

.chat_user>.chat_main>.come>.message{
  font-size: var(--post-u-name-s);
  font-family: var(--font-ss);
  opacity: 0.97;
}

.chat_user>.chat_main>.come>.time{
  opacity: 0.8;
  width: 90%;
  font-size: 0.8rem;
  display: flex;
  justify-content: end;
  margin-top: 4px;
  white-space: nowrap
}

.chat_user>.chat_main>.send_b{
  width: 100%;
  display: flex;
  justify-content: end;
}

.chat_user>.chat_main>.send_b>.send{
  padding: 10px;
 width: fit-content;
 display: flex;
 flex-direction: column;
 align-items: center;
  margin-right: 20px;
  border-top-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
  border-bottom-left-radius: 1rem;
  border: 1px solid rgba(89, 87, 87, 0.555);
}

.chat_user>.chat_main>.send_b>.send>.message{
  font-size: var(--post-u-name-s);
  font-family: var(--font-ss);
   opacity: 0.97;
}

.chat_user>.chat_main>.send_b>.send>.time{
  opacity: 0.8;
  display: flex;
  gap: 10px;
  font-size: 0.8rem;
  width: 90%;
  justify-content: space-between;
  padding-top: 4px;
  white-space: nowrap;
}

/* footer */

.chat_user>.chat_footer{
  position: sticky;
  bottom: 0;
  width: 100%;
  display: flex;
  padding: 10px 0 10px 0;
  justify-content: space-around;
  background-color: rgba(177, 175, 175, 0.215); /* Semi-transparent background */
  backdrop-filter: blur(30px); /* Applies blur effect */
  -webkit-backdrop-filter: blur(30px); 
}

.chat_user>.chat_footer>.file_icon{
  font-size: 1.3rem;
  cursor: pointer;
}

.chat_user>.chat_footer>div{
  display: flex;
  align-items: center;
}

.chat_user>.chat_footer>.message_type{
  width: 70%;
}

.chat_user>.chat_footer>.message_type>input{
  width: 100%;
  padding: 8px 1rem ;
  font-size: 1rem;
  font-family: var(--font-ss);
  background-color: inherit;
  color: inherit;
  border: 1px solid rgba(81, 81, 81, 0.5);
  border-radius: 10px;
  outline: none;
  transition: all 0.2s ease;
  &:focus{
    border-color: transparent;
    box-shadow: 0 0 7px white;
  }
}

.chat_user>.chat_footer>.message_send_btn>button{
  background-color: inherit;
  color: inherit;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
}

/* notification */

.notifi{
  display: none;
  align-items: center;
  flex-direction: column;
  overflow: auto;
}

.notifi>nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  font-size: 1.4rem;
  padding-bottom: 10px;
}

.notifi>nav>span{
  cursor: pointer;
}

.notifi>main{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  width: 100%;
  overflow: auto;
}

.notifi>main::-webkit-scrollbar {
  width: 4px; /* Adjust as needed */
  /* height: 6px; For horizontal scrollbar */
}

.notifi>main::-webkit-scrollbar-thumb {
  background-color: #888; /* Change color */
  border-radius: 10px; /* Rounded corners */
}

.notifi>main::-webkit-scrollbar-thumb:hover {
  background-color: #555;
}

.notifi>main>.notification_card{
  display: flex;
  align-items: center;
  width: 90%;
  padding: 4px;
   border: 1px solid rgba(79, 77, 77, 0.527);
   border-radius: 1rem;
}

.notifi>main>.notification_card>img{
  width: 45px;
  height: 45px;
  border-radius: 50%;
  margin: 5px;
  object-fit: cover;
  cursor: pointer;
}

.notifi>main>.notification_card>.user_noti{
  display: flex;
  flex-direction: column;
  flex: 1;
  margin-left: 10px;
  cursor: pointer;
}

.notifi>main>.notification_card>.user_noti>.content_d{
  font-family: var(--font-ss);
  font-size: 1rem;
}

.notifi>main>.notification_card>.user_noti>.time{
  font-size: 0.9rem;
  opacity: 0.7;
}

.notifi>main>.notification_card>.post{
  display: flex;
}

.notifi>main>.notification_card>.post>img{
height: 60px;
object-fit: fill;
border-radius: 4px 13px 13px 4px;
cursor: pointer;
}

/* ! porfile */

.porfile{
  display: none;
  width: 100%;
  min-height: 100dvh;
  flex-direction: column;
  align-items: center;
  transition: all 0.2s ease;
  overflow: -moz-hidden-unscrollable;
}

/* nav */
.porfile>nav{
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: 1.2rem;
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: rgba(59, 57, 57, 0.116); /* Semi-transparent background */
  backdrop-filter: blur(10px); /* Applies blur effect */
  -webkit-backdrop-filter: blur(10px); /* For Safari */
  z-index: 1;
  transition: all 0.2s ease;
}

.porfile>nav>div{
  cursor: pointer;
  transition: all 0.2s ease;
}

.porfile>nav>.back_button{
  margin-left: 10px;
}

.porfile>nav>.usernaem{
  font-weight: 700;
  font-family: var(--font-ss);
}

.porfile>nav>.menu{
  margin-right: 10px;
}

/* menu sidebar */

.porfile>nav>.menu_sidebar{
  position:absolute;
  right: 0;
  display: none;
  transition: all 0.2s ease;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 1rem;
  top: 3.2rem;
}

.porfile>nav>.menu_sidebar>ul{
  list-style: none;
}

.porfile>nav>.menu_sidebar>ul>li{
  font-size: 1rem;
  border-radius: 7px;
  padding: 10px;
  cursor: pointer;
  &:hover{
    background-color: #9a9a9a58;
  }
}
/* main */

.porfile>main{
  width: 80%;
  display: flex;
flex-direction: column;
transition: all 0.2s ease;

}

/*! user name dec likes buttons */
.porfile>main>.p_user{
  width: 100%;
  display: flex;
  margin-top: 10px;
  transition: all 0.2s ease;
  overflow: hidden;
  position: relative;
}
.porfile>main>.p_user>img{
  width: 28%;
  aspect-ratio: 1/1;
  margin-bottom: 10px;
  height: fit-content;
  border-radius: 50%;
  /* border: 1px solid var(--border-color); */
  transition: all 0.2s ease;
  cursor: pointer;
  object-fit: cover;
}

.porfile>main>.p_user>.change_profile_image{
  position: absolute;
  bottom: 0.4rem;
  height: 1.7rem;
  width: 1.7rem;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--btn-bgc);
  text-shadow: 0 0 10px var(--card-bgc);
  cursor: pointer;
}

.porfile>main>.p_user>.name_dec{
  display: flex;
  width: 100%;
  flex-direction: column;
  justify-content: center;
  margin-left: 30px;
  gap: 5px;
  transition: all 0.2s ease;
  overflow: auto;
}
.porfile>main>.p_user>.name_dec>.name{
  font-size: 1.4rem;
  font-weight: bolder;
  font-family: var(--font-ss);
  transition: all 0.2s ease;
  
}
.porfile>main>.p_user>.name_dec>.usernaem{
  font-size: 1.3rem;
  opacity: 0.7;
  transition: all 0.2s ease;
  font-family: var(--font-ss);

}
.porfile>main>.p_user>.name_dec>.dec{
  font-size: 1rem;
  opacity: 0.9;
  font-family: var(--font-ss);
  transition: all 0.2s ease;

}
.porfile>main>.p_user>.name_dec>.links{
  width: 100%;
transition: all 0.2s ease;
display: flex;
overflow: auto;
gap: 10px;
scrollbar-width: none;
}
.porfile>main>.p_user>.name_dec>.links>a{
background-color: #5555555f;
width: fit-content;
padding: 5px 10px 5px 10px;
border-radius: 8px;
text-decoration: none;
color: inherit;
cursor: pointer;
transition: all 0.2s ease;

}
.porfile>main>.p_user>.name_dec>.btns{
  display: flex;
  gap: 10px;
  transition: all 0.2s ease;
}
.porfile>main>.p_user>.name_dec>.btns>button{
  padding: 6px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 7px;
  cursor: pointer;
  background-color: inherit;
  color: inherit;
  transition: all 0.2s ease;
  min-width: 100px;
  border: 1px solid rgba(95, 94, 94, 0.477);
  &:hover{
    background-color: #91909070;
  }
}

#highlight{
  background-color: #91909070;
}

/* m btns */

.porfile>main>.m_btns{
  width: 100%;
  display: none;
  justify-content: space-around;
  margin-bottom: 10px;
}

.porfile>main>.m_btns>button{
  padding: 6px;
  font-size: 1rem;
  border-radius: 10px;
  min-width: 100px;
  color: inherit;
  border: 1px solid rgba(95, 94, 94, 0.55);
  background-color: inherit;
  justify-content: space-around;
  cursor: pointer;
}

/* ! post counuts followers following */
.porfile>main>.post_follow_following{
  display: flex;
  width: 100%;
  justify-content: space-around;
  transition: all 0.2s ease;
  
}

.porfile>main>.post_follow_following>div{
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* ! filters */
.porfile>main>.filters{
  display: flex;
  margin-top: 10px;
  margin-bottom: 10px;
  width: 100%;
  padding-top: 10px;
  border-top: 1px solid rgba(81, 81, 81, 0.356);
  justify-content: space-around;
  transition: all 0.2s ease;
  gap: 10px;
  overflow: auto;
  scrollbar-width: none;
}

.porfile>main>.filters>button{
  padding: 5px;
  min-width: 80px;
  cursor: pointer;
  border-radius: 7px;
  background-color: inherit;
  color: inherit;
  border: 1px solid rgba(80, 79, 79, 0.463);
  &:hover{
    background-color: #91909070;
  }
  transition: all 0.2s ease;

}

/* ! content */

.porfile>main>.content{
  width: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
  
}

.porfile>main>.content>.media_user_s{
  display: block;
  width: min(1000px, 100%);
  margin: 0 auto;
  columns: 3 130px;
  column-gap: 0.7em;
  
}

.porfile>main>.content>.media_user_s>img{
 display: block;
  margin-bottom: 0.7em;
  width: 100%;
  
}

.porfile>main>.content > .post {
  width: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
  border-top: 1px solid rgba(81, 81, 81, 0.356);
}

.porfile>main>.content> .post > .user {
  display: flex;
  flex: 1;
  /* width: 100%; */
  align-items: center;
  justify-content: space-between;
  margin: 10px 0 10px 0;
  transition: all 0.2s ease;

}

.porfile>main>.content > .post > .user > div {
  display: flex;
  align-items: center;
  transition: all 0.2s ease;

}

.porfile>main>.content > .post > .user > div > div {
  cursor: pointer;
  transition: all 0.2s ease;
}

.porfile>main>.content > .post > .user > div > div > .name {
  font-size: var(--post-u-name-s);
  font-weight: bold;
  transition: all 0.2s ease;
  font-family: var(--font-ss);
}

.porfile>main>.content > .post > .user > div > div > .username {
  opacity: 0.8;
  font-family: var(--font-ss);
  transition: all 0.2s ease;
  display: flex;
  gap: 1.5rem;
}

.porfile>main>.content > .post > .user > div > img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  margin-right: 10px;
  object-fit: cover;
  transition: all 0.2s ease;
}

.porfile>main>.content> .post > .user > .follow{
  position: relative;
}

.porfile>main>.content> .post > .user > .follow > button {
  padding: 3px;
  font-size: 1rem;
  min-width: 90px;
  background-color: inherit;
  border: 1px solid rgb(87, 83, 83);
  color: inherit;
  border-radius: 10px;
  margin-right: 10px;
  cursor: pointer;
  transition: all 0.2s ease;

}

.porfile>main>.content> .post > .user > .follow >i{
  margin-right: 20px;
  font-size: 1.2rem;
  cursor: pointer;
}

.porfile>main>.content > .post > .title_mess {
  display: flex;
  width: 93%;
  font-size: 1rem;
  align-items: flex-start;
  transition: all 0.2s ease;
}

.porfile>main>.content > .image_post {
  width: 100%;
  transition: all 0.2s ease;
}

.porfile>main>.content > .post > .image_post > img {
   /* width: 100%; */
  border-radius: 1rem;
  cursor: pointer;
  max-height: 80dvh;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
}

.porfile>main>.content > .post > .image_post > .comment_post_h {
  border-radius: 1rem;
  cursor: pointer;
  border: 1px solid var(--border-color);
  max-height: 90dvh;
  max-width: 70%;
  padding: 10px;
}

.porfile>main>.content > .post > .image_post > .comment_post_h>.user_c_x {
  width: 100%;
  display: flex;
  font-family: var(--font-ss);
  gap: 10px;
}

.porfile>main>.content > .post > .image_post > .comment_post_h>.user_c_x >img{
  width: 25px;
  height: 25px;
  border-radius: 50%;
  object-fit: cover;
}

.porfile>main>.content > .post > .image_post > .comment_post_h>.post_com_x {
  width: 100%;
}

.porfile>main>.content > .post > .image_post > .comment_post_h>.post_com_x>img {
 border-radius: 1rem;
  cursor: pointer;
  max-height: 90dvh;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
}

.porfile>main>.content > .post > .image_post > .comment_post_h>.post_com_x>pre {
padding: 10px;
font-family: var(--font-ss);
font-size: 0.8rem;
}

.porfile>main>.content > .post > .tools {
  display: flex;
  flex: 1;
  margin: 7px;
  font-size: 1.3rem;
  justify-content: space-between;
  transition: all 0.2s ease;

}

.porfile>main>.content> .post > .tools > .left_tools {
  display: flex;
  gap: 25px;
  transition: all 0.2s ease;

}

.porfile>main>.content > .post > .tools > .left_tools > div {
  display: flex;
  gap: 8px;
  cursor: pointer;
  margin-left: 20px;
  transition: all 0.2s ease;

}

.porfile>main>.content > .post > .tools > .right_tools {
  display: flex;
  gap: 25px;
  margin-right: 20px;
  transition: all 0.2s ease;

}

.porfile>main>.content> .post > .tools > .right_tools > div {
  cursor: pointer;
  transition: all 0.2s ease;

}

/* ! notification */
.notification{
  display: none;
  flex-direction: column;
  width: 100%;
  min-height: 100vh;
  align-items: center;
}

.notification>nav{
  display: flex;
  position: sticky;
  top: 0;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(59, 57, 57, 0.116); /* Semi-transparent background */
  backdrop-filter: blur(10px); /* Applies blur effect */
  -webkit-backdrop-filter: blur(10px); /* For Safari */
  z-index: 1;
}

.notification>nav>div{
  margin: 10px;
  font-size: 1.4rem;
}

.notification>nav>.back_btn{
 cursor: pointer;
}

.notification>main{
  display: flex;
  flex-direction: column;
 width: 80%;
 margin-top: 10px;
 gap: 7px;
}

.notification>main>.notification_card{
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(144, 143, 143, 0.443);
  border-radius: 1rem;
  padding: 3px;
  overflow: hidden;
}

.notification>main>.notification_card>img{
  width: 50px;
  height: 50px;
  object-fit: cover;
  margin: 5px;
  border-radius: 50%;
  cursor: pointer;
}

.notification>main>.notification_card>.user_noti{
  display: flex;
  flex: 1;
  flex-direction: column;
  margin-left: 0.3rem;
  cursor: pointer;
}
.notification>main>.notification_card>.user_noti>.content_ds{
  opacity: 0.9;
  font-family: var(--font-ss);
  
}

.notification>main>.notification_card>.user_noti>.time{
 opacity: 0.7;
 font-size: 0.9rem;
}

.notification>main>.notification_card>.post{
  display: flex;
}

.notification>main>.notification_card>.post>img{
  height: 60px;
  cursor: pointer;
  border-radius:  3px 13px 13px 3px ;
}

/* chait_text */
.chait_text_s{
  position: sticky;
  top: 0;
  height: 100vh;
  display: none;
  align-items: center;
  margin-left: 100px;
  font-size: 3rem;
}

/* ! user chait */

.chiat_user{
  position: sticky;
  top: 0;
  display: none;
  flex-direction: column;
  width: 45%;
  height: 100vh;
  transition: all 0.2s ease-in-out;
}

.chiat_user>nav{
  position: sticky;
  top: 0;
  display: flex;
  width: 100%;
  padding: 4px 0 4px 0;
  justify-content: space-around;
  background-color: rgba(59, 57, 57, 0.116); /* Semi-transparent background */
  backdrop-filter: blur(10px); /* Applies blur effect */
  -webkit-backdrop-filter: blur(10px); /* For Safari */
}

.chiat_user>nav>div{
  cursor: pointer;
}

.chiat_user>nav>.back_btn{
  font-size: 1.5rem;
  display: flex;
  align-items: center;
}

.chiat_user>nav>.image_username{
 display: flex;
 width: 70%;
}

.chiat_user>nav>.image_username>img{
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.chiat_user>nav>.image_username>.user{
  display: flex;
  flex-direction: column;
  margin-left: 10px;
  font-family: var(--font-ss);

}

.chiat_user>nav>.image_username>.user>.name{
  font-size: var(--post-u-name-s);
  font-family: var(--font-ss);
}

.chiat_user>nav>.image_username>.user>.username{
  font-size: 0.9rem;
  font-family: var(--font-ss);
  opacity: 0.8;
}

.chiat_user>nav>.menu{
  font-size: 1.5rem;
  display: flex;
  align-items: center;
}

.side_menu_chait{
  position: absolute;
  right: 0;
  display: none;
  transition: all 0.2s ease;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 1rem;
  top: 3.2rem;
  z-index: 15;
}

.side_menu_chait>ul{
  list-style: none;
}

.side_menu_chait>ul>li{
  font-size: 1rem;
  border-radius: 7px;
  padding: 10px;
  cursor: pointer;
  &:hover{
    background-color: #9a9a9a58;
  }
}

/* main */

.chiat_user>main{
  height: 100%;
  width: 100%;
  overflow: auto;
  /* margin-bottom: 10px; */
  display: flex;
  flex-direction: column;
  padding-bottom: 70px;
}

.chiat_user>main::-webkit-scrollbar {
  width: 4px; /* Adjust as needed */
}

.chiat_user>main::-webkit-scrollbar-thumb {
  background-color: #888; /* Change color */
  border-radius: 10px; /* Rounded corners */
}

.chiat_user>main::-webkit-scrollbar-thumb:hover {
  background-color: #555;
}

.chiat_user>main>div{
  width: fit-content;
  font-family: var(--font-ss);
  margin-top: 6px;
}

.chiat_user>main>.come{
  padding: 10px;
  margin-left: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-top-right-radius: 1rem;
  border-bottom-right-radius: 1rem;
  border-bottom-left-radius: 1rem;
  /* border: 1px solid transparent; */
  border: none;
  background-color: #5655555e;
  position: relative;
}

/* todo: fix color error */
.chiat_user>main>.come::after{
  position: absolute;
  content: "";
  top: 0;
  height: 30px;
  width: 30px;
  background-color: transparent;
  left: -30px;
  z-index: -1;
  border-top-right-radius: 50%;
  /* box-shadow: 15px 0 0 0 #5655555e; */
}

.chiat_user>main>.come>.message{
  font-size: 1rem;
}

.chiat_user>main>.come>.time{
  opacity: 0.7;
  width: 90%;
  display: flex;
  min-width: 50px;
  font-size: 0.8rem;
  justify-content: end;
  margin-top: 3px;
  margin-left: 10px;
   white-space: nowrap
}

.chiat_user>main>.send_b{
  width: 100%;
  display: flex;
  justify-content: end;
}

.chiat_user>main>.send_b>.send{
  padding: 10px;
 width: fit-content;
 max-width: 80%;
 display: flex;
 flex-direction: column;
 align-items: start;
  margin-right: 20px;
  border-top-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
  border-bottom-left-radius: 1rem;
  border: 1px solid rgba(89, 87, 87, 0.555);
}

.chiat_user>main>.send_b>.send>.message{
  font-size: 1rem;
}

.chiat_user>main>.send_b>.send>.time{
  display: flex;
  width: 90%;
  min-width: 80px;
  align-items: center;
  justify-content: center;
  padding-top: 3px;
  z-index: -1;
  opacity: 0.8;
  white-space: nowrap
}

.chiat_user>main>.send_b>.send>.time>.time_ss{
min-width: fit-content;
margin-right: 20px;
opacity: 0.7;
font-size: 0.8rem;
}

/* footer */

.chiat_user>footer{
  position: sticky;
  bottom: 0;
  width: 100%;
  display: flex;
  padding: 10px 0 10px 0;
  justify-content: center;
  background-color: rgba(177, 175, 175, 0.215); /* Semi-transparent background */
  backdrop-filter: blur(30px); /* Applies blur effect */
  -webkit-backdrop-filter: blur(30px); 
}

.chiat_user>footer>.file_icon{
  font-size: 1.3rem;
  cursor: pointer;
}

.chiat_user>footer>div{
  display: flex;
  align-items: center;
  justify-content: center;
}

.chiat_user>footer>.message_type{
  width: 70%;
}

.chiat_user>footer>.message_type>input{
  width: 90%;
  padding: 6px;
  font-size: 1.1rem;
  background-color: inherit;
  color: inherit;
  border: 1px solid rgba(81, 81, 81, 0.5);
  border-radius: 10px;
  outline: none;
  transition: all 0.2s ease;
  &:focus{
    border-color: transparent;
    box-shadow: 0 0 7px white;
  }
}

.chiat_user>footer>.message_send_btn>button{
  background-color: inherit;
  color: inherit;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
}

/*! chait list  secation*/
.chait_list{
  display: none;
  flex-direction: column;
  align-items: center;
  width: 30%;
  border-right: 1px solid rgba(81, 81, 81, 0.356);

}

.chait_list>nav{
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  width: 100%;
  background-color: rgba(59, 57, 57, 0.116); /* Semi-transparent background */
  backdrop-filter: blur(10px); /* Applies blur effect */
  -webkit-backdrop-filter: blur(10px); /* For Safari */
}

.chait_list>nav>div{
  margin: 10px;
  font-size: 1.3rem;
  cursor: pointer;
}

.chait_list>main{
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.chait_list>main>.search{
  position: sticky;
  top: 44px;
  width: 100%;
  display: flex;
  align-items: center;
  z-index: 1;
  margin-bottom: 10px;
  justify-content: center;
  background-color: rgba(59, 57, 57, 0.116); /* Semi-transparent background */
  backdrop-filter: blur(10px); /* Applies blur effect */
  -webkit-backdrop-filter: blur(10px); /* For Safari */
}
 
.chait_list>main>.search>input{
  width: 80%;
  padding: 8px 1rem;
  font-size: 1rem;
  font-family: var(--font-ss);
  border-radius: 0.7rem;
  background-color: inherit;
  color: inherit;
  margin: 10px;
  border: 1px solid rgba(121, 121, 121, 0.45);
  outline: none;
}

.chait_list>main{
  height: calc(100dvh - 95px);
}

.chait_list>main>ul{
  width: 100%;
  display: flex;
  flex-direction: column;
  list-style: none;
  align-items: center;
  gap: 4px;
}

.chait_list>main>ul>li{
  display: flex;
  width: 90%;
  border-radius: 10px;
  padding: 6px 0 6px 0;
  justify-content: space-around;
  align-items: center;
  transition: all 0.2s ease;
  gap: 10px;
  &:hover{
    background-color: #35343421;
    .menu{
      opacity: 0.7;
    }
  }
  position: relative;

}

.chait_list>main>ul>li>img{
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-left: 10px;
  object-fit: cover;
  cursor: pointer;
}

.chait_list>main>ul>li>.user_message{
  display: flex;
  flex-direction: column;
  width: 80%;
  cursor: pointer;
}

.chait_list>main>ul>li>.user_message>.name{
  font-size: var(--post-u-name-s);
  font-family: var(--font-ss);
}

.chait_list>main>ul>li>.user_message>.message{
  font-size: 0.9rem;
  font-family: var(--font-ss);
  display: flex;
  gap: 1rem;
  opacity: 0.7;
}

/*! view profile image */

.view_profile_image{
  display: none;
  position: fixed;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 95%;
  max-width: 500px;
  padding: 1.5rem;
  border-radius: 4rem;
  /* Centering */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.view_profile_image>div{
  display: flex;
  justify-content: end;
  width: 100%;
}

.view_profile_image>div>i{
   font-size: 2rem;
   opacity: 0.8;
   cursor: pointer;
}

.view_profile_image>img{
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  object-fit: cover;
}

/* disabled body */

body.disabled {
  pointer-events: none; /* Disable clicks and interactions */
  overflow: hidden;
}

body.disabled::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8); /* Dim background */
  z-index: 10;
}

.active-element {
  position: fixed;
  z-index: 11; /* Keep it above the overlay */
  opacity: 1;
  pointer-events: auto;
}

/* ! setting */

.setting,.edit_secation {
  display: none;
  flex-direction: column;
  width: 50%;
  align-items: center;
  transition: all 0.2s ease-in-out;
  min-height: 100vh;
}

/* setting nav */
.setting>nav{
  display: flex;
  width: 100%;
  justify-content: space-between;
}

.setting>nav>div{
  margin: 10px;
  font-size: 1.3rem;
}

.setting>nav>.backbutton{
  cursor: pointer;
}

/* setting main */
.setting>main{
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 80%;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ss);
}

.setting>main>.them_setting{
  display: flex;
  width: 100%;
  justify-content: space-between;
  border: 1px solid rgba(93, 92, 92, 0.611);
  padding: 10px;
  border-radius: 10px;
}

.setting>main>.them_setting>div>select{
  background-color: inherit;
  color: inherit;
  border: none;
  outline: none;
  cursor: pointer;
}

.setting>main>.logout_setting{
  display: flex;
  width: 100%;
  justify-content: flex-end;
  padding: 10px;
  border-radius: 10px;
}
.setting>main>.logout_setting>.logout{
 cursor: pointer;
 &:hover{
  color: rgba(255, 0, 0, 0.811);
 }
}

.setting>main>.setting_list{
  display: flex;
  flex-direction: column;
  width: 100%;
  /* border: 1px solid var(--border-color); */
  padding: 10px;
  border-radius: 10px;
  list-style: none;
  font-size: 1rem;
}

.setting>main>.setting_list>li{
  padding: 1rem;
  border-radius: 0.5rem;
  display: flex;
  gap: 1rem;
  cursor: pointer;
  &:hover{
    background-color: var(--card-bgc);
  }
}
.setting>main>.setting_list>li>a{
  text-decoration: none;
  color: inherit;
  display: flex;
  gap: 1rem;
}

/* search secation */

.search_secation,.follow_s{
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  gap: 10px;
  width: 100%;
}
.search_secation>nav{
  display: flex;
  position: sticky;
  top: 0;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  z-index: 1;
  background-color: rgba(59, 57, 57, 0.116); /* Semi-transparent background */
  backdrop-filter: blur(30px); /* Applies blur effect */
  -webkit-backdrop-filter: blur(10px); /
}
.search_secation>nav>.search_input_div{
  width: 80%;
}
.search_secation>nav>div>input{
  width: 100%;
  padding: 10px 0 10px 1rem ;
  border-radius: 1rem;
  background-color: transparent;
  color: inherit;
  opacity: 0.87;
  border: 1px solid rgb(59, 58, 58);;
  outline: none;
  font-size: 1rem;
}


.search_secation>main{
  display: flex;
  width: 100%;
  justify-content: center;
}
.search_secation>main>ul{
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 600px;
  list-style: none;
}
.search_secation>main>ul>li{
  display: flex;
  width: 100%;
  padding: 14px 0 14px 0;
  align-items: center;
  border-radius: 1rem;
  cursor: default;
  &:hover{
    background-color: #3333333a;
  }
}
.search_secation>main>ul>li>img{
  width: 45px;
  height: 45px;
  border-radius: 50%;
  margin-left: 1rem;
  margin-right: 1rem;
  object-fit: cover;
}
.search_secation>main>ul>li>span{
  display: flex;
  flex-direction: column;
  gap: 1px;
  font-size: 1rem;
}

.search_secation>main>ul>li>span>.name_sff{
  font-family: var(--font-ss);
  font-size: 1rem;
  opacity: 0.7;
}

.search_secation>main>ul>li>span>.user_na{
  font-size: 1.1rem;
  opacity: 0.9;
  font-family: var(--font-ss);
  text-transform: uppercase;
}

/* befor uplaod profil image */

.befor_change_profil_image{
  display: none;
  position: fixed;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 95%;
  max-width: 500px;
  padding: 1.5rem;
  border-radius: 4rem;
  gap: 10px;
  /* Centering */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--card-bgc);
}

.befor_change_profil_image>span{
 position: absolute;
  top: 1rem;
  right: 2rem;
  font-size: 2rem;
  cursor: pointer;
}
.befor_change_profil_image>img{
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 50%;
}
.befor_change_profil_image>div{
  width: 100%;
  display: flex;
  justify-content: space-around;
}
.befor_change_profil_image>div>span{
 border: 1px solid var(--border-color);
 padding: 5px;
 border-radius: 0.7rem;
 cursor: pointer;
 background-color: var(--btn-bgc);
 text-shadow: 0 0 10px var(--card-bgc);
}

/* shear_contenr */

#shear_contenr_se{
  display: none;
  bottom: 2rem;
}

.shear_contenr{
  display: flex;
  width: 100%;
  max-width: 600px;
  min-width: 390px;
  overflow: hidden;
  flex-direction: column;
  padding: 1rem;
  border-radius: 1rem;
  background-color: var(--card-bgc);
}

.shear_contenr>nav{
  display: flex;
  flex-direction: column;
  width: 100%;
}
.shear_contenr>nav>div{
  display: flex;
  width: 100%;
}

.shear_contenr>nav>.search_usr_shear{
 justify-content: center;
 gap: 10px;
}
.shear_contenr>nav>.shear_title{
 justify-content: space-between;
 margin-bottom: 10px;
}

.shear_contenr>nav>.shear_title>button{
  background-color: transparent;
  border: none;
  color: inherit;
}

.shear_contenr>nav>.search_usr_shear>input{
  width: 90%;
  padding: 0.45rem;
  border-radius: 0.4rem;
  background-color: transparent;
  color: inherit;
  outline:none;
  border: 2px solid var(--border-color);
}

.shear_contenr>nav>.search_usr_shear>button{
  display: none;
  padding: 0 10px 0 10px;
  cursor: pointer;
  border-radius: 0.7rem;

  background-color: var(--grey-btn-b);
  color: inherit;

  align-items: center;
  justify-content: center;

  &:hover{
    background-color: var(--btn-bgc);
  }
}

.shear_contenr>.user_list_shear{
  display: flex;
  flex-wrap: wrap;
  max-width: 100%;
  max-height: 300px;
  overflow: auto;
  margin: 10px 0 10px;
}
.shear_contenr>.user_list_shear>ul{
  width: 100%;
  display: flex;
  min-height: 150px;
  flex-direction: column;
}
.shear_contenr>.user_list_shear>ul>li{
  display: flex;
  align-items: center;
  gap: 10px;
padding: 0.3rem;
border-radius: 0.5rem;
&:hover{
  background-color: var(--btn-bgc);
}
}

.shear_contenr>.user_list_shear>ul>li>img{
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
}

.shear_contenr>.user_list_shear>ul>li>div{
  display: flex;
  flex-direction: column;
}

.shear_contenr>.user_list_shear>ul>li>div>.name_s{
  font-size: 0.9rem;
  opacity: 0.9;
  text-transform: uppercase;
  font-family: var(--font-ss);
}

.shear_contenr>.user_list_shear>ul>li>div>.username_s{
  font-size: 0.9rem;
  opacity: 0.6;
}

/* Webkit scrollbar styles */
.shear_contenr > main::-webkit-scrollbar {
  width: 4px;
}

.shear_contenr > main::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 10px;
}

.shear_contenr > main::-webkit-scrollbar-thumb:hover {
  background-color: #555;
}

.shear_contenr>.user_list_shear>.user_img_name{
  display: flex;
  flex-direction: column;
  padding: 0.6rem;
  border-radius: 1rem;
  width: 100px;
  max-width: 120px;
  flex-grow: 1;
  gap: 3px;
  align-items: center;
  justify-content: center;
  &:hover{
    background-color: var(--btn-bgc);
  }
}
.shear_contenr>.user_list_shear>.user_img_name>img{
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
}
.shear_contenr>.user_list_shear>.user_img_name>p{
  font-size: 0.8rem;
}
.shear_contenr>.shear_tooles{
  display: flex;
  justify-content: space-evenly;
}
.shear_contenr>.shear_tooles>.tool_shear_i{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: default;
}
.shear_contenr>.shear_tooles>.tool_shear_i>div{
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--btn-bgc);
  cursor: pointer;
}


/* .following followers */

.follow_s{
  display: none;
}

.follow_s>nav{
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  z-index: 1;
  background-color: rgba(59, 57, 57, 0.116); /* Semi-transparent background */
  backdrop-filter: blur(30px); /* Applies blur effect */
  -webkit-backdrop-filter: blur(10px); 
}

.follow_s>nav>.title_follow{
  display: flex;
  width: 100%;
  justify-content: space-between;
  padding: 0.4rem;

}

.follow_s>nav>.title_follow>i{
  cursor: pointer;
}

.follow_s>nav>.search_input_div{
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
}

.follow_s>nav>.search_input_div>input{
  width: 90%;
  max-width: 520px;
  padding: 0.5rem;
  border-radius: 0.7rem;
  border: 1px solid var(--border-color);
  outline: none;
  background-color: transparent;
  color: inherit;
}

.follow_s>main{
  display: flex;
  width: 100%;
}

.follow_s>main>ul{
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 5px;
  align-items: center;
}

.follow_s>main>ul>li{
  display: flex;
  align-items: center;
  gap: 10px;
  width: 95%;
  padding: 0.4rem;
  max-width: 560px;
  border-radius: 0.7rem;

  &:hover{
  background-color: var(--card-bgc);

  }
}

.follow_s>main>ul>li>img{
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
 
}

.follow_s>main>ul>li>div{
  display: flex;
  flex:1;
  flex-direction: column;
 cursor: default;
}

.follow_s>main>ul>li>div>.name_user_fol{
  font-family: var(--font-ss);
  text-transform: uppercase;
  opacity: 0.9;
}

.follow_s>main>ul>li>div>.username_folw{
  display: flex;
  opacity: 0.7;
}

.follow_s>main>ul>li>button{
  background-color: transparent;
  color: inherit;
  padding: 0.4rem;
  border-radius: 0.6rem;
  border: 1px solid var(--border-color);
  cursor: pointer;

  &:focus{
    background-color: var(--grey-btn-b);
  }

}

/* ************ edit profile ******************** */

.edit_secation{
  display: flex;
  width: 100%;
}

.edit_secation>nav{
  display: flex;
  position: sticky;
  top: 0;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  z-index: 1;
  background-color: rgba(59, 57, 57, 0.116); /* Semi-transparent background */
  backdrop-filter: blur(30px); /* Applies blur effect */
  -webkit-backdrop-filter: blur(10px);
  cursor: default;
}

.edit_secation>nav>i{
  cursor: pointer;
}

.edit_secation>main{
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
  margin-bottom: 1rem;
}

.edit_secation>main>div{
  display: flex;
  align-items: center;
  width: 90%;
  background-color: #3d3d3d5e;
  padding: 1rem;
  margin-top: 10px;
  border-radius: 1rem;
}

.edit_secation>main>div>.edit_image{
  width: 30%;
  display: flex;
  position: relative;
}

.edit_secation>main>div>.edit_image>img{
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  background-color: rgb(229, 226, 11);
}

.edit_secation>main>div>.edit_image>span{
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--btn-bgc);
  display: flex;
  align-items:  center;
  justify-content: center;
  position: absolute;
  bottom: 0;
  right: 0;
  cursor: pointer;
}

.edit_secation>main>div>.username_edit_date{
  display: flex;
  flex-direction: column;
  margin-left: 2rem;
  gap: 5px;
}

.edit_secation>main>div>.username_edit_date>.username_dd{
  text-transform: uppercase;
  font-family: var(--font-ss);
  opacity: 0.9;
}

.edit_secation>main>div>.username_edit_date>.name_sfjj{
  opacity: 0.6;
}

.edit_secation>main>div>.edit-form{
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 0 0.5rem 0 ;
}

.edit_secation>main>div>.edit-form>.form-group{
  width: 90%;
  display: flex;
  flex-direction: column;
  gap: 3px; 
}
.edit_secation>main>div>.edit-form>.form-group>label{
 margin-left: 0.5rem;
}
.edit_secation>main>div>.edit-form>.form-group>input,.edit_secation>main>div>.edit-form>.form-group>textarea{
  display: flex;
  flex-direction: column;
  gap: 3px; 
  background-color: inherit;
  color: inherit;
  padding: 0.5rem 0 0.5rem 10px;
  border-radius: 0.5rem;
  border: 1px solid var(--border-color);
  outline: none;
}

.edit_secation>main>div>.edit-form>.form-group>textarea{
  height: 4rem;
}

.edit_secation>main>div>.edit-form>.form-group>select{
  display: flex;
  flex-direction: column;
  gap: 3px; 
  background-color: inherit;
  color: inherit;
  padding: 0.5rem;

  border-radius: 0.5rem;
}

.edit_secation>main>div>.edit-form>.form-group>select>option{
  display: flex;
  flex-direction: column;
  width: fit-content;
  gap: 3px; 
  background-color: var(--card-bgc);
  color: inherit;
  padding: 0.4rem 0 0.4rem 10px;
}

.edit_secation>main>div>.edit-form>.form-actions{
  display: flex;
  width: 80%;
  justify-content: space-between;
}

.edit_secation>main>div>.edit-form>.form-actions>button{
 padding: 0.5rem;
 min-width: 100px;
 border-radius: 0.7rem;
 cursor: pointer;
}

/* Websites section styles */
      .websites-section {
        display: flex;
        flex-direction: column;
        margin-top: 30px;
      }

      .website-list {
        width: 100%;
        margin-top: 15px;
      }

      .website-item {
        display: flex;
        width: 100%;
        /* background-color: rgba(249, 249, 249, 0.734); */
        gap: 15px;
        margin-bottom: 10px;
        padding: 15px;
        align-items: center;
        /* background-color: #fff; */
      }

      .website-item-inputs {
        flex: 1;
        display: grid;
        grid-template-columns: 1fr 2fr;
        gap: 15px;
        /* background-color: red; */
      }

      .website-item-inputs>div{
        display: flex;
        flex: 1;
        flex-direction: column;
        gap: 8px;
      }

      .website-item-inputs>div>input{
        display: flex;
        flex: 1;
        padding: 0.4rem;
        background-color: inherit;
        color: inherit;
        border: 1px solid var(--border-color);
        border-radius: 0.28rem;
      }

      .website-actions {
        display: flex;
        gap: 10px;
      }

      .btn-danger {
        background-color: inherit;
        border: none;
        cursor: pointer;
        color: #ff4d4f;
        font-size: 1.2rem;
      }

      .btn-danger:hover {
        /* background-color: #ff7875; */
        color: #f42b2e;
      }

      .add-website-btn {
        margin-top: 10px;
        padding: 0.7rem;
        border-radius: 0.7rem;
        cursor: pointer;
      }

      .website_btns_links{
        display: flex;
        width: 90%;
        justify-content: space-between;
      }



/* 1140px */
@media (max-width: 1140px) {
  .toolbar {
    display: none;
  }
  .main,.setting {
    width: 70%;
  }

  .sidebar {
    width: 30%;
  }
}

/* 1000px */
@media (max-width: 1000px) {
  .sidebar > div > ul {
    width: 100%;
  }
  .sidebar > div > .search {
    width: 100%;
  }
  .user_and_post > div {
    width: 95%;
  }
 /* ! profile */

 .porfile>main{
  width: 95%;
 }

 /* chait */

 .chiat_user{
  width: 40%;
 }

 .chait_list{
  width: 40%;
 }

}

/*pad screen */
@media (max-width: 870px) {
  .chait_list{
    width: 70%;
  }
  .chiat_user{
    width: 70%;
  }
}

@media (max-width: 781px) {
  .user_and_post > .usercard {
    padding: 10px 0px 10px 0;
  }

  .sidebar > .user_and_post > .usercard > img {
    width: 50px;
    height: 50px;
    margin: 0 4px 0 4px;
  }

  .user_and_post > .usercard > div {
    margin-left: 2px;
  }

  .home>main {
    width: 95%;
  }
  .setting>main{
    width: 95%;
  }

   .notification>main{
    width: 90%;
  }

  main > .post > .user > div > img {
    width: 50px;
    height: 50px;
  }


.website-item-inputs {
  grid-template-columns: 1fr;
}

.website-actions {
  align-self: flex-end;
}
.website-item-inputs>div>input{
  width: 100%;
}
.edit_secation>main>div>.edit-form>.form-group{
  width: 98%;
}
}

@media (max-width: 650px) {
  .sidebar {
    width: fit-content;
    justify-content: flex-start;
    overflow: hidden;
  }
  .main , .setting{
    width: 100%;
  }
  .main>.home{
    width: 100%;
  }

  .notification>main{
    width: 98%;
  }

  .sidebar > .list_opation > ul > li {
    justify-content: center;
  }

  .sidebar > .list_opation > ul > li > span ,.sidebar > .list_opation > ul > li > a>span {
    display: none;
  }

  .log_search > .log > h1 {
    display: none;
  }

  .log_i {
    display: flex;
  }

  .log_search > .search > input {
    display: none;
  }
  .search_i {
    display: flex;
  }
  .sidebar > div > .search {
    width: 80%;
    justify-content: flex-start;
  }
  .user_and_post > .usercard > div {
    display: none;
  }
  .user_and_post > div > button {
    display: none;
  }

  .post_i {
    display: flex;
    margin-bottom: 5px;
  }

  .user_and_post > .usercard {
    padding: 0px 0px 0px 0;
    border-radius: 50%;
    width: 55px;
    height: 55px;
  }
  .user_and_post {
    margin-bottom: 5px;
  }

  .sidebar > .user_and_post > .usercard > img {
    margin: 0 0px 0 0px;
    align-items: center;
  }

  .user_and_post > .usercard > div {
    margin-left: 0px;
  }

  .main > nav > div {
    font-size: 1.2rem;
  }
  /* ! profile */
  .porfile>main>.p_user>img{
    width: 35%;
  }
  .porfile>main>.p_user>.name_dec>.name{
    /* font-size: 1.7rem; */
  }
  .porfile>main>.p_user>.name_dec>.usernaem{
    /* font-size: 1.1rem; */
  }
  .porfile>main>.p_user>.name_dec>.dec{
    /* font-size: 1.1rem; */
  }
  .porfile>main>.p_user>.name_dec{
    margin-left: 10px;
  }
  /* chait */
  .chait_list{
    width: 100%;
  }
  .chiat_user{
    width: 100%;
  }

  .edit_secation>main>div{
    width: 98%;
  }
}

/* mobile screen size */
@media (max-width: 590px) {
  .sidebar {
    display: none;
  }
  .footer_m {
    display: flex;
  }
  .navbar_m {
    display: flex;
  }
  body {
    display: block;
  }
  .main , .setting{
    width: 100%;
  }

  /* profile */
  .porfile>main>.p_user>.name_dec>.btns{
    display: none;
  }

  .porfile>main>.m_btns{
     display: flex;
  }
}

/* mobile screen size 382 */
@media (max-width: 382px) {
}


/* dashboard icon  */
.dashbord_icon_dd{
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 100%;
  gap: 1.3px;
  padding-top: 1px;
  padding-bottom: 1px;
}

.dashbord_icon_dd>span{
  width: 5.6px;
  height: 1.18rem;
  border-radius: 2px;
  border: 1px solid var(--icon-color);
}

.dashbord_icon_dd>.l1{
  height: 0.7rem;
}

.dashbord_icon_dd>.l3{
  height: 1rem;
}