:root {
  --primary: #5224f8;
  --primary-hover: #6840f8;

  --success: #1da80a;
  --warning: #f86124;
  --error: #f82424;
}

html[data-bs-theme="light"] {
  color-scheme: light;
}

html[data-bs-theme="dark"] {
  color-scheme: dark;
}

* {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

input,
textarea,
select,
button {
  outline: none;
  font-family: "Figtree", sans-serif;
}

/*
 * Native <select> on Windows Chrome (dark): liste popover'ı beyaz kalıp metin beyaz kalabiliyor.
 * color-scheme + option renkleri — tüm v2 online select'leri (lesson, topics, modal, vb.).
 */
html[data-bs-theme="dark"] select {
  color-scheme: dark;
}

html[data-bs-theme="dark"] select option,
html[data-bs-theme="dark"] select optgroup {
  background-color: #1e293b;
  color: #f9fafb;
}

body {
  font-family: "Figtree", sans-serif;
  background-color: #f3f4f6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.online-body-fill {
  flex: 1 0 auto;
}

body.padding {
  padding-top: 80px;
}

.wrapper {
  width: 1140px;
  max-width: 100%;
  margin: 0 auto;
}

.button {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding-left: 15px;
  padding-right: 15px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  height: 50px;
  background-color: var(--primary);
  border-radius: 50px;
  transition: all .2s linear;
  border: unset;
  outline: none;
  cursor: pointer;
  border: solid 2px transparent;
}

.button:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
}

.button.outline {
  color: var(--primary);
  background-color: transparent;
  border-color: var(--primary);
}

.button.outline:hover {
  background-color: #f1f1f1;
}

.button.gray {
  color: #fff;
  background-color: #888;
  border-color: #888;
}

.button.gray:hover {
  background-color: #999;
  border-color: #999;
}

.button.buy {
  color: #fff;
  background-color: #e7000b;
  border-color: #e7000b;
}

.button.buy:hover {
  background-color: #eb252e;
  border-color: #eb252e;
}

.button svg {
  width: 18px;
  height: 18px;
}

.authbox-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
}

.field {
  margin-top: 25px;
}

.field:first-of-type {
  margin-top: 0;
}

.field .label {
  color: #364154;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
}

.field input {
  width: 100%;
  height: 50px;
  padding: 15px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  border: solid 1px #e6e7eb;
  background-color: #f9fafb;
}

.field textarea {
  width: 100%;
  padding: 15px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  border: solid 1px #e6e7eb;
  background-color: #f9fafb;
  resize: none;
}

.field+button {
  margin-top: 20px;
}

.phone-field .inputs {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 10px;
}

.checkbox-wrap {
  position: relative;
}

.checkbox-wrap input {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.checkbox-wrap .area div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 20px;
  height: 20px;
  border-radius: 2px;
  background-color: #fff;
  border: solid 1px #dae1ed;
  box-shadow: 2px 1px 5px rgba(0, 0, 0, .07);
}

.checkbox-wrap .area div.checked {
  display: none;
  color: #fff;
  border-color: var(--success);
  background-color: var(--success);
}

.checkbox-wrap .area div.checked svg {
  width: 15px;
  height: 15px;
}

.checkbox-wrap input:checked+.area .normal {
  display: none;
}

.checkbox-wrap input:checked+.area .checked {
  display: flex;
}

/* Header */
.header-container {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 50;
  background-color: #fff;
}

.header-container-inner {
  position: relative;
  overflow: hidden;
}

.header-container-inner > svg {
  position: absolute;
  left: 0;
  bottom: -250px;
  width: 100%;
}

html[data-bs-theme="light"] .header-container-inner > svg .path-0 {
  fill: #e7e0ff;
  fill-opacity: 0.4;
}

html[data-bs-theme="light"] .header-container-inner > svg .path-1 {
  fill: #e7e0ff;
  fill-opacity: 0.53;
}

html[data-bs-theme="light"] .header-container-inner > svg .path-2 {
  fill: #e7e0ff;
  fill-opacity: 1;
}

.header {
  position: relative;
  z-index: 10;
  padding-top: 20px;
  padding-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.header .logo a {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.header .logo .online-brand-logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(165px, 56vw);
  max-height: 35px;
  object-fit: contain;
}

/* Online: vitrin SVG logoları — hangi tema görünsün (head’deki data-bs-theme) */
.online-brand-logo {
  display: inline-block;
  line-height: 0;
}

html[data-bs-theme="light"] .online-brand-logo__dark,
html[data-bs-theme="dark"] .online-brand-logo__light {
  display: none !important;
}

.header .logo a > span + span {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  border-left: solid 1px #eee;
  margin-left: 10px;
  padding-left: 15px;
}

.header .logo a > span + span .icon {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  color: var(--primary);
  background-color: #d2c5ff;
  border-radius: 5px;
}

.header .logo a > span + span strong {
  font-size: 14px;
  font-weight: 600;
  color: #000;
}

.header .logo a > span + span p {
  margin-top: 3px;
  font-size: 12px;
  font-weight: 500;
  color: var(--primary);
}

.header .buttons {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.authbox-wrapper .autbox {
  width: 950px;
  display: grid;
  grid-template-columns: 1fr;
  background-color: #fff;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.15);
  border-radius: 15px;
  overflow: hidden;
}

.authbox-wrapper .autbox .auth-grid {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 30px;
}

.authbox-wrapper .autbox .auth-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.authbox-wrapper .autbox .auth-cols+.auth-cols {
  margin-top: 20px;
}

.authbox-wrapper .autbox .field {
  margin-top: 0;
}

.authbox-wrapper .autbox .info img {
  height: 35px;
}

.authbox-wrapper .autbox .info {
  position: relative;
  background-color: #110b2a;
}

.authbox-wrapper .autbox .hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.authbox-wrapper .autbox .hero-area {
  padding: 25px;
}

.authbox-wrapper .autbox .hero-grid .properties {
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  box-sizing: border-box;
  padding: 25px 10px 25px 0;
}

.authbox-wrapper .autbox .hero-grid .properties__inner {
  width: 100%;
  max-width: min(100%, 420px);
  aspect-ratio: 600 / 400;
  display: flex;
  align-items: center;
  justify-content: center;
}

.authbox-wrapper .autbox .hero-grid .properties__illustration {
  width: 100%;
  height: 100%;
  max-height: 400px;
  object-fit: contain;
  object-position: right center;
  display: block;
}

.authbox-wrapper .autbox .info .bottom-area {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 20px;
}

.authbox-wrapper .autbox .info .bottom-area .toggle {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, .3);
  border-radius: 100%;
  cursor: pointer;
}

.authbox-wrapper .autbox .info .label {
  color: #fff;
  font-size: 40px;
  margin-top: 20px;
  margin-bottom: 10px;
  font-weight: 800;
  line-height: 45px;
}

.authbox-wrapper .autbox .info .label span {
  color: #a48cff;
}

.authbox-wrapper .autbox .info p {
  color: #9aa1af;
  font-size: 14px;
  line-height: 20px;
  font-weight: 300;
}

.authbox-wrapper .autbox .details {
  padding: 25px;
}

.authbox-wrapper .autbox .details .hero {
  color: #111828;
  font-size: 25px;
  font-weight: 700;
  margin-bottom: 5px;
}

.authbox-wrapper .autbox .details p {
  color: #6b7282;
  font-size: 14px;
  line-height: 22px;
  font-weight: 300;
  margin-bottom: 20px;
}

.authbox-wrapper .autbox .forgot {
  text-align: right;
}

.authbox-wrapper .autbox .forgot a {
  color: #777;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.authbox-wrapper .autbox button {
  display: flex;
  width: 100%;
  text-align: center;
  justify-content: center;
  margin-top: 10px;
}

.authbox-wrapper .autbox .remember {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
}

.authbox-wrapper .autbox .buttons {
  margin-top: 25px;
}

.authbox-wrapper .autbox .auth-grid > .buttons {
  margin-top: 0;
}

.header .button {
  height: 40px;
  font-size: 14px;
}

.info-row {
  padding: 25px 0;
  color: #fff;
  background-color: #0f1828;
}

.info-row .hero {
  font-size: 30px;
  font-weight: 700;
}

.info-row p {
  font-size: 16px;
  line-height: 24px;
  margin-top: 10px;
  color: #9aa1af;
  font-weight: 300;
}

.info-row p strong {
  color: #fff;
  font-weight: 600;
}

.tab-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 7px;
  background-color: var(--primary);
  margin-top: 15px;
  border-radius: 10px;
}

.tab-row .tab-item {
  position: relative;
  color: #fff;
  cursor: pointer;
  padding: 14px 30px 12px 16px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
}

.tab-row .tab-item .dashboard-tab-badge {
  position: absolute;
  top: 6px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35em;
  padding: 0.35em 0.55em;
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 50rem;
  box-sizing: border-box;
}

.tab-row .tab-item .dashboard-tab-badge--aktif {
  background-color: #cde9d8;
  color: #2a6b45;
}

.tab-row .tab-item .dashboard-tab-badge--dolmus {
  background-color: #f4d6da;
  color: #9a3d47;
}

.tab-row .tab-item.active {
  color: var(--primary);
  background-color: #fff;
}

.tab-items .hero {
  font-size: 30px;
  font-weight: 600;
  color: #111;
  margin-top: 20px;
}

.tab-items>div {
  display: none;
}

.tab-items>div.active {
  display: block;
}

.items {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 15px;
  margin-top: 20px;
  margin-bottom: 40px;
}

.item {
  background-color: #fff;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.15);
  border-radius: 15px;
  overflow: hidden;
}

.item .image-area {
  position: relative;
  padding: 10px;
}

.item .image-area .inner {
  position: relative;
}

.item .image-area img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

.item .info-area .badges {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  min-width: 0;
}

.item .info-area .badges span {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  flex: 0 1 auto;
  min-width: 0;
  max-width: calc(50% - 4px);
  padding-left: 8px;
  padding-right: 8px;
  min-height: 24px;
  height: auto;
  color: #fff;
  font-size: clamp(9px, 2.5vw, 12px);
  font-weight: 600;
  background-color: var(--primary);
  border-radius: 25px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.item .info-area .badges span.gray {
  color: #333;
  background-color: #ccc;
}

.item .info-area .badges span.right {
  margin-left: 0;
}

.item .image-area .progress {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 10px;
  width: 100%;
}

.item .image-area .progress .inner {
  background-color: #fff;
  width: 100%;
  padding: 5px 10px;
  border-radius: 5px;
}

.item .image-area .progress .info {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 300;
}

.item .image-area .progress .info strong {
  font-weight: 600;
}

.item .image-area .progress .bar-area {
  position: relative;
  width: 100%;
  background-color: #ccc;
  height: 5px;
  border-radius: 5px;
  margin-top: 10px;
}

.item .image-area .progress .bar-area span {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 5px;
  background-color: var(--primary);
  border-radius: 5px;
  box-shadow: 0px 0px 5px #b8a5fb;
}

.item .info-area {
  padding: 5px 15px 15px;
}

.item .info-area .name {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}

.item .info-area .desc {
  font-size: 14px;
  font-weight: 300;
  line-height: 18px;
}

.item .info-area .desc strong {
  display: block;
  font-weight: 700;
  margin-bottom: 3px;
}

.item .buttons {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  padding: 15px;
  border-top: solid 1px #ddd;
}

.item .buttons .button {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  height: auto;
  padding: 8px 10px;
  line-height: 1.15;
  box-sizing: border-box;
  font-size: clamp(10px, 2.4vw, 12px);
}

.item .buttons .button svg {
  width: clamp(13px, 3.2vw, 17px);
  height: clamp(13px, 3.2vw, 17px);
  flex-shrink: 0;
}

.lesson-container {
  display: grid;
  grid-template-columns: 800px 1fr;
  gap: 10px;
  padding: 15px 0;
}

.lesson-container.lesson-container--full {
  grid-template-columns: 1fr;
}

.lesson-container .watch-area {
  padding: 15px;
  background-color: #fff;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.15);
  border-radius: 15px;
}

.lesson-container .watch-area .label {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
}

.lesson-container .watch-area img,
.lesson-container .watch-area video {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 10px;
}

.lesson-container .watch-area .action-area {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 280px;
  gap: 15px;
  margin-top: 15px;
}

.lesson-container .watch-area .action-area>div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 15px;
}

.lesson-container .watch-area .action-area .controls a {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding-left: 15px;
  padding-right: 15px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  height: 40px;
  background-color: var(--primary);
  border-radius: 40px;
  transition: all .2s linear;
  border: unset;
  outline: none;
  cursor: pointer;
  border: solid 2px transparent;
}

.lesson-container .watch-area .action-area .controls a:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
}

.lesson-container .watch-area .action-area .comment {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding-left: 15px;
  padding-right: 15px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  height: 40px;
  background-color: #888;
  border-radius: 40px;
  transition: all .2s linear;
  border: unset;
  outline: none;
  cursor: pointer;
  border: solid 2px transparent;
}

.lesson-container .watch-area .action-area .comment:hover {
  background-color: #666;
  transform: translateY(-2px);
}

.lesson-container .watch-area .action-area .controls a svg {
  width: 16px;
  height: 16px;
}

.lesson-container .watch-area .action-area .quality {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  gap: 10px;
}

.lesson-container .watch-area .action-area .quality select {
  width: 120px;
  padding: 0 10px;
  height: 35px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  border: solid 1px #e6e7eb;
  background-color: #f9fafb;
}

.lesson-container .sidebar {
  padding: 15px;
  background-color: #fff;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.15);
  border-radius: 15px;
}

.lesson-container .select-lesson {
  margin-bottom: 20px;
}

.lesson-container .select-lesson .label {
  font-size: 14px;
  font-weight: 600;
}

.lesson-container .select-lesson select {
  width: 100%;
  margin-top: 5px;
  padding: 0 10px;
  height: 35px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  border: solid 1px #e6e7eb;
  background-color: #f9fafb;
}

.lesson-container .sidebar .list {
  overflow-y: scroll;
  height: 490px;
}

.lesson-container .sidebar>.label {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
}

.lesson-container .sidebar .lesson-item {
  margin-top: 10px;
  background-color: #ddd;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
}

.lesson-container .sidebar .lesson-item .subitem {
  display: none !important;
}

.lesson-container .sidebar .lesson-item.visible .subitem {
  display: block !important;
  padding-bottom: 5px;
}

.lesson-container .sidebar .lesson-item.visible .label {
  margin-bottom: 5px;
}

.lesson-container .sidebar .lesson-item:first-of-type {
  margin-top: 0;
}

.lesson-container .sidebar .lesson-item .label {
  display: grid;
  align-items: center;
  padding: 0 10px;
  grid-template-columns: 1fr 20px;
  position: relative;
  min-height: 40px;
  padding-top: 5px;
  padding-bottom: 5px;
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
  background-color: #eee;
  cursor: pointer;

}

.lesson-container .sidebar .lesson-item .label .icon {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.lesson-container .sidebar .lesson-item .label .icon svg {
  width: 18px;
  height: 18px;
}

.lesson-container .sidebar .lesson-item.visible .label .icon {
  transform: rotate(180deg);
}

.lesson-container .sidebar .lesson-item .subitem {
  padding: 5px 10px;
  font-size: 12px;
  cursor: pointer;
}

.lesson-container .sidebar .lesson-item .subitem .inner {
  position: relative;
  padding: 7px 10px;
  background-color: #fff;
  border-radius: 5px;
  padding-left: 35px;
}

/* Konular (/online/konular): rows use <a class="inner konu-video-item"> — reset UA link styling so it matches player <div> rows */
.lesson-container .sidebar .lesson-item .subitem a.inner.konu-video-item {
  display: block;
  box-sizing: border-box;
  color: #111827;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.lesson-container .sidebar .lesson-item .subitem a.inner.konu-video-item:visited,
.lesson-container .sidebar .lesson-item .subitem a.inner.konu-video-item:hover,
.lesson-container .sidebar .lesson-item .subitem a.inner.konu-video-item:active {
  color: #111827;
  text-decoration: none;
}

.lesson-container .sidebar .lesson-item .subitem a.inner.konu-video-item:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.lesson-container .sidebar .lesson-item .subitem .inner .icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.lesson-container .sidebar .lesson-item .subitem .inner .icon svg {
  width: 18px;
  height: 18px;
}

.lesson-container .sidebar .lesson-item .subitem .info {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-width: 0;
}

.lesson-container .sidebar .lesson-item .subitem .info strong {
  flex: 1 1 50%;
  max-width: 50%;
  min-width: 0;
  line-height: 1.3;
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lesson-container .sidebar .lesson-item .subitem .info p {
  flex: 1 1 50%;
  max-width: 50%;
  margin: 0;
  text-align: right;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  color: #6b7280;
  white-space: nowrap;
}

.lesson-container .sidebar .lesson-item .bar-area {
  position: relative;
  width: 100%;
  background-color: #ccc;
  height: 5px;
  border-radius: 5px;
  margin-top: 7px;
}

.lesson-container .sidebar .lesson-item .bar-area span {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 5px;
  background-color: var(--primary);
  border-radius: 5px;
  box-shadow: 0px 0px 5px #b8a5fb;
}

.lesson-container .progress {
  padding: 15px;
  background-color: #fff;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.15);
  border-radius: 15px;
}

.lesson-container .progress .desc {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  font-size: 12px;
}

.lesson-container .progress .desc span {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.lesson-container .progress .desc span::before {
  content: "";
  width: 5px;
  height: 5px;
  background-color: var(--primary);
  border-radius: 100%;
}

.lesson-container .progress .label {
  font-size: 16px;
  font-weight: 600;
}

.lesson-container .progress .bar-area {
  position: relative;
  width: 100%;
  background-color: #ccc;
  height: 5px;
  border-radius: 5px;
  margin-top: 7px;
}

.lesson-container .progress .bar-area span {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 5px;
  background-color: var(--primary);
  border-radius: 5px;
  box-shadow: 0px 0px 5px #b8a5fb;
}

.lesson-container .sidebar .lesson-item.active {
  background-color: #e2daff
}

.lesson-container .sidebar .lesson-item.active .label {
  color: #fff;
  background-color: var(--primary);
}

.lesson-container .sidebar .subitem.active .inner {
  background-color: #f1f1f1;
}

.lesson-container .sidebar .lesson-item .subitem .inner .icon.not-start {
  color: var(--warning);
}

.lesson-container .sidebar .lesson-item .subitem .inner .icon.active {
  color: var(--primary);
}

.lesson-container .sidebar .lesson-item .subitem .inner .icon.done {
  color: var(--success);
}

.profile-cols {
  padding: 15px 0;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 15px;
  min-height: 70vh;
}

.profile-cols .sidebar {
  padding: 20px;
  background-color: #fff;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.15);
  border-radius: 15px;
  align-self: flex-start;
}

.profile-cols .sidebar .tab-item {
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  margin-top: 15px;
  color: #333;
}

.profile-cols .sidebar .tab-item:first-child {
  margin-top: 0;
}

.profile-cols .sidebar .tab-item.active {
  color: var(--primary);
}

.profile-cols .col {
  padding: 20px;
  background-color: #fff;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.15);
  border-radius: 15px;
}

.profile-cols .hero {
  color: #111828;
  font-size: 25px;
  font-weight: 700;
  margin-bottom: 5px;
  margin-top: 0;
}

.profile-cols p {
  color: #6b7282;
  font-size: 14px;
  line-height: 22px;
  font-weight: 300;
  margin-bottom: 20px;
}

.profile-cols .fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.profile-cols .field {
  margin-top: 0;
}

.profile-cols button {
  display: flex;
  text-align: center;
  justify-content: center;
  margin-top: 10px;
}

.profile-cols .buttons {
  margin-top: 25px;
}

.footer-container {
  padding: 30px 0;
  color: #fff;
  background-color: #0f1828;
}

.footer-container .footer-cols {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 4fr) minmax(0, 3fr);
  gap: 25px;
  align-items: start;
}

.footer-container .footer-cols .label {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}

.footer-container .footer-cols p {
  font-size: 12px;
  line-height: 22px;
  font-weight: 300;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.92);
}

.footer-container .footer-cols .col--help a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-container .footer-cols .col--help a:hover {
  opacity: 0.88;
}

.footer-container .footer-cols .col--etbis {
  justify-self: end;
  text-align: right;
}

.footer-container .footer-cols .footer-etbis-link {
  display: inline-block;
  line-height: 0;
}

.footer-container .footer-cols .footer-etbis-link img {
  width: 295px;
  height: 80px;
  max-width: 100%;
  object-fit: contain;
  margin-top: 0;
  display: block;
}

.online-dashboard-home-row {
  margin: 25px 0 10px;
}

.faq-area {
  padding: 15px;
  background-color: #fff;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.15);
  border-radius: 15px;
  margin-bottom: 15px;
}

.faq-area .hero {
  font-size: 20px;
  font-weight: 600;
  color: #111;
  margin-bottom: 15px;
}

.faq-wrapper .row {
  border-bottom: solid 1px #dae1ed;
}

.faq-wrapper .label span,
.faq-wrapper .label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
}

.faq-wrapper .label {
  padding: 15px 0;
  cursor: pointer;
  display: grid;
  grid-template-columns: 1fr 20px;
}

.faq-wrapper .label svg {
  width: 16px;
  height: 16px;
}

.faq-wrapper .label span:nth-child(1) {
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

.faq-wrapper .label span:nth-child(2) {
  font-size: 10px;
  font-weight: 300;
}

.faq-wrapper .details {
  display: none;
  padding: 20px;
  background-color: #fff;
}

.faq-wrapper .active .label {
  border-bottom: solid 1px #dae1ed;
}

.faq-wrapper .active .label svg {
  transform: rotate(180deg);
}

.faq-wrapper .active .details {
  display: block;
  font-size: 13px;
  font-weight: 300;
  line-height: 20px;
}


.lesson-container.lesson-container--full .sidebar .list {
  height: auto;
  overflow: unset;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.lesson-container.lesson-container--full .sidebar .list .lesson-item {
  margin-top: 0;
  align-self: flex-start;
}

.modal-container {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.modal-container.active {
  display: flex;
}

.modal-container .backdrop {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.6);
}

.modal-container .modal-content {
  width: 500px;
  max-width: 100%;
  position: relative;
  z-index: 99999;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
}

.modal-container .modal-content--large {
  width: 700px;
}

.modal-container .modal-content .close {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: -20px;
  top: -20px;
  width: 40px;
  height: 40px;
  background-color: var(--primary);
  border-radius: 100%;
  cursor: pointer;
}

.modal-container .modal-content .close svg {
  width: 20px;
  height: 20px;
  stroke: #fff
}

.modal-container .hero {
  font-size: 30px;
  font-weight: 600;
  line-height: 38px;
  margin-bottom: 10px;
}

.modal-container .desc {
  color: #333;
  font-size: 14px;
  line-height: 22px;
  font-weight: 300;
}

.modal-container .contact-form {
  margin-top: 20px;
}

/* Ürün vitrini yorum modalı ile aynı form görünümü (genişlik / padding / border) */
.modal-container .js-product-comment-form .field {
  margin-top: 0;
  margin-bottom: 15px;
}

.modal-container .js-product-comment-form .field:first-of-type {
  margin-top: 0;
}

.modal-container .js-product-comment-form .field .label {
  margin-bottom: 5px;
}

.modal-container .js-product-comment-form .field input.input {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  height: 40px;
  padding: 15px;
  border: solid 1px #dadde3;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 400;
  background-color: #fff;
  color: #111;
}

/* Vitrin .field select + .js-product-comment-form select.input ile aynı (select .field .input padding 15px almasın — yazı kesilir) */
.modal-container .js-product-comment-form .field select.input {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 0 10px;
  height: 40px;
  line-height: normal;
  box-sizing: border-box;
  border: solid 1px #dadde3;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 400;
  font-family: "Figtree", sans-serif;
  background-color: #fff;
  color: #111;
}

.modal-container .js-product-comment-errors {
  color: #c62828;
  font-size: 14px;
  margin-bottom: 12px;
}

.modal-container .js-product-comment-errors.is-success {
  color: #1a7f37;
}

.modal-container .js-product-comment-errors ul {
  margin: 0;
  padding-left: 1.2em;
}

.modal-container .js-product-comment-form .field textarea.input {
  width: 100%;
  max-width: 100%;
  min-height: 72px;
  height: auto;
  padding: 10px 12px;
  line-height: 1.45;
  resize: vertical;
  box-sizing: border-box;
  border: solid 1px #dadde3;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 400;
  background-color: #fff;
  color: #111;
}

html[data-bs-theme="dark"] .modal-container .js-product-comment-errors {
  color: #ef9a9a;
}

html[data-bs-theme="dark"] .modal-container .js-product-comment-errors.is-success {
  color: #81c784;
}

html[data-bs-theme="dark"] .modal-container .js-product-comment-form .field .label {
  color: #e5e7eb;
}

html[data-bs-theme="dark"] .modal-container .js-product-comment-form .field input.input,
html[data-bs-theme="dark"] .modal-container .js-product-comment-form .field textarea.input {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.28);
}

html[data-bs-theme="dark"] .modal-container .js-product-comment-form .field select.input {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.28);
}

.modal-container .modal-content.menu-content {
  height: 100%;
  border-radius: 0;
  width: 80vw;
  margin-left: auto;
}

.modal-container .modal-content.menu-content .close {
  left: -40px;
  top: 10px;
  border-radius: 5px 0 0 5px;
}

.modal-container .modal-content.menu-content .logo {
  margin-bottom: 10px;
}

.modal-container .modal-content.menu-content .logo img {
  height: 55px;
}

html[data-bs-theme="dark"] body {
  background-color: #151724;
}

html[data-bs-theme="dark"] .authbox-wrapper .autbox {
  box-shadow: 0px 0px 20px rgb(171 171 171 / 15%);
}

html[data-bs-theme="dark"] .authbox-wrapper .autbox .info {
  background-color: #110b2a;
}

html[data-bs-theme="dark"] .authbox-wrapper .autbox {
  color: #fff;
  background-color: #0d0f1d;
}

html[data-bs-theme="dark"] .authbox-wrapper .autbox .details .hero {
  color: #fff;
}

html[data-bs-theme="dark"] .field .label {
  color: #fff;
}

html[data-bs-theme="dark"] .field input {
  color: #fff;
  background-color: transparent;
  border: solid 1px rgba(255, 255, 255, 0.3);
}

html[data-bs-theme="dark"] .field textarea {
  color: #fff;
  background-color: transparent;
  border: solid 1px rgba(255, 255, 255, 0.3);
}

html[data-bs-theme="dark"] .checkbox-wrap .area div {
  background-color: transparent;
  border: solid 1px rgba(255, 255, 255, 0.3);
}

html[data-bs-theme="dark"] .button.outline {
  color: #fff;
  background-color: transparent;
  border-color: var(--primary);
}

html[data-bs-theme="dark"] .button.outline:hover {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.05);
}

html[data-bs-theme="dark"] .header-container {
  background-color: #0d0f1d;
}

html[data-bs-theme="dark"] .header .logo a > span + span {
  color: #fff;
  border-left-color: #511e9f;
}

html[data-bs-theme="dark"] .header .logo a > span + span strong {
  color: #fff;
}

html[data-bs-theme="dark"] .header .logo a > span + span p {
  color: #884de2;
}

html[data-bs-theme="dark"] .header .logo a > span + span .icon {
  color: #7536d4;
  background-color: #240e45;
}

html[data-bs-theme="dark"] .info-row {
  background-color: #202230;
}

html[data-bs-theme="dark"] .item {
  color: #fff;
  background-color: transparent;
  border: solid 1px rgba(255, 255, 255, 0.2);
}

html[data-bs-theme="dark"] .item .buttons {
  border-color: rgba(255, 255, 255, 0.2);
}

html[data-bs-theme="dark"] .item .image-area .progress .inner {
  background-color: #0e1828;
}

html[data-bs-theme="dark"] .item .image-area .progress .bar-area span {
  box-shadow: 0px 0px 5px #330ac4;
}

html[data-bs-theme="dark"] .profile-cols .sidebar,
html[data-bs-theme="dark"] .faq-area,
html[data-bs-theme="dark"] .lesson-container .progress,
html[data-bs-theme="dark"] .lesson-container .sidebar,
html[data-bs-theme="dark"] .lesson-container .watch-area {
  color: #fff;
  background-color: transparent;
  border: solid 1px rgba(255, 255, 255, 0.2);
}

html[data-bs-theme="dark"] .profile-cols .sidebar .tab-item {
  color: #fff;
}

html[data-bs-theme="dark"] .profile-cols .sidebar .tab-item.active {
  color: #8968ff;
}

html[data-bs-theme="dark"] .faq-area .hero {
  color: #fff;
}

html[data-bs-theme="dark"] .faq-wrapper .active .label,
html[data-bs-theme="dark"] .faq-wrapper .row {
  border-color: rgba(255, 255, 255, 0.3);
}

html[data-bs-theme="dark"] .lesson-container .sidebar .lesson-item .label {
  background-color: #888;
}

html[data-bs-theme="dark"] .lesson-container .sidebar .lesson-item.active .label {
  background-color: var(--primary);
}

html[data-bs-theme="dark"] .lesson-container .sidebar .lesson-item .subitem {
  color: #000;
}

html[data-bs-theme="dark"] .lesson-container .sidebar .lesson-item .subitem .inner {
  color: #fff;
  background-color: #202230;
}

html[data-bs-theme="dark"] .lesson-container .sidebar .lesson-item .subitem a.inner.konu-video-item,
html[data-bs-theme="dark"] .lesson-container .sidebar .lesson-item .subitem a.inner.konu-video-item:visited,
html[data-bs-theme="dark"] .lesson-container .sidebar .lesson-item .subitem a.inner.konu-video-item:hover,
html[data-bs-theme="dark"] .lesson-container .sidebar .lesson-item .subitem a.inner.konu-video-item:active {
  color: #fff;
  text-decoration: none;
}

html[data-bs-theme="dark"] .lesson-container .sidebar .lesson-item .subitem .inner .info strong {
  color: #fff;
}

html[data-bs-theme="dark"] .lesson-container .sidebar .lesson-item .subitem .inner .info p {
  color: rgba(255, 255, 255, 0.65);
}

html[data-bs-theme="dark"] .profile-cols .col {
  color: #fff;
  background-color: transparent;
  border: solid 1px rgba(255, 255, 255, 0.2);
}

html[data-bs-theme="dark"] .profile-cols .hero {
  color: #fff;
}

html[data-bs-theme="dark"] .tab-row {
  background-color: #202230;
}

html[data-bs-theme="dark"] .tab-items .hero {
  color: #fff;
}

html[data-bs-theme="dark"] .footer-container {
  background-color: #0d0f1d;
}

html[data-bs-theme="dark"] .footer-container .footer-cols .label,
html[data-bs-theme="dark"] .footer-container .footer-cols p,
html[data-bs-theme="dark"] .footer-container .footer-cols .col--help a {
  color: #f3f4f6;
}

html[data-bs-theme="dark"] .lesson-container .sidebar .lesson-item .label {
  background-color: #202230;
}

html[data-bs-theme="dark"] .lesson-container .sidebar .lesson-item {
  background-color: #0d0f1d;
}

html[data-bs-theme="dark"] .lesson-container .watch-area .action-area .quality select,
html[data-bs-theme="dark"] .lesson-container .select-lesson select {
  color: #fff;
  background-color: transparent;
  border: solid 1px rgba(255, 255, 255, 0.3);
}

html[data-bs-theme="dark"] .faq-wrapper .details {
  background-color: transparent;
}

html[data-bs-theme="dark"] .modal-container .modal-content {
  color: #fff;
  background-color: #0d0f1d;
}


@media(max-width: 768px) {
  .wrapper {
    padding-left: 10px;
    padding-right: 10px;
  }

  .authbox-wrapper {
    padding: 10px;
  }

  .authbox-wrapper .autbox {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .authbox-wrapper .autbox .hero-grid .properties {
    display: none;
  }

  .authbox-wrapper .autbox .auth-cols:first-child,
  .authbox-wrapper .autbox .auth-grid,
  .authbox-wrapper .autbox .hero-grid {
    grid-template-columns: 1fr;
  }

  .authbox-wrapper .autbox .hero-area {
    padding-bottom: 20px;
  }

  .authbox-wrapper .autbox .info p,
  .authbox-wrapper .autbox .info .label {
    display: none;
  }

  .authbox-wrapper .autbox .info .bottom-area {
    position: absolute;
    right: 25px;
    top: 50%;
    left: auto;
    bottom: auto;
    margin: 0;
    padding: 0;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }

  .header .buttons a span {
    display: none !important;
  }

  .header .logo a > span + span {
    display: none !important;
  }

  .header-container-inner > svg {
    bottom: -50px;
  }

  .button {
    gap: 5px;
  }

  .info-row {
    padding-left: 10px;
    padding-right: 10px;
  }

  .info-row .hero {
    font-size: 24px;
    line-height: 30px;
  }

  .info-row p {
    font-size: 14px;
    line-height: 24px;
    margin-top: 5px;
  }

  .items {
    margin: 0;
    padding: 15px 0;
    grid-template-columns: 1fr;
  }

  .item .buttons .button {
    font-size: clamp(10px, 2.8vw, 11px);
  }

  .lesson-container {
    padding: 10px 0;
    grid-template-columns: 1fr;
  }

  .lesson-container .watch-area .label {
    font-size: 14px;
    line-height: 20px;
  }

  .lesson-container .watch-area img,
  .lesson-container .watch-area video {
    height: 250px;
  }

  .lesson-container .sidebar .list {
    height: auto;
    overflow: auto;
  }

  .lesson-container.lesson-container--full .sidebar .list {
    grid-template-columns: 1fr;
  }

  .profile-cols {
    padding: 10px 0;
    grid-template-columns: 1fr;
  }

  .footer-container .footer-cols {
    grid-template-columns: 1fr;
  }

  .footer-container .footer-cols .col--etbis {
    justify-self: start;
    text-align: left;
  }

  .lesson-container .watch-area .action-area {
    grid-template-columns: 1fr;
  }

  .profile-cols .sidebar>div {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .profile-cols .sidebar .tab-item {
    margin-top: 0 !important;
    text-align: center;
  }

  .profile-cols .fields {
    grid-template-columns: 1fr;
  }

  .modal-container .modal-content {
    margin-top: auto;
    border-radius: 10px 10px 0 0;
  }

  .modal-container .modal-content .close {
    right: 10px;
    top: -40px;
    border-radius: 10px 10px 0 0;
  }
}

/* v2 online konular page — action row under lesson list */
.online-topics-buttons {
  margin-top: 25px;
  margin-bottom: 25px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* v2 online session / validation messages (mock’ta .alert yok) */
.online-flash-wrap {
  margin: 20px 0 20px;
}

.online-flash {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  border: solid 1px #e6e7eb;
  background: #f9fafb;
  color: #364154;
}

.online-flash--error {
  border-color: rgba(248, 36, 36, 0.35);
  background: rgba(248, 36, 36, 0.08);
  color: #b91c1c;
}

.online-flash--success {
  border-color: rgba(29, 168, 10, 0.35);
  background: rgba(29, 168, 10, 0.08);
  color: #166534;
}

.online-flash--warning {
  border-color: rgba(248, 97, 36, 0.45);
  background: rgba(248, 97, 36, 0.1);
  color: #9a3412;
}

.online-flash--info {
  border-color: #5224f8;
  background: rgba(82, 36, 248, 0.06);
  color: #4338ca;
}

html[data-bs-theme="dark"] .online-flash {
  border-color: #374151;
  background: #1f2937;
  color: #e5e7eb;
}

html[data-bs-theme="dark"] .online-flash--error {
  color: #fca5a5;
}

html[data-bs-theme="dark"] .online-flash--success {
  color: #86efac;
}

html[data-bs-theme="dark"] .online-flash--warning {
  color: #fdba74;
}

html[data-bs-theme="dark"] .online-flash--info {
  color: #c4b5fd;
}

.play-video-shell {
  position: relative;
  width: 100%;
}

.play-video-shell .play-video-loading,
.play-video-shell .play-video-complete {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-weight: 600;
}

.play-video-shell.loading .play-video-loading {
  display: flex;
}

.play-video-shell.complete .play-video-complete {
  display: flex;
}

.play-video-shell.complete video {
  visibility: hidden;
}

.play-spinner {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: online-spin 0.8s linear infinite;
}

@keyframes online-spin {
  to {
    transform: rotate(360deg);
  }
}

.header .header-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  margin-right: 8px;
  border: solid 2px #e6e7eb;
  border-radius: 100%;
  background: #fff;
  cursor: pointer;
  vertical-align: middle;
}

.header .header-theme-toggle svg {
  width: 18px;
  height: 18px;
}

html[data-bs-theme="dark"] .header .header-theme-toggle {
  background: #1f2937;
  border-color: #374151;
  color: #e5e7eb;
}

.badges .right.online-badge-urgent {
  color: #e7000b;
  font-weight: 700;
}