@import url("https://fonts.googleapis.com/css2?family=Urbanist:wght@100;200;300;400;500;600;700;800;900&display=swap");

body {
  font-family: "Urbanist", serif;
  background-color: #f9f9fa;
  margin: 0;
}
/* .container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px;
  
} */
/* :root{
  --h1:#222222;
  --side-bar:#222222;
  --bg-color:white; 
  --border-color:#e5e5e5;
  --input-color:#f9f9fa:
}
.dark-mode {
  --h1:white;
  --side-bar:90949c;
  --bg-color:#0d0d11;
  --border-color:#14141f; 
  --input-color:#343444;
} */

/************************************ Setting Top *******************************************/
.setting-top {
  width: 1240px;
  margin: 0 auto;
}
.container3 {
  display: flex;
  width: 1240px;
  min-height: 100vh;
  margin: 0 auto;
  flex-direction: row-reverse;
  justify-content: space-between;
}
.settings-header {
  width: 1240px;
  display: flex;
  justify-content: space-between;
  padding: 25px 0;
}
.set-heading h1 {
  font-size: 35px;
  font-weight: 600;
  line-height: 42px;
  text-align: center;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: var(--h1);
}

/************************************ Left Sidebar *******************************************/
.sidebar {
  display: block !important;
  width: 305px !important;
  background-color: var(--bg-color);
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
  padding: 1.5rem;
  border: 1px solid var(--border-color);
}

.left-sidebar h2 {
  margin-bottom: 1.5rem;
  font-size: 14px;
  font-weight: 600;
  color: #8a8a8a;
  padding-bottom: 20px;
  border-bottom: 1px solid #8a8a8a;
}
.sidebar-item {
  display: flex;
  align-items: center;
  padding: 0.5rem;
  margin-bottom: 1rem;
  cursor: pointer;
  border-radius: 0.375rem;
  color: var(--p);
  text-decoration: none;
}
.sidebar-item:hover {
  background-color: #0378a414;
  color: #0378a4;
}
.sidebar-item.active {
  background-color: #0378a414;
  color: #0378a4;
  font-size: 18px;
  font-weight: 600;
}
.sidebar-item i {
  margin-right: 0.5rem;
}
.breadcrumbs {
  font-size: 18px;
  font-weight: 500;
  line-height: 21.6px;
  text-align: center;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: var(--p);
  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: #0378a4;
  text-decoration: none;
  font-weight: bold;
}
.breadcrumb-active:hover {
  text-decoration: underline;
}

/************************ Draft and Schedule Conten Section *****************************/
.post-manager-wrapper {
  background-color: var(--sidebar);
  border-radius: 10px;
  padding: 20px;
  border: 1px solid var(--border-color);
}

.post-manainger-main {
  width: 900px;
}
.tab-navigation {
  display: flex;
  background-color: var(--sidebar);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 1rem;

  border-radius: 10px;
}

.tab-selector {
  padding: 1rem;
  font-weight: 500;
  font-size: 16px;
  line-height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  color: #8a8a8a;
  position: relative;
}

.tab-selector.current {
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
  color: #0378a4;
}

.tab-selector.current::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2rem);
  height: 2px;
  background-color: #0378a4;
}

.count-indicator {
  margin-left: 0.5rem;
  padding: 0.1rem 0.5rem;
  background-color: #f3f4f6;
  border-radius: 9999px;
  font-size: 14px;
}
.count-indicator {
  margin-left: 0.5rem;
  background-color: #e5e7eb;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
  background-color: #0378a4;
}

.section-heading {
  font-size: 20px;
  color: var(--h1);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.section-subheading {
  font-size: 18px;
  color: var(--p);
  font-weight: 400;
  margin-bottom: 1rem;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e7eb;
}

.post-collection {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.post-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.post-thumbnail {
  width: 78px;
  height: 78px;
  border-radius: 10px;
  object-fit: cover;
  margin-top: 5px;
}

.post-details {
  flex: 1;
}

.post-headline {
  font-size: 16px;
  font-weight: 600;
  color: var(--h1);
  line-height: 20px;
  margin: 0;
}

.post-creator,
.post-timestamp {
  font-size: 14px;
  line-height: 17px;
  font-weight: 400;
  color: var(--p);
  margin-top: 10px;
}

.post-timestamp {
  font-size: 14px;
  line-height: 17px;
  font-weight: 400;
  color: var(--p);
}

.post-actions {
  background: none;
  border: none;
  cursor: pointer;
  color: #9ca3af;
  transform: rotate(90deg) !important;
}

.action-menu {
  position: relative;
  display: inline-block;
}

.action-menu-content {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  background-color: #e6f3ff;
  min-width: 120px;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 1;
  border-radius: 4px;
  margin-top: 5px;
}

.action-menu-content a {
  color: #333;
  padding: 8px 12px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 14px;
}

.action-menu-content a.remove {
  color: #333;
}

.visible {
  display: block;
}

.app-container {
  width: 900px;
}

/************************************ Messages Hub Section **********************************/

.message-hub {
  background-color: var(--sidebar);
  border-radius: 10px;
  padding: 30px;

  border: 1px solid var(--border-color);
  margin-bottom: 50px;
}
.message-hub-main {
  width: 900px;
}
.hub-title {
  font-size: 20px;
  font-weight: 600;
  line-height: 22px;
  color: var(--h1);
  margin-bottom: 8px;
}
.hub-description {
  font-size: 18px;
  font-weight: 400;
  line-height: 22px;
  color: var(--p);
  margin-bottom: 25px;
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 10px;
}
.message-item {
  display: flex;
  align-items: flex-start;
  border-radius: 8px;
  margin-bottom: 20px;
}
.message-thumbnail {
  width: 78px;
  border-radius: 10px;
  margin-right: 10px;
  object-fit: cover;
}
.message-details {
  flex-grow: 1;
}
.message-headline {
  font-size: 16px;
  font-weight: 400;
  color: var(--p);
  margin: 0 0 8px 0;
}
.message-topic {
  font-size: 16px;
  font-weight: 500;
  color: var(--h1);
  margin: 0 0 10px 0;
}
.message-timing {
  font-size: 14px;
  font-weight: 400;

  color: #888;
  display: flex;
  align-items: center;
}
.timing-icon {
  width: 16px;
  height: 16px;
  margin-right: 6px;
}
.message-options {
  font-size: 24px;
  color: #999;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transform: rotate(180deg);
}
/* member-picker-wrapper Dropdown */

/* .member-picker-wrapper {
  position: relative;
  width: 200px;
  display: block;
  margin-top: 115px;
  margin-right: -340px;
} */
.member-picker-control {
  width: 370px;
  height: 55px;
  padding: 0px 10px;
  font-size: 16px;
  margin-left: 483px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  background-color: white;
  cursor: pointer;
  margin-top: 30px;
}
.member-picker-indicator {
  margin-right: 10px;
}
.tab-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: white;
  height: 70px;
  border-radius: 10px;
  width: 343px;
  margin: 20px auto;
}

.tab {
  position: relative;
  padding-bottom: 5px;
  text-align: center;
  font-family: "Urbanist";
  font-size: 16px;
  font-weight: 600;
  line-height: 28px;
  letter-spacing: 0.01em;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: #8a8a8a;
}

@media (max-width: 1024px) {
  .header-content {
    display: none;
  }
  .sidebar {
    display: none;
  }
  .settings-header {
    display: flex;
    flex-direction: column;
    width: 100px;
  }
  .setting-top {
    width: 550px;
  }
  .app-container {
    width: 900px;
    margin: 0px auto;
  }
  .draft_main {
    width: 900px;
    margin: 0px auto;
  }

  .mobile-header {
    display: none;
  }
}
@media (min-width: 768px) {
  .tab-container {
    display: none;
  }
}

@media (max-width: 768px) {
  .mobile-header {
    display: flex;
  }
  .draft_main {
    width: 343px;
  }
  .app-container {
    width: 343px;
  }
  .post-manainger-main {
    width: 343px;
  }
  .container3 {
    width: 343px;
  }
  .setting-top {
    width: 343px;
  }
  .message-hub,
  .message-hub-main {
    width: 343px;
    margin: 0px auto;
    margin-top: 20px;
  }
  .tab-navigation {
    display: flex;
    justify-content: center;
  }
  .setting-top {
    display: none;
  }
  .section-heading,
  .hub-title {
    font-size: 18px;
  }
  .section-subheading,
  .post-headline,
  .hub-description,
  .message-headline,
  .message-topic {
    font-size: 14px;
  }
  .post-creator,
  .post-timestamp {
    font-size: 12px;
    margin-top: 0px;
  }
  .btm-ln {
    font-size: 12px;
  }
  .post-item {
    display: flex;
    gap: 10px;
  }
  .section-subheading {
    padding-bottom: 10px;
  }
}

.sidebar-heading {
  font-family: Urbanist;
  font-size: 13.58px;
  font-weight: 600;
  line-height: 18.11px;
  letter-spacing: 0.1em;
  text-align: left;
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 10px;
  margin-bottom: 10px;
  color: #8a8a8a;
}

.side-navigation img {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  filter: brightness(0) saturate(100%) invert(77%) sepia(0%) saturate(1%)
    hue-rotate(335deg) brightness(89%) contrast(85%);
}
