:root {
  --black: #2c3e50;
  --primary: #7d287e;
}

.cms-app h1,
.cms-app h2,
.cms-app h3 {
  font-family: "Corben", serif !important;
  font-weight: 400;
  font-style: normal;
}

.cms-app a {
  text-decoration: none;
  color: #a3a3a3;
}

.cms-app section {
  padding: 2rem;
}

/* .cms-app section,
.cms-app aside {
  height: 93vh;
  overflow-y: auto;
} */

.cms-app {
  display: grid;
  grid-template-columns: 350px auto;
  overflow: hidden;
  grid-gap: 2rem;
}

.cms-app aside {
  background: #ffffff !important;
  padding: 0;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  z-index: 100;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
}

.cms-app aside h1 {
  font-size: 1.2rem;
  font-weight: 900;
  padding: 1rem;
}

.cms-app .progress {
  padding: 0;
  background: #fff;
  margin: 2rem 1rem;
  overflow: hidden;
}

.cms-app .progress h3 {
  padding: 1rem;
  background: rgb(0, 0, 0);
  color: #ffffff;
}

.cms-app .chapter-section h3 {
  background: #bfbdbd;
  font-size: 0.8rem;
  color: #5c035d;
}

.cms-app .p-1 {
  padding: 1rem;
}

.cms-app .bar {
  background: #f4f4f4;
  height: 4px;
  width: 100%;
  position: relative;
  margin-top: 1rem;
  overflow: hidden;
}

.cms-app .bar .progress-bar {
  background: #7d287e;
  height: 100%;
  width: 45%;
  position: absolute;
  top: 0;
  left: 0;
  transition: 0.5s;
}

.cms-app .lesson {
  padding: 0.4rem 0;
}

.cms-app .btn {
  width: 100%;
  background: #d2d2d2;
  color: #000000;
  padding: 0.75rem;
  border: none;
  cursor: pointer;
  transition: 0.5s;
  display: block;
  margin-top: 1rem;
  text-align: center;
}

.cms-app .mb-2 {
  margin-bottom: 2rem;
}

.cms-app p,
.cms-app h1,
.cms-app h2,
.cms-app h3,
.cms-app h4,
.cms-app h5,
.cms-app h6,
.cms-app textarea {
  color: inherit;
  font-family: inherit;
}

.cms-app .banner {
  background: var(--black);
  color: #fff;
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 101;
}

.cms-app .banner h1 {
  font-size: 1rem;
  text-transform: uppercase;
}

.cms-app .sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
}

.cms-app .btn {
  border-radius: 0 !important;
  font-weight: 600 !important;
}

.cms-app .btn-primary {
  background: var(--primary) !important;
}

.cms-app form {
  max-width: 700px;
  padding: 1rem !important;
}

.cms-app .badge {
  font-size: 0.7rem !important;
  width: fit-content !important;
}

.cms-app .card {
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.cms-app .form-group {
  margin-bottom: 1rem;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  padding: 1rem;
  background: #fff;
}

.cms-app .my-modal {
  position: absolute;
  z-index: 1000;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  background: #fff;
  padding: 1rem;
  display: flex;
  flex-direction: column;
}

.cms-app .w-fit {
  width: fit-content !important;
}

.cms-app audio::-webkit-media-controls-enclosure {
  overflow: hidden;
}

.cms-app audio::-webkit-media-controls-panel {
  width: calc(100% + 30px); /* Adjust as needed */
}

.cms-app .chapter-view {
  margin-bottom: 2rem;
}

.cms-app .chapter-view p {
  margin: 0 !important;
  opacity: 0.7;
}

.cms-app .chapter-view .bi {
  font-size: 1rem !important;
  color: #ff7331 !important;
  margin-right: 0.75rem;
}

.cms-app .chapter-view .lesson-view {
  padding: 0.25rem 1rem;
  font-size: 0.7rem;
  font-weight: 500;
  background: #f4f4f4;
  display: block;
  width: 100%;
  border-bottom: 1px solid #d8d8d8;
  cursor: pointer;
}

.cms-app .chapter-view .chapter-title {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.25rem 1rem;
  text-transform: uppercase;
  font-weight: 800;
}

.cms-app .chapter-view .btn {
  margin-top: 0;
  font-size: 0.7rem;
  text-align: left;
  padding-left: 1rem;
  color: rgb(41, 211, 41);
}

.cms-app .form-check-input[type="radio"] {
  border-radius: 50% !important;
}
