@charset "UTF-8";
:root {
  --primary-color: #5c5bc0;
  --primary-dark-color: #4a49a6;
  --primary-chart: #5c5bc0;
  --secondary-chart: #c5c5ff;
  --primary-lightest-color: #ebebff;
  --secondary-color: #2c3e50;
  --accent-color: #ff6b6b;
  --primary-dark: #252525;
  --primary-color-rgb: 92, 91, 192;
  --footer-bg: #2a2a4a;
  --blue-300: #9291d5;
  --blue-400: #7d7ccd;
  --blue-500: #5c5bc0;
}

html,
body {
  background-color: #f5f7fa;
  font-family: "Outfit", sans-serif;
  line-height: 1.6;
  overflow-x: hidden; /* Prevent horizontal scroll */
  height: 100%;
}

::-moz-selection {
  background: var(--primary-color);
  color: #fff;
}

::selection {
  background: var(--primary-color);
  color: #fff;
}

/* Wrapper layout */
.row.g-0.flex-nowrap {
  display: flex;
  flex-wrap: nowrap;
  min-height: 100vh;
}

.mh-100vh {
  min-height: 100vh;
}

.max-width-md {
  max-width: 768px !important;
}

.w-fit {
  width: -moz-fit-content !important;
  width: fit-content !important;
}

.fs-6-5 {
  font-size: 0.9rem !important;
}

.fs-7 {
  font-size: 0.8rem !important;
}

.border:focus-visible {
  outline: var(--primary-color) !important;
}

.hover-underline:hover {
  text-decoration: underline !important;
}

.justify-content-unset {
  justify-content: unset !important;
}

.primary-text {
  color: var(--primary-color) !important;
}

.cursor-pointer {
  cursor: pointer !important;
}

.bg-lightred {
  background: #feeded !important;
}

.h-28 {
  height: 28px !important;
}

.bg-base {
  background: var(--primary-color) !important;
}

.base-border {
  border: 1px solid var(--primary-color) !important;
}

.transform-none {
  transform: none !important;
}

.border-grey {
  border: 1px solid #ccc;
}

.bg-lightbase {
  background: var(--primary-lightest-color) !important;
}

.bg-grey {
  background: #ececf0 !important;
}

.text-grey {
  color: #ececf0 !important;
}

.bg-lightwarning {
  background: #fffbeb !important;
}

.text-darkwarning {
  color: var(--accent-color);
}

input[type=checkbox] {
  accent-color: var(--primary-color); /* Your desired color */
}

/* Left side image */
.auth-left {
  flex: 1;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  display: flex;
}
.auth-left .pic-content {
  max-width: 700px;
  margin: 0 auto;
  margin-bottom: 50px;
  color: white;
  padding: 20px;
}
.auth-left .pic-content h2 {
  font-size: 35px;
  font-weight: bold;
}
.auth-left .pic-content p {
  font-size: 16px;
  font-weight: 200;
}

.auth-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 2rem;
  overflow: auto;
}

.signIn-img {
  background-image: linear-gradient(rgba(var(--primary-color-rgb), 0.2), rgba(var(--primary-color-rgb), 0.5)), url("../assets/auth_assets/signIn-img.svg");
}

.createAcc-img {
  background-image: linear-gradient(rgba(var(--primary-color-rgb), 0.2), rgba(var(--primary-color-rgb), 0.5)), url("../assets/auth_assets/createAcc-img.svg");
}

.reset-img {
  background-image: linear-gradient(rgba(var(--primary-color-rgb), 0.2), rgba(var(--primary-color-rgb), 0.5)), url("../assets/auth_assets/reset-img.svg");
}

.confirmation-img {
  background-image: linear-gradient(rgba(var(--primary-color-rgb), 0.2), rgba(var(--primary-color-rgb), 0.5)), url("../assets/auth_assets/confirmation-img.svg");
}

.newPwd-img {
  background-image: linear-gradient(rgba(var(--primary-color-rgb), 0.2), rgba(var(--primary-color-rgb), 0.5)), url("../assets/auth_assets/newPwd-img.svg");
}

.login-box {
  width: 100%;
  max-width: 500px;
}
.login-box h2 {
  font-size: 36px;
  margin-bottom: 8px;
  color: #222;
  font-weight: 600;
}
.login-box p {
  font-size: 15px;
  margin-bottom: 20px;
  color: var(--secondary-color);
}
.login-box a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}
.login-box a:hover {
  text-decoration: underline;
}
.login-box form label {
  display: block;
  text-align: left;
  font-size: 14px;
  margin: 10px 0 6px;
  color: var(----primary-dark);
}
.login-box form .input-box {
  position: relative;
}
.login-box form .input-box input {
  width: 100%;
  padding: 15px 20px;
  padding-right: 40px;
  border: 1px solid #f5f5f7;
  border-radius: 6px;
  font-size: 14px;
  outline: none;
  transition: border 0.3s, box-shadow 0.3s;
}
.login-box form .input-box input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 5px rgba(77, 77, 162, 0.5);
}
.login-box form .input-box .toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: #666;
  cursor: pointer;
}
.login-box form .options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  margin-top: 10px;
  margin-bottom: 20px;
}
.login-box .divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: #777;
  margin: 20px 0;
}
.login-box .divider::before, .login-box .divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #ddd;
}
.login-box .divider:not(:empty)::before {
  margin-right: 0.75em;
}
.login-box .divider:not(:empty)::after {
  margin-left: 0.75em;
}

.form-box {
  width: 100%;
  max-width: 600px;
}
.form-box h2 {
  font-size: 36px;
  margin-bottom: 8px;
  color: var(----primary-dark);
  font-weight: 600;
}
.form-box p {
  font-size: 15px;
  margin-bottom: 20px;
  color: var(----primary-dark);
}
.form-box p a {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
}
.form-box p a:hover {
  text-decoration: underline;
}
.form-box .form-row {
  display: flex;
  gap: 20px;
}
.form-box .form-group {
  flex: 1;
  margin-bottom: 16px;
}
.form-box .form-group label {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(----primary-dark);
}
.form-box .form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  outline: none;
  transition: border 0.3s, box-shadow 0.3s;
}
.form-box .form-group input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 5px rgba(77, 77, 162, 0.5);
}
.form-box .gender {
  display: flex;
  gap: 20px;
  margin: 10px 0 20px;
  font-size: 14px;
}
.form-box .gender label {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.form-box .gender label input {
  margin: 0;
  cursor: pointer;
}
.form-box .terms {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(----primary-dark);
  margin-top: 15px;
}
.form-box .terms input {
  margin-top: 4px;
  cursor: pointer;
}
.form-box .terms label {
  line-height: 1.4;
  cursor: pointer;
}
.form-box .terms a {
  color: var(--primary-color);
  text-decoration: none;
}
.form-box .terms a:hover {
  text-decoration: underline;
}

.otp-container {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 50px 0;
}
.otp-container input {
  width: 50px;
  height: 50px;
  text-align: center;
  font-size: 24px;
  border: 1px solid #ccc;
  border-radius: 10px;
}
.otp-container input:focus {
  outline: none;
  border-color: #4d4da2;
  box-shadow: 0 0 5px rgba(77, 77, 162, 0.5);
}

.resend-box p {
  font-size: 14px;
  color: #252525;
  margin-bottom: 30px;
}
.resend-box p a {
  color: var(--primary-color);
  text-decoration: none;
}
.resend-box p a:hover {
  text-decoration: underline;
}

.confirm-login {
  text-decoration: none;
  color: var(--primary-color);
  cursor: pointer;
}
.confirm-login span:hover {
  text-decoration: underline;
}

.sidebar {
  background: var(--primary-color);
  color: white;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  overflow-y: auto;
  z-index: 100;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.sidebar::-webkit-scrollbar {
  display: none;
}
.sidebar .menu-close {
  display: none;
}
.sidebar .logo {
  max-width: 66% !important;
}
.sidebar .menu a {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  padding: 12px 15px;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.sidebar .menu a:hover, .sidebar .menu a.active {
  background-color: rgba(255, 255, 255, 0.1);
}
.sidebar .menu a i {
  margin-right: 12px;
  font-size: 1.2rem;
}
.sidebar .nav-link:hover {
  color: unset;
}
.sidebar .premium-image {
  width: 70%;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.3);
}

.search-input {
  border-radius: 50px;
  padding: 0.8rem 0 0.8rem 40px;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-dark-color);
  box-shadow: none;
}

.search-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: gray;
}

.profile-img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
}

.hero-section-1 {
  background-image: url("../assets/home_assets/Star.svg"), linear-gradient(180deg, var(--primary-dark-color) 0%, var(--primary-color) 100%);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom;
}
.hero-section-1 p {
  max-width: 650px;
}
.hero-section-1 button {
  color: var(--primary-color);
  background: white;
}
.hero-section-1 button:hover {
  color: white;
  background: var(--primary-color) !important;
}
.hero-section-1 button:hover span {
  background: white !important;
  color: var(--primary-color);
}
.hero-section-1 button span {
  color: white;
  background: var(--primary-color) !important;
  width: 30px;
  height: 30px;
}
.hero-section-1 button span:hover {
  background: white !important;
  color: var(--primary-color);
}

.hero-section-2 {
  background-image: url("../assets/home_assets/right-sidebar.png "), linear-gradient(180deg, var(--primary-dark-color) 0%, var(--primary-color) 100%);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: bottom;
}
.hero-section-2 button {
  color: var(--primary-color);
  background: white;
}
.hero-section-2 button:hover {
  color: white;
  background: var(--primary-color) !important;
}
.hero-section-2 button:hover span {
  background: white !important;
  color: var(--primary-color);
}
.hero-section-2 button span {
  color: white;
  background: var(--primary-color) !important;
  width: 30px;
  height: 30px;
}
.hero-section-2 button span:hover {
  background: white !important;
  color: var(--primary-color);
}

.base-button {
  display: block;
  background: var(--primary-color);
  color: white;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  border-radius: 0.375rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
}
.base-button:hover {
  background-color: var(--primary-dark-color);
  text-decoration: none !important;
}

.base-outline-button {
  display: block;
  background: white;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  border-radius: 0.375rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
}
.base-outline-button:hover {
  background-color: var(--primary-dark-color);
  color: white;
  text-decoration: none !important;
}

.button-lightred {
  display: block;
  background: var(--accent-color);
  color: white;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  border-radius: 0.375rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
}
.button-lightred:hover {
  background-color: var(--accent-color);
  text-decoration: none !important;
  border: 1px solid var(--accent-color);
}

.button-white {
  display: block;
  color: var(--primary-color);
  background: white;
  border: 1px solid var(--primary-color);
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  border-radius: 0.375rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.button-white:hover {
  background: var(--primary-color);
  color: white;
  text-decoration: none !important;
}

button .join-icon {
  background-color: #fff;
  color: #241d57;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 14px;
}

.premium-button {
  background: linear-gradient(135deg, #f9d976, #f6e27a, #f39f86);
  color: var(--primary-dark-color);
  position: relative;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(249, 216, 118, 0.4);
  text-decoration: none;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  border-radius: 0.375rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
}

.premium-button::after {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 50%;
  height: 100%;
  background: rgba(255, 255, 255, 0.4);
  transform: skewX(-25deg);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% {
    left: -50%;
  }
  60% {
    left: 120%;
  }
  100% {
    left: 120%;
  }
}
.premium-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(249, 216, 118, 0.6);
}

.base-badge {
  background: var(--primary-lightest-color);
  color: var(--primary-color);
  padding: 0.25rem 0.5rem;
  border-radius: 5px;
  font-size: 0.8rem;
}

.badge-danger {
  background: #d4183d;
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 25px;
  font-size: 0.7rem;
  font-weight: 600;
}

.badge-danger-outline {
  color: #d4183d;
  background: #fde7ec;
  border: 1px solid #d4183d;
  padding: 0.01rem 0.5rem;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 600;
}

.badge-success {
  background: #12983f;
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 25px;
  font-size: 0.7rem;
  font-weight: 600;
}

.badge-success-outline {
  color: #12983f;
  background: #e3f6eb;
  border: 1px solid #12983f;
  padding: 0.01rem 0.5rem;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 600;
}

.badge-light {
  background: #eceef2;
  color: #000;
  padding: 0.25rem 0.5rem;
  border-radius: 25px;
  font-size: 0.7rem;
  font-weight: 600;
}

.badge-red {
  background: rgb(255, 207, 207);
  color: rgba(143, 0, 0, 0.822);
  padding: 0.25rem 0.5rem;
  border-radius: 25px;
  font-size: 0.7rem;
  font-weight: 600;
}

.points-badge {
  background-color: #5c5bc0;
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
}

.paid-badge {
  position: absolute;
  top: 15px;
  left: -35px;
  width: 120px;
  text-align: center;
  transform: rotate(-45deg);
  letter-spacing: 1px;
}

.wishlist-btn {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: black;
  transition: all 0.3s ease;
  z-index: 2;
}
.wishlist-btn:hover {
  transform: scale(1.1);
}

/* Hover state - fill the heart with accent color */
.wishlist-btn:hover .far.fa-heart {
  font-weight: 900;
  color: red;
}

.icon-circle {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid #ccc;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
}
.icon-circle:hover {
  background-color: var(--primary-color);
  color: #fff;
}

.icon-box {
  font-size: 36px;
  background: var(--primary-lightest-color);
  color: var(--primary-color);
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.progress {
  height: 8px;
}

.custom-progress {
  width: 100%;
  height: 8px;
  background-color: #f1f1f1;
  border-radius: 50px;
  overflow: hidden;
}

.progress-percent {
  font-weight: 600;
  font-size: 14px;
  color: #2c3e50;
  white-space: nowrap;
}

.progress-bar {
  background-color: var(--primary-color);
}

.stat-card {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  height: 100%;
}
.stat-card:hover {
  transform: translateY(-5px);
}

.metrics-section {
  background-color: var(--primary-lightest-color);
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.metrics-card {
  background: linear-gradient(180deg, var(--primary-color) 50%, var(--secondary-color) 100%);
  color: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.metrics-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.carousel-wrapper {
  overflow: hidden;
  position: relative;
}
.carousel-wrapper .carousel-track {
  display: flex;
  gap: 1rem;
  transition: transform 0.3s ease;
}

.course-card {
  flex: 0 0 auto;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  background: #fff;
}
.course-card .card-image {
  width: 100%;
  height: auto;
}
.course-card .card-image img {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  width: 100%;
  height: 100%;
}
.course-card .card-body {
  padding: 1rem;
}

.card-icon i {
  color: var(--primary-color);
  margin-right: 5px;
}
.card-icon span {
  font-size: 0.9rem;
  color: #8a8989;
}

.carousel-wrapper {
  overflow: hidden;
  padding-bottom: 10px;
}
.carousel-wrapper .carousel-track {
  display: flex;
  gap: 1rem;
  transition: transform 0.4s ease;
}

.createAcc-img {
  background-image: linear-gradient(rgba(var(--primary-color-rgb), 0.2), rgba(var(--primary-color-rgb), 0.5)), url("../assets/auth_assets/createAcc-img.svg");
}

.unit-card {
  border-bottom: 1px solid var(--border-color);
}
.unit-card .unit-content {
  display: none;
  list-style: none;
  padding: 0;
  margin: 0;
}
.unit-card .unit-content.show {
  display: block;
}
.unit-card .unit-content .content-item {
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: background-color 0.2s;
}
.unit-card .unit-content .content-item:hover {
  background-color: rgba(0, 0, 0, 0.03);
}
.unit-card .unit-content .content-item.active {
  background-color: var(--primary-lightest-color);
  border-left: 3px solid var(--primary-color);
  color: var(--primary-color);
  padding: 0 0 0 1rem;
}

.sort-container {
  display: inline-flex;
  align-items: baseline;
  background-color: #fff;
  padding: 5px 12px;
  font-size: 14px;
}

.sort-container select {
  border: none;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 0.5rem center;
  background-size: 12px 8px;
  padding-right: 1.5rem;
  font-size: 14px;
  color: #555;
  appearance: none; /* hide default arrow */
  -webkit-appearance: none;
  -moz-appearance: none;
  box-shadow: none;
  cursor: pointer;
}

.sort-container select:focus {
  outline: none;
  box-shadow: none;
}

.custom-select option {
  color: #333;
  background-color: #fff;
  padding: 10px;
}

.custom-select option:hover {
  background-color: var(--primary-color);
}

.quiz-container {
  background: #fff;
  border-radius: 10px;
}

.option-btn {
  background: #f8fafc;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 20px;
  font-weight: 500;
  text-align: left;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.option-btn:hover {
  background: #e0e7ff;
  border-color: var(--primary-color);
}

.option-btn.active {
  background: var(--primary-color);
  color: #fff;
}

.option-text {
  flex: 1;
}

.video-container {
  background-color: #000;
}

.video-wrap {
  height: 500px;
  margin: 0 auto;
  overflow: hidden;
}

.video-wrap video {
  width: 100%;
  height: 100%;
}

.accordion-button:not(.collapsed) {
  color: var(--primary-color) !important;
  background-color: var(--primary-lightest-color) !important;
  box-shadow: 0 0 0 0.15rem var(--primary-dark-color, rgba(0, 0, 0, 0.15)) !important;
}

.accordion-button:focus {
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 0.15rem var(--primary-dark-color, rgba(0, 0, 0, 0.15)) !important;
}

.accordion-button:not(.collapsed)::after {
  background-image: url("../assets/accordion-arrow.svg") !important;
  transform: rotate(180deg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: none;
}

.accordion-custom .accordion-item {
  background: #fff;
  border: none;
  margin-bottom: 1rem;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.3s ease;
}

.accordion-custom .accordion-item:hover {
  transform: translateY(-3px);
}

.accordion-custom .accordion-button {
  background: #fff;
  color: #000;
  font-weight: 600;
  font-size: 1.05rem;
  border: none;
  box-shadow: none;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.accordion-custom .accordion-button:not(.collapsed) {
  background: var(--primary-color);
  color: #fff;
  box-shadow: none !important;
}

.accordion-custom .accordion-button::after {
  background-image: none;
  font-family: "Font Awesome 6 Free";
  content: "\f078";
  font-weight: 900;
  transition: transform 0.3s ease;
}

.accordion-custom .accordion-button:not(.collapsed)::after {
  transform: rotate(180deg);
}

.accordion-custom .accordion-body {
  background-color: #fff;
  color: #555;
  line-height: 1.7;
  font-size: 0.95rem;
  padding: 1.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.tabs-container {
  overflow: hidden;
}

.tabs-header {
  display: flex;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid #d1d7dc;
  border-radius: 8px;
}

.tab {
  padding: 15px 20px;
  cursor: pointer;
  font-weight: 600;
  color: var(--secondary-color);
  transition: all 0.2s;
}

.tab.active {
  color: var(--primary-color);
  border-bottom: 3px solid var(--primary-color);
  background: var(--primary-lightest-color);
}

.tab:hover:not(.active) {
  color: var(--primary-color);
}

.tab-pane {
  display: none;
}

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

.tab-box {
  padding: 25px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  background: white;
}
.tab-box h4 {
  color: var(--primary-dark-color);
}

/* Modules list styling */
.module-list {
  list-style: none;
  padding: 0;
}
.module-list .module-item {
  padding: 15px 0;
  border-bottom: 1px solid #d1d7dc;
  display: flex;
  align-items: center;
}
.module-list .module-item:last-child {
  border-bottom: none;
}
.module-list .module-item .module-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f7f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  color: #6a6f73;
}
.module-list .module-item .module-content {
  flex: 1;
}
.module-list .module-item .module-content .module-title {
  font-weight: 600;
  margin-bottom: 5px;
}
.module-list .module-item .module-content .module-meta {
  font-size: 14px;
  color: #6a6f73;
}
.module-list .module-item .module-status {
  font-size: 14px;
  font-weight: 600;
}
.module-list .module-item .module-status.completed {
  color: #1e6055;
}
.module-list .module-item .module-status.in-progress {
  color: #a435f0;
}

.tabbed.active {
  border-bottom: none !important;
  background: #fff;
}

.tabbed-header {
  border-radius: 20px !important;
  flex-direction: row !important;
}

.table thead th {
  font-weight: 600;
  font-size: 15px;
  background-color: #f9fafb;
  padding: 14px 16px;
}

.table tbody td {
  padding: 14px 16px;
  font-size: 14.5px;
}
.table tbody td:hover {
  background: #ccc;
}

.table tr:not(:last-child) {
  border-bottom: 1px solid #eee;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-responsive table {
  min-width: 600px;
  border-collapse: collapse;
}

/* Modal overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.75);
  z-index: 350;
  opacity: 0;
  transition: opacity 0.3s ease-out;
  pointer-events: none;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* Modal container */
.modal-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 351;
  overflow-y: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-out;
}

.modal-container.active {
  opacity: 1;
  pointer-events: all;
}

.modal-head {
  background-image: url("../assets/page-assets/modal-bg.svg"), linear-gradient(180deg, var(--primary-dark-color) 0%, var(--primary-color) 100%);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: bottom;
}

.closeModal {
  position: absolute;
  top: 15px;
  right: 20px;
  color: #fff;
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease;
}

.quiz-question {
  display: none;
}

.quiz-question.active {
  display: block;
}

.notification-wrapper {
  position: relative;
}

.notification-dropdown {
  position: absolute;
  top: 120%;
  right: -100px;
  background: #fff;
  border-radius: 8px;
  width: 300px;
  padding: 1rem;
  display: none;
  z-index: 100;
  transition: all 0.3s ease;
}

.notification-item {
  padding: 0.5rem 0;
  border-bottom: 1px solid #f1f1f1;
}

.notification-item:last-child {
  border-bottom: none;
}

/* Show dropdown on hover */
.notification-wrapper:hover .notification-dropdown {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

/* Small fade animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.notification-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  color: #dc2626;
  font-size: 50px;
  font-weight: 600;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notification-mark:hover {
  text-decoration: underline;
  color: var(--primary-color);
}

.notification__item {
  padding: 16px 20px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  transition: background-color 0.2s;
}

.notification__item:hover {
  background-color: var(--primary-lightest-color);
  cursor: pointer;
}

/* Custom Dropdown Styles */
.custom-dropdown {
  cursor: pointer;
}

.dropdown-toggle {
  background: white;
  cursor: pointer;
}

.dropdown-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1000;
  display: none;
  margin-top: 2px;
}

.dropdown-options.show {
  display: block;
}

.dropdown-option {
  padding: 8px 12px;
  cursor: pointer;
  border-bottom: 1px solid #f8f9fa;
  transition: background-color 0.2s;
}

.dropdown-option:hover {
  background-color: #f8f9fa;
}

.dropdown-option.selected {
  background-color: #007bff;
  color: white;
}

.options-container {
  max-height: 200px;
  overflow-y: auto;
}

/* Search box styling */
.dropdown-search input {
  border: 1px solid #dee2e6;
}

/* Scrollbar styling */
.options-container::-webkit-scrollbar {
  width: 6px;
}

.options-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.options-container::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

.options-container::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* Chart.js */
.chart-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 300px !important;
}

canvas {
  width: 100% !important;
  height: 100% !important;
}

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--primary-color);
  color: white !important;
  z-index: 100;
}

footer a:hover {
  color: #ececec !important;
}

@media (min-width: 1536px) {
  .col-3xl-3 {
    width: 25%;
  }
  .col-3xl-6 {
    width: 50%;
  }
  .sidebar {
    width: 256px; /* ✅ Default fixed width */
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    overflow-y: auto;
    z-index: 200;
  }
  .main-content {
    margin-left: 256px;
    width: calc(100% - 256px); /* ✅ Perfect width calc */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }
  footer {
    margin-left: 256px;
    width: calc(100% - 256px);
  }
}
@media (min-width: 993px) and (max-width: 1535px) {
  .sidebar {
    width: 256px; /* Keep it consistent for simplicity */
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    overflow-y: auto;
  }
  .main-content {
    margin-left: 256px;
    width: calc(100% - 256px);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }
  footer {
    margin-left: 256px;
    width: calc(100% - 256px);
  }
}
@media (min-width: 1400px) {
  .chart-container {
    height: 320px;
    max-width: 90%; /* keeps charts narrower on very wide screens */
    margin: 0 auto;
  }
}
@media screen and (max-width: 1140px) {
  footer .container-fluid {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  footer .container-fluid > div {
    margin: 5px 0;
  }
  footer .container-fluid div:nth-child(1) {
    order: 2;
  }
  footer .container-fluid div:nth-child(2) {
    order: 1;
  }
  .main-content {
    padding-bottom: 50px;
  }
}
@media (min-width: 993px) {
  .menu-toggle,
  .overlay {
    display: none;
  }
  .rounded-md-2 {
    border-radius: 0.25rem !important;
  }
}
@media (max-width: 992px) {
  header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 0.75rem 1rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    z-index: 300;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .sidebar {
    width: 256px; /* same fixed width for mobile slide-in */
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 400;
  }
  .sidebar.active {
    transform: translateX(0);
  }
  .menu-close {
    display: block !important;
  }
  .menu-toggle {
    display: block;
    z-index: 200;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    padding: 10px 15px;
  }
  .main-content {
    margin-left: 0px;
    width: 100%;
    padding-top: 70px;
    min-height: calc(100vh - 120px);
  }
  .overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 350;
  }
  .overlay.active {
    display: block;
  }
  .rounded-md-0 {
    border-radius: 0 !important;
  }
}
@media screen and (max-width: 768px) {
  body {
    padding-bottom: 70px;
  }
  .form-box .form-row {
    display: block;
  }
  .login-box {
    margin: 0 auto;
  }
  .speed,
  .time {
    font-size: 0.8rem;
  }
  .video-wrap {
    height: 300px;
  }
  footer .container-fluid {
    font-size: 14px;
  }
  footer .container-fluid > div {
    gap: 5px !important;
  }
  footer a {
    margin: 5px !important;
  }
  .main-content {
    padding-bottom: 0px;
  }
}
@media screen and (max-width: 767px) {
  .auth-right {
    justify-content: unset;
    gap: 40px;
  }
  .auth-right .auth-logo {
    margin-right: auto;
  }
}
@media (max-width: 600px) {
  .notification__item {
    padding: 12px 15px;
  }
}
/* For mobile screens */
@media screen and (max-width: 576px) {
  .auth-logo {
    width: 50%;
  }
  .tabs-header {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 10px;
  }
  .tab {
    width: 100%;
    border-bottom: 1px solid #e0e0e0;
    padding: 12px;
  }
  .tab.active {
    border-left: 4px solid var(--primary-color);
    border-bottom: 1px solid #e0e0e0;
  }
  .tabbed {
    border-bottom: none !important;
    border-radius: 10px !important;
    padding: 5px !important;
  }
  .tabbed.active {
    border-left: none !important;
  }
}
@media (max-width: 480px) {
  .control-btn {
    font-size: 1rem;
  }
  .speed,
  .time {
    font-size: 0.75rem;
  }
  .controls {
    gap: 5px;
    padding: 5px;
  }
  .left-controls,
  .right-controls {
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
  }
  footer .container-fluid div:nth-child(2) {
    display: block;
  }
  footer .container-fluid {
    align-items: baseline;
  }
  footer a {
    display: flex;
  }
  .main-content {
    padding-bottom: 70px;
  }
}/*# sourceMappingURL=main.css.map */