@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;
}
/* :root{
  --h1:#222222;
  --bg-color:#ffffff; 
  --border-color:#e5e5e5;
  --input-color:#f9f9fa:
}
.dark-mode {
  --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 */
}
/* .container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px;
  
}
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;
}
nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #666;
}
nav 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;
}
.notes-container {
  width: 1240px;
  margin: 0 auto;
}
.nts_container {
  width: 735px;
}
.notes-header {
  width: 1240px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  margin-top: 30px;
}
.notes-title {
  font-size: 35px;
  font-weight: 600;
  color: var(--h1);
}
.notes-breadcrumb {
  display: flex;
  gap: 10px;
  font-size: 18px;
  color: var(--p);
  font-weight: 500;
  cursor: pointer;
}
.notes-breadcrumb-current:hover {
  text-decoration: underline;
}
.notes-breadcrumb-current {
  color: #0378a4;
  font-weight: 500;
}
.notes-layout {
  display: flex;
  width: 1240px;
  justify-content: space-between;
}

/* Sidebar Notes Chat */
.sidebar {
  max-width: 392px;
  padding: 30px;
}
/* .notes-sidebar {
  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;
} */

/* .nts-crd-card {
  
  background: ;
} */

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

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

.nts-crd-date {
  font-size: 12px;
  font-weight: 400;
  line-height: 14.4px;
  letter-spacing: 0.01em;
  color: var(--p);
  text-align: left;
  display: flex;
  margin-top: 20px;
}

.nts-crd-menu-button {
  border: none;
  background: transparent;
  cursor: pointer;
  margin-top: 58px;
}

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

.nts-crd-dot {
  width: 0.25rem;
  height: 0.25rem;
  background-color: #666;
  border-radius: 50%;
}

.nts-crd-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.nts-crd-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
}
.ntsimg {
  width: 34px;
  border-radius: 20px;
}

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

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

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

.nts-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;
}

.nts-crd-metric-icon {
  width: 1.25rem;
  height: 1.25rem;
}

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

.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: var(--p);
}

.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 */

.assmnt-container {
  width: 817px;
}
.assmnt-assignments {
  margin-top: 30px;
}
.assmnt-card {
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 20px;
}

.assmnt-header {
  background-color: rgba(3, 120, 164, 0.08);
  border: none;
  height: 60px;
  box-shadow: none;
}

.assmnt-card-header {
  padding: 21px 24px;
}

.assmnt-card-content {
  padding: 21px 21px;
  background-color: var(--sidebar);
  border-radius: 8px;
}

.assmnt-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 0.5fr 0.5fr;
  gap: 16px;
  align-items: center;
  position: relative;
}

.assmnt-card-header .assmnt-grid {
  font-size: 18px;
  font-weight: 600;
  line-height: 21.6px;
  letter-spacing: 0.01em;
  text-align: left;
  color: var(--h1);
}
.du-date {
  margin-left: 32px;
}

.assmnt-assignment-title {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.assmnt-title {
  font-size: 20px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: 0.01em;
  text-align: left;
  color: var(--h1);
}

.assmnt-buttons {
  display: flex;
  gap: 8px;
}

.assmnt-btn {
  border: none;
  border-radius: 9999px;
  cursor: pointer;
}

.assmnt-btn-view {
  width: 87px;
  height: 37px;
  gap: 6px;
  background-color: #0378a4;
  color: white;
}
.assmnt-btn-snd {
  width: 99px;
  height: 37px;
  gap: 7px;
  border: 1px solid #0378a4;
  background-color: var(--engagement-item);
  color: #0378a4;
}

.assmnt-date,
.assmnt-points {
  font-size: 12px;
  font-weight: 500;
  line-height: 17px;
  text-align: left;
  color: var(--p);
  padding-top: 4px;
}

.assmnt-graded-indicator {
  width: 65px;
  height: 7px;
  background-color: #f0f0f0;
  border-radius: 85px;
}

.assmnt-progress-wrapper {
  position: absolute;
  left: calc(2fr + 16px);
  grid-column: 2 / 4;
  width: calc(200% + 16px);
  padding-top: 8px;
}

.assmnt-progress-bar {
  height: 7px;
  background-color: #e0e0e0;
  border-radius: 18px;
  overflow: hidden;
}

.assmnt-progress {
  height: 100%;
  background-color: #0a8cc1;
  border-radius: 18px;
}

.assmnt-time-left {
  font-size: 12px;
  color: #0a8cc1;
}

.assmnt-dates-container {
  position: relative;
}

.assmnt-progress-container {
  position: absolute;
  left: 0;
  right: -100%;
  bottom: -12px;
  margin-top: 8px;
}

.assmnt-btn-btm {
  border: none;
  border-radius: 9999px;
  cursor: pointer;
}
.assmnt-btn-solution {
  width: 101.54px;
  height: 37px;
  gap: 7px;
  border-radius: 60px;
  background-color: #0378a4;
  color: white;
  font-size: 13.32px;
  font-weight: 600;
  line-height: 17.76px;
}
.assmnt-btn-submission {
  width: 129px;
  height: 37px;
  gap: 7px;
  border-radius: 60px;
  border: 1px solid #0378a4;
  color: #0378a4;
  background-color: var(--engagement-item);
}
.progress-bar-container {
  width: 100%;
  max-width: 300px;
}
.progress-bar-text {
  font-weight: 600;
  color: #0378a4;
  font-size: 12px;
  margin-bottom: 8px;
}
.progress-bar-outer {
  height: 8px;
  background-color: #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
}
.progress-bar-inner {
  height: 100%;
  width: 40.33%;
  background-color: #0378a4;
  transition: width 0.3s ease;
}
.progress-bar-lst-cd {
  width: 75px;
}

@media (max-width: 1024px) {
  .popup {
    display: none;
    position: absolute;
    right: 10px;
    top: 120px;
    /* Add other styling as needed */
  }
  .header-content {
    display: none;
  }

  .crs-container {
    width: 304px;
    margin: 0 auto;
  }
  .ngtn_content_box {
    width: 304px;
    margin: 0 auto;
  }
  .nts-crd-card {
    width: 304px;
    margin: 0 auto;
  }
  .nts-crd-description {
    width: 304px;
    margin: 0 auto;
  }
  .notes-header {
    display: flex;
    flex-direction: column;
    width: 560px;
  }
  .notes-navbar-main {
    display: none;
  }
  .assmnt-container {
    width: 815px;
    margin: 0px auto;
  }
  footer {
    display: none;
    margin: 0px auto;
  }
  .footer {
    position: absolute;
    bottom: -230px;
  }
}

/* For Mobile Screen */

@media (max-width: 768px) {
  .notes-header {
    display: flex;
    flex-direction: column;
    width: 343px;
  }
  .notes-layout {
    width: 343px;
    margin: 0px auto;
  }
  .assmnt-container {
    width: 815px;
    margin: 0px auto;
  }
  .notes-title {
    width: 343px;
  }
  .notes-breadcrumb {
    width: 343px;
  }
}

/* For Scroll x-axis  */

@media (max-width: 768px) {
  .notes-container {
    width: 343px;
  }
  .assmnt-card-content {
    /* background-color: white; */
    width: 800px;
  }
  .assmnt-card-header {
    width: 800px;
    background-color: #0378a414 !important;
  }

  .notes-layout {
    width: 343px;
    white-space: nowrap;
    overflow-x: scroll;
  }
  .notes-layout::-webkit-scrollbar {
    height: 5px;
  }
  .notes-layout::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 10px;
  }
  .notes-layout::-webkit-scrollbar-thumb:hover {
    background: #999;
  }
  .notes-layout::-webkit-scrollbar-track {
    background: transparent;
  }
  .Announcements-outer-container {
    width: 343px;
  }
  .Announcements-layout {
    width: 343px;
  }
}
