/*
* demo.css
* File include item demo only specific css only
******************************************************************************/

.menu .app-brand.demo {
  height: 64px;
  margin-block: 20px;
}

.app-brand-logo.demo svg {
  width: 22px;
  height: 38px;
}

.app-brand-text.demo {
  font-size: 1.75rem;
  letter-spacing: -0.5px;
  text-transform: lowercase;
}

/* ! For .layout-navbar-fixed added fix padding top tpo .layout-page */
/* Detached navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
  padding-top: 76px !important;
}

/* Default navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 64px !important;
}

/* Navbar page z-index issue solution */
.content-wrapper .navbar {
  z-index: auto;
}

/*
* Content
******************************************************************************/

.demo-blocks>* {
  display: block !important;
}

.demo-inline-spacing>* {
  margin: 1rem 0.375rem 0 0 !important;
}

/* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */
.demo-vertical-spacing>* {
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
}

.demo-vertical-spacing.demo-only-element> :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-lg>* {
  margin-top: 1.875rem !important;
  margin-bottom: 0 !important;
}

.demo-vertical-spacing-lg.demo-only-element> :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-xl>* {
  margin-top: 5rem !important;
  margin-bottom: 0 !important;
}

.demo-vertical-spacing-xl.demo-only-element> :first-child {
  margin-top: 0 !important;
}

.rtl-only {
  display: none !important;
  text-align: left !important;
  direction: ltr !important;
}

[dir='rtl'] .rtl-only {
  display: block !important;
}

/*
* Layout demo
******************************************************************************/

.layout-demo-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-top: 1rem;
}

.layout-demo-placeholder img {
  width: 900px;
}

.layout-demo-info {
  text-align: center;
  margin-top: 1rem;
}

#myTab div.active .card.btn-active-light-success {
  color: #50cd89;
  border-color: #e8fff3;
  background-color: #e8fff3 !important
}

#myTab div.active .card.btn-active-light-info {
  color: #03c3ec;
  border-color: #def9ff;
  background-color: #def9ff !important
}

#myTab div.active .card.btn-active-light-danger {
  color: #f1416c;
  border-color: #fff5f8;
  background-color: #fff5f8 !important
}

.bg-light-danger {
  background-color: #FFF7F5;
  min-height: 72px !important;
}

.btn-light-danger {
  color: #f1416c;
  background-color: #FFF7F5;
}

.btn-light-danger:hover {
  background-color: #00afaf;
  color: #fff;
}

.btn.btn-outline-dashed {
  border: 1px dashed #dbdfe9;
}

.btn-check:active+.btn.btn-outline.btn-outline-dashed,
.btn-check:checked+.btn.btn-outline.btn-outline-dashed,
.btn.btn-outline.btn-outline-dashed.active,
.btn.btn-outline.btn-outline-dashed.show,
.btn.btn-outline.btn-outline-dashed:active:not(.btn-active),
.btn.btn-outline.btn-outline-dashed:focus:not(.btn-active),
.btn.btn-outline.btn-outline-dashed:hover:not(.btn-active),
.show>.btn.btn-outline.btn-outline-dashed {
  border-color: #00afaf;
}

.flex-stack {
  justify-content: space-between;
  align-items: center;
}

.form-check.form-check-solid .form-check-input:not(:checked) {
  background-color: #dbdfe9;
}

.form-check-input[type=radio] {
  padding: 0;
}

.course-list figure {
  position: relative;
  margin: 0;
  min-height: 250px;
  overflow: hidden;
}


.course-list figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.course-list figure>i {
  position: absolute;
  inset: 0;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 90px;
  color: #fff;
  z-index: 999;
}

.course-list figure:after {
  content: '';
  background: rgb(0 0 0 / 28%);
  position: absolute;
  inset: 0;
}

.course-play-list .nav-item .nav-link {
  padding-block: 1rem !important;
  border: 1px solid #eee;
  background-color: transparent !important;
  width: 100%;
}

.course-play-list .nav-item .nav-link:hover,
.course-play-list .nav-item .nav-link.active {
  background-color: var(--bs-primary) !important;
  color: #fff;
}

.ml-5 {
  margin-left: 5px !important;
}

.active>.card.user-card-dahboard {
  background: #fff8e6;
  border: 2px solid #e0eff1;
  border-top-right-radius: 30px;
  border-bottom-left-radius: 30px;
}

.card-earning {
  border-top-right-radius: 20px;
  border-bottom-left-radius: 20px;
  border: 2px solid #f1dbd4;
}

section.leader-board {
  border: 2px solid #ffe9dc;
  border-radius: 10px;
  padding: 2rem .5rem;
  position: relative;
}

section.leader-board h2>span {
  position: absolute;
  background: #fff;
  top: -9px;
  padding-inline: 14px;
  text-transform: uppercase;
  color: #bb6d2e;
  inset-inline: 0;
  width: 190px;
  margin: auto;
}

section.leader-board h2 {
  display: block;
  text-align: center;
  width: 100%;
  font-size: 18px;
}

.leader-board-table table {
  table-layout: fixed;
}

.leader-board-table table>thead tr th {
  color: #fff !important;
  text-align: center;
  text-transform: capitalize !important;
  letter-spacing: normal !important;
}

@media (max-width: 400px) {
  .leader-board-table table>thead tr th {
    font-size: 12px;

  }
}

.leader-board-table table>thead tr th:first-child {
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  border: 1px solid transparent;
}

.leader-board-table table>thead tr th:last-child {
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  border: 1px solid transparent;
}

.leader-board-table table>tbody tr th:first-child {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 25px;
  border: 1px solid #b9d5d3 !important;
}

.leader-board-table table>tbody tr th:last-child {
  border-top-right-radius: 10px;
  border-bottom-right-radius: 25px;
  border: 1px solid #b9d5d3 !important;
}


.leader-board-table thead,
.leader-board-table tfoot,
.leader-board-table thead tr,
.leader-board-table thead td,
.leader-board-table thead th {
  border-color: transparent !important;
}

.leader-board-table tbody,
.leader-board-table tbody tr,
.leader-board-table tbody td {
  padding: 0;
  border: 0 !important;
}

.leader-board-table tbody td>div {
  border-block: 1px solid #b9d5d3 !important;
  background: #e9feff;
  min-height: 52px;
  padding: .3rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-weight: 600;
}

@media (max-width: 400px) {

  .leader-board-table tbody th,
  .leader-board-table tbody td>div {
    font-size: 12px;
  }
}

.leader-board-table tbody td:first-child>div {
  border-left: 1px solid #b9d5d3 !important;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 20px;
  margin-block: 1rem;
}

.leader-board-table tbody td:last-child>div {
  border-right: 1px solid #b9d5d3 !important;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 8px;
}

@media screen and (max-width: 768px) {
  .mt-top-5 {
    margin-top: 5rem !important;
    /* Adjust margin-top as needed */
  }
}
.bg-soft-dark {
  background-color: rgba(19, 33, 68, .1) !important;
}

.avatar-circle {
  border-radius: 100px;
  overflow: hidden;
}

.avatar-circle img {
  object-fit: cover;
}

.icon-soft-info {
  border-radius: 100px;
  color: #09a5be;
  background: rgba(9, 165, 190, .1);
  display: inline-flex;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-align: center;
  align-items: center;
  font-size: .875rem;
  width: 2.625rem;
  height: 2.625rem;
}