.ldss-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}
.ldss-modal-inner {
  /* background: #1a1a1a; */
  background-color: #fff;
  /* color: #fff; */
  color: #000;
  width: 700px;
  max-width: 95%;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  font-family: inherit;
  position: relative;
}
.ldss-modal-inner .ldss-modal-close {
  position: absolute;
  right: 2%;
  top: 2%;
  padding: 0px 5px;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}
.ldss-modal-header h2 {
  margin: 0 0 8px 0;
  font-size: 28px;
  /* color: #fff; */
  color: #000;
  /* padding: 20px; */
  text-align: center;
  margin-top: 25px;
  font-weight: 700;
}
/* .ldss-step {
  padding: 20px;
} */
.ldss-step .ldss-heading-container {
  max-width: 85%;
  margin: 0 auto;
  text-align: center;
  padding: 20px 0px;
}

.ldss-step .ldss-heading-container .ldss-course-length {
  padding: 0px 30px;
  margin-bottom: 0px;
}

.ldss-step h3 {
  /* color: #fff; */
  color: #000;
  font-size: 25px;
  font-weight: 700;
}
.ldss-course-title {
  font-size: 13px;
  color: #ccc;
  margin-bottom: 8px;
}
.ldss-steps-nav {
  display: flex;
  /* gap: 12px; */
  gap: 100px;
  /* margin-bottom: 12px; */
  justify-content: center;
  padding: 20px 0px;
  /* border-top: 1px solid #444; */
  border-bottom: 2px solid #e4e4e4;
  /* background-color: #0f0f10; */
  background-color: #fff;
}
.ldss-step-indicator {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 8px;
  color: #888;
}
.ldss-step-indicator.active {
  /* color: #fff; */
  color: #000;
}
.ldss-step-indicator.active .circle {
  color: #fff;
}
.ldss-step-indicator .circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  /* background: #222; */
  background-color: #e4e4e4;
  display: flex;
  align-items: center;
  justify-content: center;
  /* color: #fff; */
  color: #000;
}
.ldss-step-indicator.active .circle {
  background: #e63946;
}
.ldss-step-indicator {
  position: relative;
}

.ldss-step-indicator:not(:last-child)::after {
  content: "";
  position: absolute;
  height: 2px;
  /*width: 50%;
  */
  width: 110%;
  /*background: #444;
  */
  background-color: #e4e4e4;
  top: 25%;
  /*right: -100%;
  */
  right: -150%;
  /*left: 50%;
  */
  transform: translate(-150%, -25%);
  -webkit-transform: translate(-50%, 50%);
  -moz-transform: translate(-50%, 50%);
  -ms-transform: translate(-50%, 50%);
  -o-transform: translate(-50%, 50%);
}
/* .ldss-modal-content {
  margin-top: 8px;
} */
.ldss-summary-card {
  display: flex;
  justify-content: space-between;
  /* background: #0f0f10; */
  background-color: #fff;
  padding: 25px 0px;
  /* border-radius: 8px; */
  margin: 12px 0;
  position: relative;
  border-top: 2px solid #e4e4e4;
  border-bottom: 2px solid #e4e4e4;
  margin: 0px;
}
.ldss-summary-card::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 50%;
  /* background-color: #444; */
  background-color: #e4e4e4;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
}
.ldss-summary-card .left,
.ldss-summary-card .right {
  display: flex;
  gap: 15px;
}
.ldss-summary-card .label {
  font-weight: 500;
}
.ldss-summary-card .icon {
  font-size: 22px;
  margin-bottom: 6px;
}
.ldss-summary-card .icon {
  max-width: 48px;
  width: 100%;
  background: #e63946;
  text-align: center;
  border-radius: 50%;
  padding: 0px 12px;
}
.ldss-summary-card .icon svg {
  width: 24px;
  height: 100%;
}
.ldss-slider-wrap {
  margin: 12px 0;
}
input[type="range"] {
  width: 100%;
}
.ldss-note {
  margin: 20px 0;
  padding: 12px;
  border-radius: 6px;
}
.ldss-note-warning {
  background: transparent;
  /* border-left: 4px solid #e0b85a; */
  color: #000;
}
.ldss-note-info {
  background: transparent;
  /* border-left: 4px solid #2a6fda; */
  color: #000;
}
.ldss-days-grid {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin: 12px 0;
}
.ldss-day-toggle {
  /* background: #222; */
  background-color: #e4e4e4;
  border: none;
  /* color: #fff; */
  color: #000;
  padding: 12px 14px;
  border-radius: 8px;
  cursor: pointer;
}
.ldss-day-toggle.active , .ldss-preset:active,  .ldss-preset:focus{
  background: #e63946;
  color: #fff;
}
.ldss-preset:focus span {
  color: #ffff;
}
/* .ldss-presets {
  display: flex;
  gap: 8px;
  margin: 10px 0;
  flex-wrap: wrap;
} */
.ldss-presets {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 30px 0 0;
}
.ldss-preset {
  /* background: #222; */
  /* color: #fff; */
  background-color: #e4e4e4;
  color: #000;
  padding: 18px 22px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-align: left;
}
.ldss-presets button span {
  font-size: 12px;
  font-weight: 400;
  display: block;
  padding-top: 5px;
  /* color: #f4f4f4; */
  color: #000;
}
.ldss-presets button:hover span{
  color: #fff;
}
.ldss-weekly-schedule-compact {
  /* background: #0f0f10; */
  background-color: #fff;
  padding: 12px;
  border-radius: 8px;
  /* margin: 12px 0; */
}
.ldss-info-box {
  /* background: #0b0b0b; */
  background-color: #fff;
  padding: 20px 12px;
  border-radius: 8px;
  /* margin: 12px 0; */
  /* color: #ddd; */
  color: #000;
}
.ldss-actions {
  text-align: right;
  margin-top: 12px;
}
.ldss-btn-primary {
  background: #e63946;
  color: #fff;
  border: none;
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
}
.ldss-btn-primary:hover {
  filter: brightness(0.95);
}
.ldss-prev {
  background: transparent;
  /* color: #fff; */
  color: #000;
  border: 1px solid #333;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  margin-right: 8px;
}
.ldss-slider-container {
  max-width: 650px;
  margin: 0px auto;
  padding-top: 20px;
}

.ldss-slider-label {
  display: block;
  font-weight: 600;
  margin-bottom: 16px;
  /* color: #fff; */
  color: #000;
  font-size: 24px;
}

.ldss-slider-wrap {
  position: relative;
  padding: 0 14px;
}

.ldss-slider-wrap input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  /* background: #e5e7eb; */
  background-color: #000;
  border-radius: 4px;
  outline: none;
  margin-top: 40px;
  /* padding: 3px; */
}

.ldss-slider-wrap input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #000;
  cursor: pointer;
  transition: 0.2s ease;
}

.ldss-slider-steps {
  display: flex;
  justify-content: space-between;
  position: absolute;
  width: calc(100% - 28px);
  top: 0;
  height: 100%;
}

/* .ldss-step {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f3f4f6;
  color: #9ca3af;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  transition: 0.3s ease;
} */

.ldss-step.active {
  background: #000;
  color: #fff;
}

.ldss-step:not([data-step="1"]) .ldss-actions {
  display: flex;
  justify-content: space-between;
}

.ldss-slider-hints {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #6b7280;
  margin-top: 14px;
}

.ldss-info-box .ldss-info-heading h3 {
  /* color: #ffffff; */
  color: #000;
  font-size: 16px;
}

.ldss-info-box ol {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: li;
}

.ldss-info-box ol li {
  position: relative;
  padding-left: 45px;
}

.ldss-info-box ol li::before {
  counter-increment: li;
  content: counter(li);
  font-size: 14px;
  font-weight: 400;
  margin-right: 5px;
  background-color: #e63946;
  color: #fff;
  padding: 5px 10px;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  position: absolute;
  left: 0;
  top: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
}

.ldss-card-body .ldss-card-heading {
  /* font-family: Poppins, sans-serif; */
  /* color: rgb(255, 255, 255); */
  color: #000;
  font-size: 22px;
  line-height: 1.6em;
  font-weight: 600;
  text-align: left;
  position: relative;
  margin-bottom: 20px;
}

.ldss-card-body .ldss-card-title {
  color: #000;
}

.ldss-card-body .ldss-card-heading::after {
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 48px;
  height: 4px;
  content: "";
  background: #d31e03;
  border-radius: 4px;
}

.ldss-card-body .op3-link {
  /* color: #fff; */
  color: #000;
  height: 52px;
  font-family: Poppins, sans-serif;
  text-align: left;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  max-width: 225px;
  width: 100%;
  border: 1px solid #d31e03;
  padding-left: 20px;
  padding-right: 6px;
  border-radius: 100px;
  -webkit-border-radius: 100px;
  -moz-border-radius: 100px;
  -ms-border-radius: 100px;
  -o-border-radius: 100px;
  gap: 30px;
}

.ldss-card-body .op3-link span {
  background-color: #d31e03;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.ldss-card-body .op3-link:hover span {
  background-color: transparent;
  transition: all 0.4s ease-in-out;
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -ms-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
}

.ldss-card-body .op3-link:hover span {
  color: #d31e03;
}

.ldss-card-inprogress {
  display: block;
}

.ldss-card-inprogress .ldss-card-body {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ldss-card-empty {
  display: block;
}

.ldss-card-empty .ldss-card-body {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ldss-card-empty .ldss-card-actions button {
  max-width: fit-content;
}

/* schedule list css start here */

.schedule-card .ldss-summary-card::after {
  display: none;
}

.progress-header {
  text-align: right;
  font-size: 16px;
  /* color: #ffffff; */
  color: #000;
  margin-bottom: 4px;
}

.progress-bar-container {
  width: 100%;
  height: 8px;
  background: #ffffff;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.progress-bar {
  height: 100%;
  background: #d82717;
  width: 0%;
  transition: width 0.4s ease;
}

.schedule-card .ldss-summary-card .schedule-left,
.schedule-card .ldss-summary-card .schedule-right {
  gap: 20px;
  display: flex;
  flex-direction: column;
  /* color: #ffffff; */
  color: #000;
}

.schedule-right .progress-section .progress-bar-wrapper {
  display: flex;
  gap: 10px;
  align-items: center;
  /* color: #fff; */
  color: #000;
  font-size: 14px;
}

.ldss-course-structure .header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0px;
}

.tab-buttons {
  display: flex;
  gap: 10px;
  /* background: #0f0f10; */
  /* background-color: #e4e4e4; */
  padding: 10px 0;
  border-radius: 8px;
}

.tab-button {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #000;
  background: #000;
  color: #ffffff;
  font-weight: 500;
  border-radius: 6px;
  padding: 8px 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-button.active {
  background-color: #d82717;
  color: #ffffff;
  border-color: #d82717;
}

.tab-button svg {
  width: 16px;
  height: 16px;
}

.estimation {
  color: #6b7280;
  font-size: 14px;
}

.week-card,
.daily-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  border-left: 3px solid #e5e7eb;
}

.daily-card.in-progress {
  border-left: 3px solid #e0b85a;
}
.week-card.inprogress {
  border-left: 3px solid #e0b85a;
}

.week-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.week-header h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}

.week-header h3 svg {
  width: 18px;
  height: 18px;
  color: #4338ca;
}

.badge {
  background: #10b981;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.badge-icon {
  width: 14px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-icon svg {
  width: 100%;
  height: 100%;
}

.week-card.inprogress .badge {
  border: 1px solid #e0b85a;
  background-color: transparent;
  color: #e0b85a;
}

.week-card.inprogress .badge .badge-icon svg path {
  fill: #e0b85a;
}

.lesson {
  /* display: flex; */
  /* justify-content: space-between; */
  /* align-items: center; */
  border-top: 1px solid #f3f4f6;
  padding: 10px 0;
}

.lesson:first-of-type {
  border-top: none;
}

.lesson-info {
  display: flex;
  flex-direction: column;
}

.lesson-title {
  color: #1f2937;
  font-weight: 500;
  font-size: 15px;
}

.lesson-sub {
  font-size: 13px;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 10px;
}

.lesson-sub svg {
  width: 14px;
  height: 14px;
}

.lesson-sub svg path {
  fill: #6b7280;
}

.lesson-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6b7280;
  font-size: 13px;
}

.lesson-meta svg {
  width: 14px;
  height: 14px;
}

.lesson-meta svg path {
  fill: #6b7280;
}

.arrow {
  width: 16px;
  height: 16px;
  color: #9ca3af;
}

.week-card .lesson {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.daily-lessons .lesson-heading {
  display: flex;
  flex-direction: column;
}

.daily-lessons .lesson-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
}

.ldss-step .ldss-heading-container p {
  margin-bottom: 0px;
}

@media only screen and (min-width: 992px) and (max-width: 1140px) {
  .ldss-steps-nav {
    gap: 6.944vw;
    padding: 1.042vw 0;
  }

  .ldss-modal-header h2 {
    padding: 1.389vw;
  }

  .ldss-step .ldss-heading-container .ldss-course-length {
    padding: 0 2.083vw;
  }

  .ldss-summary-card {
    padding: 1.736vw 2.083vw;
  }
}

@media only screen and (max-width: 768px) {
  .ldss-modal {
    overflow-y: auto;
    align-items: flex-start;
    padding: 20px 0;
  }

  .ldss-card-empty .ldss-card-body {
    flex-direction: column;
    align-items: start;
  }

  .ldss-card-empty .ldss-card-actions button {
    margin-top: 20px;
    margin-left: 0px;
  }
}

@media only screen and (max-width: 767px) {
  .ldss-summary-card {
    flex-direction: column;
    gap: 15px;
  }

  .ldss-summary-card::after {
    display: none;
  }

  .ldss-days-gri {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .ldss-step-indicator {
    display: none;
  }

  .ldss-step-indicator.active {
    display: flex;
  }

  .ldss-step-indicator:not(:last-child)::after {
    display: none;
  }

  .ldss-presets {
    display: flex;
    flex-direction: column;
  }

  .ldss-card-inprogress .ldss-card-body {
    flex-direction: column;
    justify-content: start;
    align-items: start;
  }

  .ldss-card-inprogress .ldss-card-body .ldss-card-actions {
    margin-top: 20px;
    margin-left: 0px;
  }

  .ldss-course-structure .header {
    flex-wrap: wrap;
  }

  .progress-header {
    text-align: left;
  }

  .estimation {
    padding: 10px 0px;
  }

  .tab-button {
    width: 100%;
    justify-content: center;
  }
}
.ldss-weekly-schedule-compact,
.ldss-info-box {
  display: none;
}
.ldss-modal-inner > .ldss-actions {
  display: none;
}
.ldss-step[data-step="3"] .ldss-weekly-schedule-compact,
.ldss-step[data-step="3"] .ldss-info-box,
.ldss-step[data-step="3"] .ldss-modal-inner > .ldss-actions {
  display: block;
}

.daily-lessons {
  counter-reset: day;
}

.dashboard-study-card {
  margin: 0 10px !important;
}

/* .daily-lessons .lesson .lesson-info .lesson-heading .lesson-title::before {
  counter-increment: day;
  content: "Day " counter(day) " : ";
  font-weight: 700;
} */
