@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: var(--body-bg);
  margin: 0;
  color: #8a8a8a;
}
/* :root {
  --h1: #222222;
  --bg-color: #ffffff;
  --border-color: #e5e5e5;
  --input-color: #f9f9fa;
  --anouncement-post: #5a5a5a;
}
.dark-mode {
  --anouncement-post: #90949c;
  --h1: white;
  --bg-color: #0d0d11;
  --border-color: #14141f;
  --input-color: #343444;
} */
.popup {
  display: none;
  position: absolute;
  right: 200px;
  top: 300px;
  /* Add other styling as needed */
}

header {
  background-color: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}
.logo {
  font-size: 24px;
  font-weight: bold;
}
navbar a {
  text-decoration: none;
  color: #666;
}
navbar a.active {
  color: #0077b6;
  border-bottom: 2px solid #0077b6;
}
navbar {
  font-size: 18px;
}
.header-actions {
  display: flex;
  align-items: center;
}
/* .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;
}
.header-content2 {
  display: flex;
  gap: 20px;
  align-items: center;
}
.Announcements-container {
  width: 1240px;
  margin: 0 auto;
}
.nts_container {
  width: 735px;
}
.Announcements-header {
  width: 1240px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  margin-top: 30px;
}
.Announcements-title {
  font-size: 35px;
  font-weight: 600;
  color: var(--h1);
}
.Announcements-breadcrumb {
  display: flex;
  gap: 10px;
  font-size: 18px;
  color: #5a5a5a;
  font-weight: 500;
  cursor: pointer;
}

.Announcements-breadcrumb-current {
  color: #0378a4;
  font-weight: 500;
}
.Announcements-layout {
  display: flex;
  width: 1240px;
  justify-content: space-between;
}

/* Sidebar Notes Chat */
/* .Announcements-navbar-main {
  max-width: 392px;
} */
.sidebar {
  display: block !important;
  max-width: 392px;
  height: 100%;
  background-color: var(--bg-color);
  border-radius: 8px;
  border: 1px solid var(--border-color);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

.Announcements-crd-card {
  max-width: 32rem;
}

.Announcements-crd-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.Announcements-crd-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: 0.01em;
  text-align: left;
  color: var(--h1);
}

.Announcements-crd-date {
  font-size: 12px;
  font-weight: 400;
  line-height: 14.4px;
  letter-spacing: 0.01em;
  color: #5a5a5a;
  text-align: left;
  display: flex;
  margin-top: 10px;
}

.Announcements-crd-menu-button {
  border: none;
  background: transparent;
  cursor: pointer;
  /* display: flex;
    align-items: center;
    justify-content: center; */
  margin-top: 58px;
}

.Announcements-crd-dots {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.Announcements-crd-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.Announcements-crd-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
}
.Announcementsimg {
  width: 34px;
  border-radius: 20px;
}

.Announcements-crd-author-name {
  font-size: 16px;
  font-weight: 500;
  line-height: 19.2px;
  letter-spacing: 0.01em;
  color: var(--h1);
}

.Announcements-crd-description {
  width: 333px;
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  letter-spacing: 0.01em;
  color: var(--p);
}

.Announcements-crd-metrics {
  display: flex;
  gap: 1.5rem;
  margin-top: 20px;
}

.Announcements-crd-metric {
  width: 81px;
  height: 41px;
  border-radius: 66px;
  font-weight: 700;
  font-size: 14px;
  gap: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #0378a40d;
  color: #0378a4;
  border: none;
  cursor: pointer;
}

.crs-header {
  position: relative;
  padding-bottom: 20px;
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.crs-header h2 {
  font-size: 24px;
  font-weight: 600;
  line-height: 8.8px;
  text-align: center;
  color: var(--h1);
}

.crs-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, #0378a4 50.666%, #cecece 16.666%);
}

.crs-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 15px;
}

.crs-item {
  border-radius: 0.5rem;
  margin-top: 20px;
  overflow: hidden;
}

.crs-link {
  display: flex;
  gap: 0.75rem;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  line-height: 21.6px;
  letter-spacing: 0.01em;
  text-align: left;
  color: #5a5a5a;
}

.crs-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: #6b7280;
}

.crs-view-more {
  margin-top: 1rem;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
  letter-spacing: 0.01em;
  text-align: left;
  color: #0378a4;
  margin-bottom: 20px;
}

.ngtn_header_text {
  font-size: 24px;
  font-weight: 600;
  line-height: 28.8px;
  color: var(--h1);
  margin-bottom: 20px;
  margin-top: 20px;
}

.ngtn_gradient_divider {
  height: 2px;
  margin-bottom: 16px;
  background: linear-gradient(to right, #0378a4 50.666%, #cecece 16.666%);
}

.ngtn_navigation_list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 30px;
}

.ngtn_menu_item {
  display: flex;
  align-items: center;
  height: 45px;
  gap: 12px;
  padding: 0px 12px;
  text-decoration: none;
  color: #64748b;
  border-radius: 8px;
  transition: all 0.2s;
}

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

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

.ngtn_icon_element {
  width: 16px;
  height: 16px;
}

/* Main First Content */

.Announcements-outer-container {
  border-radius: 10px;
  width: 817px;
  background-color: white;
}

/* Main Content */
.slybus-main {
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding-top: 31px;
  height: 100%;
  background-color: var(--sidebar);
  padding-left: 31px;
  padding-right: 20px;
  margin-bottom: 30px;
}
.syllabus-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}
.syllabus-icon-container {
  background-color: var(--engagement-item);
  padding: 10px;
  margin-right: 15px;
  border-radius: 5px;
}
.syllabus-icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #0ea5e9;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.syllabus-content {
  flex: 1;
}
.syllabus-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 22px;
  letter-spacing: 0.01em;
  text-align: left;
  color: var(--h1);
  margin: 0 0 5px 0;
}
.syllabus-description {
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  letter-spacing: 0.01em;
  text-align: left;
  color: var(--p);
}
.syllabus-list {
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  letter-spacing: 0.01em;
  text-align: left;
  color: #5a5a5a;
  margin: 5px 0;
  padding-left: 20px;
}
li::marker {
  color: #0378a4;
}
.grade-table {
  border-radius: 10px;
  background-color: #ffffff;
  width: 506px;
}
.syllabus--table {
  width: 506px;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 10px;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.syllabus-table-header,
.syllabus-table-cell {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: center;
}
.syllabus-table-cell {
  background-color: var(--body-bg);
  color: var(--h1);
}
.syllabus-table-header {
  width: 25%;
  color: #0378a4;
  background-color: #e0f2fe;
  text-align: center;
}
.syllabus-table-header:first-child {
  border-top-left-radius: 10px;
}
.syllabus-table-header:last-child {
  border-top-right-radius: 10px;
}
.syllabus-table tr:last-child .syllabus-table-cell:first-child {
  border-bottom-left-radius: 10px;
}
.syllabus-table tr:last-child .syllabus-table-cell:last-child {
  border-bottom-right-radius: 10px;
}
/* Agenda Table Start  */
.tble-title {
  font-size: 24px;
  font-weight: 600;
  line-height: 28.8px;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: var(--h1);

  margin-bottom: 1rem;
}
.tble-wrapper {
  border: 1px solid #e2e8f0;
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
  overflow: hidden;
}
.tble-main {
  width: 100%;
  border-collapse: collapse;
}
.tble-cell,
.tble-header {
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}
.tble-cell {
  font-size: 18px;
  font-weight: 500;
  line-height: 21.6px;
  letter-spacing: 0.01em;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: var(--h1);
  padding-left: 10px;
}
.tble-header {
  background-color: var(--engagement-item);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: #0378a4;
  height: 70px;
}
.tble-cell:not(:last-child) {
  border-right: 1px solid #e2e8f0;
  background-color: var(--body-bg);
  color: var(--h1);
}
.tble-header:not(:last-child) {
  color: #0378a4;
  border-right: 1px solid #e2e8f0;
  background-color: var(--engagement-item);
}
.tble-week-cell {
  width: 100px;
  text-align: center;
}
.tble-date-cell {
  width: 150px;
}
.tble-header-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.tble-sort-icon {
  width: 1rem;
  height: 1rem;
}
.tble-row:last-child .tble-cell {
  border-bottom: none;
}
.tble-row {
  height: 68px;
}

/* Responsive For Tab */
@media (max-width: 1024px) {
  .popup {
    display: none;
    position: absolute;
    right: 10px;
    top: 120px;
    /* Add other styling as needed */
  }
  .header-content {
    display: none;
  }
  .Announcements-crd-card {
    width: 304px;
    margin: 0 auto;
  }
  .Announcements-crd-description {
    width: 100%;
    margin: 0 auto;
  }
  .crs-container {
    width: 304px;
    margin: 0 auto;
  }
  .ngtn_content_box {
    width: 304px;
    margin: 0 auto;
  }
  .sidebar {
    display: none;
    width: 343px !important;
    padding: 10px;
  }
  .Announcements-header {
    display: flex;
    flex-direction: column;
    width: 815px;
  }
  .Announcements-layout {
    width: 815px;
    margin: 0px auto;
  }
  .Announcements-title,
  .Announcements-breadcrumb {
    width: 600px;
  }
}

@media (max-width: 768px) {
  .syllabus--table {
    max-width: 230px;
  }
  .Announcements-header {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .Announcements-layout {
    width: 343px;
  }
  .slybus-main {
    width: 343px;
    padding: 10px;
  }
  .Announcements-container {
    width: 343px;
    margin: 0px auto;
  }
  .Announcements-outer-container {
    width: 343px;
  }
  .grade-table {
    background-color: var(--body-bg);
    width: 250px;
    color: var(--h1);
  }
  .Announcements-title,
  .Announcements-breadcrumb {
    width: 313px;
  }

  .tble-wrapper,
  .tble-main {
    width: 313px;
    white-space: nowrap;
    overflow-x: scroll;
  }

  .tble-main::-webkit-scrollbar {
    height: 5px;
  }
  .tble-main::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 10px;
  }
  .tble-main::-webkit-scrollbar-thumb:hover {
    background: #999;
  }
  .tble-main::-webkit-scrollbar-track {
    background: transparent;
  }
}
