/* :root {
    --background: #2c3e50;
    --navbar-width: 240px;
    --navbar-width-min: 80px;
}

::-webkit-scrollbar-thumb {
    background: #adadad;
    border-radius: 4px;
}

::-webkit-scrollbar {
    width: 5px;
    height: 5px;
} */

html,
body {
  background: #eef2f6;
  color: #1a1a1a;
  font-family: "Poppins", sans-serif !important;
  font-size: 14px;
  font-weight: 400;
  margin: 0;
}

#nav-bar {
  /* position: absolute; */
  position: fixed;
  left: 0px;
  top: 0px;
  height: 100%;
  width: 220px;
  /* background: linear-gradient(#b7b7b7, #aaaaa9); */
  background-color: #fff;
  /* border-right: 6px solid #ffffff; */
  /* border-radius: 0 16px 16px 0; */
  display: flex;
  flex-direction: column;
  color: #f5f6fa;
  user-select: none;
  /* overflow: hidden; */
  transition: width 0.3s;
  z-index: 100;
}

#nav-bar.collapsed {
  width: 83px;
}

#nav-bar hr {
  margin: 0;
  position: relative;
  left: 16px;
  width: calc(100% - 32px);
  border: none;
  border-top: solid 1px #c0c0c0;
}

.collapsed hr {
  display: none;
}

#nav-bar a {
  color: inherit;
  text-decoration: none;
}

#nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
}

#nav-title {
  font-size: 1.5rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 11px;
  white-space: nowrap;
  transition: opacity 0.3s;
}

.collapsed #nav-title {
  opacity: 0;
}

.collapsed .nav-button span {
  display: none;
}

.toggle-btn {
  font-size: 1.25rem;
  cursor: pointer;
  background: none;
  border: none;
  color: #f5f6fa;
}

#nav-content {
  flex: 1;
  width: 100%;
  /* background: linear-gradient(#fdb76a, #feffce); */
  position: relative;
  padding-left: 14px;
  margin-top: 2rem;
}

/* #nav-content-highlight {
    position: absolute;
    padding-left: 8px;
    padding-right: 8px;
    width: calc(100% - 16px);
    height: 54px;
    background: #ffffff;
    border-radius: 14px 0 0 14px;
    transition: top 0.2s;
    z-index: 0;
    top: 0px;
} */

#nav-content-highlight:before,
#nav-content-highlight:after {
  content: "";
  position: absolute;
  right: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

#nav-content-highlight:before {
  bottom: 100%;
  /* box-shadow: 16px 16px #ffffff; */
}

#nav-content-highlight:after {
  top: 100%;
  /* box-shadow: 16px -16px #ffffff; */
}

.nav-button {
  position: relative;
  padding-left: 0px;
  height: 50px;
  display: flex;
  align-items: center;
  color: #737373;
  direction: ltr;
  cursor: pointer;
  /* z-index: 1; */
  transition: color 0.2s;
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 10px;
}

.nav-button span {
  margin-left: 0;
  transition: opacity 1s;
}

.nav-button .fas {
  min-width: 3rem;
  font-size: 1.2rem;
  text-align: center;
  color: #f79322;
}

.nav-button:hover {
  background: #eebe87;
  color: #ffffff;
  border-radius: 50px 0 0 50px;
}

.nav-button.active {
  background: #f79322;
  color: #ffffff;
  border-radius: 50px 0 0 50px;
}

#hamburger {
  display: none;
  position: fixed;
  top: 1vw;
  left: 1vw;
  font-size: 1.5rem;
  background: transparent;
  color: #bbd2f0;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  z-index: 200;
}

.collapsed ~ #hamburger {
  display: block;
}

/* sidenav end  */

.main {
  margin-left: 220px;
  /* flex-grow: 1; */
  padding: 0px 10px;
  background: #eef2f6;
  transition: margin-left 0.3s ease-in-out;
}

/* header start  */

.header-fixed {
  position: sticky;
  top: 0px;
  z-index: 99;
  background: #eef2f6;
  padding-top: 12px;
}

.header-container {
  display: flex;
  padding: 1.2rem;
  background: #fff;
  justify-content: space-between;
  align-items: center;
  /* margin-top: 10px; */
  border-radius: 1rem;
  /* margin-right: 30px; */
  /* position: sticky;
    top: 12px;
    z-index: 99; */
  color: #f79322;
  /* margin-left: 10px; */
  /* box-shadow: 0 6px 20px rgba(16, 17, 18, .06); */
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.profile-btn-container {
  display: flex;
  align-items: center;
  padding: 5px;
  /* border: 1px solid #f79322; */
  border-radius: 15px;
}

.support-container {
  padding: 8px;
  border: 1px solid #f79322;
  border-radius: 50%;
  margin-right: 12px;
}

/* header end  */

.total-container {
  margin-left: 15rem;
  /* height: 50rem; */
  height: 100%;
  /* overflow-y: auto; */
  /* padding-bottom: 3rem; */
}

.content-container {
  margin-top: 3rem;
  /* background: #dfdfdd; */
  padding: 0px;
  margin-right: 2rem;
  border-radius: 20px;
  /* box-shadow: 0px 0px 15px #e0e0e0; */
  margin-left: 4px;
}

.profile-container {
  /* justify-items: center; */
  /* border-left: 1px solid #d1d1d1; */
  padding: 12px;
  box-shadow: 0px 5px 30px #e0e0e0;
  border-radius: 10px;
  background-color: #fff;
  height : 100%;
}

.profile-header {
  font-size: 14px;
  font-weight: 600;
  /* justify-self: center; */
  /* border-bottom: 1px solid #b7b7b7; */
  padding: 8px;
  color: #f79322;
  height: 280px;
  overflow-y: auto;
}

.username {
  font-size: 12px;
  font-weight: 500;
  place-self: center;
  color: #726f6f;
  padding: 5px 15px;
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  /* margin-top: -12px; */
  word-break: break-all;
}

/* graph and table start */

.chart-container {
  /* max-width: 720px;
    margin: 40px auto;
    padding: 20px; */
}

.chart-card {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.userlist-scroll h5 {
  font-weight: 600;
  margin-bottom: 20px;
}

.card-table h5 {
  font-weight: 600;
  margin-bottom: 20px;
}
.card-table {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  padding: 24px 28px;
}
.status-active {
  background: #d4f8e8;
  color: #0e9f6e;
}
.status-pending {
  background: #fff4db;
  color: #f59f00;
}
.status-rejected {
  background: #ffe5e5;
  color: #e03131;
}
.status-badge {
  padding: 5px 12px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 500;
  display: inline-block;
}

.search-box {
  position: relative;
  margin-bottom: 20px;
}

.search-box input {
  border-radius: 25px;
  padding: 10px 20px 10px 40px;
  border: 1px solid #f79322;
  width: 250px;
  max-width: 100%;
}
.chart-card h1 {
  margin: 0 0 8px;
  font-size: 18px;
}

.chart-card p {
  margin: 0 0 16px;
  font-size: 13px;
  color: #555;
}

#chart {
  height: 200px;
}

/* .form-select:focus {
    box-shadow: 0 0 0 .25rem rgb(228 228 228);
    border: 1px solid transparent;
} */

.form-select.custom-select {
  width: 220px;
  /* adjust width */
  border-radius: 50px;
  /* rounded corners */
  padding: 10px 35px 10px 14px;
  /* more spacing */
  font-size: 12px;
  /* clean font size */
  background-color: #fff;
  /* light background */
  border: 1px solid #f79322;
  /* subtle border */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
}

.form-select.custom-select:focus {
  border-color: rgb(213 213 213);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-radius: 50px;
  border: 1px solid #f79322;
}

option {
  padding: 8px;
}

option:hover {
  background-color: #fca542 !important;
  /* hover background */
  color: #1e1b4b !important;
  /* hover text */
}

option:checked {
  background-color: #fca542;
  /* selected option background */
  color: #fff;
  /* selected option text */
}

/* graph and table end */

.user-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  /* width: 700px; */
  padding: 5px 12px;
  /* background: #e9e9e9; */
  border-radius: 15px;
  height: 42rem;
  overflow-y: auto;
}

.user-card {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 5px;
  padding: 5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 2px solid transparent;
  /* cursor: pointer; */
  transition: all 0.25s ease-in-out;
  margin-bottom: 3px;
}

.user-card:hover {
  /* border-color: #f79322; */
  background: #f9f9ff;
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.user-card img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
  margin-right: 15px;
}

.user-details {
  display: flex;
  flex-direction: column;
}

.user-name {
  font-size: 12px;
  font-weight: 600;
  color: #f2b060;
}

.user-role {
  font-size: 10px;
  color: #6b7280;
}

.userlist-scroll {
  margin-top: 1rem;
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); */
  /* background: #e9e9e9; */
  border-radius: 10px;
}

.userlist-scroll::-webkit-scrollbar {
  width: 3px;
}

.userlist-scroll::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

/* status card start */

.status-list {
  display: grid;
  /* grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); */
  gap: 10px;
  /* width: 1000px; */
}

.status-card {
  position: relative;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  /* box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08); */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: all 0.35s ease;
  padding: 10px;
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 125px;
}

/* Hover effect */
.status-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-color: transparent;
  background: #f9fafb;
}

.status-title {
  font-size: 15px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 12px;
  z-index: 1;
  position: relative;
}

.status-value {
  font-size: 34px;
  font-weight: 700;
  background: linear-gradient(90deg, #f79322, #dfdcb0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  z-index: 1;
  position: relative;
  margin-left: 20px;
}

.status-divider {
  height: 3px;
  width: 60px;
  border-radius: 2px;
  background: linear-gradient(90deg, #f79322, #d7eaca);
  margin-bottom: 12px;
  z-index: 1;
  position: relative;
}

/* status card end */

.userlist-title {
  padding: 10px 18px 10px 18px;
}

/* table start  */

/* .table-container {
    max-height: 22rem;
    overflow: auto;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    background: linear-gradient(#edd2b3, #def7ff);
    border-radius: 20px;

} */

/* table end  */

/* course container start */

.course-container {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

@media (max-width: 500px) {
  .course-container {
    margin-top: 1.5rem;
}
.profile-container {
      margin-top: 1.5rem;
  }
}

@media (max-width: 1200px) {
  .course-completion {
    height: 213px !important;
  }
}

.course-completion {
  background: rgb(255, 255, 255);
  border-radius: 10px;
  /* padding: 20px 0px; */
  /* box-shadow: rgba(0, 0, 0, 0.08) 0px 4px 12px; */
  height: 232px;
  overflow-y: auto;
}

.courseuser-bar {
  display: flex;
}

.course-bar {
  padding: 3px;
  border-radius: 10px;
  margin-bottom: 5px;
}

.coursebar-complete {
  background: #7fffa6;
}

.coursebar-inprogress {
  background: #ffd47f;
}

.coursebar-notyetstart {
  background: #9a9b9a;
}

.chart-label {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}

.status-container {
  display: ruby;
  gap: 10px;
  /* margin-bottom: 10px; */
  padding: 20px 0px;
  /* margin-left: 4rem; */
  font-size: 13px;
}

.course-percentage {
  margin-right: 5px;
}

.course-title {
  display: flex;
  justify-content: space-between;
}

/* course container end */

/* toottip start  */
.tooltip-container {
  /* position: relative;
  display: inline-block; */
}

.tooltip-content {
  display: none; /* hidden by default */
  position: absolute;
  background-color: #fff;
  color: #333;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 6px;
  top: 120%;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 100;
}

.tooltip-content table {
  border-collapse: collapse;
}

.tooltip-content th,
.tooltip-content td {
  border: 1px solid #ccc;
  padding: 4px 8px;
  font-size: 14px;
}

.tooltip-container.active .tooltip-content {
  display: block; /* show when parent has .active */
}
/* toottip end  */

/* team members tooltop start  */

/* team members tooltop end  */

.dashboard-header {
  font-size: 21px;
  font-weight: 600;

  color: #000;
}
.dashboard-small-text {
  color: #212529bf;
}
.breadcrumb-text {
  margin: 15px 0px;
  font-size: 26px;
  font-weight: 600;
}

/* Dropdown menu base */
.manager-tools-menu,
.applicant-tools-menu {
  z-index: 2000 !important;
  position: absolute;
  min-width: 200px;
  padding: 4px 0;
  border-radius: 6px;
  border: none;
  margin-top: 15px !important;
}

/* Submenu styling */
.applicant-tools-submenu {
  position: relative;
}

.applicant-tools-menu {
  top: 0;
  left: 100%;
  margin-top: -1px;
  z-index: 2050;
  display: none;
}

/* Show submenu on hover */
.applicant-tools-submenu:hover > .applicant-tools-menu {
  display: block;
}

/* Dropdown items */
.dropdown-item {
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  border-radius: 4px;
  transition: all 0.2s ease;
}

/* Hover effect */
.dropdown-item:hover {
  background-color: #eef2f6 !important;
  color: #000 !important;
}

/* Active menu item */
.dropdown-item.active,
.dropdown-item:active {
  background-color: #f8d3a9;
  color: #fff;
}

/* Arrow indicator for submenu */
.applicant-tools-toggle::after {
  transform: rotate(-90deg);
  margin-left: 0.5rem;
}

.profile-dropdown .dropdown-menu {
  min-width: 189px;
  padding: 8px 0;
  border-radius: 6px;
  border: none;
}

/* Dropdown items */
.profile-dropdown .dropdown-item {
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  border-radius: 4px;
  transition: all 0.2s ease;
}

/* Hover effect */
.profile-dropdown .dropdown-item:hover {
  background-color: #f79322;
  color: #fff;
}

/* Active menu item */
.profile-dropdown .dropdown-item.active,
.profile-dropdown .dropdown-item:active {
  background-color: #f79322 !important;
  color: #fff !important;
}

/* model start */
.form-title-top {
  background: #fef5eb;
  box-shadow: 0px 4px 26px 0px #0000001a;
}

.forum-border {
  border: 5px solid #d4d4d480 !important;
  border-radius: 15px !important;
}

.form-card {
  background: #fff;
  border-radius: 20px;
}

.modern-input {
  border-radius: 5px !important;
  border: 1px solid #ccc !important;
  transition: 0.3s;
}

.modern-input:focus {
  border-color: #f79323 !important;
  box-shadow: 0 0 8px rgba(247, 147, 35, 0.3) !important;
}

.upload-box {
  border: 2px dashed #ccc !important;
  transition: all 0.3s;
}

.upload-box:hover {
  border-color: #f79323 !important;
  background: #fff8f1 !important;
}

.modern-input::placeholder {
  font-size: 14px;
  color: #6c757d;
  opacity: 1;
}

.form-card .form-label {
  color: #f79323 !important;
}

/* Cancel button */
.cancel-btn {
  background-color: #f59f00;
  border-radius: 5px;
  background-color: #f79322 !important;
  border: 1px solid #f79322;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  padding: 13px 25px;
}

.cancel-btn:hover {
  color: #212529;
}

.border-dashed {
  border-style: dashed !important;
}

.text-browse {
  color: #f79323;
}

.upload-box {
  border: 2px dashed #ccc;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.3s ease;
  background: #fafafa;
}

.upload-box:hover {
  border-color: #ff7b00;
  /* orange hover */
}

.upload-box p {
  margin: 5px 0;
}

.text-browse {
  color: #f79323;
  font-weight: 600;
  cursor: pointer;
  /* text-decoration: underline; */
}

input[type="file"] {
  display: none;
}

.form-close-icon {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 99;
  font-size: 13px;
}

/* model end */
