/* 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;
}

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);
}
