/********** Template CSS **********/
:root {
  --primary: #ed690b;
  --light: #f3f6f9;
  --dark: #191c24;
}
.text-primary {
    color: #ed690b !important;
}
a {
    color: #ed690b;
    text-decoration: none;
}
.btn-primary {
    color: #000;
    background-color: #ed690b;
    border-color: #ed690b;
}
.btn-primary:hover {
    color: #000;
    background-color: #13a102;
    border-color: #22f10a;
}
.back-to-top {
  position: fixed;
  display: none;
  right: 45px;
  bottom: 45px;
  z-index: 99;
}

/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity 0.5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

/*** Button ***/
.btn {
  transition: 0.5s;
}

.btn.btn-primary {
  color: #ffffff;
}

.btn-square {
  width: 38px;
  height: 38px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
  border-radius: 50px;
}

/*** Layout ***/
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 270px;
  height: 100vh;
  overflow-y: auto;
  background: var(--light);
  transition: 0.5s;
  z-index: 999;
}

.content {
  margin-left: 250px;
  min-height: 100vh;
  background: #ffffff;
  transition: 0.5s;
}

@media (min-width: 992px) {
  .sidebar {
    margin-left: 0;
  }

  .sidebar.open {
    margin-left: -250px;
  }

  .content {
    width: calc(100% - 250px);
  }

  .content.open {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 991.98px) {
  .sidebar {
    margin-left: -250px;
  }

  .sidebar.open {
    margin-left: 0;
  }

  .content {
    width: 100%;
    margin-left: 0;
  }
}

/*** Navbar ***/
.sidebar .navbar .navbar-nav .nav-link {
  padding: 7px 20px;
  color: var(--dark);
  font-weight: 500;
  border-left: 3px solid var(--light);
  border-radius: 0 30px 30px 0;
  outline: none;
}

.sidebar .navbar .navbar-nav .nav-link:hover,
.sidebar .navbar .navbar-nav .nav-link.active {
  color: var(--primary);
  background: #ffffff;
  border-color: var(--primary);
}

.sidebar .navbar .navbar-nav .nav-link i {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 40px;
}

.sidebar .navbar .navbar-nav .nav-link:hover i,
.sidebar .navbar .navbar-nav .nav-link.active i {
  background: var(--light);
}

.sidebar .navbar .dropdown-toggle::after {
  position: absolute;
  top: 15px;
  right: 15px;
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  transition: 0.5s;
}

.sidebar .navbar .dropdown-toggle[aria-expanded="true"]::after {
  transform: rotate(-180deg);
}

.sidebar .navbar .dropdown-item {
  padding-left: 25px;
  border-radius: 0 30px 30px 0;
}

.content .navbar .navbar-nav .nav-link {
  margin-left: 25px;
  padding: 12px 0;
  color: var(--dark);
  outline: none;
}

.content .navbar .navbar-nav .nav-link:hover,
.content .navbar .navbar-nav .nav-link.active {
  color: var(--primary);
}

.content .navbar .sidebar-toggler,
.content .navbar .navbar-nav .nav-link i {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 40px;
}

.content .navbar .dropdown-toggle::after {
  margin-left: 6px;
  vertical-align: middle;
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  transition: 0.5s;
}

.content .navbar .dropdown-toggle[aria-expanded="true"]::after {
  transform: rotate(-180deg);
}

@media (max-width: 575.98px) {
  .content .navbar .navbar-nav .nav-link {
    margin-left: 15px;
  }
}

/*** Date Picker ***/
.bootstrap-datetimepicker-widget.bottom {
  top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
  border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
  font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
  padding: 10px;
  border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
  background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
  border-bottom-color: var(--primary);
}

/*** Testimonial ***/
.progress .progress-bar {
  width: 0px;
  transition: 2s;
}

/*** Testimonial ***/
.testimonial-carousel .owl-dots {
  margin-top: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.testimonial-carousel .owl-dot {
  position: relative;
  display: inline-block;
  margin: 0 5px;
  width: 15px;
  height: 15px;
  border: 5px solid var(--primary);
  border-radius: 15px;
  transition: 0.5s;
}

.testimonial-carousel .owl-dot.active {
  background: var(--dark);
  border-color: var(--primary);
}
.main-content-body {
  min-height: calc(100vh - 130px);
}
.bg-overlay {
  position: absolute;
  background: rgb(0 0 0 / 60%);
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: end;
  padding: 1rem;
  color: #fff;
  font-size: 2rem;
}

/* new css  */

.profile-wrapper {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  flex-direction: column;
}

.profile-image-container {
  position: relative;
  width: 200px;
  height: 200px;
}

.profile-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #dee2e6;
}

.camera-icon {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background-color: #fff;
  border-radius: 50%;
  padding: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.avatar-grid img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #dee2e6;
  cursor: pointer;
  transition: transform 0.2s;
}

.avatar-grid img:hover {
  transform: scale(1.1);
}

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

/* rank  */
.rank-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #f8f9fa;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  margin-bottom: 1rem;
}

.rank-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.rank-number {
  font-size: 1.5rem;
  font-weight: bold;
  color: #0d6efd;
  width: 40px;
}

.profile-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #dee2e6;
}

.rank-details h5 {
  margin: 0;
}

.rank-details small {
  display: block;
  color: #6c757d;
}

.rank-right {
  font-size: 2rem;
  color: #ffc107;
}

/* settings  */
.config-btn {
  border-radius: 20px;
  padding: 6px 20px;
  font-weight: 500;
}

.active-btn {
  background-color: #ff7f50;
  color: white;
}

.color-box {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  cursor: pointer;
}

.config-label {
  font-weight: 500;
}

.section-title {
  font-weight: 600;
  font-size: 1.2rem;
}

.rounded-switch {
  transform: scale(1.2);
}

.config-timer {
  font-size: 0.9rem;
  color: gray;
}
span.same-width {
  width: 30px;
}
span.same-width:first-child {
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

span.same-width:last-child {
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}

/* game test  */
.header-icons {
  font-size: 1rem;
  color: #5a5a5a;
}

.question-box {
  border: 3px solid #6c6;
  border-radius: 8px;
  padding: 1rem;
  margin: 2rem auto;
  background: #fff;
  max-width: 360px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.question-text {
  font-size: 1.5rem;
  font-weight: 500;
}

.answer-input {
  margin-top: 1rem;
  width: 100px;
  text-align: center;
  font-size: 1.2rem;
  padding: 4px;
}

.numpad-button {
  width: 70px;
  height: 70px;
  font-size: 1.5rem;
  border-radius: 50%;
  background-color: #eee;
  color: #333;
  border: none;
}

.numpad-special {
  width: 70px;
  height: 70px;
  font-size: 1.5rem;
  border-radius: 50%;
  border: none;
  color: white;
}

.btn-red {
  background-color: red;
}

.btn-green {
  background-color: green;
}

/* game result  */

.result-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  padding: 12px 16px;
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.result-label {
  font-weight: 500;
}

.result-value {
  font-size: 1rem;
  padding: 4px 10px;
  border-radius: 12px;
  font-weight: 600;
}

.btn-gradient {
  width: 100%;
  color: #fff;
  font-weight: 500;
  border-radius: 20px;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  border: none;
}

.btn-feedback {
  background: linear-gradient(to bottom, #2196f3, #1e88e5);
}

.btn-play {
  background: linear-gradient(to bottom, #ffeb3b, #fbc02d);
  color: #000;
}

.btn-explanation {
  background: linear-gradient(to bottom, #ff9800, #ef6c00);
}

.btn-review {
  background: linear-gradient(to bottom, #4caf50, #388e3c);
}

.trophy {
  font-size: 3rem;
}

.icon-right {
  font-size: 1.2rem;
  opacity: 0.7;
}
.verification-box {
  width: 60px;
  height: 60px;
}

/* stage  */
/* body {
      background: linear-gradient(to top, #0a9605, #a3d45d);
      padding: 2rem 0;
    } */

.path-container {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: auto;
}

.path-line {
  position: absolute;
  width: 10px;
  background: #b0a030;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
  z-index: 1;
  border-radius: 5px;
  animation: pathWave 8s infinite ease-in-out alternate;
}

@keyframes pathWave {
  0% {
    transform: translateX(-50%) rotate(0deg);
  }
  100% {
    transform: translateX(-50%) rotate(1deg);
  }
}

.level {
  position: relative;
  z-index: 2;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: #666;
  color: #fff;
  font-weight: bold;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  margin: 40px auto;
}

.level.locked {
  background-color: #888;
}

.level.unlocked {
  background-color: #ff6a00;
  border: 4px solid #fff;
}

.level img.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.level-num {
  position: absolute;
  top: 7px;
  right: -34px;
  background: #fff;
  color: #000;
  font-size: 0.8rem;
  border-radius: 5px;
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ccc;
}

.level .icon {
  font-size: 1.4rem;
}

/* notification  */

.nav-tabs .nav-link {
  color: #888;
  border: none;
}

.nav-tabs .nav-link.active {
  color: orange;
  font-weight: 600;
  border-bottom: 3px solid orange;
}

.notification-item:not(:last-child) {
  padding: 1rem;
  border-bottom: 1px solid #333;
}

.notification-item.highlight {
  background-color: #ffb67a;
  color: #000;
}

.notification-title {
  font-size: 1rem;
  font-weight: 600;
}

.notification-subtitle {
  font-size: 0.9rem;
  color: #000;
}

.notification-time {
  font-size: 0.8rem;
  color: #000;
}

.clear-btn {
  color: red;
  font-weight: 500;
  text-decoration: none;
}

.notification-list {
  max-height: 70vh;
  overflow-y: auto;
}

.footer-clear {
  padding: 1rem 0;
}

/* change pass  */
.password-toggle {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}
.form-group {
  position: relative;
}

/* franchise dashboard  */

.level-card {
  border: 1px solid #f4aa2d;
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.level-badge {
  color: #fff;
  font-weight: bold;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  text-align: center;
  min-width: 90px;
}

.orange {
  background-color: #f28024;
}
.gray {
  background-color: #6c757d;
}
.green {
  background-color: #3dbb3d;
}
.yellow {
  background-color: #f4aa2d;
  color: white;
}
.red {
  background-color: #e94435;
}
.purple {
  background-color: #a944dd;
}
.teal {
  background-color: #0dcaf0;
  color: white;
}
.blue {
  background-color: #0d6efd;
}
.darkblue {
  background-color: #0b3179;
}

.value-box {
  border-radius: 12px;
  padding: 1rem;
  color: #fff;
  font-weight: 600;
}

.title {
  font-size: 1rem;
}

.value {
  font-size: 1.5rem;
  font-weight: bold;
}

/* subscribed student  */
.subscribed-students {
  background-color: #f8f9fa;
}
.student-card {
  background-color: #f1f1f1;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.student-info {
  display: flex;
  align-items: center;
}
.student-img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 10px;
}
.eye-btn {
  background-color: #145c00;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.search-input {
  max-width: 100%;
  border-radius: 8px;
}
/* end  */
/* student details  */
.profile-img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid #ffc107;
  margin-bottom: 10px;
}
.info-box {
  background-color: #e9e9e9;
  padding: 8px 12px;
  border-radius: 6px;
  margin-bottom: 10px;
}
.info-box strong {
  font-weight: 600;
}

.avatar {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid #ffc107;
}
.edit-icon {
  position: absolute;
  top: 65%;
  right: 25%;
  background-color: white;
  border-radius: 50%;
  padding: 5px;
  border: 1px solid #ccc;
  cursor: pointer;
}
#fileInput {
  display: none;
}
ul#pills-tab li button {
  width: 100%;
}
ul#pills-tab li {
  flex-grow: 1;
}
.value-box:hover {
    color: #000000;
}
.level-badge:hover {
    color: #ededed;
    text-decoration: underline;
}
a.eye-btn:hover {
    color: #d7d7d7;
}
.video-box {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #13A102 !important;
}
.levelComponent a, .levelComponent button {
    min-width: 150px;
}
.video-box button i, .video-box i {
    color: #fff;
}