@charset "UTF-8";
.progressbar-card {
  margin-bottom: 30px;
}

.grab .progress-item-inner {
  cursor: grab;
}

.swiper, .progressbar-card {
  padding: 31px 24px 29px 38px;
  border-radius: 20px;
  background: #FFF;
  overflow: hidden;
  position: relative;
}

.progressbar-card .module-progress-inner {
  margin-bottom: 0;
}

.swiper::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 24px;
  height: 100%;
  background: white;
  z-index: 2;
}

.swiper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 38px;
  height: 100%;
  background: white;
  z-index: 2;
}

.progress-item-inner {
  padding-right: 10px;
}

.module-progress-inner {
  display: flex;
}

.loading-item {
  background: linear-gradient(90deg, #eff1f1 30%, #f7f8f8 50%, #eff1f1 70%);
  background-size: 400%;
  animation: loading 1.2s ease-in-out infinite;
  border-radius: 1em;
}

.progress-title {
  color: var(--page-background-accent, #7DB1FD);
  font-family: var(--font-family-1);
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  display: flex;
  align-items: center;
  margin-bottom: 7px;
}
.progress-title span {
  padding-right: 12px;
}

.progress-draws {
  display: flex;
  align-items: center;
}
.progress-draws svg {
  overflow: visible;
}

.too-big {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  position: relative;
}

.too-big::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  height: 50%;
  width: 100%;
  background: linear-gradient(90deg, transparent 60.24%, rgb(255, 255, 255) 82.18%);
}

.progress-draws svg:first-child {
  margin-right: 10px;
}

.progress-draws svg:last-child {
  width: 100%;
  background: var(--main-light, #D2E3F9);
  border-radius: 30px;
}

.completed .progress-draws svg:last-child {
  background: var(--page-background-accent, #7DB1FD);
}

.progress-index {
  font-size: 32px;
  font-weight: 700;
  margin-right: 8px;
  display: block;
  line-height: 140%;
}

.total-progress .line {
  width: calc(100% - (100% - 100px) / 4);
  background: var(--main-light, #D2E3F9);
  height: 5px;
}

.total-progress .line.completed {
  width: calc((100% - 100px) / 4);
  border-radius: 30px 0 0 30px;
  background: var(--page-background-accent, #7DB1FD);
}

.total-progress {
  display: none;
  width: 100%;
  align-items: center;
  grid-column: span 5;
}

.total-progress .circle {
  width: 28px;
  min-width: 28px;
  height: 28px;
  background: var(--main-light, #D2E3F9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-family-1);
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
  line-height: 140%;
}

.total-progress .circle.completed {
  background: var(--page-background-accent, #7DB1FD);
}

.with-author, .module-progress.editable {
  min-height: 100px;
}

.module-progress-inner .loading-item {
  min-height: 85px;
  width: 20%;
  margin: 0 10px;
}

.line-progress-wrapper {
  background: var(--main-light, #D2E3F9);
  height: 3px;
  width: 100%;
}

.line-progress {
  height: 100%;
  width: 0;
  background: var(--main-color);
}

.with-author::after {
  content: "Разработано @onthewaytothesun";
  font-size: 10px;
  right: 10px;
  bottom: 10px;
  color: black;
  opacity: 0.9;
}

@media (min-width: 991px) and (max-width: 1545px) {
  .loading-item:not(.b) {
    display: none;
  }
  .module-progress-inner .loading-item {
    width: 33%;
    margin: 0 10px;
  }
}
@media (max-width: 991px) {
  .progress-item-inner:not(.mobile-centered) {
    position: absolute;
    left: -9999px;
    max-height: 0px;
    overflow: hidden;
    opacity: 0;
  }
  .total-progress {
    display: flex;
    grid-column: span 1 !important;
  }
  .progress-draws {
    display: none;
  }
  .module-progress-inner {
    transform: none !important;
    flex-direction: column;
  }
  .module-progress-inner .loading-item:not(:first-child) {
    display: none;
  }
  .module-progress-inner .loading-item {
    min-height: 85px;
    width: 100%;
    margin: 0;
  }
}
@keyframes loading {
  0% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0 50%;
  }
}
.main-colored-line {
  stroke: var(--color-3);
}

.progressbar-admin-only {
  opacity: 0.7;
}

.progressbar-admin-only-badge {
  position: absolute;
  top: 8px;
  left: 44px;
  z-index: 3;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 10px;
  line-height: 1;
  padding: 3px 7px;
  border-radius: 4px;
  pointer-events: none;
  white-space: nowrap;
}

.progressbar-admin-wrap {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 10;
  display: flex;
  gap: 4px;
}

.progressbar-admin-btn,
.progressbar-help-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #e5e7eb;
  color: #9ca3af;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.15s, box-shadow 0.15s, background 0.15s;
}
.progressbar-admin-btn:hover,
.progressbar-help-btn:hover {
  color: #374151;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.pb-help-modal {
  padding: 24px;
  font-family: var(--font-family-1, sans-serif);
}

.pb-demo-container {
  background: #f8fafc;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.pb-demo-svg {
  flex-shrink: 0;
}

.pb-demo-circle {
  animation: pb-circle-fill 3s ease-in-out infinite;
}

@keyframes pb-circle-fill {
  0%, 100% {
    stroke-dasharray: 0 84.82;
  }
  50% {
    stroke-dasharray: 76.34 84.82;
  }
}
.pb-demo-bar-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pb-demo-label {
  font-size: 12px;
  color: #6b7280;
}

.pb-demo-track {
  height: 4px;
  background: var(--main-light, #D2E3F9);
  border-radius: 2px;
  overflow: hidden;
}

.pb-demo-fill {
  height: 100%;
  background: var(--main-color, #1D1D1D);
  border-radius: 2px;
  animation: pb-bar-fill 3s ease-in-out infinite;
}

@keyframes pb-bar-fill {
  0%, 100% {
    width: 0%;
  }
  50% {
    width: 90%;
  }
}
.pb-help-text {
  font-size: 14px;
  line-height: 1.6;
  color: #374151;
  margin-bottom: 16px;
}

.pb-help-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pb-help-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--page-background-accent, #7DB1FD);
  text-decoration: none;
}
.pb-help-link:hover {
  text-decoration: underline;
}
.pb-help-link svg {
  flex-shrink: 0;
}

.progress-item.completed circle {
  fill: var(--color-3);
}/*# sourceMappingURL=moduleProgressBar.css.map */