﻿:root {
  --msu-maroon: #7A003C;
  --msu-maroon-dark: #4f0027;
  --msu-gold: #FDBF57;
  --hotspot-blue: #004466;
  --msu-ink: #21161d;
  --msu-muted: #6c6269;
  --msu-line: rgba(122, 0, 60, 0.14);
  --msu-shadow: 0 16px 36px rgba(55, 25, 42, 0.12);
}

body.hotspot-enhanced {
  color: var(--msu-ink);
  background: linear-gradient(180deg, #fffaf1 0%, #fff 30%, #f8f5f0 100%);
  font-family: "Segoe UI", Arial, sans-serif;
  overflow-x: hidden;
}

.hotspot-enhanced #content {
  max-width: 1080px;
  overflow-x: hidden;
}

.hotspot-enhanced .msu-header {
  background-color: rgba(255, 255, 255, 0.97);
  padding: 0.85rem 0;
}

.hotspot-enhanced .msu-title {
  font-weight: 850;
  letter-spacing: 0;
}

.hotspot-enhanced .secondary-nav {
  background-color: #fff;
  border-bottom: 1px solid rgba(122, 0, 60, 0.1);
}

.hotspot-enhanced .secondary-nav a {
  border-radius: 999px;
  font-weight: 650;
}

.hotspot-enhanced .secondary-nav a:hover {
  background-color: rgba(253, 191, 87, 0.18);
}

.hotspot-enhanced .nav-tabs-custom {
  border-bottom: 0;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.hotspot-enhanced .nav-tabs-custom .nav-link {
  border: 1px solid rgba(122, 0, 60, 0.14);
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.9);
  font-weight: 750;
  padding: 0.65rem 1.2rem;
}

.hotspot-enhanced .nav-tabs-custom .nav-link.active,
.hotspot-enhanced .nav-tabs-custom .nav-link:hover {
  color: #fff;
  background-color: var(--msu-maroon);
  border-color: var(--msu-maroon);
}

.hotspot-marketing[hidden] {
  display: none !important;
}

.hotspot-top {
  display: grid;
  gap: 1rem;
  margin: 0 auto 1.25rem;
}

.hotspot-intro-panel {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  align-items: center;
  gap: 1.25rem;
  min-height: 260px;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  border: 1px solid rgba(122, 0, 60, 0.12);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff 0%, #fff8eb 48%, rgba(253, 191, 87, 0.18) 100%);
  box-shadow: var(--msu-shadow);
}

.hotspot-logo-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 210px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(0, 68, 102, 0.12);
  padding: 1rem;
}

.hotspot-logo-panel img {
  width: min(100%, 190px);
  height: auto;
  display: block;
}

.hotspot-intro-copy {
  max-width: 680px;
}

.hotspot-eyebrow,
.hotspot-section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  color: #261503;
  background-color: var(--msu-gold);
  border-radius: 999px;
  padding: 0.34rem 0.72rem;
  font-size: 0.8rem;
  font-weight: 850;
  margin-bottom: 0.75rem;
}

.hotspot-intro-copy h2 {
  color: var(--hotspot-blue);
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 0.85rem;
}

.hotspot-intro-copy p {
  color: var(--msu-muted);
  font-size: 1.04rem;
  line-height: 1.65;
  margin: 0 0 1rem;
}

.hotspot-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hotspot-actions .btn,
.hotspot-inventory-actions .btn {
  border-radius: 6px;
  font-weight: 800;
  padding: 0.72rem 1rem;
}

.btn-hotspot-gold {
  color: #291600;
  background-color: var(--msu-gold);
  border: 0;
}

.btn-hotspot-outline {
  color: var(--hotspot-blue);
  background-color: #fff;
  border: 1px solid rgba(0, 68, 102, 0.22);
}

.btn-hotspot-outline:hover {
  color: var(--msu-maroon);
  border-color: var(--msu-maroon);
}

.hotspot-service-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0.85rem;
  border: 1px solid rgba(122, 0, 60, 0.1);
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.86);
}

.hotspot-service-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--msu-maroon);
  text-decoration: none;
  border: 1px solid rgba(122, 0, 60, 0.16);
  border-radius: 999px;
  background-color: #fff;
  padding: 0.48rem 0.7rem;
  font-weight: 750;
  font-size: 0.9rem;
  transition: transform 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}

.hotspot-service-pill:hover {
  color: var(--msu-maroon-dark);
  border-color: var(--msu-maroon);
  background-color: rgba(253, 191, 87, 0.16);
  transform: translateY(-1px);
}

.hotspot-inventory-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1.15rem;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--hotspot-blue), #032d42);
  color: #fff;
  box-shadow: var(--msu-shadow);
}

.hotspot-inventory-panel h3 {
  margin: 0 0 0.35rem;
  font-size: 1.4rem;
  font-weight: 850;
  letter-spacing: 0;
}

.hotspot-inventory-panel p {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
  margin: 0;
}

.hotspot-inventory-panel .hotspot-section-kicker {
  margin-bottom: 0.55rem;
}

.hotspot-inventory-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.6rem;
}

.hotspot-inventory-frame {
  grid-column: 1 / -1;
  width: 100%;
  height: 240px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background-color: #fff;
}

.hotspot-enhanced #formTitle {
  text-align: center;
  color: var(--msu-maroon);
  font-weight: 850;
  letter-spacing: 0;
  margin-top: 1.25rem;
}

.hotspot-active #ticketForm {
  max-width: 760px;
  margin: 0 auto 2rem;
  padding: clamp(1rem, 2vw, 1.5rem);
  border: 1px solid rgba(122, 0, 60, 0.11);
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.96);
  box-shadow: var(--msu-shadow);
}

.hotspot-active #ticketForm .row {
  row-gap: 0.65rem;
}

.hotspot-active #ticketForm .col-12,
.hotspot-active #ticketForm .col-xl-6,
.hotspot-active #ticketForm .col-lg-6,
.hotspot-active #ticketForm .col-md-12,
.hotspot-active #ticketForm .col-sm-12 {
  width: 100%;
  max-width: 100%;
  flex: 0 0 100%;
}

.hotspot-active #ticketForm .form-control {
  min-height: 44px;
  border: 1px solid rgba(122, 0, 60, 0.18);
  border-radius: 6px;
  color: var(--msu-ink);
}

.hotspot-active #ticketForm textarea.form-control {
  min-height: 130px;
}

.hotspot-active #ticketForm .form-control:focus {
  border-color: var(--msu-maroon);
  box-shadow: 0 0 0 0.2rem rgba(122, 0, 60, 0.12);
}

.hotspot-active .service-required-section {
  background-color: #fffaf1;
  border: 1px solid rgba(122, 0, 60, 0.12);
  border-radius: 8px;
  padding: 1rem;
}

.hotspot-active .service-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  text-align: left;
  gap: 0.75rem;
}

.hotspot-active .service-option {
  display: block;
  cursor: pointer;
}

.hotspot-active .service-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.hotspot-service-choice {
  min-height: 92px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.45rem;
  border: 1px solid rgba(122, 0, 60, 0.16);
  border-radius: 8px;
  padding: 0.8rem;
  background-color: #fff;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.hotspot-service-choice-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--msu-maroon);
  font-weight: 850;
}

.hotspot-service-choice small {
  color: var(--msu-muted);
  line-height: 1.4;
}

.hotspot-active .service-option input[type="radio"]:focus + .hotspot-service-choice,
.hotspot-active .service-option input[type="radio"]:checked + .hotspot-service-choice {
  background-color: rgba(253, 191, 87, 0.14);
  border-color: var(--msu-maroon);
  box-shadow: 0 0 0 0.18rem rgba(122, 0, 60, 0.1);
}

.hotspot-active .subButton {
  min-height: 46px;
  border-radius: 6px;
  background-color: var(--msu-maroon);
  border-color: var(--msu-maroon);
  font-weight: 850;
}

.hotspot-gallery-section {
  margin: 1rem auto 3rem;
  padding: 1.25rem;
  border-radius: 8px;
  background-color: rgba(122, 0, 60, 0.045);
}

.hotspot-section-heading,
.hotspot-gallery-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.hotspot-section-heading h2,
.hotspot-gallery-header h3 {
  color: var(--msu-maroon);
  font-weight: 900;
  letter-spacing: 0;
  margin: 0;
}

.hotspot-section-heading h2 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.hotspot-gallery-header h3 {
  font-size: 1.35rem;
}

.hotspot-section-heading p,
.hotspot-gallery-header span {
  max-width: 34rem;
  color: var(--msu-muted);
  line-height: 1.55;
  margin: 0;
}

.hotspot-gallery-group + .hotspot-gallery-group {
  margin-top: 1.4rem;
}

.hotspot-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.hotspot-gallery-card {
  min-height: 190px;
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 12px 26px rgba(36, 20, 29, 0.13);
  background-color: #e7dfd5;
}

.hotspot-gallery-card.featured {
  grid-column: span 2;
}

.hotspot-gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hotspot-gallery-caption {
  position: absolute;
  inset: auto 0 0;
  color: #fff;
  padding: 3rem 0.85rem 0.85rem;
  background: linear-gradient(180deg, transparent, rgba(24, 16, 20, 0.88));
}

.hotspot-gallery-caption strong {
  display: block;
  font-size: 0.96rem;
}

.hotspot-gallery-caption span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
}

@media (max-width: 991px) {
  .hotspot-intro-panel,
  .hotspot-inventory-panel {
    grid-template-columns: 1fr;
  }

  .hotspot-logo-panel {
    min-height: 180px;
  }

  .hotspot-inventory-actions {
    justify-content: flex-start;
  }

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

@media (max-width: 768px) {
  .hotspot-enhanced .secondary-nav .d-flex {
    flex-wrap: wrap;
    gap: 0.35rem !important;
  }

  .hotspot-intro-panel,
  .hotspot-gallery-section,
  .hotspot-active #ticketForm {
    padding: 1rem;
  }

  .hotspot-intro-copy h2 {
    font-size: 2rem;
  }

  .hotspot-active .service-options,
  .hotspot-gallery-grid {
    grid-template-columns: 1fr;
  }

  .hotspot-gallery-card,
  .hotspot-gallery-card.featured {
    grid-column: auto;
    min-height: 210px;
  }

  .hotspot-section-heading,
  .hotspot-gallery-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hotspot-inventory-frame {
    height: 220px;
  }
}

/* Compact the HotSpot intro so the form remains the primary destination. */
.hotspot-active #content {
  padding-top: 1rem;
}

.hotspot-active .hotspot-top {
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.hotspot-active .hotspot-intro-panel {
  grid-template-columns: 180px minmax(0, 1fr);
  min-height: 190px;
  padding: 1rem;
}

.hotspot-active .hotspot-logo-panel {
  min-height: 150px;
  padding: 0.75rem;
}

.hotspot-active .hotspot-logo-panel img {
  width: min(100%, 145px);
}

.hotspot-active .hotspot-intro-copy h2 {
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  margin-bottom: 0.55rem;
}

.hotspot-active .hotspot-intro-copy p {
  font-size: 0.98rem;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.hotspot-active .hotspot-eyebrow {
  margin-bottom: 0.55rem;
}

.hotspot-active .hotspot-service-strip {
  padding: 0.65rem;
}

.hotspot-active .hotspot-service-pill {
  padding: 0.4rem 0.62rem;
  font-size: 0.84rem;
}

.hotspot-active #formTitle {
  margin-top: 0.75rem;
}

.hotspot-gallery-section .hotspot-inventory-panel {
  margin-bottom: 1.25rem;
}

@media (max-width: 768px) {
  .hotspot-active .hotspot-intro-panel {
    grid-template-columns: 1fr;
  }

  .hotspot-active .hotspot-logo-panel {
    min-height: 125px;
  }

  .hotspot-active .hotspot-logo-panel img {
    width: min(100%, 150px);
  }
}

@media (max-width: 768px) {
  .hotspot-enhanced .secondary-nav .d-flex {
    flex-direction: row !important;
    justify-content: center;
  }

  .hotspot-active .hotspot-intro-panel {
    grid-template-columns: 96px minmax(0, 1fr);
    min-height: auto;
    gap: 0.75rem;
  }

  .hotspot-active .hotspot-logo-panel {
    min-height: 96px;
    padding: 0.45rem;
  }

  .hotspot-active .hotspot-logo-panel img {
    width: 86px;
  }

  .hotspot-active .hotspot-intro-copy h2 {
    font-size: 1.35rem;
    line-height: 1.08;
  }

  .hotspot-active .hotspot-intro-copy p {
    display: none;
  }

  .hotspot-active .hotspot-actions .btn {
    padding: 0.55rem 0.7rem;
    font-size: 0.86rem;
  }

  .hotspot-active .hotspot-service-strip {
    display: none;
  }
}

/* Gallery and form refinements */
.hotspot-active #ticketForm {
  width: 100%;
  max-width: 100%;
}

.hotspot-active .service-options {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hotspot-gallery-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hotspot-gallery-card,
.hotspot-gallery-card.featured {
  grid-column: auto;
  min-height: 0;
  aspect-ratio: 1 / 1;
}

.hotspot-gallery-card img {
  object-fit: cover;
}

@media (max-width: 991px) {
  .hotspot-active .service-options,
  .hotspot-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .hotspot-active .service-options,
  .hotspot-gallery-grid {
    grid-template-columns: 1fr;
  }

  .hotspot-gallery-card,
  .hotspot-gallery-card.featured {
    min-height: 0;
    aspect-ratio: 1 / 1;
  }
}

/* HotSpot pricing */
.hotspot-pricing {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 0.66fr);
  gap: 1rem;
  align-items: stretch;
  padding: 1rem;
  border: 1px solid rgba(122, 0, 60, 0.12);
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(55, 25, 42, 0.08);
}

.hotspot-pricing-heading h3 {
  color: var(--msu-maroon);
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 0.4rem;
}

.hotspot-pricing-heading p {
  color: var(--msu-muted);
  line-height: 1.5;
  margin: 0;
}

.hotspot-price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.hotspot-price-card {
  min-height: 100%;
  border: 1px solid rgba(122, 0, 60, 0.13);
  border-radius: 8px;
  background-color: #fffaf1;
  padding: 0.9rem;
}

.hotspot-price-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--msu-maroon);
  background-color: rgba(253, 191, 87, 0.24);
  margin-bottom: 0.65rem;
}

.hotspot-price-card h4 {
  color: var(--hotspot-blue);
  font-size: 1rem;
  font-weight: 850;
  margin: 0 0 0.55rem;
  letter-spacing: 0;
}

.hotspot-price-card ul {
  display: grid;
  gap: 0.45rem;
  padding-left: 1rem;
  margin: 0;
}

.hotspot-price-card li,
.hotspot-price-card p {
  color: var(--msu-ink);
  font-size: 0.92rem;
  line-height: 1.45;
  margin: 0;
}

@media (max-width: 991px) {
  .hotspot-pricing,
  .hotspot-price-grid {
    grid-template-columns: 1fr;
  }
}

/* Featured equipment cards span a 2x2 area in the gallery grid. */
.hotspot-gallery-card.device-card {
  grid-column: span 2;
  grid-row: span 2;
}

@media (max-width: 768px) {
  .hotspot-gallery-card.device-card {
    grid-column: auto;
    grid-row: auto;
  }
}

/* Detailed HotSpot service menu */
.hotspot-service-menu {
  margin: 1rem auto;
  padding: 1.25rem;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(122, 0, 60, 0.1);
  box-shadow: var(--msu-shadow);
}

.hotspot-service-menu-list {
  display: grid;
  gap: 0.75rem;
}

.hotspot-service-menu-category {
  border: 1px solid rgba(122, 0, 60, 0.13);
  border-radius: 8px;
  background-color: #fffaf1;
  overflow: hidden;
}

.hotspot-service-menu-category summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  padding: 0.9rem 1rem;
  color: var(--msu-maroon);
  font-weight: 850;
  list-style: none;
}

.hotspot-service-menu-category summary::-webkit-details-marker {
  display: none;
}

.hotspot-service-menu-category summary span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.hotspot-service-menu-category summary::after {
  content: "+";
  color: var(--hotspot-blue);
  font-size: 1.2rem;
  font-weight: 900;
}

.hotspot-service-menu-category[open] summary::after {
  content: "-";
}

.hotspot-new-badge {
  color: #291600;
  background-color: var(--msu-gold);
  border-radius: 999px;
  padding: 0.24rem 0.55rem;
  font-size: 0.75rem;
  margin-left: auto;
}

.hotspot-service-menu-intro {
  color: var(--msu-muted);
  line-height: 1.55;
  margin: 0;
  padding: 0 1rem 0.9rem;
}

.hotspot-service-menu-table-wrap {
  overflow-x: auto;
  border-top: 1px solid rgba(122, 0, 60, 0.1);
  background-color: #fff;
}

.hotspot-service-menu-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

.hotspot-service-menu-table th,
.hotspot-service-menu-table td {
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid rgba(122, 0, 60, 0.08);
  vertical-align: top;
  line-height: 1.45;
}

.hotspot-service-menu-table thead th {
  color: var(--hotspot-blue);
  background-color: rgba(0, 68, 102, 0.06);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hotspot-service-menu-table tbody th {
  width: 28%;
  color: var(--msu-ink);
  font-weight: 850;
}

.hotspot-service-menu-table tbody td:nth-child(2) {
  color: var(--msu-muted);
}

.hotspot-menu-price {
  display: inline-flex;
  justify-content: center;
  min-width: 5.5rem;
  color: var(--msu-maroon);
  background-color: rgba(253, 191, 87, 0.18);
  border-radius: 999px;
  padding: 0.25rem 0.55rem;
  font-weight: 850;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .hotspot-service-menu {
    padding: 1rem;
  }

  .hotspot-service-menu-category summary {
    align-items: flex-start;
  }
}

/* Shortcut buttons above the HotSpot ticket form. */
.hotspot-form-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 0.25rem auto 0.8rem;
}

.hotspot-form-actions .btn {
  min-width: 132px;
  border-radius: 6px;
  font-weight: 850;
  padding: 0.72rem 1rem;
}

/* HotSpot support details in the intro header. */
.hotspot-support-details {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.hotspot-support-card {
  border: 1px solid rgba(122, 0, 60, 0.12);
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.78);
  padding: 0.85rem;
}

.hotspot-support-card h3 {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--msu-maroon);
  font-size: 0.98rem;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 0.45rem;
}

.hotspot-support-card p,
.hotspot-active .hotspot-support-card p {
  display: block;
  color: var(--msu-muted);
  font-size: 0.88rem;
  line-height: 1.45;
  margin: 0.18rem 0 0;
}

.hotspot-support-card strong {
  color: var(--msu-ink);
}

@media (max-width: 991px) {
  .hotspot-support-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hotspot-support-details {
    margin-top: 0.55rem;
  }

  .hotspot-support-card {
    padding: 0.65rem;
  }

  .hotspot-support-card h3 {
    font-size: 0.9rem;
  }

  .hotspot-support-card p,
  .hotspot-active .hotspot-support-card p {
    font-size: 0.8rem;
  }
}

/* HotSpot form cleanup */
.hotspot-active #ticketForm {
  display: block;
}

.hotspot-active #ticketForm > .row,
.hotspot-active #ticketForm > .form-container > .row {
  padding-top: 0.75rem !important;
}

.hotspot-active #ticketForm label {
  color: var(--msu-ink);
}

.hotspot-active #priority,
.hotspot-active #type {
  text-transform: capitalize;
}

.hotspot-active .hotspot-upload-row {
  align-items: end !important;
  gap: 0.75rem 0;
  margin-top: 0.2rem;
  padding: 0.9rem 0 0.35rem !important;
  border-top: 1px solid rgba(122, 0, 60, 0.08);
}

.hotspot-active .hotspot-upload-row .col-xl-2,
.hotspot-active .hotspot-upload-row .col-lg-3,
.hotspot-active .hotspot-upload-row .col-md-6,
.hotspot-active .hotspot-upload-row .col-sm-6 {
  width: 50%;
  max-width: 50%;
  flex: 0 0 50%;
}

.hotspot-active .hotspot-file-input-cell {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0.55rem 0.75rem;
  border: 1px dashed rgba(122, 0, 60, 0.22);
  border-radius: 6px;
  background-color: #fffaf1;
}

.hotspot-active #fileInput {
  width: 100%;
  color: var(--msu-muted);
}

.hotspot-active .hotspot-submit-row {
  padding-top: 1rem !important;
  margin-top: 0.45rem;
}

.hotspot-active .hotspot-submit-row .subButton {
  width: min(100%, 320px);
  min-height: 52px;
  box-shadow: 0 10px 20px rgba(122, 0, 60, 0.16);
}

.hotspot-active .hotspot-submit-row .subButton:disabled {
  box-shadow: none;
}

@media (max-width: 768px) {
  .hotspot-active .hotspot-upload-row .col-xl-2,
  .hotspot-active .hotspot-upload-row .col-lg-3,
  .hotspot-active .hotspot-upload-row .col-md-6,
  .hotspot-active .hotspot-upload-row .col-sm-6 {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }
}

/* Ticket type selector and HotSpot header link refinements. */
.hotspot-enhanced .nav-tabs-custom {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(122, 0, 60, 0.16);
}

.hotspot-enhanced .nav-tabs-custom .nav-item {
  width: 100%;
}

.hotspot-enhanced .nav-tabs-custom .nav-link {
  width: 100%;
  min-height: 92px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  text-align: center;
  border-radius: 6px;
  padding: 0.9rem 1rem;
}

.hotspot-enhanced .nav-tabs-custom .nav-link span {
  font-size: 1rem;
  font-weight: 900;
}

.hotspot-enhanced .nav-tabs-custom .nav-link small {
  max-width: 18rem;
  color: var(--msu-muted);
  font-size: 0.78rem;
  line-height: 1.35;
  font-weight: 650;
}

.hotspot-enhanced .nav-tabs-custom .nav-link.active small,
.hotspot-enhanced .nav-tabs-custom .nav-link:hover small {
  color: rgba(255, 255, 255, 0.82);
}

.hotspot-enhanced .hotspot-form-title-row {
  padding-top: 0 !important;
  margin-bottom: 0.35rem;
}

.hotspot-active #ticketForm .hotspot-form-title-row .col-12 {
  width: 100%;
  max-width: 100%;
  flex: 0 0 100%;
}

.hotspot-product-link,
.hotspot-active .hotspot-product-link {
  margin: -0.2rem 0 0.85rem;
}

.hotspot-product-link a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--hotspot-blue);
  font-weight: 850;
  text-decoration: none;
  border-bottom: 2px solid rgba(253, 191, 87, 0.85);
}

.hotspot-product-link a:hover {
  color: var(--msu-maroon);
  border-bottom-color: var(--msu-maroon);
}

@media (max-width: 576px) {
  .hotspot-enhanced .nav-tabs-custom {
    grid-template-columns: 1fr;
  }

  .hotspot-enhanced .nav-tabs-custom .nav-link {
    min-height: 82px;
  }
}

/* Gallery hover and lightbox preview */
.hotspot-gallery-card {
  cursor: zoom-in;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.hotspot-gallery-card img {
  transition: transform 0.22s ease;
}

.hotspot-gallery-card:hover,
.hotspot-gallery-card:focus-visible {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 18px 36px rgba(36, 20, 29, 0.2);
  outline: 3px solid rgba(253, 191, 87, 0.7);
  outline-offset: 3px;
}

.hotspot-gallery-card:hover img,
.hotspot-gallery-card:focus-visible img {
  transform: scale(1.04);
}

.hotspot-lightbox[hidden] {
  display: none !important;
}

.hotspot-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 2.5rem);
  background-color: rgba(20, 12, 16, 0.82);
}

.hotspot-lightbox-dialog {
  position: relative;
  width: min(100%, 1040px);
  max-height: min(92vh, 920px);
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
  border-radius: 8px;
  background-color: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
}

.hotspot-lightbox-image {
  width: 100%;
  max-height: calc(92vh - 110px);
  object-fit: contain;
  display: block;
  background-color: #f8f5f0;
}

.hotspot-lightbox-caption {
  padding: 1rem 1.2rem;
  border-top: 1px solid rgba(122, 0, 60, 0.12);
}

.hotspot-lightbox-caption h3 {
  color: var(--msu-maroon);
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 0.25rem;
}

.hotspot-lightbox-caption p {
  color: var(--msu-muted);
  line-height: 1.45;
  margin: 0;
}

.hotspot-lightbox-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background-color: rgba(122, 0, 60, 0.92);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

.hotspot-lightbox-close:hover,
.hotspot-lightbox-close:focus-visible {
  background-color: var(--msu-maroon-dark);
  outline: 3px solid rgba(253, 191, 87, 0.85);
  outline-offset: 2px;
}

body.hotspot-lightbox-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .hotspot-lightbox {
    padding: 0.75rem;
  }

  .hotspot-lightbox-image {
    max-height: calc(92vh - 130px);
  }

  .hotspot-lightbox-caption {
    padding: 0.85rem;
  }
}
