/* wrap plugin for fixed length */
.table-wrapper {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
}

/* style to show click/input prevention */
.prevent-changes,
.prevent-changes input,
.prevent-changes select,
.prevent-changes label {
  opacity: 0.7;
  cursor: not-allowed;
}

.prevent-changes select,
.prevent-changes input[type="checkbox"],
.prevent-changes input[type="radio"] {
  background-color: #f0f0f0;
  outline: 2px dashed #aaa;
}

/* Make input fields readonly */
.readonly-field input,
.readonly-field textarea,
.readonly-field select {
    pointer-events: none;
    background-color: #f9f9f9;
    color: #555;
}

/* For Choices.js-enhanced dropdowns */
.readonly-field .choices__inner {
    pointer-events: none;
    background-color: #f9f9f9;
}

/* Disable file uploads or checkboxes if necessary */
.readonly-field input[type="file"],
.readonly-field input[type="checkbox"],
.readonly-field input[type="radio"] {
    pointer-events: none;
}

.student-role-wrapper {
    display: none !important;
}

/* ===== HERO BANNER STYLES ===== */
.hero {
  min-height: 40vh;                       /* full viewport height */
  background: url("/wp-content/uploads/2025/06/Hero-Banner-Background.png") center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
}
.hero::before {                             /* dark overlay */
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}
.hero__overlay {                            /* keeps text above overlay */
  position: relative;
  max-width: 900px;
  padding: 0 1.5rem;
}
.hero__title {
  font-size: clamp(2.5rem, 6vw, 4rem);     /* scales between 2.5–4 rem */
  font-weight: 700;
  margin-bottom: 1rem;
}
.hero__tagline {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 300;
  line-height: 1.4;
  margin-bottom: 2.2rem;
}
.btn-cta {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  background: #ffb703;                     /* your brand accent */
  color: #1d1d1d;
  font-weight: 600;
  border-radius: 9999px;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.btn-cta:hover, .btn-cta:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}
/* Reduce padding on very small screens */
@media (max-width: 480px) {
  .hero__overlay { padding: 0 1rem; }
}

.wpDataTable td {
  white-space: normal !important;
  word-wrap: break-word;
}

.wpDataTable td img {
  width: 200px;
  height: 300px;
  object-fit: contain;
  display: block;
}

/* These CSS disable detel button for wpDataTables */
.DTTT_button_new {
  display: none !important;
}
.DTTT_button_delete {
  display: none !important;
}

/* Sticky bar container */
.mhg-sticky-register{
  position: sticky;
  top: 0;              /* sticks below nav IF inserted below nav */
  z-index: 9999;
  background: rgba(255,255,255,0.98);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  backdrop-filter: blur(6px);
}

/* inner layout */
.mhg-sticky-inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mhg-sticky-text{
  font-size: 14px;
  line-height: 1.2;
  color: #111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mhg-sticky-sub{
  font-weight: 400;
  color: #555;
}

/* CTA button */
.mhg-sticky-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  background: #1E73BE; /* change if you want */
  white-space: nowrap;
}

.mhg-sticky-btn:hover{
  opacity: 0.92;
}

/* Mobile tweaks */
@media (max-width: 480px){
  .mhg-sticky-sub{ display:none; }
  .mhg-sticky-inner{ padding: 10px 12px; }
  .mhg-sticky-btn{ padding: 10px 12px; }
}