@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap");

:root {
  --tv-container: 1200px;
}

.tv-site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--tv-bg);
}

.tv-container {
  width: min(100% - 32px, var(--tv-container));
  margin: 0 auto;
}

.tv-home-content-inner {
  display: grid;
  gap: 32px;
}

.tv-home-content .alignwide {
  width: min(100%, var(--tv-container));
  margin-left: auto;
  margin-right: auto;
}

.tv-home-content .alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.tv-home-section .alignwide {
  width: min(100%, var(--tv-container));
  margin-left: auto;
  margin-right: auto;
}

.tv-home-section .alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.tv-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid var(--tv-border);
  width: 100%;
}

.tv-header .tv-container {
  width: 100%;
  max-width: 100%;
  padding-left: 32px;
  padding-right: 32px;
}

.tv-header .tv-nav {
  width: 100%;
  max-width: var(--tv-container);
  margin: 0 auto;
}

.tv-announce {
  background: linear-gradient(90deg, #f6fffb 0%, #f1fdf7 50%, #eefcf5 100%);
  border-bottom: 1px solid #d8f3e6;
}

.tv-announce-inner {
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 10px 0;
  flex-direction: column;
  gap: 10px;
}

.tv-announce-track {
  display: flex;
  gap: 18px;
  width: 100%;
  align-items: center;
}

.tv-announce-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #ffffff;
  border: 1px solid #daf0e5;
  border-radius: 999px;
  padding: 10px 18px;
  min-width: 0;
  flex: 1 0 100%;
  box-shadow: 0 8px 18px rgba(16, 185, 129, 0.08);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.tv-announce-empty .tv-announce-item {
  box-shadow: none;
}

.tv-announce-thumb {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid #e2f3ea;
  flex-shrink: 0;
}

.tv-announce-inner.is-marquee .tv-announce-item {
  flex: 0 0 auto;
}

.tv-announce-inner.is-marquee {
  flex-direction: row;
}

.tv-announce[data-mode="carousel"] .tv-announce-item {
  opacity: 1;
  transform: none;
}

.tv-announce[data-mode="carousel"].is-ready .tv-announce-item {
  display: none;
  opacity: 0;
  transform: translateX(16px);
  pointer-events: none;
}

.tv-announce[data-mode="carousel"].is-ready .tv-announce-item.is-active {
  display: flex;
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.tv-announce-badge {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.tv-announce-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.tv-announce-title {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

.tv-announce-desc {
  font-size: 13px;
  color: #4b5563;
}

.tv-announce-offer {
  font-size: 12px;
  color: #059669;
  font-weight: 700;
}

.tv-announce-cta {
  margin-left: auto;
  white-space: nowrap;
  background: #10b981;
  color: #ffffff;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid #10b981;
}

.tv-announce-cta:hover,
.tv-announce-cta:focus {
  background: #059669;
  border-color: #059669;
  color: #ffffff;
}

.tv-announce-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding-bottom: 4px;
}

.tv-announce-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid #9ddfc4;
  background: #ffffff;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.tv-announce-dot:hover,
.tv-announce-dot:focus {
  border-color: #10b981;
  transform: scale(1.1);
}

.tv-announce-dot.is-active {
  background: #10b981;
  border-color: #10b981;
  transform: scale(1.15);
}

.tv-announce-inner.is-marquee .tv-announce-track {
  width: max-content;
  flex-wrap: nowrap;
  will-change: transform;
  animation: tv-announce-marquee var(--tv-announce-duration, 24s) linear infinite;
}

.tv-announce:hover .tv-announce-track {
  animation-play-state: paused;
}

@keyframes tv-announce-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .tv-announce-item {
    border-radius: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .tv-announce-cta {
    width: 100%;
    text-align: center;
    margin-left: 0;
  }
}

.tv-testimonials-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.tv-testimonial-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
  display: grid;
  gap: 14px;
}

.tv-testimonial-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.tv-testimonial-person {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tv-testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e2f3ea;
}

.tv-testimonial-name {
  display: block;
  font-weight: 700;
  color: #0f172a;
}

.tv-testimonial-role {
  display: block;
  font-size: 12px;
  color: #64748b;
}

.tv-testimonial-rating {
  color: #f59e0b;
  font-size: 14px;
  letter-spacing: 1px;
}

.tv-testimonial-quote {
  color: #334155;
  font-size: 14px;
  line-height: 1.6;
}

.tv-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 12px;
  overflow: hidden;
  background: #0f172a;
}

.tv-embed iframe,
.tv-embed video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.tv-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 16px;
  flex-wrap: wrap;
}

.tv-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  font-family: "Space Grotesk", system-ui, sans-serif;
}

.tv-logo img {
  max-height: 36px;
  width: auto;
}

.tv-logo span {
  color: var(--tv-accent);
}

.tv-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tv-menu li {
  list-style: none;
}

.tv-nav-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tv-menu a {
  color: var(--tv-muted);
  font-weight: 600;
  transition: color 0.2s ease;
}

.tv-menu a:hover,
.tv-menu a:focus {
  color: var(--tv-text);
}

.tv-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  background: var(--tv-accent);
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(16, 185, 129, 0.2);
}

.tv-button.tv-outline {
  background: #ffffff;
  border-color: var(--tv-border);
  color: var(--tv-text);
  box-shadow: none;
}

.tv-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
}

.tv-icon svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
}

.tv-hero {
  padding: 80px 0 60px;
  background: #ffffff;
  border-bottom: 1px solid var(--tv-border);
}

.tv-hero-grid {
  display: grid;
  gap: 32px;
}

.tv-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--tv-accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 12px;
}

.tv-hero h1 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(32px, 5vw, 52px);
  margin: 12px 0 20px;
  line-height: 1.1;
}

.tv-hero p {
  color: var(--tv-muted);
  font-size: 18px;
}

.tv-hero-card {
  background: var(--tv-surface);
  border-radius: var(--tv-radius);
  border: 1px solid var(--tv-border);
  padding: 24px;
  box-shadow: var(--tv-shadow);
}

.tv-section {
  padding: 64px 0;
  background: #ffffff;
}

.tv-section.tv-light {
  background: var(--tv-light-bg);
  color: var(--tv-light-text);
  border-top: 1px solid var(--tv-border);
  border-bottom: 1px solid var(--tv-border);
}

.tv-section.tv-light .tv-muted {
  color: var(--tv-muted);
}

.tv-grid-3 {
  display: grid;
  gap: 24px;
}

.tv-grid-2 {
  display: grid;
  gap: 24px;
}

.tv-card {
  background: var(--tv-surface);
  border: 1px solid var(--tv-border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--tv-shadow);
}

.tv-card.tv-light-card {
  background: #ffffff;
  border-color: var(--tv-border);
  box-shadow: var(--tv-shadow);
}

.tv-card h3 {
  margin-top: 0;
  font-family: "Space Grotesk", system-ui, sans-serif;
}

.tv-course-section-head {
  max-width: 860px;
  margin: 0 0 26px;
}

.tv-course-section-head.tv-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.tv-course-section-head h2 {
  margin: 10px 0 0;
  font-family: "Space Grotesk", system-ui, sans-serif;
}

.tv-course-section-head p {
  margin: 12px 0 0;
}

.tv-bonus-grid {
  display: grid;
  gap: 16px;
}

.tv-bonus-card {
  background: #ffffff;
  border: 1px solid #d7efe2;
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
  padding: 20px;
}

.tv-bonus-card h3 {
  margin: 8px 0 10px;
  font-size: 20px;
}

.tv-bonus-media {
  margin: 10px 0 6px;
}

.tv-bonus-media img {
  width: 100%;
  max-width: 130px;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  display: block;
  background: #ffffff;
}

.tv-bonus-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, 0.32);
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 5px 10px;
}

.tv-eligibility-grid {
  display: grid;
  gap: 16px;
}

.tv-eligibility-card {
  background: #ffffff;
  border: 1px solid var(--tv-border);
  border-radius: 16px;
  box-shadow: var(--tv-shadow);
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.tv-eligibility-index {
  min-width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(16, 185, 129, 0.28);
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.tv-eligibility-card h3 {
  margin: 0 0 6px;
  font-size: 20px;
}

.tv-eligibility-card p {
  margin: 0;
}

.tv-faq-accordion {
  max-width: 920px;
  margin: 0 auto;
}

.tv-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
  color: var(--tv-muted);
}

.tv-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
  background: rgba(16, 185, 129, 0.12);
  color: #0f766e;
}

.tv-course-grid {
  display: grid;
  gap: 28px;
}

.tv-course-card {
  background: var(--tv-surface);
  border-radius: 18px;
  border: 1px solid var(--tv-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--tv-shadow);
}

.tv-course-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tv-course-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tv-checkout-container {
  max-width: 1100px;
}

.tv-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--tv-text);
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 18px;
}

.tv-checkout-grid {
  display: grid;
  gap: 24px;
}

.tv-checkout-summary .tv-button {
  width: 100%;
  margin-top: 12px;
}

.tv-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--tv-border);
  color: var(--tv-text);
}

.tv-summary-row strong {
  font-weight: 700;
}

.tv-summary-total {
  border-bottom: none;
  padding-top: 16px;
  font-size: 18px;
}

.tv-summary-discount strong {
  color: #047857;
}

.tv-checkout-sticky {
  display: none;
}

.tv-checkout-sticky-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.tv-checkout-sticky-label {
  font-size: 13px;
  color: var(--tv-muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.tv-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 1000;
}

.tv-modal.is-open {
  display: block;
}

.tv-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.35);
}

.tv-modal-panel {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin: 6vh auto;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid var(--tv-border);
  box-shadow: var(--tv-shadow);
  padding: 24px;
  max-height: 90vh;
  overflow-y: auto;
}

.tv-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: transparent;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color: var(--tv-muted);
}

.tv-toast {
  position: fixed;
  bottom: 28px;
  right: 24px;
  background: #ffffff;
  border: 1px solid var(--tv-border);
  box-shadow: var(--tv-shadow);
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 600;
  color: var(--tv-text);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 1100;
}

.tv-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.tv-toast.error {
  border-color: rgba(239, 68, 68, 0.3);
  color: #b91c1c;
}

.tv-toast.success {
  border-color: rgba(16, 185, 129, 0.3);
  color: #047857;
}

.tv-price {
  font-weight: 700;
  font-size: 20px;
  color: var(--tv-accent);
}

.tv-price del {
  color: var(--tv-muted);
  margin-left: 8px;
  font-weight: 500;
}

.tv-price-hero {
  font-size: 28px;
  margin-top: 16px;
}

.tv-price-discount {
  font-size: 18px;
  color: var(--tv-accent);
  margin-top: 8px;
}

.tv-tag {
  font-size: 12px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--tv-muted);
}

.tv-accordion {
  display: grid;
  gap: 12px;
}

.tv-accordion-item {
  border-radius: 16px;
  border: 1px solid var(--tv-border);
  background: #ffffff;
  overflow: hidden;
}

.tv-accordion-button {
  width: 100%;
  padding: 16px 20px;
  background: transparent;
  border: none;
  color: var(--tv-text);
  text-align: left;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.tv-accordion-content {
  display: none;
  padding: 0 20px 18px;
  color: var(--tv-muted);
}

.tv-accordion-item.is-open .tv-accordion-content {
  display: block;
}

.tv-form {
  display: grid;
  gap: 16px;
}

.tv-form input,
.tv-form textarea,
.tv-form select {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--tv-border);
  background: #ffffff;
  color: var(--tv-text);
  font-size: 15px;
}

#tv-coupon-input {
  margin-top: 8px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--tv-border);
  background: #ffffff;
  color: var(--tv-text);
}


.tv-coupon-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

#tv-apply-coupon {
  padding: 10px 16px;
}

.tv-form label {
  font-weight: 600;
}

.tv-form .tv-field {
  display: grid;
  gap: 8px;
}

.tv-auth-wrap {
  max-width: 440px;
  margin: 0 auto;
  background: var(--tv-surface);
  border: 1px solid var(--tv-border);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--tv-shadow);
}

.tv-dashboard {
  display: grid;
  gap: 24px;
}

.tv-dashboard-learning {
  display: grid;
  gap: 24px;
}

.tv-dashboard-card {
  padding: 24px;
  background: var(--tv-surface);
  border-radius: 18px;
  border: 1px solid var(--tv-border);
  box-shadow: var(--tv-shadow);
}

.tv-lms-dashboard {
  background: #f8faf9;
}

.tv-lms-topbar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.tv-lms-topbar h1 {
  margin: 0;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 34px;
  line-height: 1.1;
}

.tv-lms-topbar .tv-muted {
  margin: 6px 0 0;
}

.tv-lms-menu-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--tv-border);
  border-radius: 12px;
  background: #ffffff;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  cursor: pointer;
}

.tv-lms-menu-toggle span {
  width: 18px;
  height: 2px;
  background: #111827;
  border-radius: 999px;
}

.tv-lms-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.tv-lms-sidebar {
  position: sticky;
  top: 86px;
  background: #ffffff;
  border: 1px solid #d9e2dd;
  border-radius: 18px;
  overflow: hidden;
}

.tv-lms-sidebar-brand {
  padding: 16px 18px;
  border-bottom: 1px solid #e5ece8;
  font-weight: 700;
  color: #065f46;
}

.tv-lms-sidebar-nav {
  display: grid;
}

.tv-lms-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  color: #374151;
  border-bottom: 1px solid #edf2ef;
  font-weight: 600;
}

.tv-lms-nav-item:last-child {
  border-bottom: none;
}

.tv-lms-nav-item:hover,
.tv-lms-nav-item:focus {
  background: #f0fdf5;
  color: #065f46;
}

.tv-lms-nav-item.is-active {
  background: #10b981;
  color: #ffffff;
}

.tv-lms-nav-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tv-lms-nav-icon svg {
  width: 18px;
  height: 18px;
}

.tv-lms-main {
  display: grid;
  gap: 16px;
}

.tv-lms-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.tv-lms-stat-card {
  background: #ffffff;
  border: 1px solid #dce7e1;
  border-radius: 14px;
  padding: 14px 16px;
}

.tv-lms-stat-label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #6b7280;
}

.tv-lms-stat-card strong {
  display: block;
  margin-top: 6px;
  font-size: 28px;
  line-height: 1;
  color: #0f172a;
}

.tv-lms-panel {
  background: #ffffff;
  border: 1px solid #dce7e1;
  border-radius: 16px;
  overflow: hidden;
}

.tv-lms-panel-head {
  padding: 18px 20px;
  border-bottom: 1px solid #e5ece8;
}

.tv-lms-panel-head h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.2;
  font-family: "Space Grotesk", system-ui, sans-serif;
}

.tv-lms-empty {
  padding: 24px 20px;
}

.tv-lms-table-wrap {
  overflow-x: auto;
}

.tv-lms-courses-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 900px;
}

.tv-lms-courses-table th,
.tv-lms-courses-table td {
  border-bottom: 1px solid #e6ece8;
  padding: 16px 18px;
  text-align: left;
  vertical-align: top;
  color: #1f2937;
}

.tv-lms-courses-table th {
  background: #f7faf8;
  font-size: 14px;
  font-weight: 700;
}

.tv-lms-courses-table tr.is-locked {
  background: #fafafa;
}

.tv-lms-course-title a {
  color: #0f172a;
  font-weight: 700;
}

.tv-lms-course-meta {
  margin-top: 5px;
  font-size: 12px;
  color: #6b7280;
}

.tv-lms-pill {
  display: inline-flex;
  margin-top: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.tv-lms-pill.is-expired {
  background: rgba(245, 158, 11, 0.16);
  color: #92400e;
}

.tv-lms-pill.is-disabled {
  background: rgba(239, 68, 68, 0.12);
  color: #991b1b;
}

.tv-lms-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tv-lms-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  background: #10b981;
  color: #ffffff;
  border: 1px solid #10b981;
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.1;
}

.tv-lms-action-btn:hover,
.tv-lms-action-btn:focus {
  background: #059669;
  border-color: #059669;
  color: #ffffff;
}

.tv-lms-action-btn.is-disabled {
  background: #d1d5db;
  border-color: #d1d5db;
  color: #6b7280;
  cursor: not-allowed;
}

.tv-lms-action-icon {
  width: 13px;
  height: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tv-lms-action-icon svg {
  width: 13px;
  height: 13px;
}

.tv-lms-video-layout {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  align-items: start;
}

.tv-lms-video-list {
  display: grid;
  gap: 10px;
  align-content: start;
}

.tv-lms-video-item {
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid #dce7e1;
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
  height: auto;
}

.tv-lms-video-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.tv-lms-video-open {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
  color: #0f172a;
}

.tv-lms-video-open strong {
  display: block;
  font-size: 14px;
  line-height: 1.3;
}

.tv-lms-video-toggle {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid #dce7e1;
  background: #f8fafc;
  color: #334155;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
}

.tv-lms-video-toggle:hover,
.tv-lms-video-toggle:focus {
  border-color: #10b981;
  color: #047857;
}

.tv-lms-video-desc {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease;
}

.tv-lms-video-item.is-open .tv-lms-video-desc {
  max-height: 240px;
}

.tv-lms-video-desc p {
  margin: 0;
  font-size: 12px;
  color: #6b7280;
  line-height: 1.5;
}

.tv-lms-video-item.is-active {
  border-color: #10b981;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.18);
  background: #f0fdf4;
}

.tv-lms-video-item.is-disabled {
  opacity: 0.6;
}

.tv-lms-video-pending {
  font-size: 12px;
  color: #6b7280;
}

.tv-lms-video-status {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #e2e8f0;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  margin-top: 2px;
  flex-shrink: 0;
}

.tv-lms-video-status.is-complete {
  background: #10b981;
  color: #ffffff;
}

.tv-lms-video-player {
  background: #ffffff;
  border: 1px solid #dce7e1;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 10px;
}

.tv-lms-video-player h3 {
  margin: 0;
  font-size: 20px;
}

@media (max-width: 900px) {
  .tv-lms-video-layout {
    grid-template-columns: 1fr;
  }
}

.tv-lms-sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.45);
  z-index: 110;
}

.tv-lms-account-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.tv-lms-form {
  display: grid;
  gap: 12px;
}

.tv-lms-batch-list {
  display: grid;
  gap: 12px;
}

.tv-lms-batch-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  border: 1px solid #dce7e1;
  border-radius: 12px;
  padding: 12px 14px;
  background: #ffffff;
}

.tv-lms-batch-item.is-selected {
  border-color: #10b981;
  background: #f0fdf4;
}

.tv-lms-batch-item.is-full {
  border-color: #d1d5db;
  background: #f8fafc;
}

.tv-lms-batch-item > span {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.tv-lms-batch-item strong {
  font-size: 15px;
  color: #0f172a;
}

.tv-lms-batch-item small {
  color: #6b7280;
}

.tv-lms-batch-item input[type="radio"] {
  margin-top: 3px;
}

.tv-lms-batch-item input[type="radio"][disabled] + span {
  opacity: 0.7;
}

.tv-lms-profile-form {
  margin-top: 6px;
}

.tv-lms-profile-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tv-lms-field-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.tv-lms-field-row select {
  width: 110px;
  flex-shrink: 0;
}

.tv-lms-field-row input {
  flex: 1;
}

.tv-lms-field-span {
  grid-column: span 2;
}

.tv-lms-profile-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
}

.tv-lms-action-btn.is-secondary {
  background: #e5e7eb;
  border-color: #e5e7eb;
  color: #374151;
  box-shadow: none;
}

.tv-lms-action-btn.is-secondary:hover,
.tv-lms-action-btn.is-secondary:focus {
  background: #d1d5db;
  border-color: #d1d5db;
  color: #111827;
}

.tv-module-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
}

.tv-module-row-title {
  font-weight: 600;
  color: var(--tv-text);
  min-width: 0;
}

.tv-module-row-actions {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}

.tv-module-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--tv-border);
  border-radius: 999px;
  background: #ffffff;
  color: var(--tv-text);
  justify-content: center;
  text-align: center;
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
  cursor: pointer;
}

.tv-module-toggle span {
  display: inline-block;
  transform: translateY(-1px);
}

.tv-module-play-inline {
  padding: 10px 16px;
}

.tv-progress {
  height: 10px;
  background: #e5e7eb;
  border-radius: 999px;
  overflow: hidden;
  margin-top: 10px;
}

.tv-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(135deg, var(--tv-accent), var(--tv-accent-2));
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  text-align: right;
  padding-right: 8px;
  line-height: 1.8;
}

.tv-video-frame {
  position: relative;
  padding-top: 56.25%;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--tv-border);
  background: #f3f4f6;
}

.tv-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.tv-video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tv-muted);
  font-weight: 600;
  text-align: center;
  padding: 0 20px;
}

.tv-footer {
  padding: 36px 0 60px;
  border-top: 1px solid var(--tv-border);
  margin-top: auto;
  background: #ffffff;
}

.tv-live-notification {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 999;
  max-width: 360px;
  width: calc(100% - 48px);
  transform: translateX(-120%);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  pointer-events: none;
}

.tv-live-notification.is-right {
  left: auto;
  right: 24px;
  transform: translateX(120%);
}

.tv-live-notification.is-visible {
  transform: translateX(0);
  opacity: 1;
}

.tv-live-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(16, 185, 129, 0.3);
  box-shadow: var(--tv-shadow);
}

.tv-live-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 185, 129, 0.12);
  color: var(--tv-accent);
  font-weight: 700;
  font-size: 16px;
}

.tv-live-text {
  font-weight: 600;
}

.tv-live-time {
  font-size: 12px;
  color: var(--tv-muted);
  margin-top: 4px;
}

.tv-footer-grid {
  display: grid;
  gap: 24px;
}

.tv-muted {
  color: var(--tv-muted);
}

.tv-alert {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(239, 68, 68, 0.08);
  color: #b91c1c;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.tv-success {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
  border-color: rgba(16, 185, 129, 0.3);
}

.tv-light-bg {
  background: var(--tv-light-bg);
  color: var(--tv-light-text);
}

.tv-light-bg .tv-card,
.tv-light-bg .tv-course-card,
.tv-light-bg .tv-dashboard-card {
  background: #ffffff;
  border-color: var(--tv-border);
}

.tv-light-bg .tv-muted {
  color: var(--tv-muted);
}

.tv-light-bg .tv-accordion-item {
  background: #ffffff;
  border-color: var(--tv-border);
}

.tv-light-bg .tv-accordion-button {
  color: var(--tv-light-text);
}

.tv-light-bg .tv-form input,
.tv-light-bg .tv-form textarea,
.tv-light-bg .tv-form select {
  background: #ffffff;
  color: var(--tv-light-text);
  border-color: var(--tv-border);
}

@media (min-width: 768px) {
  .tv-hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }

  .tv-grid-2 {
    grid-template-columns: 1.2fr 1fr;
  }

  .tv-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .tv-course-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tv-bonus-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tv-eligibility-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tv-footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .tv-checkout-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }
}

@media (max-width: 640px) {
  .tv-live-notification {
    bottom: 16px;
    left: 16px;
    right: 16px;
    width: calc(100% - 32px);
  }

  .tv-modal-panel {
    margin: 8vh 16px;
  }

  /* Hide only the desktop summary pay button on mobile; keep sticky pay button visible. */
  .tv-checkout-summary > .tv-checkout-pay {
    display: none;
  }

  .tv-checkout-sticky {
    display: block;
    position: sticky;
    bottom: 12px;
    margin-top: 16px;
    background: #ffffff;
    border: 1px solid var(--tv-border);
    border-radius: 14px;
    padding: 12px 14px;
    box-shadow: var(--tv-shadow);
  }

  .tv-eligibility-card {
    flex-direction: column;
  }

}

@media (max-width: 1023px) {
  .tv-lms-menu-toggle {
    display: inline-flex;
  }

  .tv-lms-layout {
    grid-template-columns: 1fr;
  }

  .tv-lms-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: min(86vw, 320px);
    border-radius: 0 18px 18px 0;
    z-index: 120;
    transform: translateX(-110%);
    transition: transform 0.28s ease;
  }

  .tv-lms-sidebar.is-open {
    transform: translateX(0);
  }

  .tv-lms-stats {
    grid-template-columns: 1fr 1fr;
  }

  .tv-lms-courses-table {
    min-width: 100%;
  }

  .tv-lms-courses-table thead {
    display: none;
  }

  .tv-lms-courses-table,
  .tv-lms-courses-table tbody,
  .tv-lms-courses-table tr,
  .tv-lms-courses-table td {
    display: block;
    width: 100%;
  }

  .tv-lms-courses-table tr {
    border-bottom: 1px solid #e6ece8;
    padding: 8px 14px;
  }

  .tv-lms-courses-table td {
    border: none;
    padding: 7px 0;
    display: flex;
    justify-content: space-between;
    gap: 14px;
  }

  .tv-lms-courses-table td::before {
    content: attr(data-label);
    color: #6b7280;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    flex-shrink: 0;
  }

  .tv-lms-courses-table td.tv-lms-col-course {
    display: block;
    padding-top: 12px;
  }

  .tv-lms-courses-table td.tv-lms-col-course::before {
    display: none;
  }

  .tv-lms-courses-table td.tv-lms-col-actions {
    display: block;
    padding-bottom: 12px;
  }

  .tv-lms-courses-table td.tv-lms-col-actions::before {
    display: block;
    margin-bottom: 8px;
  }

  .tv-lms-actions {
    display: grid;
    gap: 8px;
  }

  .tv-lms-action-btn {
    width: 100%;
    justify-content: center;
  }

  .tv-lms-batch-item {
    flex-direction: column;
    align-items: stretch;
  }

  .tv-lms-profile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tv-lms-field-span {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .tv-lms-profile-grid {
    grid-template-columns: 1fr;
  }

  .tv-lms-field-span {
    grid-column: span 1;
  }

  .tv-lms-profile-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (min-width: 1024px) {
  .tv-lms-sidebar-backdrop {
    display: none;
  }

  .tv-lms-sidebar {
    max-height: calc(100vh - 110px);
    overflow-y: auto;
  }

  .tv-course-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tv-home-hero {
  background: #ffffff;
  border-bottom: 1px solid var(--tv-border);
}

.tv-home-hero-light {
  background: var(--tv-light-bg);
}

.tv-hero-content {
  display: grid;
  gap: 12px;
}

.tv-hero-subtitle {
  margin: 0;
  font-size: 18px;
  color: var(--tv-muted);
}

.tv-hero-copy {
  color: var(--tv-muted);
  font-size: 15px;
  line-height: 1.7;
}

.tv-hero-offer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  padding: 8px 12px;
  width: fit-content;
  font-size: 13px;
}

.tv-hero-badge {
  background: #10b981;
  color: #ffffff;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.tv-hero-price {
  font-weight: 700;
  color: #065f46;
}

.tv-hero-note {
  color: #64748b;
}

.tv-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tv-hero-media {
  background: #ffffff;
  border: 1px solid var(--tv-border);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--tv-shadow);
}

.tv-hero-media img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

.tv-logo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: center;
  padding-top: 12px;
}

.tv-logo-item img {
  height: 36px;
  width: auto;
  filter: grayscale(1);
  opacity: 0.75;
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.tv-logo-item:hover img {
  filter: none;
  opacity: 1;
}

.tv-about-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

.tv-about-title {
  width: 100%;
  text-align: center;
  margin-bottom: 12px;
}

.tv-about-media img {
  width: 100%;
  border-radius: 18px;
  display: block;
}

.tv-about-image-left .tv-about-text {
  order: 2;
}

.tv-about-image-left .tv-about-media {
  order: 1;
}

.tv-steps-grid,
.tv-audience-grid {
  display: grid;
  gap: 20px;
}

.tv-step-card,
.tv-audience-card {
  background: #ffffff;
  border: 1px solid var(--tv-border);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--tv-shadow);
  display: grid;
  gap: 8px;
}

.tv-home-audience-text-only .tv-home-content-inner > h2 {
  text-align: center;
  margin-bottom: 6px;
}

.tv-home-audience-text-only .tv-home-content-inner > .tv-muted {
  max-width: 900px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--tv-border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--tv-shadow);
}

.tv-home-audience-text-only .tv-home-content-inner > .tv-muted > :first-child {
  margin-top: 0;
}

.tv-home-audience-text-only .tv-home-content-inner > .tv-muted > :last-child {
  margin-bottom: 0;
}

.tv-home-audience-text-only .tv-home-content-inner > .tv-muted ul,
.tv-home-audience-text-only .tv-home-content-inner > .tv-muted ol {
  margin: 14px 0 0 22px;
  padding-left: 18px;
  display: block;
  --wp--style--block-gap: 8px;
}

.tv-home-audience-text-only .tv-home-content-inner > .tv-muted li {
  margin: 0 !important;
  padding: 0;
  line-height: 1.5;
}

.tv-home-audience-text-only .tv-home-content-inner > .tv-muted li + li {
  margin-top: 10px !important;
}

.tv-home-audience-text-only .tv-home-content-inner > .tv-muted li p {
  margin: 0 !important;
}

.tv-home-audience-text-only .tv-home-content-inner > .tv-muted ul + ul,
.tv-home-audience-text-only .tv-home-content-inner > .tv-muted ul + ol,
.tv-home-audience-text-only .tv-home-content-inner > .tv-muted ol + ul,
.tv-home-audience-text-only .tv-home-content-inner > .tv-muted ol + ol {
  margin-top: 10px;
}

.tv-home-custom-inner {
  gap: 20px;
}

.tv-home-custom-grid {
  display: grid;
  gap: 20px;
}

.tv-home-custom-col,
.tv-home-custom-single {
  min-width: 0;
}

.tv-home-custom-style-card .tv-home-custom-col,
.tv-home-custom-style-card .tv-home-custom-single {
  background: #ffffff;
  border: 1px solid var(--tv-border);
  border-radius: 18px;
  box-shadow: var(--tv-shadow);
  padding: 22px;
}

.tv-home-custom-align-center .tv-home-custom-inner > h2,
.tv-home-custom-align-center .tv-home-custom-col,
.tv-home-custom-align-center .tv-home-custom-single {
  text-align: center;
}

.tv-home-custom-col > :first-child,
.tv-home-custom-single > :first-child {
  margin-top: 0;
}

.tv-home-custom-col > :last-child,
.tv-home-custom-single > :last-child {
  margin-bottom: 0;
}

.tv-step-index {
  color: #10b981;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.tv-stats-grid {
  display: grid;
  gap: 20px;
  text-align: center;
}

.tv-stat-card {
  background: #ffffff;
  border: 1px solid var(--tv-border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--tv-shadow);
}

.tv-stat-value {
  font-size: 24px;
  font-weight: 700;
  color: #0f172a;
}

.tv-stat-label {
  color: #64748b;
  font-size: 13px;
}

.tv-section-actions {
  margin-top: 16px;
}

.tv-cta-card {
  background: linear-gradient(135deg, #f0fdf4, #ffffff);
  border: 1px solid #bbf7d0;
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--tv-shadow);
  display: grid;
  gap: 16px;
}

@media (min-width: 768px) {
  .tv-about-grid {
    grid-template-columns: 1.4fr 0.6fr;
  }

  .tv-about-image-left {
    grid-template-columns: 0.6fr 1.4fr;
  }

  .tv-steps-grid,
  .tv-audience-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .tv-stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .tv-home-custom-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .tv-hero-offer {
    width: 100%;
    justify-content: center;
  }

  .tv-hero-media {
    padding: 12px;
  }
}

.tv-course-grid.tv-course-grid-home-single {
  justify-items: center;
}

.tv-course-grid.tv-course-grid-home-single .tv-course-card {
  width: 100%;
  max-width: 460px;
}

@media (min-width: 768px) {
  .tv-course-grid.tv-course-grid-home-single {
    grid-template-columns: minmax(320px, 460px);
    justify-content: center;
  }
}
