* {
  font-family: DM Sans, sans-serif;
  font-weight: 500;
}

.tutor-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
}

.tutor-course-details-page {
  margin: 40px 80px 80px 80px;
  padding: 0;
  max-width: 1440px;
}

.tutor-col-xl-8 {
  width: 50% !important;
}

.tutor-col-xl-4 {
  width: 50% !important;
}

.tutor-sidebar-card .tutor-card-body {
  padding: 0px !important;
  border-radius: 0px !important;
  border: none !important;
  background: transparent !important;
}

.tutor-sidebar-card {
  border: none !important;
  box-shadow: none !important;
}

.tutor-card-footer {
  display: none !important;
}

.tutor-course-details-top {
  display: none !important;
}

.tutor-single-course-sidebar-more {
  margin: 0 !important;
}

.tutor-single-course-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ===== OnePixel – audio lektora w lekcji ===== */

.lesson-audio-wrapper {
  padding: 16px 32px;
  margin-top: 0px;
}

.lesson-audio-subtitle {
  margin: 2px 0 0;
  font-size: 12px;
  color: #6b7280;
}

.lesson-audio-player {
  width: 100%;
  margin-top: 4px;
}

.tutor-course-spotlight-tab {
  padding: 0 !important;
}

.tutor-course-attachments .tutor-mt-16 {
  width: 50% !important;
  padding: 16px !important;
  display: flex !important;
}

.tutor-course-spotlight-tab .tutor-tab-item .tutor-container {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
}

.tutor-course-spotlight-tab .tutor-tab-item .tutor-container .tutor-row {
  margin: 0 !important;
}

.tutor-course-spotlight-tab
  .tutor-tab-item
  .tutor-container
  .tutor-row
  > .tutor-col-xl-8 {
  width: 100% !important;
  display: flex;
  padding: 32px !important;
  max-width: 1440px;
}

.tutor-course-topic-single-body {
  overflow-y: auto;
  max-height: calc(100vh - 116.25px);
}

.tutor-video-player-wrapper,
.tutor-video-player,
.tutorPlayer,
.tutor-lesson-feature-image {
  max-height: calc(100vh - 216.25px);
  background: transparent !important;
}

.tutor-lesson-feature-image img {
  max-height: calc(100vh - 216.25px) !important;
}

.plyr:fullscreen video {
  max-height: 100vh !important;
}

.mejs-button button:focus,
.mejs-button button:hover {
  background-color: transparent !important;
  border: none !important;
}

.plyr__video-wrapper,
.plyr__poster,
.plyr--video {
  background: transparent !important;
}

.wp-video {
  margin: auto;
}

.plyr__controls {
  padding-left: 32px !important;
  padding-right: 32px !important;
}

.plyr__controls > .plyr__control,
.plyr__volume > .plyr__control,
.plyr__menu > .plyr__control,
.plyr__control--overlaid {
  height: 30px;
  width: 45px !important;
  padding: 9px 16.5px !important;
}

.plyr__control svg {
  height: 12px !important;
  width: 12px !important;
}

.plyr__control--overlaid svg {
  left: 0 !important;
}

.tutor-course-spotlight-nav {
  padding-top: 12px;
}

.plyr__control {
  background: #aaaaaa !important;
  border: none !important;
  outline: none !important;
}

.plyr__control:hover {
  background: #fec300 !important;
}

.tutor-single-course-conent-prevnext-wrap {
  display: flex;
  gap: 8px;
}

.tutor-course-topic-single-footer {
  justify-content: space-between !important;
}

#onepixel-fullscreen-btn {
  height: 31.25px;
  width: 31.25px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: white;
  color: #1a1b25;
  border: 1px solid #fec300;
  border-radius: 4px;
}

#onepixel-fullscreen-btn .tutor-ml-8 {
  margin-left: 0 !important;
  display: flex;
  justify-content: center;
  align-items: center;
}

#onepixel-fullscreen-btn:hover {
  background: #fec300;
  color: white;
}

.tutor-course-topic-single-footer {
  background: #f6f8fa !important;
  border: none !important;
}

@media (min-width: 1440px) {
  .tutor-course-topic-single-footer {
    padding-left: clamp(32px, calc((100% - 1440px) / 2), 9999px);
    padding-right: clamp(32px, calc((100% - 1440px) / 2), 9999px);
  }
}

.tutor-btn-secondary[disabled],
.tutor-btn[disabled],
.onepixel-next-disabled,
.vfes-next-disabled {
  border: none !important;
  background-color: #e9e9ea !important;
  pointer-events: none !important;
  color: #858689 !important;
}

.tutor-single-course-content-prev a,
.tutor-single-course-content-next a {
  background: white;
  color: #1a1b25;
  border: 1px solid #fec300;
  border-radius: 4px;
}

.tutor-single-course-content-prev a:hover,
.tutor-single-course-content-next a:hover {
  background: #fec300;
}

.tutor-course-single-sidebar-wrapper {
  background: #fff !important;
  overflow-y: auto;
  max-height: 100vh;
}

.tutor-course-single-sidebar-wrapper .tutor-course-topic-item.is-active a {
  background: #fec300 !important;
}

.tutor-course-single-sidebar-wrapper .tutor-course-topic-item.is-active span {
  color: #fff !important;
}

.tutor-accordion-item-header {
  background: #fff !important;
}

.tutor-accordion-item-header.is-active {
  background: #f6f8fa !important;
  color: #1a1b25 !important;
  border-top: 1px solid #e0e2ea;
}

.tutor-course-attachment .tutor-card-body .tutor-row,
.tutor-course-attachment .tutor-card-body .tutor-row .tutor-col {
  align-items: center;
  gap: 12px;
}

.tutor-course-attachment {
  width: 100%;
}

.tutor-course-attachments.tutor-row {
  width: 100%;
}

.tutor-col-xl-8 .tutor-fs-5.tutor-fw-medium.tutor-color-black {
  display: none !important;
}

.tutor-col-auto .tutor-iconic-btn-secondary {
  background: transparent;
  border: 1px solid #fec300;
}

.tutor-col-auto .tutor-iconic-btn-secondary:hover {
  background: #fec300;
  border: 1px solid #fec300;
}

.tutor-col-auto .tutor-iconic-btn-secondary span {
  color: #1a1b25;
}

.tutor-col-auto .tutor-iconic-btn-secondary:hover span {
  color: #fff;
}

.tutor-course-single-content-wrapper
  #tutor-single-entry-content
  .tutor-course-topic-single-header
  .tutor-iconic-btn-secondary {
  background: transparent;
}

/* OnePixel – timer w stopce lekcji */
.onepixel-lesson-timer {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Zablokowany przycisk "Dalej" */
.onepixel-next-disabled {
  pointer-events: none;
  cursor: not-allowed;
}

.tutor-accordion-item-body {
  padding: 0 !important;
}

/* 1. Ukrycie żółtego alertu (np. o quizach) */
.tutor-alert.tutor-warning {
  display: none !important;
}

/* --- Opcja Bezpieczna --- */

/* 1. Ukrycie żółtego alertu (to było bezpieczne, zostawiamy) */
.tutor-alert.tutor-warning {
  display: none !important;
}

/* 2. Ukrycie tekstu i ikony o dacie zapisu */
/* Celujemy bezpośrednio w unikalne klasy elementów w środku */
.tutor-enrolled-info-text,
.tutor-icon-purchase-mark {
  display: none !important;
}

/* 3. Ukrycie daty (jeśli jest w osobnym span) */
.tutor-enrolled-info-date {
  display: none !important;
}

.tutor-custom-onepixel-start-quiz-wrapper {
  max-width: 900px !important;
  padding: 24px !important;
}

.tutor-custom-onepixel-quiz-info-msg {
  display: flex;
  gap: 16px;
  padding: 16px;
  border-radius: 16px;
  background: #fec30029;
    margin-bottom: 24px;
}

.tutor-custom-svg-wrapper {
  display: flex;
  width: 24px;
}

.tutor-custom-onepixel-quiz-info-message-text {
  display: flex;
  flex-direction: column;
  gap: 8px;

}

.tutor-custom-onepixel-quiz-info-message-text p {
  margin: 0;
  color: #1a1b25b2;
  font-size: 14px;
  font-weight: 500;
  font-family: DM Sans, sans-serif;
}

.tutor-custom-onepixel-quiz-info-area {
  margin-bottom: 24px !important;
  display: flex;
  justify-content: space-around;
  gap: 16px;
}

.tutor-custom-onepixel-quiz-start-btn {
  width: 100% !important;
}

.tutor-custom-onepixel-quiz-subtitle {
  padding: 0 !important;
  text-align: center;
}

.tutor-custom-onepixel-quiz-subtitle-txt {
  margin-bottom: 16px;
}

.custom-pd-top-0 {
  padding-top: 0 !important;
}