@import url("https://fonts.googleapis.com/css2?family=Urbanist:wght@100;200;300;400;500;600;700;800;900&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

  font-family: "Urbanist", sans-serif;
}
body {
  font-family: "Urbanist", sans-serif;
  background-color: var(--body-bg) !important;
}

/* Place your CSS styles here */

.main_min {
  display: flex;
  background-color: var(--body-bg);
}
.main-content {
  max-width: 817px;
  flex: 2;
  /* margin-right: 20px; */
  justify-content: space-between;
}
.welcome-banner {
  background-color: #0378a4;
  display: flex;
  justify-content: space-between;
  padding: 35px;
  height: 195px;
  color: white;
  align-items: center;

  border-radius: 10px;
  margin-bottom: 30px;
  margin-top: 40px;
}
.welcome-banner-button {
  display: none;
}
/* @media (max-width: 1024px) {
  .welcome-banner {
    background-color: #0378a4;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 35px;
    height: fit-content;
    color: white;
    align-items: center;

    border-radius: 10px;
    margin-bottom: 30px;
    margin-top: 40px;
  }
  .main-content {
    width: 345px;
  }
  .main {
    display: flex;
    justify-content: center;
  }
  header {
    display: none;
  }
  .post {
    width: 100%;
    height: fit-content;
    padding: 10px !important;
  }
  .top-posts {
    width: 100%;
  }
  .post-content {
    display: flex;
   
  }
  .post-title {
    
    font-family: Urbanist;
    font-size: 16px;
    font-weight: 700;
    line-height: 27px;
    letter-spacing: 0.01em;
    text-align: left;
  }
  .post-excerpt {
     
    font-family: Urbanist;
    font-size: 16px !important;
    font-weight: 400;
    line-height: 27px;
    letter-spacing: 0.01em;
    text-align: left;
    margin-top: 30px;
  }
  .save-div{
    width: 41px;
    height: 28px;
    
  }
  .img-save{
    width: 28px !important;
    height: 28px !important;
  }
  .img-dots{
    margin-left: 5px;
  }
} */
/* @media (min-width:768px)and(max-width: 1023px) {
  .welcome-banner {
    background-color: #0378a4;
    display: flex;
    flex-direction: column;
   
    padding: 35px;
    width: 100%;
    color: white;
    align-items: center;
    justify-content: center;
  
    border-radius: 10px;
    margin-bottom: 30px;
    margin-top: 40px;
  }} */

.welcome-discription {
  width: 473px;
  font-family: Urbanist;
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  text-align: left;
  color: #f6f6f6;
}
.welcome-text {
  margin-bottom: 10px;
  font-family: Urbanist;
  font-size: 30px;
  font-weight: 800;
  line-height: 36px;
  letter-spacing: 0.07em;
  text-align: left;
}
.top-posts {
  background-color: var(--top-posts-bg);
  max-width: 817px;

  padding: 30px;
  gap: 0px;
  border-radius: 10px;
  border: 1px 0px 0px 0px;
  opacity: 0px;
  border: 1px solid var(--border-color);
  margin-bottom: 60px;
}
.top-posts-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.answer-btn {
  color: #0077b6;
  width: 207px;
  height: 52.2px;
  background-color: var(--top-posts-bg);
  font-family: Urbanist;
  font-size: 16px;
  font-weight: 700;
  line-height: 19.8px;
  letter-spacing: 0.01em;

  border-radius: 27px;
  border: 1px solid #0378a4;
}
.answer-btn:hover {
  cursor: pointer;
}
.img-save-div {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  background-color: #0378a40d;
  border-radius: 100%;
}
.img-save {
  width: 32px;
  height: 32px;
}
.img-dots {
  margin-left: 10px;
  cursor: pointer;
}
/* .post-text-flex-div {
  display: flex;
} */

.post {
  border-radius: 8px;
  box-shadow: 0px 1px 11.2px 0px rgba(0, 0, 0, 0.1);
  padding: 25px;
  max-width: 760px;
  background-color: var(--post-bg);
  border-color: var(--post-border);
  margin: 30px auto;
}
.line {
  height: 1px;
  background-color: #e5e5e5;
  margin-top: 5px;
  margin-bottom: 5px;
}
.post-date {
  font-family: "Urbanist", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 14.4px;
  letter-spacing: 0.01em;

  color: #8a8a8a;
  margin-left: 5px;
  margin-right: 5px;
}
.post-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.post-author {
  /* margin-left: 10px; */
  font-weight: 500;
  font-size: 12px;
  color: black;
}
.globe {
  height: 14px;
  width: 14px;
}
.save-div {
  display: flex;
  justify-content: center;
  align-items: center;
}
.post-content {
  display: flex;
  gap: 16px;
}
.post-text {
  flex: 1;

  width: 483px;
}

.post-title {
  font-size: 20px;
  line-height: 27px;
  font-weight: bold;
  margin-bottom: 8px;
  height: 54px;
  color: var(--post-title);
}
.post-excerpt {
  color: var(--p);
  font-size: 16px;
  margin-bottom: 12px;
  line-height: 22px;
  font-weight: 400px;
}
.post-image {
  width: 192px;
  height: 145px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 15px;
}
.post-engagement {
  display: flex;
  gap: 16px;
  color: #65676b;
  font-size: 0.9em;
}
.engagement-item:hover {
  cursor: pointer;
}
.engagement-item {
  display: flex;
  align-items: center;
  background-color: var(--engagement-item);
  width: 74px;
  height: 40px;
  /* margin-right: 20px; */
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0378a4;
}
.engagement-icon {
  margin-right: 4px;
}

/* Show the sidebar only on desktop screens (1024px and wider) */

.header-content {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.container {
  width: 85% !important;
  margin: 0 auto;
  display: block;
  height: 78px;
}

.rep-container {
  display: flex;
  justify-content: center;
  align-items: center;
}
.rep-post {
  width: 352px;
  padding: 20px;
  background-color: var(--sidebar);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}
.rep-pos {
  max-width: 817px;
  padding: 20px;
  background-color: var(--sidebar);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  margin-top: 30px;
  margin-bottom: 30px;
}
.rep-post-image {
  width: 100%;
  height: 178px;
  background-image: url("https://hebbkx1anhila5yf.public.blob.vercel-storage.com/post-Z6IGdTIAVhgrneSkB0fTZ0Md5GJNNd.PNG");
  background-size: cover;
  background-position: center;
}
.rep-post-content {
  padding: 15px;
}
.rep-post-meta {
  font-size: 12px;
  color: var(--h1);
  margin-bottom: 5px;
}

.rep-post-title {
  font-family: "Urbanist", sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
  text-align: left;
  color: var(--p);
}
.rep-navigation {
  margin-top: 20px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}
.rep-nav-dots {
  display: flex;
}
.rep-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #ccc;
  margin: 0 3px;
}
.rep-dot.rep-active {
  background-color: #007bff;
}
.rep-nav-arrow {
  font-size: 20px;
  color: #007bff;
  cursor: pointer;
  user-select: none;
}
.filter-space-div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px;
  cursor: pointer;
  height: 57px;
  border-top: none !important;
  border-bottom: 1px solid #ddd;
}
.filter-space-div:hover {
  background-color: #0378a40d;
  color: #0378a4;
}

/* Add this new class for the selected state */
.filter-space-div.selected {
  background-color: #0378a40d; /* Same as hover */
  color: #0378a4; /* Same as hover */
}

.filter-space-div p {
  font-family: "Urbanist", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
  letter-spacing: 0.01em;
  text-align: left;
  color: #5a5a5a;
}

.filter-space-div2 {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px;
  border-radius: 10px;

  cursor: pointer;

  height: 57px;
}
.filter-space-div2:hover {
  background-color: rgba(3, 120, 164, 0.08);
  color: #0378a4;
}
.filter-space-div2 p {
  font-family: Urbanist;
  font-size: 18px;
  font-weight: 500;
  line-height: 21.6px;
  letter-spacing: 0.01em;
  text-align: left;
  color: var(--p);
}

.container1-tuy {
  max-width: 370px;
  margin: 0px 10px;
  margin-top: 40px;
}
h1 {
  color: var(--h1);
  font-size: 35px;
  font-weight: 600;
}
.underline {
  width: 100% !important;
  height: 2px;
  background-color: #0099cc;
  margin-bottom: 20px;
}
.search-container {
  position: relative;
  margin-bottom: 20px;
}
.search-container input::placeholder {
  padding: 0px !important;
}
.search-input {
  width: 100%;
  padding: 0px 10px !important;
  font-size: 16px;
  border: none;
  border-radius: 25px;
  height: 50px;
  background-color: #f5f5f5;
}
.search-input::placeholder {
  padding: 0px !important;
  padding-left: 20px !important;
}
.search-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border: 2px solid #999;
  border-radius: 50%;
}
.search-icoon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
}

.section {
  border-bottom: 1px solid #e0e0e0;
  padding: 15px 0;
}
.section-title {
  font-size: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dropdown-icon {
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #000;
}
.create-button {
  display: block;
  width: 100%;
  height: 58px;

  margin-top: 20px;
  font-size: 18px;
  color: #ffffff;
  background-color: #0378a4;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  text-align: center;
}
.container2 {
  max-width: 1280px;
  margin: 0 auto;
  background-color: var(--background-color);
  color: var(--text-color);
  transition: background-color 0.3s, color 0.3s;
}

.logo {
  width: 46px;
  height: 40px;
}
nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #666;
}
nav a.active {
  color: #0077b6;
  border-bottom: 2px solid #0077b6;
}
nav {
  font-size: 18px;
}
.header-actions {
  width: 262px;
  display: flex;
  align-items: center;
  gap: 10px;
}
/* /* .header-actions > * {
  margin-left: 15px;
} */
*/ .create-btn {
  background: #0378a4;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
}
.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #ddd;
  display: flex;
  justify-content: center;
  align-items: center;
}
.img1 {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #ddd;
}
.img2 {
  width: 26px;
  height: 22px;
  margin-left: 10px;
  cursor: pointer;
}
.img3 {
  width: 26px;
  height: 22px;
  margin-left: 10px;
  cursor: pointer;
}
.popup-menu {
  display: block;
  position: absolute;
  top: 80px;
  right: 136px;
  width: 320px;
  background: var(--post-bg);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  display: none;
  z-index: 1000;
}

.popup-menu.active {
  display: block;
}
.menu-item-text {
  color: var(--p);
}
.menu-item-text:hover {
  color: #0378a4;
}

.profile-section {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
  margin-bottom: 12px;
}

.profile-section img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.profile-info {
  flex: 1;
}

.profile-info h3 {
  margin: 0;
  font-size: 16px;
  color: var(--h1);
}

.profile-info p {
  margin: 4px 0 0;
  font-size: 14px;
  color: #666;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  color: #333;
  text-decoration: none;
  cursor: pointer;
}

.menu-item:hover {
  color: #0378a4;
}

.menu-item img {
  width: 20px;
  height: 20px;
}

.dark-mode-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  /* padding: 12px 0;
  border-bottom: 1px solid #eee;
  margin-bottom: 12px; */
}
.dark-mode-togg {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0px;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

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

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 24px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

.mobile-toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

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

.mobile-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 24px;
}

.mobile-toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .toggle-slider {
  background-color: #0378a4;
}

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

input:checked + .mobile-toggle-slider {
  background-color: #0378a4;
}

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

.logout-section {
  padding-top: 12px;
  border-top: 1px solid #eee;
  margin-top: 12px;
}
.header-content2 {
  display: flex;
  gap: 20px;
  align-items: center;
}

.welcome-text {
  width: 473px;
  font-family: "Urbanist", sans-serif;
}
.welcome-text h2 {
  font-size: 32px;
}
.welcome-text p {
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
}
.banner-img {
  width: 191px;
  height: 163px;
}
.top-posts-header h3 {
  font-size: 24px;
  font-weight: 600;
  line-height: 28px;
}
.post-texts {
  display: flex;
  justify-content: space-between;

  padding-top: 10px;
}
.share {
  width: 20px;
  height: 20px;
}
.save1 {
  width: 30px;
  height: 30px;
}
.save2 {
  width: 30px;
  height: 30px;
}
.pic {
  display: flex;
  gap: 5px;
  justify-content: center;
  align-items: center;
}
.pp {
  width: 30px;
  height: 30px;
  border-radius: 15px;
  margin-right: 10px;
}
.for-flex {
  display: flex;
  gap: 30px;
  justify-content: center;
  margin-bottom: 20px;
  margin-top: 30px;
}
.img {
  width: 40px;
  height: 40px;
  border-radius: 20px;
}
.notification-text p {
  font-size: 15px;
  line-height: 21px;
}
/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 3%;
  width: 100%;

  background-color: rgba(0, 0, 0, 0.5);
}

#newSpaceModal .modal-content {
  background-color: var(--modal-bg);
  margin: 5% auto;
  width: 90%;
  max-width: 790px;
  border-radius: 10px;
  border-bottom: 7px solid #0378a4;
  overflow: hidden;
}

#newSpaceModal .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  font-size: 24px;
  font-weight: 600;
  color: var(--h1);
  padding: 30px;
  height: 90px;
  cursor: pointer;
}

#newSpaceModal .modal-header h2 {
  margin: 0;
  font-size: 20px;
}

#newSpaceModal .modal-body {
  padding: 40px;
  max-height: 70vh;
  overflow-y: auto;
}

#newSpaceModal .form-group {
  margin-bottom: 35px;
}

#newSpaceModal .form-group label {
  display: block;
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 20px;
  color: var(--h1);
}

#newSpaceModal .form-group input,
#newSpaceModal .form-group textarea {
  width: 100%;
  color: var(--p);
  height: 70px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 18px;
  background-color: var(--input);
}
.form-group select {
  color: var(--p);
}
#newSpaceModal .form-group textarea {
  height: 180px;
  resize: vertical;
}

#newSpaceModal .btn {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 26px;
  font-size: 18px;
  cursor: pointer;
  height: 55px;
  margin-top: 10px;
}

#newSpaceModal .btn-primary {
  background-color: #0378a4;
  color: white;
}

/* Style for the create button */
.create-button {
  background-color: #0378a4;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 16px;
}

/* Styles for the first modal (createModal) */
/* #createModal .modal-content {
  background-color: var(--modal-bg);
  margin: 10% auto;
  padding: 90px 20px;
  border-radius: 10px;
  width: 792px;

  height: 446px;
  text-align: center;
  box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.2);
} */
.required-note {
  font-family: Urbanist;
  font-size: 20px;
  font-weight: 500;
  line-height: 24px;
  text-align: right;
  color: #5a5a5a;
}

#createModal .modal-content h2 {
  font-family: "Urbanist", sans-serif;
  font-weight: 600;
  margin-bottom: 20px;
  font-size: 24px;
  color: var(--h1);
}

#createModal .close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  margin-top: -60px;
  margin-right: 10px;
  cursor: pointer;
  width: 35px;
  height: 35px;
}

#createModal .modal-options {
  display: flex;
  justify-content: center;
  gap: 20px;
}

#createModal .option {
  background-color: var(--post-bg);
  border-radius: 10px;
  padding: 20px;
  width: 217px;
  height: 198px;
  text-align: center;
  border: 1px solid #e5e5e5;
  cursor: pointer;
  font-family: Urbanist;
  font-size: 25.7px;
  font-weight: 600;
  line-height: 27.13px;
  letter-spacing: 0.01em;
  text-align: center;
  text-underline-position: from-font;
  color: #5a5a5a;
  text-decoration-skip-ink: none;
}

#createModal .option:hover {
  border: 1px solid #0378a4;
  color: #0378a4;
}

#createModal .option:hover .circle {
  border: 2px solid #0378a4;
}

.creat-text {
  font-family: Urbanist;
  font-size: 30px;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: 0.01em;
  text-align: center;
  margin-bottom: 63px;
  color: var(--h1);
}

#createModal .circle {
  display: flex;
  justify-items: center;
  align-items: center;
  width: 88px;
  height: 88px;
  background-color: var(--post-bg);
  border: 2px solid #ddd;
  border-radius: 50%;
  margin: auto;
  margin-bottom: 25px;
}
#createModal .circle img {
  width: 42px;
  height: 42px;
  margin: 0 auto;
}
/* Styles for the second modal (courseModal) */
.modal-content {
  background-color: var(--modal-bg);
  margin: 8% auto;
  width: 90%;
  max-width: 790px;
  border-bottom: 7px solid #0378a4;
  border-radius: 10px;
  overflow: hidden;
}
.modal-course-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ddd;
  font-size: 24px;
  font-weight: 600;
  background-color: var(--bg-color);
  color: var(--h1);
  padding: 30px 30px;
  height: 90px;
}

.modal-course-header h2 {
  margin: 0;
  font-size: 20px;
}

.close {
  color: #0378a4;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

/* .modal-body {
  padding: 40px;
  max-height: 70vh;
  overflow-y: auto;
} */

.form-group {
  margin-bottom: 35px;
}

.form-group label {
  display: block;
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 20px;
  color: var(--h1);
}
.form-row {
  gap: 10px;
  display: flex;
  justify-content: space-between;
}
.form-col {
  width: 100%;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 10px;
  height: 70px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 18px;
  background-color: var(--input);
  color: var(--p);
}

/* Autofill styles for dark mode */
.form-group input:-webkit-autofill,
.form-group select:-webkit-autofill,
.form-group textarea:-webkit-autofill {
  background-color: var(--input) !important; /* Background color for autofill */
  color: var(--h1) !important; /* Ensure text color is readable */
  -webkit-text-fill-color: var(--h1) !important;
  box-shadow: 0 0 0px 1000px var(--input) inset !important; /* Force background color */
  transition: background-color 5000s ease-in-out, color 5000s ease-in-out; /* Smooth transition */
}

.form-group textarea {
  height: 180px;
  resize: vertical;
}

.btn {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 26px;
  font-size: 18px;
  cursor: pointer;
  height: 55px;
  margin-top: 10px;
}

.btn-outline {
  background-color: white;
  color: #0378a4;
  border: 2px solid #0378a4;
}

.btn-primary {
  background-color: c !important;
  color: white;
}
#journalModal .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ddd;
  font-size: 24px;
  font-weight: 600;

  color: var(--h1);
  padding: 0 30px;
  height: 90px;
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ddd;
  font-size: 24px;
  font-weight: 600;

  color: var(--h1);
  padding: 30px 30px;
  height: 90px;
}

.select {
  height: 70px;
  border-radius: 10px;
  padding: 30px;
}

.input {
  height: 70px;
  border-radius: 10px;
}
.label-slybus {
  font-size: 20px;
  color: #0077b6;
}
input::placeholder {
  font-size: 18px;
  padding-left: 20px;
  padding-right: 20px;
}
textarea::placeholder {
  padding-left: 30px;
  padding-top: 20px;
}
Style for the form group .form-group {
  margin-bottom: 20px;
  /* Clean and modern font */
}

/* Label styling */
.label-slybus {
  display: block;
  font-size: 20px;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
}

/* Select box styling */

/* Style for options */
.select-option {
  font-size: 18px;
  padding: 10px; /* Padding for option items */
  background-color: #fff;
}

/* Optional hover effect for the select box */
.select:hover {
  border-color: #888; /* Darker border on hover */
}

/* Style for focus */
.select:focus {
  border-color: #555;
  outline: none; /* Remove default outline */
}
.table-head,
.form-group h3 {
  font-size: 20px;
}
.grades-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid #ddd;
  padding: 20px 20px;
  border-color: #ddd;
  border-radius: 10px;
}
.option-link {
  text-decoration: none; /* Remove underline from the anchor */
  color: inherit; /* Inherit text color from parent */
  display: block; /* Ensure the entire option div is clickable */
}

.option-link:hover {
  cursor: pointer; /* Change cursor to pointer on hover */
}

.breadcrumbs {
  font-size: 14px;
  color: #666;
  display: flex;
  align-items: center;
}
.breadcrumb-link {
  color: gray;
  text-decoration: none;
}
.breadcrumb-link:hover {
  text-decoration: underline;
}
.breadcrumb-separator {
  margin: 0 8px;
  color: #888;
}
.breadcrumb-active {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
}
.breadcrumb-active:hover {
  text-decoration: underline;
}
.checkbox-group {
  display: flex;
  gap: 20px;
}
.checkbox-group input {
  width: 20px;
  height: 20px;
}
.code {
  font-family: "Urbanist", sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
  text-align: left;
  margin-bottom: 20px;
}

.setting-top {
  margin-top: 30px;
  font-size: 18px;
  text-decoration: none;
  font-family: urbanist;
}

a {
  text-decoration: none;
  color: #0378a4;
}
.popup {
  position: absolute;
  background: var(--post-bg);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 0.5rem;
  min-width: 240px;
  color: var(--p);
  top: 50px;
  height: 190px;
  display: none;
  z-index: 1000;
}

.popup.active {
  display: block;
}

.popup-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  cursor: pointer;
  color: var(--p);
  text-decoration: none;
  border-radius: 6px;
}

.popup-item:hover {
  background: #f5f5f5;
}

.popup-item svg {
  width: 18px;
  height: 18px;
}

.popup-item:hover {
  background: #0378a40d;
  color: #0378a4;
}
.share-popup {
  display: none;
  border: 1px solid var(--border-color);
  position: absolute;
  background: var(--post-bg);
  color: var(--p);
  top: 100%; /* Position right below the share button */
  right: -72px; /* Aligns with the left of the button */
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  min-width: 318px;
  padding: 15px;
  z-index: 1001;
}

.sharePostBtn {
  position: relative;
}

.share-things {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.share-popup-item {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  text-decoration: none;
  color: var(--p);

  font-size: 14px;
  cursor: pointer;
  font-family: Urbanist;
  font-size: 16.01px;
  font-weight: 400;
  line-height: 19.22px;
  letter-spacing: 0.01em;
  text-align: left;
}

.share-popup-item:hover {
  background-color: #0378a40d;
  color: #0378a4;
}

/* .share-popup-item p{
    font-family: Urbanist;
font-size: 16.01px;
font-weight: 400;
line-height: 19.22px;
letter-spacing: 0.01em;
text-align: left;
color:  #333;
}
.share-popup-item p:hover{
    
color:  #0378A4;
} */

.share-popup-item img {
  width: 20px;
  height: 20px;
  margin-right: 12px;
}
.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #222222;
  height: 60px;
}
.left-footer {
  display: flex;
  align-items: center;
  gap: 10px;
}
.left-footer img {
  width: 30px;
}
.footer-content {
  color: #8a8a8a;
  width: 1230px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
footer a {
  text-decoration: none;
  color: #8a8a8a;
  margin-left: 5px;
  margin-right: 5px;
}
.search {
  width: 20px;
  height: 20px;
}
.custom-close {
  cursor: pointer;
  cursor: pointer;
}
a {
  text-decoration: none;
}
/*share with model */
.swmdl-share-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s;
}

.swmdl-modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

.swmdl-modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #e5e5e5;
  width: 580px;
  border-radius: 10px;
}

.swmdl-title {
  margin-top: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;

  color: black;
}

.swmdl-share-options {
  display: flex;
  justify-content: space-around;
  margin-top: 25px;
}

.swmdl-share-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  padding: 10px;
  width: 50px;
}
.swmdl-share-option img {
  width: 30px;
}
.model-img {
  width: 70px;
  height: 70px;
  background-color: #f9f9fa;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 80px;
  margin-bottom: 7px;
}

.model-img-whatsapp {
  width: 70px;
  height: 70px;
  background-color: #0378a414;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 80px;
  margin-bottom: 7px;
}

.swmdl-copy-link {
  display: flex;
  gap: 10px;
}

.swmdl-link-input {
  flex-grow: 1;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.swmdl-copy-button {
  background-color: transparent;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.headimg-closebtn {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #e5e5e5;
}
.headimg-closebtn img {
  width: 25px;
  cursor: pointer;
  margin-bottom: 15px;
}
.swmdl-copy-button img {
  width: 20px;
}
.lable-share-model {
  font-family: "Urbanist";
  font-size: 12px;
  font-weight: 400;
  line-height: 15px;
  color: #5a5a5a;
}

.lable-share-model-whts {
  color: #0378a4;
  font-family: "Urbanist";
  font-size: 12px;
  font-weight: 400;
  line-height: 15px;
}

.copy-input-share-container {
  margin-top: 25px;
}
.copy-input-share-title {
  font-family: "Urbanist";
  font-size: 14px;
  font-weight: 500;
  line-height: 15px;
  color: #222222;
  margin-bottom: 15px;
}

.modelinput-container {
  position: relative;
  width: 100%;
  max-width: 36rem;
}
.modelinput-url-input {
  width: 100%;
  padding: 10px;
  padding-right: 40px;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  background-color: #f9f9fa;
  font-size: 14px;
  font-weight: 400;
  line-height: 16.8px;
  color: #828282;
}

.modelinput-copy-button {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modelinput-copy-icon {
  width: 16px;
  height: 16px;
}

:root {
  --white-button-color: #0378a4;
  --white-button: #ffffff;
  --accord: #f2f8fa;
  --h1: #222222;
  --footer-bg: #222222;
  --p: #5a5a5a;
  --post-title: black;
  --engagement-item: #f2f8fa;
  --text-color: #333333;
  --post-text-color: #333333;
  --header-bg: #ffffff;
  --modal-bg: #ffffff;
  --body-bg: #f9f9f9;
  --border-color: #e5e5e5;
  /* --btn-primary-bg: #007bff;
  --btn-primary-color: #ffffff;
  --btn-outline-border: #007bff;
  --btn-outline-color: #007bff; */
  --post-bg: #ffffff;
  --top-posts-bg: #ffffff;
  --post-border: #e5e5e5;
  --section-bg: #f8f8f8;
  --modal-things: #f9f9f9;
  --input: #f9f9fa;

  --sidebar: #ffffff;
  --input-txt-clr: black;
}

/* .dark-mode {
  --p: #90949c;
  --h1: #ffffff;
  --footer-bg: #0d0d11;
  --engagement-item: #0378a414;
  --body-bg: #14141f;
  --sidebar: #0d0d11;
  --post-title: white;
  --background-color: #14141f;
  --text-color: #ffffff;
  --header-bg: #0d0d11;
  --modal-bg: #0d0d11;
  --border-color: #14141f;
  --btn-primary-bg: #0056b3;
  --btn-primary-color: #ffffff;
  --btn-outline-border: #4d4d4d;
  --btn-outline-color: #cccccc;
  --post-bg: #343444;
  --modal-things: #343444;
  --post-border: #4d4d4d;
  --top-posts-bg: #0d0d11;
  --section-bg: #2c2c2c;
} */

.dark-mode {
  --white-button-color: #ffffff;
  --white-button: #676767;
  --p: #90949c;
  --h1: #ffffff;
  --footer-bg: #0e1113;
  --engagement-item: #0378a414;
  --body-bg: #0e1113;
  --sidebar: #0e1113;
  --post-title: white;
  --background-color: #0e1113;
  --text-color: #ffffff;
  --header-bg: #0e1113;
  --modal-bg: #0e1113;
  --border-color: #3b3e3f;
  --btn-primary-bg: #0056b3;
  --btn-primary-color: #ffffff;
  --btn-outline-border: #4d4d4d;
  --btn-outline-color: #cccccc;
  --post-bg: #000000;
  --modal-things: #000000;
  --post-border: #3b3e3f;
  --top-posts-bg: #0e1113;
  --section-bg: #0e1113;
  --accord: #2a3236;
  --input: #2a3236;
  --input-txt-clr: white;
}

.post-title {
  color: var(--post-title);
}
.main_min {
  display: flex;
  justify-content: space-between;
  /* background-color: var(--body-bg); */
  color: var(--text-color);
}
.filter-space-div2 p:hover {
  color: #0378a4;
}
main {
  background-color: var(--body-bg);
}
header {
  background-color: var(--header-bg) !important;
  /* border: 1px solid var(--body-bg); */
  position: sticky;
  top: 0;
  z-index: 1000;
  /* border-bottom:1px solid var(--border-color) ; */
}
.container2 {
  background-color: var(--background-color);
  color: var(--text-color);
  transition: background-color 0.3s, color 0.3s;
}
.top-posts {
  background-color: var(--top-posts-bg);
  border: 1px solid var(--border-color);
}
.engagement-item {
  background-color: var(--engagement-item);
}
.modal-content {
  background-color: var(--modal-bg);
}
/* .btn-primary {
  background-color: var(--btn-primary-bg);
  color: var(--btn-primary-color);
} */
.answer-btn {
  background-color: var(--top-posts-bg);
}
.post {
  background-color: var(--post-bg);
  border-color: var(--post-border);
}
.post-author {
  color: var(--text-color);
}
.sidebar {
  background-color: var(--sidebar) !important;
  border: 1px solid var(--border-color);
}
.footer {
  background-color: var(--footer-bg);
}

.answer-btn {
  background-color: var(--top-posts-bg);
}

.mobile-nav-outer-div {
  display: none;
}
.sidebar {
  display: flex;
  background-color: var(--sidebar);
  border: 1px solid var(--border-color);
  /* padding: 30px; */
  width: 392px;
  justify-content: start;
}

/* mobile nav css */
.mobile-nav-inner-div {
  width: 100%;
  height: 70px;
  background-color: #ffffff;
  border-radius: 10px;
  margin: auto;
  display: flex;
  align-items: center;
  box-shadow: 0px 2px 11.4px 0px rgba(0, 0, 0, 0.14);

  justify-content: center;
}

.nav-list {
  display: flex;
  width: 215px;
  justify-content: space-between;
  margin: auto;
}
li {
  font-family: Urbanist;
  font-size: 16px;
  font-weight: 600;
  line-height: 28px;
  letter-spacing: 0.01em;
  color: var(--p);
  text-decoration: none;
  list-style: none;
}

/* mobile sticky nav 2 */
.sticky-nav-2 {
  display: none;
}
.outer-div-sticky-nav-2 {
  background-color: var(--sidebar);
  display: flex;
  height: 60px;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
}

.cover-image {
  border-radius: 10px;
  width: 190px;
  height: 145px;
}

@media (max-width: 768px) {
  #newSpaceModal .modal-content {
    margin: 30% auto;
  }
  #newSpaceModal .modal-header {
    height: 70px;
    font-family: Urbanist;
    font-size: 22px;
    font-weight: 600;
    line-height: 30px;
  }

  #newSpaceModal .modal-body {
    padding: 10px;
  }
  #newSpaceModal .form-group textarea {
    height: 71px;
    margin: 10px 0;
    padding: 10px;
  }
  #newSpaceModal .form-group {
    margin-bottom: 20px;
  }
  #newSpaceModal .form-group input {
    height: 40px;
  }
  .form-group input::placeholder {
    padding: 0px;
  }
  .form-group textarea::placeholder {
    padding: 0px;
  }
  #newSpaceModal .form-group label {
    margin-bottom: 10px;
  }
  #journalModal .modal-header {
    height: 70px;
    font-family: Urbanist;
    font-size: 22px;
    font-weight: 600;
    line-height: 30px;
  }

  .modal-course-header {
    height: 70px;
    font-family: Urbanist;
    font-size: 22px;
    font-weight: 600;
    line-height: 30px;
  }
  .form-group input {
    height: 41px;
    font-size: 16px;
    font-weight: 400;
    padding: 5px;
  }
  .form-group textarea {
    height: 71px;
    margin: 10px 0;
  }
  .form-group select {
    height: 41px;
  }
  .form-group {
    margin-bottom: 10px;
  }
  .form-group label {
    margin-bottom: 10px;
    font-family: urbanist;
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
  }
  .close-img {
    width: 17px;
    height: 17px;
  }

  header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #ffffff;
  }
  .welcome-banner {
    background-color: #0378a4;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    border-radius: 5px;
    width: 343px;
    height: 500px;

    margin-bottom: 20px;
  }

  .welcome-text {
    display: flex;
    justify-content: center;
    margin: 0 auto;
    width: 313px;
    text-align: center;
  }

  .welcome-discription {
    display: flex;
    justify-content: center;
    margin: 0 auto;
    width: 313px;
    text-align: center;
  }
  .main-content {
    width: 100%;
    margin: 0 auto;
  }
  .modal-content {
    margin: 30% auto;
  }
  .main {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    /* background-color: var(--body-bg); */
    color: var(--text-color);
  }

  .footer {
    height: 277px;
    width: 100%;
  }
  .footer-content {
    width: 196px;
    height: 176px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .left-footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .right-footer {
    margin-top: 10px;
    display: flex;
    width: 196px;
    justify-content: center;
    flex-wrap: wrap;
    line-height: 30px;
    align-items: center;
  }
  .post {
    max-width: 343px;
    height: fit-content;
    padding: 10px !important;
  }
  .top-posts-header {
    max-width: 343px;
    margin: 0 auto;
  }
  .top-posts {
    min-width: 100%;
    margin: 0 auto;
    padding: 10px !important;
  }
  .post-content {
    display: flex;
    flex-direction: column;
  }
  .post-texts {
    display: flex;
    flex-direction: column;
    padding-bottom: 20px;
  }
  .welcome-banner-button {
    width: 96px;
    height: 37px;
    font-family: Urbanist;
    font-size: 13.32px;
    font-weight: 700;
    line-height: 17.76px;
    color: #0378a4;
    border-radius: 20px;
    border: none;
    display: block;
  }
  .post-title {
    width: 313px;
    font-family: Urbanist;
    font-size: 16px;
    font-weight: 700;
    line-height: 27px;
    letter-spacing: 0.01em;
    text-align: left;
  }
  .line {
    width: 313px;
    margin: 0 auto;
  }
  .post-text {
    width: 313px;
  }
  .post-image {
    max-width: 313px;
    height: 191px;
    min-width: 300px;
  }
  .post-excerpt {
    width: 95%;

    font-family: Urbanist;
    font-size: 16px !important;
    font-weight: 400;
    line-height: 27px;
    letter-spacing: 0.01em;
    text-align: left;
    margin-top: 30px;
  }
  .save-div {
    width: 41px;
    height: 28px;
  }
  .img-save {
    width: 28px !important;
    height: 28px !important;
  }
  .img-save-div {
    width: 28px;
    height: 28px;
  }
  .img-dots {
    margin-left: 2px !important;
  }
  .post-engagement {
    width: 313px;
  }
  main {
    margin: auto 0;
    background-color: var(--body-bg);
  }
  .mobile-nav-inner-div {
    width: 343px !important;
  }
}

@media (max-width: 1024px) {
  .popup-menu {
    display: none;
  }
  .sticky-nav-2 {
    display: block;
    position: sticky;
    bottom: 0;
  }
  .mobile-nav-outer-div {
    margin-top: 33px;
    margin-bottom: 33px;
    display: block;
  }

  .main-content {
    margin: auto;
  }
  .sidebar {
    display: none; /* Hide by default */
    background-color: var(--sidebar) !important;
    border: 1px solid var(--border-color);
  }

  .header-content {
    display: none;
  }
  .container {
    display: none;
  }
}

#close-popup-container:hover {
  cursor: pointer;
}

/* Add these styles after your existing media queries */

@media (max-width: 1024px) {
  /* ... existing styles ... */

  .rep-post {
    display: none;
  }
  .section {
    width: 100% !important;
    /* margin: 0 auto; */
  }
  .sidebar {
    display: none;
    position: fixed;
    top: 50px;
    right: 5px;
    height: 100vh;
    width: 343px;
    z-index: 1001;
    padding: 10px;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
    transform: translateX(100%);
    overflow-y: auto;
  }

  .sidebar.show {
    display: block;
    transform: translateX(0);
    width: 343px !important;
    padding: 30px 10px;
    height: 90vh;
  }

  /* Add overlay when sidebar is open */
  .sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
  }

  .sidebar-overlay.show {
    display: block;
  }
}

.fp-post-pictures-container {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  gap: 22px;
  width: 808px;
}
.post-1 {
  width: 186px;
  /* height: 339px; */
}
.fp-post-pictures {
  height: 287px;
  width: 186px;
  border-radius: 6px;
}
.fp-post-action-1 {
  display: flex;
  gap: 10px;
}
.fp-post-action-div {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  gap: 30px;
  margin-bottom: 30px;
  padding: 0px 10px;
}
.post-see-all {
  display: block;
  text-align: right;
  font-family: Urbanist;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  color: #0378a4;
  margin-bottom: 20px;
}
/* .fp-container img {
  width: 734px;
} */
.fp-title {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: 600;
  padding: 20px;
}
@media (max-width: 768px) {
  .popup {
    top: 50px;
    right: 0;
    height: 190px;
    display: none;
    z-index: 1000;
  }
  .fp-post-pictures-container {
    width: 343px;
    white-space: nowrap;
    overflow-x: scroll;
    margin: 0px auto;
  }

  .fp-post-pictures-container::-webkit-scrollbar {
    height: 0px;
  }
  /* .fp-post-pictures-container::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 10px;
  } */
  /* .fp-post-pictures-container::-webkit-scrollbar-thumb:hover {
    background: #999;
  } */
  /* .fp-post-pictures-container::-webkit-scrollbar-track {
    background: transparent;
  } */
  .cover-image {
    border-radius: 10px;
  }
}

.btm-foter {
  text-align: center;
}

.answer-btn-active {
  background-color: #0378a4;
  color: white;
}

.live-feed_uyey {
  width: 100%;
  max-width: 500px;
  border-radius: 8px;
  background: var(--bg-color);
}

.live-feed-header_gft {
  display: flex;
  align-items: center;
  cursor: pointer;
  background: var(--bg-color);
  border: none;
  width: 100%;
  padding: 20px;
  gap: 10px;
}

.chevron {
  width: 25px;
  margin-right: 8px;
  transition: transform 0.2s ease;
}

.chevron.collapsed {
  transform: rotate(-180deg);
}

.live-feed-title_iqry {
  font-family: "Urbanist";
  font-size: 18px;
  font-weight: 500;
  line-height: 21.6px;
  letter-spacing: 0.01em;
  text-align: left;
  color: var(--p);
}

.live-feed-content-eqot {
  width: 90%;
  display: block;
  transition: max-height 0.3s ease-out;
  max-height: 1000px;
  overflow: hidden;
  padding-left: 20px;
}

.live-feed-content-eqot.collapsed {
  max-height: 0;
}

.feed-item {
  display: flex;
  gap: 12px;
  padding: 16px;
  border-top: 1px solid #e2e8f0;
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e2e8f0;
  flex-shrink: 0;
}

.feed-item-content {
  flex: 1;
}

.feed-item-header {
  display: flex;
  gap: 4px;
  margin-bottom: 4px;
}
.feed-sidebar-icon {
  margin-right: 8px;
  cursor: pointer;
}
.feed-activity-item_zcte {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  margin-top: 20px;
}
.feed-user-avatar_ppod {
  border-radius: 50%;
  width: 32px;
  height: 32px;
  background-color: #e0e6ed;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #34495e;
}
.feed-user-avatar_ppod img {
  border-radius: 50%;
}

/* .post-link-flex{
  display: flex;
  gap: 20px;
} */

/* .postiiiiii{
  display: flex;
} */

#startPeerReview.active {
  background-color: rgba(3, 120, 164, 0.08);
  color: #0378a4;
}
