/* Bridge legacy Bootstrap page content into modern 2026 shell */

.m2026-admin-banner {
  background: linear-gradient(90deg, #dc2626, #b91c1c);
  color: #fff;
  text-align: center;
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.m2026-admin-banner--pos {
  background: linear-gradient(90deg, #d97706, #b45309);
}

.m2026-admin-banner a {
  color: #fff;
  text-decoration: underline;
}

.m2026-playvideo-admin-banner {
  background: linear-gradient(90deg, #1e3a5f, #0f2744);
  color: #fff;
  padding: 0.65rem 1rem;
  font-size: 0.875rem;
}

.m2026-playvideo-admin-banner--prompt {
  margin-bottom: 1.25rem;
  border-radius: 10px;
}

.m2026-playvideo-admin-banner__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.m2026-playvideo-admin-banner__text {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.m2026-playvideo-admin-banner__hint {
  max-width: 1200px;
  margin: 0.5rem auto 0;
  font-size: 0.8125rem;
  opacity: 0.9;
}

.m2026-playvideo-admin-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  margin: 0;
  user-select: none;
}

.m2026-playvideo-admin-toggle__input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.m2026-playvideo-admin-toggle__track {
  position: relative;
  width: 44px;
  height: 24px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  transition: background 0.2s ease;
}

.m2026-playvideo-admin-toggle__thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s ease;
}

.m2026-playvideo-admin-toggle__input:checked + .m2026-playvideo-admin-toggle__track {
  background: #22c55e;
}

.m2026-playvideo-admin-toggle__input:checked + .m2026-playvideo-admin-toggle__track .m2026-playvideo-admin-toggle__thumb {
  transform: translateX(20px);
}

.m2026-playvideo-admin-toggle__label {
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.m2026-playvideo-admin-callout {
  max-width: 720px;
  margin: 0 auto 1.5rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: rgba(30, 58, 95, 0.12);
  border: 1px solid rgba(30, 58, 95, 0.25);
  color: var(--m-text, #1e293b);
  font-size: 0.9rem;
  text-align: center;
}

.m2026-playvideo-admin-callout i {
  margin-right: 0.35rem;
  color: #1e3a5f;
}

.m2026-youtube-live-badge {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: #cc0000;
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.m2026-youtube-live-badge__dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #fff;
  animation: m2026-youtube-live-pulse 1.4s ease-in-out infinite;
}

@keyframes m2026-youtube-live-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.55;
    transform: scale(0.85);
  }
}

body.m2026-body .portfolio-item.is-youtube-live {
  border-color: rgba(204, 0, 0, 0.45);
}

.m2026-youtube-live-preview {
  background: #000;
}

.m2026-youtube-live-embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.m2026-youtube-live-open {
  position: absolute;
  bottom: 0.45rem;
  right: 0.45rem;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.2;
}

.m2026-youtube-live-open:hover {
  background: rgba(204, 0, 0, 0.92);
  color: #fff;
  text-decoration: none;
}

body.m2026-body .portfolio-item:not(.has-access) .portfolio-overlay {
  opacity: 0 !important;
  pointer-events: none;
}

body.m2026-body .portfolio-item:not(.has-access) .portfolio-image::before {
  content: "\f023";
  font-family: "Font Awesome 5 Pro";
  font-weight: 900;
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 4;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

body.m2026-body .portfolio-image {
  position: relative;
}

body.m2026-body #wrapper,
body.m2026-body #content,
body.m2026-body .content-wrap {
  background: transparent !important;
  padding-top: 0 !important;
}

body.m2026-body .container {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

body.m2026-body .video_listing_titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--m-border);
}

body.m2026-body .video_listing_leftside {
  font-family: var(--m-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--m-text);
  letter-spacing: 0.02em;
}

body.m2026-body .video_listing_leftside i {
  color: var(--m-accent);
  margin-right: 0.5rem;
}

body.m2026-body .video_listing_rightside a,
body.m2026-body .video_listing_rightside {
  color: var(--m-accent);
  font-size: 0.875rem;
  font-weight: 700;
}

body.m2026-body .portfolio.grid-container,
body.m2026-body .m2026-video-grid,
body.m2026-body #portfolio,
body.m2026-body #portfolio3 {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
  gap: 1rem !important;
  margin: 0 !important;
}

body.m2026-body .portfolio.grid-container::before,
body.m2026-body .portfolio.grid-container::after {
  display: none !important;
}

body.m2026-body .listings_margin {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body.m2026-body .page-title,
body.m2026-body h1.nobottommargin {
  font-family: var(--m-display);
  color: var(--m-text);
}

body.m2026-body .dark.bg-transparent,
body.m2026-body section.dark {
  background: transparent !important;
}

body.m2026-body .style-msg,
body.m2026-body .feature-box {
  color: var(--m-text);
}

body.m2026-body .feature-box .fbox-icon i {
  color: var(--m-accent);
}

body.m2026-body .button,
body.m2026-body .btn,
body.m2026-body button.button {
  border-radius: 999px;
}

body.m2026-body #gotoTop {
  background: var(--m-accent);
}

body.m2026-body .spinvideo_school_header,
body.m2026-body #page-title {
  display: none !important;
}

body.m2026-body hr {
  border-color: var(--m-border);
}

body.m2026-body .portfolio-desc {
  background: transparent !important;
}

body.m2026-body .portfolio-desc h3,
body.m2026-body .portfolio-desc h3 a {
  color: var(--m-text) !important;
}

body.m2026-body .portfolio-desc span {
  color: var(--m-muted) !important;
}

body.m2026-body .table,
body.m2026-body .table-striped > tbody > tr:nth-of-type(odd) {
  background: var(--m-surface);
  color: var(--m-text);
}

body.m2026-body .table > thead > tr > th,
body.m2026-body .table > tbody > tr > td {
  border-color: var(--m-border);
}

body.m2026-body .well,
body.m2026-body .card {
  background: var(--m-surface);
  border-color: var(--m-border);
  color: var(--m-text);
}

/* Playvideo / passes — purchase option cards */
body.m2026-body .spinvideo_h2 {
  color: var(--m-text);
  font-family: var(--m-display);
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.5rem !important;
  padding-top: 0.5rem;
}

body.m2026-body .video_no_access {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 1.25rem;
  margin: 0 auto 2rem;
  max-width: 960px;
}

body.m2026-body .video_no_access > [class*="col-"] {
  flex: 1 1 280px;
  max-width: 340px;
  width: 100%;
  padding: 0;
  float: none;
}

body.m2026-body .pricing-box {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  padding: 0;
  border-radius: var(--m-radius);
  border: 1px solid var(--m-border);
  background: var(--m-surface);
  color: var(--m-text);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  text-align: center;
}

body.m2026-body .pricing-box.best-price {
  margin: 0;
  min-height: 0;
  background-image: none !important;
  background: var(--m-surface);
  border-color: var(--m-border);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

body.m2026-body .pricing-box--passes {
  background: var(--m-surface) !important;
  border: 1px solid var(--m-border);
}

body.m2026-body .pricing-box--passes .pricing-title {
  background: var(--m-surface-2) !important;
}

body.m2026-body .video_no_access .pricing-features {
  height: auto !important;
  min-height: 0 !important;
}

body.m2026-body .pricing-box--passes .pricing-features {
  text-align: left;
  padding-bottom: 0.5rem;
}

body.m2026-body .pricing-pass-logo {
  display: block;
  margin: 1rem auto 0;
  text-align: center;
}

body.m2026-body .pricing-pass-logo img {
  display: inline-block;
  max-width: 130px;
  width: 100%;
  height: auto;
  margin: 0;
  opacity: 0.95;
}

body.m2026-body .pricing-box--passes .pricing-action .btn {
  font-size: 0.9375rem;
  padding: 0.75rem 1rem;
  white-space: normal;
  line-height: 1.25;
}

body.m2026-body .pricing-title {
  background: var(--m-surface-2) !important;
  text-shadow: none;
  border-bottom: 1px solid var(--m-border);
  border-radius: 0;
  padding: 1rem 1.25rem;
  color: var(--m-muted);
  font-size: 0.875rem;
  line-height: 1.45;
}

body.m2026-body .pricing-title h3 {
  margin: 0 0 0.35rem;
  color: var(--m-text) !important;
  font-family: var(--m-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.m2026-body .pricing-price {
  color: var(--m-text) !important;
  font-family: var(--m-display);
  font-size: 3rem;
  font-weight: 700;
  padding: 1.25rem 1rem 1rem;
  line-height: 1;
}

body.m2026-body .pricing-box.best-price .pricing-price {
  color: var(--m-text) !important;
  font-size: 3rem;
}

body.m2026-body .pricing-price:after {
  border-top-color: var(--m-border);
  width: 60px;
  margin-left: -30px;
}

body.m2026-body .pricing-price .price-unit,
body.m2026-body .price-unit {
  color: var(--m-accent) !important;
  font-size: 1.75rem;
  vertical-align: super;
}

body.m2026-body .pricing-price span.price-tenure {
  color: var(--m-muted);
}

body.m2026-body .pricing-features {
  flex: 1 1 auto;
  border-bottom: none;
  text-align: left;
}

body.m2026-body .pricing-features ul {
  margin: 0;
  padding: 0.5rem 1.25rem 1rem;
  list-style: none;
}

body.m2026-body .pricing-features li {
  padding: 0.35rem 0;
  font-size: 0.875rem;
  color: var(--m-muted);
  border: none;
}

body.m2026-body .pricing-features li strong {
  color: var(--m-text);
}

body.m2026-body .pricing-features img {
  display: block;
  max-width: 160px;
  width: 100%;
  height: auto;
  margin: 0.75rem auto;
}

body.m2026-body .pricing-action {
  padding: 0 1.25rem 1.25rem;
  margin-top: auto;
}

body.m2026-body .pricing-action .btn,
body.m2026-body .video_no_access + .btn,
body.m2026-body #already_purchased {
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.03em;
  border: none;
}

body.m2026-body .pricing-action .btn-danger,
body.m2026-body .btn-danger.btn-block {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}

body.m2026-body .pricing-action .btn-danger:hover,
body.m2026-body .btn-danger.btn-block:hover {
  background: linear-gradient(135deg, #f87171, #ef4444);
}

body.m2026-body #already_purchased.btn-info {
  background: var(--m-surface-2);
  color: var(--m-text);
  border: 1px solid var(--m-border);
}

body.m2026-body #content .container:has(.video_no_access) {
  padding-left: 1rem !important;
  padding-right: 1rem !important;
  max-width: 960px;
  margin: 0 auto;
}

body.m2026-body #content .content-wrap:has(.video_no_access) {
  padding: 1.5rem 0 2.5rem !important;
}

body.m2026-body #content .mx-auto .btn-block {
  display: block;
  width: 100%;
  max-width: 340px;
}

body.m2026-body .login-wrap,
body.m2026-body #login-form,
body.m2026-body .account-content {
  color: var(--m-text);
}

body.m2026-body .form-control,
body.m2026-body input[type="text"],
body.m2026-body input[type="email"],
body.m2026-body input[type="password"],
body.m2026-body select,
body.m2026-body textarea {
  background: var(--m-surface-2);
  border: 1px solid var(--m-border);
  color: var(--m-text);
  border-radius: var(--m-radius-sm);
}

body.m2026-body label {
  color: var(--m-muted);
}

/* Login page standalone layout */
body.m2026-body.m2026-login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

body.m2026-body.m2026-login-page .login-container,
body.m2026-body.m2026-login-page #login-form-wrap {
  width: 100%;
  max-width: 440px;
  background: var(--m-surface);
  border: 1px solid var(--m-border);
  border-radius: calc(var(--m-radius) + 4px);
  padding: 2rem;
  box-shadow: var(--m-shadow);
}

body.m2026-body.m2026-login-page h1,
body.m2026-body.m2026-login-page h2,
body.m2026-body.m2026-login-page h3 {
  font-family: var(--m-display);
  color: var(--m-text);
}
