/* Header Nav */
.tgbtn {
  display: none;
  background-color: white;
  color: white;
}

.logo img {
  width: 165px;
}

body a {
  text-decoration: none;
}

.header {
  width: 100% !important;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 55px;
  background-color: #11121a;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px,
    rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
}

.header button img {
  width: 43px;
}

/* #sidebar, .header {
  transition: background-color 0.3s ease;
} */

.flex {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.dropdown-header {
  margin-right: 10px;
}

.profile-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  color: black;
  display: flex;
  /* flex-direction: column; */
}

.profile-toggle span {
  font-size: 13px;
  line-height: 17px;
  color: white;
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 4px;
  margin-right: 10px;
}

.arr {
  width: 12px;
  margin-left: 30px;
}

.dropdown-menu {
  position: absolute;
  top: 55px;
  right: 0;
  width: 300px;
  background: #fff;
  color: #333;
  border: 1px solid #ccc;
  z-index: 1000;
  display: none;
  /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); */
}

.section {
  padding: 10px;
  border-bottom: 1px solid gainsboro;
}

.color-palette {
  display: flex;
  gap: 5px;
  margin-top: 5px;
}

.txt-pallete {
  display: flex;
  gap: 10px;
  margin-top: 5px;
}

.color {
  width: 27px;
  height: 27px;
  border-radius: 2px;
  cursor: pointer;
}

.txt-color {
  width: 31px !important;
  height: 31px !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  border: 2px solid transparent !important;
  transition: border-color 0.3s ease !important;
}

.links a {
  display: block;
  padding: 5px 0;
  color: #333;
  text-decoration: none;
}

.links a:hover {
  text-decoration: underline;
}

.f-badge {
  background-color: #d50000;
  color: white;
  padding: 2px 5px;
  border-radius: 100%;
  font-size: 12px;
  margin-left: 20px;
}

.dis-none {
  display: none !important;
}

.p1 {
  margin-bottom: 0px !important;
}

.two-in-one {
  display: flex;
  gap: 40px;
  align-items: center;
}

.message-forum-wrap {
  display: flex;
  gap: 40px;
  padding: 2px;
}

.icon-container {
  position: relative;
  display: inline-block;
  font-size: 20px;
  cursor: pointer;
}

.badge {
  position: absolute;
  top: -11px;
  right: -14px;
  background-color: #d50000;
  color: white;
  border-radius: 50%;
  padding: 0px 8px;
  font-size: 12px;
  font-weight: bold;
}

.custom-search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.custom-search-input {
  width: 0;
  opacity: 0;
  padding: 8px 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 20px;
  outline: none;
  transition: width 0.4s ease, opacity 0.4s ease;
  position: absolute;
  right: 30px;
  background-color: white !important;
  /* space for icon */
}

.custom-search-wrapper.active .custom-search-input {
  width: 200px;
  opacity: 1;
  margin-right: 20px;
}

.custom-search-icon {
  font-size: 24px;
  cursor: pointer;
  color: white;
  position: relative;
  z-index: 2;
}

.divider {
  margin-left: 55px !important;
  position: relative;
  bottom: 20px;
  font-size: 13px;
  padding-bottom: 5px;
}

/* Header Nav Ends */

/* Scope all inside dropdown-menu to avoid clashes */
.dropdown-menu {
  background-color: white !important;
  border-radius: 10px !important;
  padding: 18px 20px !important;
  color: #e0e2ff !important;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
  width: 280px !important;
}

/* Section spacing and subtle font improvements */
.dropdown-menu .section {
  margin-bottom: 22px !important;
}

.dropdown-menu .section h3 {
  margin-bottom: 6px !important;
  font-weight: 700 !important;
  font-size: 18px !important;
  color: black !important;
}

.dropdown-menu .section p,
.dropdown-menu .section p.p1 {
  margin: 0 !important;
  font-size: 18px !important;
  color: black !important;
  font-weight: 500;
  padding-bottom: 5px;
}

/* Color palette styling - small rounded squares */
.dropdown-menu .color-palette {
  margin-top: 10px !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}

.dropdown-menu .color-palette .color {
  width: 31px !important;
  height: 31px !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  border: 2px solid transparent !important;
  transition: border-color 0.3s ease !important;
}

.dropdown-menu .color-palette .color:hover {
  color: #4a90e2 !important;
}

/* Links styling: block, padding, subtle hover */
.dropdown-menu .section.links a {
  margin-bottom: 10px !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  color: black !important;
  font-weight: 600 !important;
  transition: background-color 0.3s ease, color 0.3s ease !important;
  position: relative !important;
}

.dropdown-menu .section.links a:hover {
  color: rgba(0, 0, 0, 0.548) !important;
}

/* Badge styling next to links */
.dropdown-menu .f-badge {
  background-color: #e94242 !important;
  color: black !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 2px 7px !important;
  border-radius: 12px !important;
  margin-left: 8px !important;
  position: relative !important;
  top: -1px !important;
}

/* Dashboard */
.dashboard-wrapper {
  width: 100%;
  padding-bottom: 30px;
  margin-top: 30px;
  padding-left: 40px;
  padding-right: 40px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.mainHeading {
  font-size: 32px;
  font-weight: 600;
  padding-bottom: 20px;
}

.progress-activity-wrapper {
  display: flex;
  /* border: 2px solid blue; */
  justify-content: space-between;
  gap: 30px;
  box-sizing: border-box;
}

.dash-learner-links {
  width: 70%;
  display: flex;
  flex-direction: column;
}

.boxes-in-one-wrap {
  width: 100%;
  gap: 10px;
  border-radius: 8px;
  flex-wrap: wrap !important;
}

.breakdown-card {
  height: fit-content;
  border-radius: 20px;
  /* box-shadow: rgba(17, 17, 26, 0.05) 0px 1px 0px, rgba(17, 17, 26, 0.1) 0px 0px 8px; */
  /* padding: 1.4rem; */
  margin-top: 50px;
  padding-bottom: 30px;
  text-align: center;
}

.breakdown-title {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: black;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 17px;
  background: #f0f0f0;
  color: black;
  padding: 6px 12px;
  border-radius: 999px;
  border: 2px solid #d7d7d7;
}

.legend-color {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.progress-bar {
  display: flex;
  height: 18px;
  border-radius: 50px;
  overflow: hidden;
  background-color: #e0e0e0;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.bar-segment {
  height: 100%;
  transition: width 0.6s ease;
}

.unknown {
  background-color: #666666;
}

.on-target {
  background-color: #43a047;
}

.overdue {
  background-color: #ef6c00;
}

.at-risk {
  background-color: #d50000;
}

@media (max-width: 500px) {
  .legend {
    align-items: center;
  }
}

.dflexcol {
  margin-top: 40px;
  border-radius: 20px;
  width: 100% !important;
  padding-bottom: 30px;
  padding-top: 30px;
  box-sizing: border-box !important;
  /* box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05); */
  /* box-shadow: rgba(17, 17, 26, 0.05) 0px 1px 0px, rgba(17, 17, 26, 0.1) 0px 0px 8px; */
  /* border: 1px solid gainsboro; */
}

.activity-feed {
  width: 100%;
  height: fit-content;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-sizing: border-box;
  border-radius: 20px;
  /* box-shadow: rgba(17, 17, 26, 0.05) 0px 1px 0px, rgba(17, 17, 26, 0.1) 0px 0px 8px; */
  /* padding: 1.2rem; */
}

.activity-item {
  display: flex;
  align-items: center;
  background-color: #ffffff;
  border-left: 10px solid #11121a;
  border-top: 1.8px solid #11121a;
  border-bottom: 1.8px solid #11121a;
  border-right: 10px solid #11121a;
  border-radius: 20px;
  padding: 0.8rem 1.2rem;
  box-shadow: 0 1px 3px rgba(0, 123, 255, 0.05);
  transition: all 0.3s ease;
  position: relative;
  /*overflow: hidden;*/
}

.activity-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0%;
  height: 100%;
    background: rgb(0 123 255 / 25%);
  transition: width 0.3s ease;
  z-index: 0;
}

.activity-item:hover::before {
  width: 100%;
}

.activity-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
}

.activity-icon {
  background-color: #11121a2e;
  color: black;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-right: 1rem;
  flex-shrink: 0;
  z-index: 1;
}

.activity-text {
  flex: 1;
  z-index: 1;
}

.activity-title {
  font-weight: 500;
  font-size: 17px;
  margin-bottom: 3px;
  color: black;
}

.activity-time {
  font-size: 13px;
  color: #888;
}

.activity-feed button {
  background-color: black;
  font-family: "Josefin Sans", sans-serif;
  border: none;
  color: white;
  font-size: 15px;
  border-radius: 10px;
  padding: 15px 0px;
  cursor: pointer;
}

.mbot {
  margin-bottom: 0px;
  text-align: center;
}

@media (max-width: 500px) {
  .activity-item {
    flex-direction: column;
    align-items: flex-start;
    border-radius: 20px;
  }

  .activity-icon {
    margin-bottom: 0.5rem;
  }
}

.dash-link-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.dark-card {
  width: 275px !important;
  border: 1.8px solid black;
  color: #fff;
  border-radius: 12px;
  display: flex;
  /* align-items: center; */
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
  gap: 1rem;
  padding: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-left: 6px solid black;
  cursor: pointer;
  position: relative;
  margin-top: 30px;
  background-color: white;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.dark-card:hover {
  transform: translateY(-5px);
  box-shadow: rgba(0, 0, 0, 0.2) 0px 8px 16px 0px;
}

.tab-link {
  font-size: 17px !important;
}

.dark-card-icon {
  width: 68px;
  height: 68px;
  background: black;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  position: absolute;
  bottom: 78px;
  right: 20px;
}

.dark-card-icon i {
  color: white !important;
}

.dark-card-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dark-card-count {
  font-size: 2.4rem;
  font-weight: 300;
  color: black;
}

.dark-card-label {
  font-size: 1.5rem;
  font-weight: 700;
  color: black;
  margin-top: 15px;
}

.input-wrapper {
  position: relative;
}

.input-wrapper input {
  width: 100%;
  padding-right: 40px; /* space for the icon */
}

.input-wrapper .toggle-password {
  position: absolute;
  top: 41%;
  right: 10px;
  transform: translateY(-50%);
  cursor: pointer;
  color: #555;
}

/* Dashboard Ends */

.form-wrapper {
  width: 100%;
}

.form-control {
  position: relative;
  margin: 20px 0;
  width: 50%;
}

.form-control input {
  border: 0;
  border-bottom: 2px solid #11121a;
  padding: 15px 0;
  display: block;
  font-size: 18px;
  width: 100%;
  transition: 0.1s ease-in;
  background-color: transparent !important;
}

.form-control input:focus,
.form-control input:valid {
  border-bottom-color: darksalmon;
  outline: none;
}

.form-control input:focus + label span,
.form-control input:valid + label span {
  color: darksalmon;
  transform: translateY(-30px);
}

.form-control label {
  position: absolute;
  top: 15px;
  left: 0;
  color: rgba(0, 0, 0, 0.514);
  font-size: 20px;
}

.form-control label span {
  display: inline-block;
  font-size: 18px;
  min-width: 5px;
  transition: 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

:root {
  --theme-color: black;
  /* fallback */
}

.form-control input:focus,
.form-control input:valid {
  border-bottom-color: var(--theme-color);
  outline: none;
}

.form-control input:focus + label span,
.form-control input:valid + label span {
  color: var(--theme-color);
  transform: translateY(-30px);
  font-weight: 600;
  font-size: 21px;
}

.tab-sec-wrapper {
  width: 100%;
  margin-top: 50px;
}

.tab-container {
  width: 100%;
  position: relative;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  border-radius: 8px;
}

/* Desktop Tab Menu */
.tab-menu {
  display: flex;
  list-style: none;
  padding: 0;
  color: black;
  margin: 0;
  background-color: rgba(220, 220, 220, 0.349);
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  border-bottom: 3px solid black;
  flex-wrap: wrap;
}

.tab-menu li {
  flex: 1;
  padding: 15px;
  text-align: center;
  cursor: pointer;
  transition: background 0.3s;
  border-right: 1px solid rgb(220, 220, 220);
}

.tab-menu li:last-child {
  border-right: none;
}

.tab-menu li:hover,
.tab-menu li.active {
  background-color: black;
  color: white;
  font-weight: bold;
  border-right: transparent;
}

/* Tab Content */
.tab-content {
  display: none;
  background-color: #fff;
  padding: 20px;
  border-top: none;
  border-radius: 0 0 8px 8px;
  animation: fadeIn 0.3s ease-in-out;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Dropdown Menu */
.mobile-menu-trigger {
  display: none;
  font-size: 24px;
  background-color: #000;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #000;
  cursor: pointer;
}

.mobile-tab-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  background-color: #fff;
  border: 1px solid #000;
  border-radius: 8px;
  overflow: hidden;
}

.mobile-tab-menu li {
  padding: 12px 16px;
  border-bottom: 1px solid #ccc;
  color: black;
  cursor: pointer;
}

.mobile-tab-menu li:hover {
  background-color: #e0e0e0;
  color: #000;
  font-weight: bold;
}

.mobile-tab-menu li:last-child {
  border-bottom: none;
}

.hidden {
  display: none;
}

/* Responsive */
@media (max-width: 900px) {
  .tab-menu {
    display: none !important;
  }

  .mobile-menu-trigger {
    display: block;
  }
}

.tab-menu {
  display: flex;
  list-style: none;
  padding: 0;
  color: black;
  margin: 0;
  background-color: rgba(220, 220, 220, 0.349);
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  border-bottom: 3px solid var(--theme-color);
  /* changed */
}

.tab-menu li:hover,
.tab-menu li.active {
  background-color: var(--theme-color);
  /* changed */
  color: white;
  font-weight: bold;
  border-right: transparent;
}

table {
  border: 1px solid #000000;
  border-collapse: collapse;
  margin: 0;
  padding: 0;
  width: 100%;
  table-layout: fixed;
}

table caption {
  font-size: 1.5em;
  margin: 0.5em 0 0.75em;
  color: black;
}

table tr {
  background-color: #f8f8f8;
  border: 1px solid #cfcfcf;
  padding: 0.35em;
}

table th,
table td {
  padding: 0.325em;
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: center;
  color: black;
  font-size: 15px;
}

table th {
  font-size: 0.85em;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #000;
}

@media screen and (max-width: 1100px) {
  table {
    border: 0;
  }

  table caption {
    font-size: 1.3em;
  }

  table thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }

  .tab-content {
    padding: 10px !important;
  }

  table tr {
    display: block;
    margin-bottom: 0.625em;
  }

  table td {
    border-bottom: 1px solid #ddd;
    display: block;
    font-size: 0.8em;
    text-align: right;
  }

  table td::before {
    content: attr(data-label);
    float: left;
    font-weight: bold;
    text-transform: uppercase;
  }

  table td:last-child {
    border-bottom: 0;
  }
}

/* Diary section */
.diary-wrapper {
  width: 100%;
  /* border: 2px solid green; */
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.diary-left {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  box-sizing: border-box;
  /* border: 2px solid red; */
}

.diary-heading {
  background-color: black;
  color: white;
  height: fit-content;
  padding: 5px 10px;
  border-radius: 5px;
  margin-top: 24px;
  font-size: 19px;
}

#calendar {
  min-width: 800px;
  /* Prevent it from collapsing on zoom */
  width: 100%;
}

.fc .fc-toolbar-title {
  color: black;
  font-size: 22px;
}

@media (max-width: 768px) {
  #calendar {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  #calendar {
    font-size: 10px;
  }
}

.check-label-wrap {
  /* align-items: center; */
  text-align: start;
}

.check-label-wrap label {
  color: black;
  margin-left: 5px;
}

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

.custom-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
}

.custom-modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  position: relative;
  animation: fadeIn 0.3s ease;
}

.custom-modal .close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  color: #333;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.open-modal-btn {
  background-color: #000;
  color: white;
  width: 150px;
  padding: 10px 0px;
  border: none;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  border-radius: 5px;
  font-family: "Josefin Sans", sans-serif;
}

.m-bold {
  font-weight: 600;
  font-size: 22px;
}

.form-control select {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  background-color: transparent;
  color: #333;
  border-radius: 4px;
  outline: none;
  appearance: none; /* Removes default arrow */
  -webkit-appearance: none;
  -moz-appearance: none;
  position: relative;
  z-index: 1;
}

.form-control select:focus {
  border-color: #666;
  box-shadow: 0 0 3px rgba(100, 100, 100, 0.4);
}

.form-control select option {
  color: #333;
  background-color: #fff;
}

/* Optional: Add a down arrow using a pseudo element */
.form-control {
  position: relative;
}

.m-width {
  width: 100%;
}

.m-wrap-in-one {
  display: flex;
  gap: 20px;
  align-items: center;
}

.mtop-m {
  margin-top: 20px;
}

.e {
  margin-bottom: 0px;
  padding: 0px;
  font-size: 18px;
  font-weight: 600;
  margin-top: 10px;
}

.m-btn-wrapper {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}

.m-btn-wrapper button {
  color: white;
  background-color: #000;
  border: none;
  cursor: pointer;
  font-weight: 600;
  padding: 15px 15px;
  border-radius: 5px;
}
/* Diary section Ends */

.opt-dropdown {
  position: relative;
  display: inline-block;
}

.opt-dropbtn {
  background-color: black;
  color: white;
  padding: 12px 18px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  font-family: "Josefin Sans", sans-serif;
}

.opt-dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 220px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  z-index: 999;
  border-radius: 4px;
  right: 1px;
  overflow: hidden;
}

.opt-dropdown-content a {
  color: #333;
  padding: 10px 16px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
  font-size: 14px;
}

.opt-dropdown-content a:hover {
  background-color: #f0f0f0;
}

.opt-show {
  display: block;
}

.profile-top-bar {
  display: flex;
  justify-content: space-between;
}

.gcard-container {
  background-color: #ffffff;
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  padding: 24px;
  position: relative;
  transition: all 0.3s ease-in-out;
  border: 2px solid black;
}

.gcard-container:hover {
  transform: translateY(-4px);
}

.gcard-logo-wrapper {
  text-align: center;
  margin-bottom: 18px;
}

.gcard-logo-wrapper img {
  width: 200px;
  height: 200px;
  border-radius: 100px;
  object-fit: cover;
}

.gcard-contact-info {
  text-align: center;
  margin-bottom: 24px;
}

.gcard-contact-info p,
.gcard-contact-info a {
  color: #333 !important;
  font-size: 16px;
  margin: 5px 0;
  text-decoration: none;
  display: block;
}

.gcard-completion-header {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: #444;
  margin-bottom: 6px;
}

.gcard-completion-header span {
  color: #333 !important;
  font-size: 16px;
}

.gcard-progress-wrapper {
  margin-top: 12px;
}

.gcard-date-range {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #777;
  margin-bottom: 6px;
}

.gcard-date-range span {
  color: #333 !important;
  font-size: 15px;
}

.gcard-progress-bar {
  background-color: #e2e2e2;
  height: 12px;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.gcard-progress-fill {
  background: linear-gradient(to right, #28a745, #dc3545);
  width: 0%;
  height: 100%;
  transition: width 0.4s ease-in-out;
}

.gcard-info-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: #007bff;
  color: white;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
}

.graph-container {
  padding: 20px;
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
  border: 2px solid black;
}
.graph-container h3 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 500;
}

.uqb-container {
  background-color: #ffffff;
  padding: 12px;
  border-radius: 16px;
}

.uqb-question {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #333;
}

.uqb-progress-track {
  background-color: #e6e6e6;
  border-radius: 30px;
  height: 24px;
  overflow: hidden;
  position: relative;
}

.uqb-progress-fill {
  background-color: #2196f3;
  height: 100%;
  width: 65%; /* adjust this for your desired percentage */
  transition: width 0.4s ease;
  color: #fff;
  text-align: right;
  padding-right: 10px;
  line-height: 24px;
  font-weight: 500;
  border-radius: 30px 0 0 30px;
  box-sizing: border-box;
}

.caro {
  width: 100%;
  border: 2px solid black;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  box-sizing: border-box;
  background-color: #ffffff;
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.cont-caro {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.caro-name {
  font-size: 32px;
  font-weight: 600;
  margin-top: 10px !important;
  margin-bottom: 0px !important;
}

.caro-email {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 0px !important;
}

.caro-number {
  font-size: 20px;
  font-weight: 500;
  margin-top: 0px !important;
}

.cont-caro img {
  height: 150px;
  width: 150px;
  object-fit: cover;
  border-radius: 100px;
}

.accordion-container {
  width: 100%;
  /* margin: auto; */
  /* background-color: white; */
  /* padding: 1.5rem; */
  /* padding-left: 60px; */
  /* padding-right: 60px; */
  border-radius: 10px;
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); */
  margin-top: 20px;
}

.accordion {
  background-color: white;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.accordion-header img {
  width: 35px;
}

.accordion-header span img {
  margin-top: 10px;
}

.accordion-header h3 {
  margin: 0;
  font-size: 1.2rem;
}

.accordion-header .arrow {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.accordion-content {
  display: none;
  font-size: 0.95rem;
  color: #333;
}

.accordion-content ul {
  padding-left: 20px;
}

.accordion-content ul li {
  margin-bottom: 6px;
  list-style-type: disc !important;
  font-size: 18px;
  margin-left: 15px;
}

.acc-norm {
  font-size: 18px !important;
  font-weight: 400 !important;
}

.accordion-content h4 {
  margin-top: 1.2rem;
  margin-bottom: 0.5rem;
}

.accordion.open .accordion-content {
  display: block;
}

.accordion.open .arrow {
  transform: rotate(180deg);
}

.accordion-content p {
  font-size: 20px;
  color: black !important;
  text-shadow: unset !important;
}

.accordion-content p span {
  font-weight: 400 !important;
  padding-left: 4px;
}

.acc-head {
  margin-top: 25px;
  font-weight: 700 !important;
  padding-bottom: 5px;
}

.p36 {
  font-size: 36px !important;
  font-weight: 700 !important;
  color: black !important;
  text-shadow: unset !important;
}

.p24 {
  font-size: 24px !important;
  font-weight: 400 !important;
  color: black !important;
  text-shadow: unset !important;
  margin-top: 20px !important;
}

.grid-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(252px, 1fr));
  gap: 20px;
  width: 100%;
  box-sizing: border-box;
}

.card {
  border: 2px solid black;
  color: #000;
  border-radius: 12px;
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-left: 7px solid black;
  cursor: pointer;
  position: relative;
  margin-top: 30px;
  background-color: white;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;

  /* Remove fixed width and let grid handle it */
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 12px;
}

.mes-folder {
  background-color: black;
  color: #fff;
  border: none;
  padding: 10px 25px;
  font-size: 16px;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: background 0.3s;
  position: relative;
}







/* Dropdown */
.custom-dropdown {
  position: absolute;
  background-color: white;
  border: 1px solid #ccc;
  margin-top: 5px;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  right: 18px;
  margin-top: 40px;
}

.custom-dropdown-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.custom-dropdown-list li {
  padding: 10px 20px;
  cursor: pointer;
  transition: background 0.2s ease;
  color: black !important;
}

.custom-dropdown-list li:hover {
  background-color: #f0f0f0;
}

.hidden-dropdown {
  display: none;
}

/* Modal */
.custom-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.hidden-modal {
  display: none;
}

.custom-modal-box {
  background-color: white;
  padding: 25px;
  width: 320px;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.custom-modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 20px;
  cursor: pointer;
}

.custom-modal-title {
  margin-bottom: 15px;
  color: black !important;
}

.custom-folder-input {
  width: 100%;
  box-sizing: border-box;
}

.custom-create-btn {
  background-color: #11121a;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 20px;
}


.ql-toolbar.ql-snow {
  border-radius: 25px 25px 0px 0px !important;
  background-color: transparent !important;
}

.ql-container.ql-snow {
  border-radius: 0px 0px 25px 25px !important;
  background-color: transparent !important;

}

.ql-snow * {
  background-color: transparent !important;
  border-radius: 0px 0px 25px 25px !important;
}











.pagination {
  display: inline-block;
  margin-top: 20px;
}

.pagination a {
  color: black;
  float: left;
  padding: 8px 16px;
  text-decoration: none;
}

.pagination a.active {
  background-color: #000000;
  color: white;
}

.pagination a:hover:not(.active) {background-color: #ddd;}














   /* Unique Modal background */
    .assessment-popup {
      display: none;
      position: fixed;
      z-index: 999;
      padding-top: 60px;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0,0,0,0.5);
    }
    /* Unique Modal content */
    .assessment-box {
      background: #fefefe;
      margin: auto;
      padding: 20px;
      border-radius: 8px;
      width: 70%;
      max-width: 800px;
      color: black;
    }
    .popup-close-btn {
      color: #000000;
      float: right;
      font-size: 28px;
      font-weight: bold;
      cursor: pointer;
    }
    .assessment-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin: 10px 0;
      padding: 10px;
      border-bottom: 1px solid #ddd;
    }
    .assessment-counter {
      display: flex;
      align-items: center;
      gap: 5px;
    }
    .assessment-value {
      min-width: 20px;
      text-align: center;
    }
    .assessment-btn {
      border: none;
      background: #007bff;
      color: white;
      padding: 5px 10px;
      border-radius: 4px;
      cursor: pointer;
    }
    .assessment-btn:hover {
      background: #0056b3;
    }







        /* Unique Modal Background */
    .info-modal {
      display: none; 
      position: fixed; 
      z-index: 999; 
      left: 0; 
      top: 0; 
      width: 100%; 
      height: 100%; 
      background-color: rgba(0,0,0,0.5);
      justify-content: center;
      align-items: center;
      color: black !important;
    }

    /* Modal Content */
    .info-modal-content {
      background: #fff;
      padding: 20px;
      width: 40%;
      border-radius: 10px;
      position: relative;
      box-shadow: 0 5px 15px rgba(0,0,0,0.3);
      animation: fadeIn 0.3s ease-in-out;
      border: 2px solid black;
    }

    /* Close Button */
    .info-close {
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 20px;
      cursor: pointer;
    }

    /* Tabs */
    .info-tabs {
      display: flex;
      border-bottom: 2px solid #ddd;
      margin-bottom: 15px;
    }

    .info-tabs button {
      flex: 1;
      padding: 10px;
      border: none;
      background: #f1f1f1;
      cursor: pointer;
      font-weight: bold;
    }

    .info-tabs button.active {
      background: #000000;
      color: white;
    }

    .info-tab-content {
      display: none;
    }

    .info-tab-content.active {
      display: block;
    }

    /* Animation */
    @keyframes fadeIn {
      from {opacity: 0; transform: scale(0.9);}
      to {opacity: 1; transform: scale(1);}
    }

    /* Info Icon */
    .gcard-info-icon {
      width: 30px;
      height: 30px;
      border-radius: 50%;
      background: #007BFF;
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: bold;
      cursor: pointer;
    }

    .info-tab-content div {
      border-bottom: 1px solid gainsboro;
      background-color: rgba(220, 220, 220, 0.438);
      padding: 15px;
    }