@charset "UTF-8";
/***************************************************************************************************
********************************* STAGE STYLES ****************************************************
***************************************************************************************************/
:root {
  --primary: #0d6efd;
  --secondary: #161925;
  --accent: #ff6600;
  --text: #161925;
  --lightgrey: #8EA8C3;
  --mediumgrey: #406E8E;
  --darkgrey: #23395B;
  --teal: #449F93;
  --darkteal: #006153;
  --cream: #EEE8A9;
  --dark-bg: #161925;
  --yellow: #e2b12e;
  --error: #b92924;
  --rust: #C15450;
}

.was-validated .form-control:invalid,
.was-validated .form-select:invalid {
  border-color: #dc3545;
}

.was-validated .form-control:valid,
.was-validated .form-select:valid {
  border-color: #28a745;
}

.invalid-feedback {
  display: none;
  font-size: 0.875rem;
  color: #dc3545;
}

.was-validated .form-control:invalid ~ .invalid-feedback,
.was-validated .form-select:invalid ~ .invalid-feedback,
.was-validated .form-check-input:invalid ~ .invalid-feedback {
  display: block;
}

.stage-land {
  background-color: green;
  color: var(--text-light);
}

.stage-construction {
  background-color: yellow;
  color: var(--text-dark);
}

.stage-management {
  background-color: lightblue;
  color: var(--text-dark);
}

.stage-renovation {
  background-color: orange;
  color: var(--text-light);
}

/* Override Bootstrap's primary button colors */
.btn-primary {
  color: #fff;
  background-color: #09083a;
  border-color: #09083a;
}

.btn-primary:hover {
  color: #fff;
  background-color: #12114e;
  border-color: #12114e;
}

.btn-primary:focus,
.btn-primary:active {
  color: #fff;
  background-color: #06052a;
  border-color: #06052a;
  box-shadow: 0 0 0 0.25rem rgba(9, 8, 58, 0.4);
}

.btn-primary:disabled {
  background-color: #09083a;
  border-color: #09083a;
  opacity: 0.65;
}

.navbar {
  background: #fff;
  padding: 1rem 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: relative;
}
.navbar .navbar-brand {
  font-weight: 700;
  font-size: 1.3rem;
  color: #111;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}
.navbar .navbar-brand:hover {
  color: #007bff;
}
.navbar .nav-link {
  color: #333;
  font-weight: 500;
  margin: 0 0.75rem;
  position: relative;
  transition: color 0.2s ease;
}
.navbar .nav-link:hover {
  color: #007bff;
}
.navbar .nav-link.active {
  color: #007bff;
  font-weight: 600;
}
.navbar .nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 2px;
  background: #007bff;
  transition: width 0.25s ease;
}
.navbar .nav-link:hover::after {
  width: 100%;
}
.navbar .btn-signin {
  margin-left: 1rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 25px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}
.navbar .btn-signin:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15);
}

/* Custom button based on Bootstrap btn-warning */
.btn-enter {
  --bs-btn-color: #fff; /* text color */
  --bs-btn-bg: #09083a; /* base background */
  --bs-btn-border-color: #09083a; /* border same as bg */
  --bs-btn-hover-bg: #12114e; /* slightly lighter/different on hover */
  --bs-btn-hover-border-color: #12114e;
  --bs-btn-focus-shadow-rgb: 9,8,58; /* focus ring uses brand color */
  --bs-btn-active-bg: #06052a; /* darker for active click */
  --bs-btn-active-border-color: #06052a;
  --bs-btn-disabled-bg: #09083a;
  --bs-btn-disabled-border-color: #09083a;
  display: inline-block;
  font-weight: 600;
  text-align: center;
  vertical-align: middle;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  border: 1px solid var(--bs-btn-border-color);
  padding: 0.5rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.375rem; /* same as default Bootstrap rounded corners */
  color: var(--bs-btn-color);
  background-color: var(--bs-btn-bg);
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn-enter:hover {
  color: #fff;
  background-color: var(--bs-btn-hover-bg);
  border-color: var(--bs-btn-hover-border-color);
}

.btn-enter:focus {
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(var(--bs-btn-focus-shadow-rgb), 0.5);
}

.btn-enter:active {
  background-color: var(--bs-btn-active-bg);
  border-color: var(--bs-btn-active-border-color);
}

.btn-enter:disabled,
.btn-enter.disabled {
  opacity: 0.65;
  pointer-events: none;
  background-color: var(--bs-btn-disabled-bg);
  border-color: var(--bs-btn-disabled-border-color);
}

* {
  font-family: acumin-variable, sans-serif;
}

b {
  font-weight: 900;
}

.program-card {
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}
.program-card:hover {
  transform: scale(1.02);
}
.program-card .card-header {
  background-size: cover;
  background-position: center;
  height: 100px;
  background-image: url("/public/img/land.jpg");
}
.program-card .card-header .program-stage {
  font-size: 0.8rem;
}
.program-card .card-header .program-location {
  background: linear-gradient(to left, rgba(0, 0, 0, 0.8), transparent);
  width: 30%;
}
.program-card .card-body {
  padding: 1.5rem 1rem;
}
.program-card .card-body .program-title {
  color: #4ed2f7;
}
.program-card .card-body .program-address {
  font-size: 0.7rem;
}
.program-card .card-body .program-stats {
  row-gap: 0.5rem;
}
.program-card .card-body .program-stats .stat {
  line-height: 1;
}
.program-card .card-body .program-stats .value {
  font-size: 1.25rem;
}
.program-card .card-body .program-stats .small {
  font-size: 0.75rem;
  color: #6c757d;
}
.program-card .card-footer {
  border-top: 1px solid #e9ecef;
  background-color: #fff;
}
.program-card .card-footer .action-btn {
  text-align: center;
  background-color: white;
  border: none;
}
.program-card .card-footer .action-btn:hover {
  color: #007bff;
}

tbody, td, tfoot, th, thead, tr {
  border-style: unset;
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 16px;
  text-align: left;
}
.table th, .table td {
  padding: 10px;
}
.table th {
  background-color: #666666;
  color: white;
  font-weight: 400;
}
.table .btn-link {
  color: #007bff;
  text-decoration: none;
}
.table .btn-link:hover {
  text-decoration: underline;
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
  --bs-table-color-type: var(--bs-table-striped-color);
  --bs-table-bg-type: #eef8f8;
}

td:has(.module--edit-button) {
  text-align: right;
}

.module--edit-button {
  text-align: right;
}

.module--delete-button {
  text-align: right;
}

.module--add-button {
  background-color: #23395B;
  color: white;
  border-radius: 20px;
}

.fg-logo {
  width: 150px;
  margin-left: 2rem;
}

.modal-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding: 2rem;
}
.modal-header .modal-header-content {
  text-align: center;
}
.modal-header .modal-title {
  margin: 0;
  font-size: 2rem;
  font-weight: bold;
}
.modal-header .modal-subtitle {
  margin-top: 0.5rem;
  font-size: 1rem;
  color: #6c757d;
}
.modal-header .btn-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.modal-body .form-label {
  margin-bottom: 0.5rem;
}
.modal-body .form-select {
  font-size: 1rem;
  padding: 0.5rem;
}

.form-indicators {
  display: none !important;
}

.stage-select {
  min-width: 300px;
  padding: 0.25rem;
  border-radius: 5px;
}

/* Align label and input fields on the same line */
.form-page .mb-3 {
  display: flex;
  align-items: flex-start;
}

.form-page .form-label {
  margin-right: 4rem;
  text-align: left;
}

.form-page .form-control {
  flex-grow: 1;
}

.card .row .group-title {
  background-color: #666666;
  color: #FFF;
}

.table-schema-added {
  color: var(--success) !important;
}

.table-schema-removed {
  color: var(--danger) !important;
}

.calc-direction-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  margin-bottom: 1rem;
}

.calc-direction-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.95rem;
  color: var(--bs-secondary);
  cursor: pointer;
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  padding: 0.3rem 0.6rem;
  background-color: #f8f9fa;
  transition: background-color 0.2s ease;
}
.calc-direction-toggle:hover {
  background-color: #e9ecef;
}
.calc-direction-toggle:hover i {
  opacity: 1;
  font-size: 1.15rem;
}
.calc-direction-toggle i {
  font-size: 1.1rem;
  color: var(--bs-secondary);
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.bi-arrow-right-circle-fill {
  font-size: 1.15rem;
}

.bi-arrow-left-circle-fill {
  font-size: 1.15rem;
}

.pdf-export-header {
  text-align: right;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.7);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.overlay-text {
  font-size: 10rem;
  font-weight: bold;
  color: rgba(0, 0, 0, 0.2);
  transform: rotate(352deg);
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  pointer-events: none;
}

.row.card-section-container {
  position: relative;
}

button:disabled {
  background-color: #e0e0e0;
  color: #a0a0a0;
  border: 1px solid #d0d0d0;
  cursor: not-allowed;
  opacity: 0.7;
}

button:disabled:hover {
  background-color: #e0e0e0;
  color: #a0a0a0;
}

.quick-links .filter-button:disabled {
  background-color: #e0e0e0;
  color: #a0a0a0;
  border: 1px solid #d0d0d0;
  cursor: not-allowed;
  opacity: 0.7;
}

/* Fade-in and fade-out animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -60%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}
@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
    transform: translate(-50%, -60%);
  }
}
#equationModal .drag-placeholder {
  background-color: rgba(0, 123, 255, 0.2); /* Light blue transparent */
  border: 2px dashed #007bff; /* Dashed border */
  height: 30px;
  width: 100px;
  margin: 5px;
  display: inline-block;
}
#equationModal .eq-title {
  color: #204F88;
}
#equationModal .operator-container {
  background-color: #EFEFEF;
  border-top: 1px solid #EFF1F3;
  border-bottom: 1px solid #EFF1F3;
}
#equationModal .operator-container .operator-btn-container {
  padding: 5px;
}
#equationModal .operator-container .operator-btn-container .operator-btn {
  background-color: #E9F6FB !important;
  border: 1px solid #97D8ED;
  font-size: 5rem;
  font-weight: 900;
  color: black;
}
#equationModal .cell-container {
  background-color: #F9F9F9;
  border-top: 1px solid #EFF1F3;
  border-bottom: 1px solid #EFF1F3;
}
#equationModal .drag-pill {
  background-color: #FDF3C9;
  border: 1px solid black;
}
#equationModal .drag-pill .pill-delete-btn {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: white;
  color: #600000;
  width: 20px;
  height: 20px;
  border: 1px solid #600000;
  border-radius: 50%;
  padding: 0;
  padding-bottom: 2px;
  font-size: 1rem;
}
#equationModal .calculation-container {
  border-bottom: 1px solid #EFF1F3;
}
#equationModal .calculation-container .operator-btn {
  background-color: #E9F6FB !important;
  border: 1px solid #97D8ED;
  font-size: 5rem;
  font-weight: 900;
  color: black;
}
#equationModal .search-group {
  position: relative;
  width: 250px;
}
#equationModal .search-group input {
  width: 100%;
  border: 1px solid black;
  padding: 0.5rem 1rem;
}
#equationModal .search-group i {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.active-sort {
  background-color: #0d6efd;
  color: white;
  border-color: #0d6efd;
}

.fave-toggle.active {
  background-color: #dc3545;
  color: #fff;
  border-color: #dc3545;
}

#favourite-filter.active {
  background-color: #dc3545;
  color: white;
  border-color: #dc3545;
}

#favourite-filter.active i {
  color: white;
}

.thankyou-wrapper {
  min-height: 100vh;
  background: linear-gradient(135deg, #f9f9f9 60%, #eaf8f2 100%);
}

.thankyou-box {
  max-width: 500px;
  background: #fff;
  border-radius: 1rem;
}

.thankyou-icon i {
  font-size: 3rem;
  color: #28a745;
}

.thankyou-box h2 {
  font-size: 2rem;
  color: #333;
}

.thankyou-box p {
  font-size: 1.1rem;
}

/* ===== Fullscreen overlay remains ===== */
#toastOverlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  z-index: 1054;
}

/* ===== Center container ===== */
.toast-container {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%);
  z-index: 1055;
  max-width: 520px;
  max-height: 85vh; /* keeps the whole thing inside screen */
  display: flex;
  flex-direction: column;
}

/* ===== Toast card ===== */
.result-toast {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  max-height: 100%; /* card fits container */
}

/* ===== Scrollable inner area ===== */
.result-toast .rt-body,
.result-toast .rt-actions {
  flex-shrink: 0;
}

.result-toast .rt-scroll {
  overflow-y: auto;
  padding: 1.25rem 1.5rem;
  flex: 1 1 auto;
  min-height: 0; /* important for flexbox scroll */
}

/* ===== Header ===== */
.rt-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem 1rem 1rem;
  color: #fff;
  background: linear-gradient(135deg, #308478, #2c5f5c);
  position: relative;
  text-align: center;
}
.rt-header.rt-fail {
  background: linear-gradient(135deg, #c62828, #8b0000);
}
.rt-header.rt-partial {
  background: linear-gradient(135deg, #ff8150, #e06a38);
}
.rt-header .rt-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
}
.rt-header .rt-title.congrats {
  font-weight: 700;
}
.rt-header .rt-close {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  background: none;
  border: none;
  font-size: 1.25rem;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
}

/* ===== Score Badge ===== */
.rt-score-badge {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.6rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.25);
}
.rt-score-badge.pass {
  background: rgba(128, 249, 192, 0.25);
}
.rt-score-badge.fail {
  background: rgba(255, 0, 0, 0.25);
}

/* ===== Body Content ===== */
.rt-body {
  font-size: 0.95rem;
  color: #444;
}
.rt-body .fail-msg .rt-score {
  color: #c62828;
  font-weight: 500;
}
.rt-body .rt-badges {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.rt-body .rt-badges .rt-badge {
  background: #f1f1f1;
  border-radius: 1rem;
  padding: 0.3rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 500;
}
.rt-body .rt-details summary {
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 0.5rem;
}
.rt-body .rt-details .rt-q {
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid #eee;
}
.rt-body .rt-details .rt-q h6 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.rt-body .rt-details .rt-q .rt-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-top: 0.2rem;
}
.rt-body .rt-details .rt-q .rt-row .rt-key {
  color: #666;
}

/* ===== Footer Actions ===== */
.rt-actions {
  padding: 0.9rem 1.2rem;
  border-top: 1px solid #eee;
  background: #fafafa;
  display: flex;
  justify-content: center;
  gap: 1rem;
}
.rt-actions .btn.orange {
  background: #ff8150;
  color: #fff;
  font-weight: 500;
  border: none;
  border-radius: 6px;
  padding: 0.4rem 1rem;
}
.rt-actions .btn.orange:hover {
  background: #e36c3f;
}
.rt-actions a.btn-link {
  font-size: 0.9rem;
  color: #308478;
  text-decoration: none;
}
.rt-actions a.btn-link:hover {
  text-decoration: underline;
}

.terms-list {
  counter-reset: term-counter;
  list-style: none;
}

.terms-list > .terms-section {
  counter-increment: term-counter;
  position: relative;
  padding-left: 2.5rem;
}

.terms-list > .terms-section::before {
  content: counter(term-counter) ".";
  position: absolute;
  left: 0;
  top: 0.2rem;
  font-weight: 700;
  font-size: 1.25rem;
}

/* ===============================
   Contest Slider – Full CSS
   =============================== */
#contestHeroSection {
  min-height: 300px;
}

.contest-slider-wrapper {
  position: relative;
  overflow: hidden;
  max-width: 100%;
  padding: 2rem 0;
}
.contest-slider-wrapper h2 {
  text-align: center;
  font-weight: 700;
  margin-bottom: 2rem;
}
.contest-slider-wrapper .contest-slider-track {
  display: flex;
  align-items: center;
  gap: 2rem;
  transition: transform 0.5s ease;
  justify-content: center;
}
.contest-slider-wrapper .contest-card {
  flex: 0 0 280px;
  background: #fff;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease, opacity 0.4s ease;
  opacity: 0.7;
  transform: scale(0.9);
}
.contest-slider-wrapper .contest-card img {
  width: 100%;
  height: 180px;
  -o-object-fit: cover;
     object-fit: cover;
}
.contest-slider-wrapper .contest-card .card-body {
  padding: 1rem;
}
.contest-slider-wrapper .contest-card .card-body h5 {
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.contest-slider-wrapper .contest-card .card-body p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.contest-slider-wrapper .contest-card .card-body .btn-primary {
  background-color: #09083a;
  border-color: #09083a;
  color: #fff;
  width: 100%;
}
.contest-slider-wrapper .contest-card .card-body .btn-primary:hover {
  background-color: #0d0c55;
  border-color: #0d0c55;
}
.contest-slider-wrapper .contest-card.active {
  transform: scale(1.15);
  opacity: 1;
  z-index: 2;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.contest-slider-wrapper .slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(9, 8, 58, 0.85);
  color: #fff;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}
.contest-slider-wrapper .slider-btn:hover {
  background-color: rgb(9, 8, 58);
}
.contest-slider-wrapper .slider-btn.slider-btn-prev {
  left: 0.5rem;
}
.contest-slider-wrapper .slider-btn.slider-btn-next {
  right: 0.5rem;
}
@media (max-width: 992px) {
  .contest-slider-wrapper .contest-card {
    flex: 0 0 240px;
  }
  .contest-slider-wrapper .contest-card.active {
    transform: scale(1.1);
  }
}
@media (max-width: 768px) {
  .contest-slider-wrapper .contest-card {
    flex: 0 0 200px;
  }
  .contest-slider-wrapper .contest-card.active {
    transform: scale(1.05);
  }
}

/* Contest Hero container text centering */
.contest-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
}

.contest-hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0;
}

.contest-hero h1 {
  margin-top: 0;
}

#contestMultiform {
  /* remove extra padding resets so columns can use gutter */
}
#contestMultiform .form-page {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.5rem 0.5rem; /* vertical / horizontal gaps */
  --bs-gutter-x: .5rem;
  --bs-gutter-y: .5rem;
}
#contestMultiform .row.mb-3 {
  margin-bottom: 0 !important;
}
#contestMultiform .col-md-12.mb-3,
#contestMultiform .col-md-6.mb-3,
#contestMultiform .col-md-3.mb-3,
#contestMultiform .col-12.mb-3 {
  margin-bottom: 0 !important;
}
#contestMultiform .form-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
  font-weight: 500;
}
#contestMultiform .form-control,
#contestMultiform .searchable-input {
  height: 42px;
  padding: 0.45rem 0.75rem;
  font-size: 0.95rem;
  border-radius: 4px;
}
#contestMultiform .file-upload-container {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  width: inherit;
}
#contestMultiform .file-upload-container .upload-area {
  border: 1px dashed #ccc;
  padding: 0.75rem;
  text-align: center;
  border-radius: 4px;
  font-size: 0.9rem;
  width: inherit;
}
#contestMultiform .form-check {
  display: flex;
  align-items: center;
  margin: 0.5rem 0;
}
#contestMultiform .form-check .form-check-input {
  margin-right: 0.5rem;
  margin-top: 0;
}
#contestMultiform .form-check .form-check-label {
  font-size: 0.9rem;
}
#contestMultiform .row.col-12 .form-check {
  justify-content: flex-start;
  align-self: self-start;
}
#contestMultiform .invalid-feedback {
  margin-top: 0.25rem;
  font-size: 0.8rem;
}
#contestMultiform .form-button--next {
  min-width: 120px;
  padding: 0.5rem 1.25rem;
  font-size: 1rem;
}
#contestMultiform .card.p-4 {
  padding: 2rem 1.5rem !important;
}

.contest-form .container {
  padding-left: 0;
  padding-right: 0;
}

.site-footer {
  position: relative;
  background: #111827;
  color: #f3f4f6;
  font-family: "Inter", sans-serif;
  padding-top: 2rem;
  /* === Yellow Triangle Decoration === */
}
.site-footer .footer-container {
  position: relative; /* keep content above triangle */
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 2rem;
}
@media (max-width: 768px) {
  .site-footer .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
.site-footer .footer-brand .footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}
.site-footer .footer-brand .footer-tagline {
  font-size: 0.9rem;
  color: #9ca3af;
}
.site-footer .footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  grid-auto-flow: column;
  grid-auto-rows: auto;
  grid-template-rows: repeat(4, auto);
  -moz-column-gap: 1.25rem;
       column-gap: 1.25rem;
}
.site-footer .footer-links ul:not(.dropdown-menu) {
  display: grid;
}
@media (max-width: 992px) {
  .site-footer .footer-links ul {
    -moz-column-gap: 1rem;
         column-gap: 1rem;
  }
}
@media (max-width: 600px) {
  .site-footer .footer-links ul {
    grid-auto-flow: row;
    grid-template-rows: none;
    row-gap: 0.5rem;
  }
}
.site-footer .footer-links li {
  margin-bottom: 0.35rem;
  width: auto;
}
.site-footer .footer-links a {
  display: inline-block;
  width: auto;
  font-size: 0.95rem;
  color: #f3f4f6;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}
.site-footer .footer-links a:hover {
  color: #80f9c0;
}
.site-footer .footer-contact h4 {
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #ffffff;
}
.site-footer .footer-contact p {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  color: #d1d5db;
}
.site-footer .footer-contact .footer-social {
  margin-top: 0.5rem;
}
.site-footer .footer-contact .footer-social a {
  font-size: 1.25rem;
  color: #f3f4f6;
  margin-right: 0.75rem;
  transition: color 0.2s ease-in-out;
}
.site-footer .footer-contact .footer-social a:hover {
  color: #80f9c0;
}
.site-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  padding: 1rem 0;
  text-align: center;
  font-size: 0.8rem;
  color: #9ca3af;
}

.fullwidth-banner {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
}
.fullwidth-banner img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
.fullwidth-banner .banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}
.fullwidth-banner .banner-text {
  color: #fff;
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  padding: 0 1rem;
}

.learning-section {
  justify-content: space-evenly;
  padding: 4rem 2rem;
  min-height: 300px;
  position: relative;
}
.learning-section .learning-card {
  display: flex;
  border: 1px solid #ccc;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  font-family: Arial, sans-serif;
  margin-bottom: 16px;
  padding: 0 !important;
}
.learning-section .learning-card .card-left {
  flex: 0 0 40%;
}
.learning-section .learning-card .card-left img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
.learning-section .learning-card .card-middle {
  flex: 1;
  padding: 14px 12px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}
.learning-section .learning-card .card-middle .card-label {
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 0.25rem;
}
.learning-section .learning-card .card-middle .card-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: #ff6600;
  margin-bottom: 6px;
}
.learning-section .learning-card .card-middle .card-description,
.learning-section .learning-card .card-middle .card-attempts {
  font-size: 14px;
  color: #555;
  margin: 2px 0;
}
.learning-section .learning-card .card-middle .card-requirement {
  font-size: 12px;
  font-style: italic;
  color: #888;
  margin-bottom: 8px;
}
.learning-section .learning-card .card-middle .card-score {
  font-size: 1rem;
  color: #333;
  font-weight: 600;
}
.learning-section .learning-card .card-middle .start-button {
  margin-top: auto;
  padding: 10px 12px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 14px;
  width: 100%;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: background-color 0.3s;
}
.learning-section .learning-card .card-middle .start-button.green {
  background-color: #a5e214;
  color: #000;
}
.learning-section .learning-card .card-middle .start-button.green:hover {
  background-color: #92c511;
}
.learning-section .learning-card .card-middle .start-button.orange {
  background-color: #ff9900;
  color: white;
}
.learning-section .learning-card .card-middle .start-button.orange:hover {
  background-color: #e48000;
}
.learning-section .learning-card .card-middle .start-button.resume {
  background-color: #f4c542;
  color: #333;
}
.learning-section .learning-card .card-middle .start-button.resume:hover {
  background-color: #e0b636;
}
.learning-section .learning-card .card-middle .btn.download-cert {
  display: inline-block;
  background: #eefae4;
  color: #2c7b00;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: bold;
  text-decoration: none;
  margin-top: auto;
  border: 1px solid #a5e214;
}
.learning-section .learning-card .card-right {
  flex: 0 0 30px;
  background: #e5e5e5;
  border-left: 1px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 12px;
  font-weight: bold;
  color: #333;
  letter-spacing: 0.6px;
  padding: 8px 4px;
}
.learning-section .learning-card .card-right.complete {
  background-color: #80c342 !important;
  color: white;
}
.learning-section .learning-card .card-right.incomplete {
  background-color: #e5e5e5;
  color: #333;
}

@media (max-width: 1024px) {
  .learning-section {
    padding: 2rem;
  }
  .learning-section .learning-card {
    flex-direction: column;
    height: auto;
    border-radius: 10px;
    overflow: hidden;
  }
  .learning-section .learning-card .card-left {
    width: 100%;
    height: auto;
  }
  .learning-section .learning-card .card-left img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    -o-object-fit: cover;
       object-fit: cover;
  }
  .learning-section .learning-card .card-middle {
    padding: 1.25rem;
    padding-top: 0.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: white;
  }
  .learning-section .learning-card .card-middle .card-title {
    font-size: 1.3rem;
    color: #ff6600;
    margin-bottom: 0.5rem;
  }
  .learning-section .learning-card .card-middle .card-description,
  .learning-section .learning-card .card-middle .card-attempts {
    font-size: 0.95rem;
    margin: 0.2rem 0;
  }
  .learning-section .learning-card .card-middle .card-requirement {
    font-size: 0.85rem;
    margin-bottom: 1rem;
    color: #777;
  }
  .learning-section .learning-card .card-middle .start-button {
    font-size: 1rem;
    padding: 10px 16px;
    border-radius: 25px;
  }
  .learning-section .learning-card .card-right {
    writing-mode: horizontal-tb;
    border-left: none;
    border-top: 1px solid #ccc;
    font-size: 0.85rem;
    padding: 0.75rem 1.25rem;
    justify-content: center;
    background: #f0f0f0;
  }
}
.learning-card.border-success {
  border: 2px solid #80c342;
}

/* Main quiz container */
.quiz-card {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Header row */
.quiz-card-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.quiz-card-header .btn {
  font-size: 0.9rem;
  padding: 0.4rem 1rem;
}

/* Title */
.activity-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: #222;
}

/* ============ Each Question as a Card ============ */
.sortable-block {
  background: #f9fafc;
  border: 1px solid #e1e5ea;
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
  transition: box-shadow 0.2s ease;
}
.sortable-block:hover {
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
}

/* Question text (the label) */
.sortable-block > .d-flex > label {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0rem;
}

/* Answers list */
.sortable-block .form-check {
  margin-bottom: 0.5rem;
}
.sortable-block .form-check .form-check-input {
  margin-right: 0.5rem;
}

/* Submit / pagination buttons */
.form-button--next,
.form-button--prev {
  padding: 0.5rem 1.25rem;
  font-size: 1rem;
  border-radius: 4px;
}

.form-button--next.btn-primary {
  background-color: #308478;
  border: none;
}
.form-button--next.btn-primary:hover {
  background-color: #246c61;
}

/* =========================
   Completion Toast Modal
   ========================= */
.toast-container {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%);
  z-index: 1055;
}
.toast-container #notificationToast {
  width: 380px;
  max-width: 90%;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}
.toast-container #notificationToast .rt-header {
  position: relative;
  padding: 1rem 1.5rem;
  text-align: center;
  color: #fff;
}
.toast-container #notificationToast .rt-header.rt-pass {
  background: linear-gradient(135deg, #308478, #2c5f5c);
}
.toast-container #notificationToast .rt-header.rt-fail {
  background: linear-gradient(135deg, #c62828, #8b0000);
}
.toast-container #notificationToast .rt-header.rt-partial {
  background: linear-gradient(135deg, #ff8150, #e06a38);
}
.toast-container #notificationToast .rt-header .rt-title {
  font-size: 1.25rem;
  font-weight: 600;
}
.toast-container #notificationToast .rt-header .rt-close {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  font-size: 1.25rem;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
}
.toast-container #notificationToast .rt-body {
  padding: 1.2rem 1.5rem 0.5rem;
  text-align: center;
}
.toast-container #notificationToast .rt-body .rt-badges {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}
.toast-container #notificationToast .rt-body .rt-badges .rt-badge {
  background: #f1f3f5;
  color: #333;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.4rem 0.9rem;
  border-radius: 1rem;
}
.toast-container #notificationToast .rt-actions {
  padding: 1rem 1.5rem 1.25rem;
  text-align: center;
  background: #fafafa;
  border-top: 1px solid #eee;
  /* remove link look for btn-link inside .orange */
}
.toast-container #notificationToast .rt-actions .btn.orange {
  display: inline-block;
  background: #ff8150;
  color: #fff !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s ease;
}
.toast-container #notificationToast .rt-actions .btn.orange:hover {
  background: #e36c3f;
}
.toast-container #notificationToast .rt-actions .btn-link.btn.orange {
  border: none;
}

#incompleteModal {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
#incompleteModal .modal-content {
  background-color: #fff;
  padding: 2rem;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  text-align: center;
  margin: 5rem auto;
}
#incompleteModal .modal-content h3 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}
#incompleteModal .modal-content p {
  margin-bottom: 1.5rem;
}
#incompleteModal .modal-content .modal-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}
#incompleteModal .modal-content .modal-buttons button {
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  border: 2px solid #374955;
  background-color: #fff;
  color: #374955;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}
#incompleteModal .modal-content .modal-buttons button:hover {
  background-color: #374955;
  color: #fff;
}

/* =========================
   Media Library Page
   ========================= */
/* =========================
   Media Library Page
   ========================= */
.media-library {
  padding: 2rem;
  position: relative;
  padding-top: 3rem;
  min-height: 300px;
}
.media-library .library-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: #333;
}
.media-library .media-grid {
  display: grid;
  position: relative;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  min-height: 300px;
}
.media-library .media-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.2s ease-in-out;
}
.media-library .media-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.media-library .media-card .media-thumb {
  position: relative;
}
.media-library .media-card .media-thumb .media-image {
  width: 100%;
  height: 200px;
  -o-object-fit: cover;
     object-fit: cover;
  background: #f7f7f7;
  display: block;
}
.media-library .media-card .media-thumb .video-icon-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  padding: 0.5rem;
}
.media-library .media-card .media-content {
  flex: 1;
  padding: 1rem;
}
.media-library .media-card .media-content .media-type {
  font-size: 0.8rem;
  font-weight: 600;
  color: #777;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
}
.media-library .media-card .media-content .media-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 0.5rem;
}
.media-library .media-card .media-content .media-description {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 0.75rem;
}
.media-library .media-card .media-content .media-meta {
  font-size: 0.8rem;
  color: #888;
}
.media-library .media-card .media-content .media-meta .media-date {
  font-style: italic;
}
.media-library .media-card .media-actions {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: #fafafa;
  border-top: 1px solid #eee;
}
.media-library .media-card .media-actions a,
.media-library .media-card .media-actions button {
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease;
}
.media-library .media-card .media-actions .btn-download {
  background: #374955;
  color: #fff;
}
.media-library .media-card .media-actions .btn-download:hover {
  background: rgb(44.9821428571, 59.7035714286, 69.5178571429);
}
.media-library .media-card .media-actions .btn-edit {
  background: #308478;
  color: #fff;
}
.media-library .media-card .media-actions .btn-edit:hover {
  background: rgb(41.2, 113.3, 103);
}
.media-library .media-card .media-actions .btn-delete {
  background: #ff7e80;
  color: #fff;
}
.media-library .media-card .media-actions .btn-delete:hover {
  background: rgb(255, 100.5, 102.8953488372);
}

.media-grid:not(:has(.media-card:not(.template))) {
  display: none;
}

.contest-slider-wrapper:not(:has(.contest-card:not(.template))) {
  display: none;
}

.contest-widget {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
  overflow: hidden;
}
.contest-widget .contest-widget-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}
.contest-widget .contest-widget-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}
.contest-widget .contest-widget-info .contest-widget-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #374955;
  margin-bottom: 0.25rem;
}
.contest-widget .contest-widget-info .contest-widget-subtitle {
  font-size: 1rem;
  color: #666;
  margin-bottom: 0.5rem;
}
.contest-widget .contest-widget-info .btn {
  align-self: flex-start;
  background-color: #ff7e80;
  border: none;
  font-weight: 600;
}
.contest-widget .contest-widget-info .btn:hover {
  background-color: rgb(255, 95.4, 97.8744186047);
}
.contest-widget .contest-widget-cards {
  gap: 1.25rem;
  justify-content: flex-end;
}
.contest-widget .contest-widget-cards .contest-card {
  background: #f9f9f9;
  border-radius: 12px;
  overflow: hidden;
  flex: 0 1 calc(50% - 0.75rem);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.contest-widget .contest-widget-cards .contest-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.contest-widget .contest-widget-cards .contest-card .contest-card-image {
  background-size: cover;
  background-position: center;
  aspect-ratio: 16/9;
}
.contest-widget .contest-widget-cards .contest-card .contest-card-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.contest-widget .contest-widget-cards .contest-card .contest-card-body .contest-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #374955;
  margin-bottom: 0.25rem;
}
.contest-widget .contest-widget-cards .contest-card .contest-card-body .contest-card-date {
  color: #777;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}
.contest-widget .contest-widget-cards .contest-card .contest-card-body .btn-outline-primary {
  color: #308478;
  border-color: #308478;
  font-weight: 600;
}
.contest-widget .contest-widget-cards .contest-card .contest-card-body .btn-outline-primary:hover {
  background-color: #308478;
  color: #fff;
}
@media (max-width: 992px) {
  .contest-widget .contest-widget-cards {
    justify-content: center;
  }
  .contest-widget .contest-widget-cards .contest-card {
    flex: 0 1 100%;
  }
}

.rebates-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}
.rebates-section .rebate-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  width: 40%;
  position: relative;
}
.rebates-section .rebate-card .rebate-hero-card {
  position: relative;
  display: flex;
  width: 100%;
  height: 260px;
  overflow: hidden;
}
.rebates-section .rebate-card .rebate-hero-card .hero-img-group {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
}
.rebates-section .rebate-card .rebate-hero-card .hero-img-thumb {
  width: 90px;
  height: 90px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
}
.rebates-section .rebate-card .rebate-hero-card .rebate-overlay-pill {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: #ff7e80;
  color: #fff;
  padding: 6px 20px;
  border-radius: 50px;
  font-weight: 700;
  z-index: 5;
  font-size: 0.95rem;
}
.rebates-section .rebate-card .rebate-content {
  padding: 1.5rem;
}
.rebates-section .rebate-card .rebate-content .rebate-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.rebates-section .rebate-card .rebate-content .rebate-summary {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 1rem;
}
.rebates-section .rebate-card .rebate-content .rebate-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.rebates-section .rebate-card .rebate-content .rebate-meta .rebate-dates {
  font-size: 0.9rem;
}
.rebates-section .rebate-card .rebate-content .rebate-meta .rebate-dates .label {
  font-weight: 600;
  margin-right: 0.25rem;
}
.rebates-section .rebate-card .rebate-content .rebate-meta .rebate-cta {
  padding: 0.55rem 1.25rem;
  font-size: 0.9rem;
  background: #ff7e80;
  border: none;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
  transition: opacity 0.2s ease-in-out;
}
.rebates-section .rebate-card .rebate-content .rebate-meta .rebate-cta:hover {
  opacity: 0.85;
}

@media (max-width: 768px) {
  .rebate-card {
    width: 100%;
  }
  .rebate-card .rebate-hero {
    flex-direction: column;
    height: auto;
  }
  .rebate-card .rebate-hero .hero-img-group {
    width: 100%;
  }
  .rebate-card .rebate-hero .hero-img-thumb {
    width: 75px;
    height: 75px;
  }
}
.rebate-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
}
.rebate-hero .rebate-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}
.rebate-hero .rebate-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  width: 100%;
  color: #fff;
  gap: 30px;
}
.rebate-hero .rebate-hero-inner .rebate-header-top {
  text-align: left;
  width: 100%;
}
.rebate-hero .rebate-hero-inner .rebate-header-top .rebate-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.rebate-hero .rebate-hero-inner .rebate-header-top .rebate-dates {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 30px;
}
.rebate-hero .rebate-hero-inner .rebate-columns {
  display: flex;
  width: 100%;
  gap: 40px;
}
@media (max-width: 992px) {
  .rebate-hero .rebate-hero-inner .rebate-columns {
    flex-direction: column;
    gap: 30px;
  }
}
.rebate-hero .rebate-hero-inner .rebate-columns .rebate-left {
  width: 30%;
  justify-items: left;
}
.rebate-hero .rebate-hero-inner .rebate-columns .rebate-left .rebate-offer-visual {
  display: flex;
  flex-direction: column;
}
@media (max-width: 768px) {
  .rebate-hero .rebate-hero-inner .rebate-columns .rebate-left .rebate-offer-visual {
    flex-direction: column;
    gap: 30px;
  }
}
.rebate-hero .rebate-hero-inner .rebate-columns .rebate-left .rebate-offer-visual .rebate-group {
  flex: 1;
  text-align: center;
}
.rebate-hero .rebate-hero-inner .rebate-columns .rebate-left .rebate-offer-visual .rebate-group .label {
  font-weight: 700;
  text-align: left;
  text-transform: uppercase;
  font-size: 1.5rem;
}
.rebate-hero .rebate-hero-inner .rebate-columns .rebate-left .rebate-offer-visual .rebate-group .rebate-product-details {
  text-align: left;
}
.rebate-hero .rebate-hero-inner .rebate-columns .rebate-left .rebate-offer-visual .rebate-group .thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.rebate-hero .rebate-hero-inner .rebate-columns .rebate-left .rebate-offer-visual .rebate-group .rebate-thumb {
  width: 250px;
  height: 250px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.062745098);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.rebate-hero .rebate-hero-inner .rebate-columns .rebate-left .rebate-offer-visual .rebate-divider {
  font-size: 1.25rem;
  font-weight: 700;
}
.rebate-hero .rebate-hero-inner .rebate-columns .rebate-right {
  flex: 1;
  background: #ffffff;
  color: #000;
  border-radius: 12px;
  padding: 25px 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: auto;
  align-self: flex-start;
}

#rebateFormContainer {
  display: none;
}

.rebate-summary-line {
  margin-top: 8px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
}

.rebate-columns {
  display: flex;
  gap: 40px;
  width: 100%;
  margin-top: 35px;
}

.rebate-distributor-top {
  width: 100%;
  margin-top: 20px;
}

/* HORIZONTAL CARD STACK - MEDIUM OVERLAP + HOVER SLIDE */
.horizontal-stack {
  position: relative;
  height: 220px;
  width: auto;
  margin-top: 20px;
  /* Positioning based on index */
}
.horizontal-stack .thumb-wrapper {
  position: absolute;
  top: 0;
  transition: transform 0.35s ease, z-index 0.35s ease;
  cursor: pointer;
}
.horizontal-stack .rebate-thumb {
  width: 200px !important;
  height: 200px !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-color: #111 !important;
  border: none !important;
  overflow: hidden !important;
  border-radius: 14px !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  transition: transform 0.35s ease;
}
.horizontal-stack .thumb-wrapper[data-i="0"] {
  left: 0px;
  z-index: 4;
}
.horizontal-stack .thumb-wrapper[data-i="1"] {
  left: 50px;
  z-index: 3;
}
.horizontal-stack .thumb-wrapper[data-i="2"] {
  left: 100px;
  z-index: 2;
}
.horizontal-stack .thumb-wrapper[data-i="3"] {
  left: 150px;
  z-index: 1;
}
.horizontal-stack .thumb-wrapper[data-i="4"] {
  left: 200px;
  z-index: 0;
}
.horizontal-stack .thumb-wrapper:hover {
  transform: translate(-25px, -10px) scale(1.05);
  z-index: 99;
}

.rebate-divider {
  position: relative;
  z-index: 0;
  margin: 30px 0;
}

@media (max-width: 768px) {
  .horizontal-stack {
    height: auto;
    position: static;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
  .horizontal-stack .thumb-wrapper {
    position: relative !important;
    left: 0 !important;
    transform: none !important;
    z-index: auto !important;
  }
  .horizontal-stack .rebate-thumb {
    width: 150px;
    height: 150px;
  }
}
.rebate-inline-and {
  text-align: left;
  font-weight: 700;
  margin: 4px 0 8px 0;
  color: #fff;
  opacity: 0.85;
}

.login-box::-moz-placeholder {
  color: #fff !important;
  opacity: 1;
}

.login-box::placeholder {
  color: #fff !important;
  opacity: 1;
}

.navbar-brand img {
  width: 100px;
}

/* ========================================
   ADMIN NAVBAR 
======================================== */
.admin-navbar {
  height: 64px;
  padding-top: 0.25rem !important;
  padding-bottom: 0.25rem !important;
}
.admin-navbar .container-fluid {
  height: 100%;
  display: flex;
  align-items: center;
}

/* -------------------------------
   Logo Scaling
-------------------------------- */
.admin-navbar-logo-img {
  height: 48px;
  width: auto;
}

/* -------------------------------
   Right-side controls
-------------------------------- */
.admin-navbar-controls {
  display: flex;
  align-items: center;
}
.admin-navbar-controls > * {
  margin-left: 0.75rem;
}
.admin-navbar-controls .btn {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

/* -------------------------------
   Notification Bell + Dropdown
-------------------------------- */
.admin-navbar .notification-bell {
  top: 4.5rem !important;
}

/* -------------------------------
   Profile Icon
-------------------------------- */
#profileDropdown i {
  font-size: 24px;
}

.coming-soon-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(3px);
          backdrop-filter: blur(3px);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
}

.coming-soon-overlay span {
  font-size: 2rem;
  font-weight: 600;
  color: #444;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.tab-pane {
  position: relative; /* ensures overlay is contained */
}

.coming-soon-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(3px);
          backdrop-filter: blur(3px);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  pointer-events: all; /* overlay catches interaction */
}

.coming-soon-overlay span {
  font-size: 2rem;
  font-weight: 700;
  color: #333;
}/*# sourceMappingURL=style.css.map */