﻿/* ==========================================================================
   UHMC Business Department â€” Ka Lama Interactive Kiosk Stylesheet
   Faithfully recreating all 8 wireframes from UHMC Kiosk Lo-Fi Wireframes.pdf
   with premium UHMC brand aesthetics and portrait 9:16 kiosk framing.
   ========================================================================== */

:root {
  /* UHMC Official Brand Palette (colors/UHMC Brand Colors.pdf) */
  /* Primary Brand Color â€” Pantone 3025 C */
  --uhmc-primary: #004f6e;
  /* C:100 M:65 Y:37 K:21 | R:0 G:79 B:110 */
  --uhmc-primary-light: #006c96;
  --uhmc-primary-dark: #003a52;

  /* Secondary Neutrals */
  --uhmc-navy: #00313c;
  /* Pantone 547 C | C:100 M:35 Y:32 K:82 | R:0 G:49 B:60 */
  --uhmc-slate: #65665c;
  /* Pantone 417 C | C:33 M:23 Y:35 K:63 | R:101 G:102 B:92 */
  --uhmc-sage: #afa96e;
  /* Pantone 5845 C | C:18 M:10 Y:60 K:23 | R:175 G:169 B:110 */
  --uhmc-warm-gray: #aca39a;
  /* Pantone Warm Gray 5C | C:11 M:13 Y:16 K:32 | R:172 G:163 B:154 */

  /* Third Level Accents */
  --uhmc-gold: #ffb600;
  /* Pantone 7549 C | C:0 M:31 Y:100 K:0 | R:255 G:182 B:0 */
  --uhmc-gold-light: #ffc933;
  --uhmc-amber: #dd8a03;
  /* Pantone 7564 | C:12 M:51 Y:100 K:1 | R:221 G:138 B:3 */
  --uhmc-green: #789904;
  /* Pantone 377 C | C:58 M:22 Y:100 K:4 | R:120 G:153 B:4 */
  --uhmc-coral: #e63f51;
  /* Pantone 4058 C | C:4 M:90 Y:64 K:0 | R:230 G:63 B:81 */

  /* System Color Aliases (maintaining semantic and backward compatibility) */
  --uh-green-deep: #00313c;
  /* Deep neutral Pantone 547 C */
  --uh-green-primary: #004f6e;
  /* UHMC Primary Pantone 3025 C */
  --uh-green-mid: #006085;
  /* UHMC Mid Blue */
  --uh-green-light: #0076a4;
  /* UHMC Bright Blue */
  --uh-gold: #ffb600;
  /* UHMC Gold Pantone 7549 C */
  --uh-gold-light: #ffc933;
  /* UHMC Gold Light Highlight */
  --uh-gold-pale: rgba(255, 182, 0, 0.15);
  --uh-teal: #004f6e;

  /* Surfaces & Neutrals tailored to UHMC Ocean Teal/Navy palette */
  --bg-dark: #f4f8fa;
  --bg-light: #f4f8fa;
  /* Light background for white theme */
  --bg-light-dim: #e0e5e9;
  /* Slightly dimmed light variant */
  --bg-kiosk: #eaf1f6;
  --surface-card: rgba(255, 255, 255, 0.95);
  --surface-card-hover: rgba(235, 245, 252, 0.98);
  --surface-card-active: rgba(0, 79, 110, 0.45);
  --surface-border: rgba(0, 79, 110, 0.2);
  --surface-border-subtle: rgba(0, 79, 110, 0.1);
  --surface-border-gold: rgba(255, 182, 0, 0.5);

  --text-primary: #002030;
  --text-muted: #aca39a;
  /* Pantone Warm Gray 5C */
  --text-dim: #65665c;
  /* Pantone 417 C */
  --text-dark: #00313c;

  /* Radii & Shadows */
  --radius-xl: 22px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --radius-full: 9999px;

  --shadow-kiosk: 0 16px 40px -10px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 30px rgba(0, 79, 110, 0.4);

  /* Touch sizing */
  --header-height: 84px;
  --footer-height: 76px;
  --font-scale: 1;
}

/* ==========================================================================
   RESET & SYSTEM DEFAULTS
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--bg-light);
  color: var(--text-primary);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
  color: inherit;
  touch-action: manipulation;
}

input {
  font-family: inherit;
  outline: none;
}

/* ==========================================================================
   KIOSK DESKTOP PREVIEW / BEZEL SHELL
   ========================================================================== */
#kiosk-frame-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
  background: var(--bg-light);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0 16px;
  font-size: 12px;
  color: #94a3b8;
  z-index: 100;
  position: relative;
}

.device-pill {
  background: var(--uh-green-primary);
  color: #ffffff;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  margin-right: 8px;
  font-size: 11px;
}

.frame-bar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.frame-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  transition: all 0.2s;
}

.frame-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--uh-gold);
}

/* Viewport Container */
#kiosk-viewport {
  width: 100%;
  height: calc(100vh - 38px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-light);
  padding: 12px;
}

/* In Frame Mode: Simulated 43" 9:16 Portrait Kiosk */
body.kiosk-frame-mode #kiosk-app {
  width: 100%;
  max-width: 540px;
  height: 100%;
  max-height: 960px;
  border-radius: 28px;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.9), 0 0 0 10px #18222b, 0 0 0 12px rgba(255, 255, 255, 0.08);
}

/* In Full Window Mode: Fills current window */
body.kiosk-full-mode #kiosk-frame-bar {
  display: none;
}

body.kiosk-full-mode #kiosk-viewport {
  height: 100vh;
  padding: 0;
}

body.kiosk-full-mode #kiosk-app {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  border-radius: 0;
  box-shadow: none;
}

/* ==========================================================================
   KIOSK APPLICATION CORE CONTAINER
   ========================================================================== */
#kiosk-app {
  display: flex;
  flex-direction: column;
  position: relative;
  background: radial-gradient(circle at 10% 10%, rgba(0, 79, 110, 0.45) 0%, transparent 50%),
    radial-gradient(circle at 90% 90%, rgba(255, 182, 0, 0.15) 0%, transparent 45%),
    var(--bg-dark);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   GLOBAL HEADER (Present on all 8 screens per wireframes)
   ========================================================================== */
.kiosk-header {
  height: var(--header-height);
  min-height: var(--header-height);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 79, 110, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--surface-border);
  z-index: 30;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.uh-logo-box {
  background: var(--uh-green-primary);
  border: 1.5px solid var(--uh-gold);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.logo-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 1px;
  color: #ffffff;
}

.header-screen-title h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: #ffffff;
  white-space: nowrap;
}

.header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 2px;
}

.header-time-block {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #ffffff;
}

.header-date-weather {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}

.header-date-weather .sep {
  opacity: 0.5;
}

.weather-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--uh-gold-light);
}

/* ==========================================================================
   KIOSK BODY & VIEW PANELS
   ========================================================================== */
.kiosk-body {
  flex: 1;
  position: relative;
  overflow: hidden;
  display: flex;
}

.view-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 16px 20px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  -webkit-overflow-scrolling: touch;
}

.view-panel.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Custom Scrollbars */
.view-panel::-webkit-scrollbar {
  width: 6px;
}

.view-panel::-webkit-scrollbar-track {
  background: transparent;
}

.view-panel::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 99px;
}

/* ==========================================================================
   PAGE 1: ATTRACT / IDLE SCREEN
   ========================================================================== */
.attract-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  cursor: pointer;
}

/* Slideshow Card (Flyers) - fills screen area above news ticker */
.slideshow-card {
  position: relative;
  flex: 1;
  min-height: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow-kiosk);
}

.slideshow-track {
  width: 100%;
  height: 100%;
  position: relative;
}

.flyer-slide {
  position: absolute;
  inset: 0;
  background-color: var(--uhmc-primary-dark);
  background-image: var(--flyer-bg);
  background-size: cover;
  background-position: center;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.6s ease, transform 0.6s ease;
  z-index: 1;
}

.flyer-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.flyer-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 31, 43, 0.1) 0%, rgba(0, 31, 43, 0.35) 45%, rgba(0, 20, 30, 0.88) 100%);
  pointer-events: none;
}

.flyer-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(0, 49, 60, 0.75);
  border: 1.5px solid var(--uh-gold);
  color: var(--uh-gold-light);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  z-index: 3;
}

.flyer-body {
  position: relative;
  z-index: 3;
}

.flyer-body h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 8px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.flyer-lead {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.4;
  margin-bottom: 12px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.flyer-meta-row {
  display: flex;
  gap: 10px;
}

.tag-gold {
  background: rgba(255, 182, 0, 0.25);
  border: 1.5px solid var(--uh-gold);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(6px);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.slideshow-dots {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 8px;
  z-index: 4;
}

.slideshow-dots .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transition: all 0.3s;
}

.slideshow-dots .dot.active {
  background: var(--uh-gold);
  width: 26px;
  border-radius: 4px;
}

.slideshow-touch-prompt {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 79, 110, 0.85);
  border: 1.5px solid var(--uh-gold);
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  z-index: 4;
  animation: prompt-pulse 2.2s infinite ease-in-out;
}

@keyframes prompt-pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.95;
  }

  50% {
    transform: scale(1.04);
    opacity: 1;
    box-shadow: 0 0 16px rgba(255, 182, 0, 0.6);
  }
}

/* Attract Cards (Today & Job) */
.attract-card {
  background: var(--surface-card);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-kiosk);
}

.today-card .card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.title-with-icon {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--uh-gold);
  box-shadow: 0 0 10px var(--uh-gold);
}

.title-with-icon h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.badge-subtle {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}

.today-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.today-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0, 79, 110, 0.05);
  padding: 8px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--surface-border-subtle);
}

.time-pill {
  background: var(--uh-green-primary);
  border: 1px solid rgba(255, 182, 0, 0.4);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.today-details {
  display: flex;
  flex-direction: column;
}

.item-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.item-sub {
  font-size: 11px;
  color: var(--text-muted);
}

/* Featured Job Card */
.featured-job-card {
  display: flex;
  align-items: center;
  gap: 16px;
}

.qr-col {
  flex-shrink: 0;
}

.qr-box {
  width: 76px;
  height: 76px;
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.qr-code-svg {
  width: 52px;
  height: 52px;
}

.qr-label {
  font-size: 8px;
  font-weight: 800;
  color: var(--text-muted);
  margin-top: 2px;
  letter-spacing: 0.5px;
}

.job-info-col {
  flex: 1;
}

.job-badge-pill {
  display: inline-block;
  background: rgba(255, 182, 0, 0.2);
  border: 1px solid var(--uh-gold);
  color: var(--uh-gold-light);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 4px;
  margin-bottom: 4px;
}

.job-title-highlight {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.job-meta-line {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.job-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--uhmc-slate);
}

/* Scrolling News Ticker */
.news-ticker-bar {
  display: flex;
  align-items: center;
  background: var(--uhmc-navy);
  border: 1px solid var(--surface-border-gold);
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 38px;
  min-height: 38px;
}

.ticker-badge {
  background: var(--uh-gold);
  color: var(--text-muted);
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 1px;
  padding: 0 14px;
  height: 100%;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.ticker-viewport {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  font-weight: 500;
  color: #ffffff;
  padding-left: 100%;
  animation: ticker-slide 28s linear infinite;
}

.ticker-track .bullet {
  color: var(--uh-gold);
}

@keyframes ticker-slide {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-100%, 0, 0);
  }
}

/* Touch Begin Banner (Wireframe Bottom) */
.touch-begin-banner {
  position: relative;
  background: var(--uhmc-primary);
  border: 2px solid var(--uh-gold);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.3px;
  box-shadow: 0 0 30px rgba(255, 182, 0, 0.3);
  overflow: hidden;
  margin-top: auto;
}

.touch-begin-banner .pulse-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px solid var(--uh-gold);
  border-radius: var(--radius-lg);
  animation: pulse-border 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

@keyframes pulse-border {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.08);
    opacity: 0;
  }
}

/* ==========================================================================
   PAGE 2: MAIN MENU DASHBOARD
   ========================================================================== */
.menu-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
}

.menu-intro h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
}

/* Featured Banner Card (Display Only / Promo) */
.featured-banner-card {
  background: linear-gradient(135deg, rgba(0, 79, 110, 0.9) 0%, rgba(0, 49, 60, 0.95) 100%);
  border: 1px solid var(--surface-border-gold);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  position: relative;
  box-shadow: var(--shadow-kiosk);
  cursor: pointer;
  transition: transform 0.2s;
}

.featured-banner-card:active {
  transform: scale(0.99);
}

.banner-badge {
  display: inline-block;
  background: var(--uh-gold);
  color: var(--text-muted);
  font-family: 'Outfit', sans-serif;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.8px;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
}

.banner-content h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
  margin-bottom: 4px;
}

.banner-content p {
  font-size: 12px;
  color: var(--uhmc-slate);
  line-height: 1.4;
}

.banner-action-indicator {
  margin-top: 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--uh-gold-light);
}

.menu-section-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* 2x3 Grid of 6 Tiles */
.menu-grid-2x3 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  flex: 1;
}

.menu-tile {
  min-height: 132px;
  position: relative;
  background-color: var(--uhmc-primary-dark);
  background-size: cover;
  background-position: center;
  border: 1.5px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  box-shadow: var(--shadow-kiosk);
  overflow: hidden;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  isolation: isolate;
}

/* Photo backgrounds for each of the 6 tiles using unused photos */
.menu-tile-programs {
  background-image: url('assets/images/main_screen/Screenshot 2026-11-12 092038.png');
}

.menu-tile-directory {
  background-image: url('assets/images/main_screen/Screenshot 2026-11-12 092032.png');
}

.menu-tile-jobs {
  background-image: url('assets/images/main_screen/Screenshot 2026-11-12 092103.png');
}

.menu-tile-events {
  background-image: url('assets/images/main_screen/Screenshot 2026-11-12 092057.png');
}

.menu-tile-survey {
  background-image: url('assets/images/main_screen/Screenshot 2026-11-12 092052.png');
}

.menu-tile-website {
  background-image: url('assets/images/main_screen/Screenshot 2026-11-12 092045.png');
}

/* Brand blue tint overlay so tile text and photos look balanced */
.menu-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 20, 30, 0.50) 0%, rgba(0, 10, 20, 0.72) 100%);
  z-index: 1;
  transition: background 0.25s ease;
}

.menu-tile:hover::before {
  background: linear-gradient(180deg, rgba(0, 20, 30, 0.74) 0%, rgba(0, 10, 20, 0.90) 100%);
}

.menu-tile:hover {
  border-color: var(--uh-gold);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.menu-tile:active {
  transform: scale(0.97);
  background: var(--surface-card-active);
  border-color: var(--uh-gold-light);
}


.menu-tile>* {
  position: relative;
  z-index: 2;
}


.tile-text {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tile-text h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: #ffffff;
  margin-bottom: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
  padding: 8px 12px;
}

/* ==========================================================================
   PAGE 3: BUILDING DIRECTORY & MAPS
   ========================================================================== */
.directory-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
}

.dir-selection-bar {
  background: rgba(0, 79, 110, 0.35);
  border: 1px solid var(--surface-border-gold);
  border-radius: var(--radius-md);
  padding: 8px 14px;
}

.dir-selected-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.floor-title-active {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
}

.selected-room-pill {
  font-size: 12px;
  font-weight: 600;
  color: var(--uh-gold-light);
}

/* Floor Map Card */
.floor-map-card {
  position: relative;
  background: var(--bg-light);
  border: 1.5px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-kiosk);
}

.map-inner-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.map-tag {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: var(--uh-gold);
}

.map-subtag {
  font-size: 11px;
  color: var(--text-muted);
}

.svg-map-frame {
  width: 100%;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light-dim);
  border-radius: var(--radius-md);
  border: 1px solid var(--surface-border-subtle);
  overflow: hidden;
}

.svg-map-frame svg {
  width: 100%;
  height: 100%;
  max-height: none;
}

/* Map Nodes */
.map-room-rect {
  transition: all 0.25s;
  cursor: pointer;
}

.map-room-node:hover .map-room-rect {
  stroke: var(--uh-gold);
  stroke-width: 2.5;
}

.map-room-node.highlighted .map-room-rect {
  fill: var(--uh-gold) !important;
  stroke: #ffffff !important;
  stroke-width: 3 !important;
  filter: drop-shadow(0 0 10px var(--uh-gold));
}

.map-room-node.highlighted text {
  fill: #000000 !important;
  font-weight: 900 !important;
}

/* Walking route animated dash */
.walking-route-path {
  stroke-dasharray: 6, 6;
  animation: route-dash 1.2s linear infinite;
}

@keyframes route-dash {
  to {
    stroke-dashoffset: -24;
  }
}

.map-overlay-controls {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  pointer-events: none;
}

.kiosk-location-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid var(--surface-border);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  backdrop-filter: blur(8px);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.zoom-buttons {
  display: flex;
  flex-direction: column;
  gap: 4px;
  pointer-events: auto;
}

.zoom-btn {
  width: 34px;
  height: 34px;
  background: rgba(0, 0, 0, 0.85);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}

.zoom-btn:active {
  background: var(--uh-green-primary);
  border-color: var(--uh-gold);
}

/* Search Bar */
.dir-search-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dir-search-wrap label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
}

.search-input-group {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface-card);
  border: 1.5px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 8px 12px;
}

.search-input-group svg {
  color: var(--text-dim);
  flex-shrink: 0;
}

.search-input-group input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 500;
}

.search-input-group input::placeholder {
  color: var(--text-dim);
}

.clear-search-btn {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 8px;
  border-radius: 4px;
}

/* Floor Toggle Pills */
.floor-toggle-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.floor-pill-btn {
  padding: 10px;
  border-radius: var(--radius-md);
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 700;
  background: var(--surface-card);
  border: 1.5px solid var(--surface-border);
  color: var(--text-primary);
  transition: all 0.2s;
}

.floor-pill-btn.active {
  background: var(--bg-light);
  color: #000000;
  border-color: var(--uh-gold);
  box-shadow: 0 0 16px rgba(255, 182, 0, 0.25);
}

/* Category Filter Chips */
.category-filter-chips {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.category-filter-chips::-webkit-scrollbar {
  display: none;
}

.cat-chip {
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  background: rgba(0, 79, 110, 0.06);
  border: 1px solid rgba(0, 79, 110, 0.2);
  color: var(--uhmc-primary);
  white-space: nowrap;
  transition: all 0.2s;
}

.cat-chip.active {
  background: var(--uh-green-primary);
  border-color: var(--uh-gold);
  color: #ffffff;
}

/* Directory List Items */
.dir-list-container {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  overflow-y: auto;
  max-height: 240px;
}

.dir-row-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface-card);
  border: 1.5px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  cursor: pointer;
  transition: all 0.15s;
}

.dir-row-item:hover {
  background: var(--surface-card-hover);
  border-color: rgba(255, 255, 255, 0.25);
}

.dir-row-item.selected {
  background: var(--bg-light);
  border-color: var(--uh-gold);
  box-shadow: 0 0 14px rgba(255, 182, 0, 0.3);
}

.dir-row-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dir-room-tag {
  background: rgba(0, 79, 110, 0.65);
  border: 1px solid var(--surface-border-gold);
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.dir-row-item.selected .dir-room-tag {
  background: var(--uh-gold);
  color: var(--text-muted);
  border-color: #ffffff;
}

.dir-name-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}

.dir-cat-sub {
  font-size: 11px;
  color: var(--text-muted);
}

.dir-chevron {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dim);
}

.dir-row-item.selected .dir-chevron {
  color: var(--uh-gold);
}

/* ==========================================================================
   PAGE 4: BUSINESS PROGRAMS
   ========================================================================== */
.programs-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}

.program-hero-card {
  position: relative;
  height: 150px;
  min-height: 150px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #004f6e 0%, #002530 100%);
  border: 1px solid var(--surface-border-gold);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--shadow-kiosk);
}

.program-media-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid var(--uh-gold);
  color: var(--uh-gold-light);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.program-hero-title-area h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.prog-tagline {
  font-size: 13px;
  color: var(--uh-gold-light);
  font-weight: 600;
}

.program-desc-card {
  background: var(--surface-card);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 13px;
  color: var(--uhmc-slate);
  line-height: 1.45;
}

.program-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.program-subcard {
  background: var(--surface-card);
  border: 1.5px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 12px;
}

.program-subcard h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
  border-bottom: 1px solid var(--surface-border-subtle);
  padding-bottom: 4px;
}

.degrees-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.degree-item {
  font-size: 12px;
  color: var(--text-primary);
  line-height: 1.3;
}

.degree-item strong {
  color: var(--uh-gold-light);
}

.career-chips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.career-chip {
  background: rgba(0, 79, 110, 0.08);
  border: 1px solid rgba(0, 79, 110, 0.25);
  padding: 4px 8px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  color: var(--uhmc-primary);
}

/* Advisor Card */
.program-advisor-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface-card);
  border: 1.5px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
}

.advisor-qr-box {
  width: 64px;
  height: 64px;
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.advisor-qr-box svg {
  width: 44px;
  height: 44px;
}

.advisor-qr-box span {
  font-size: 7px;
  font-weight: 800;
  color: var(--text-muted);
}

.advisor-info h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.advisor-line {
  font-size: 12px;
  color: var(--text-muted);
}

.advisor-email {
  font-size: 12px;
  font-weight: 700;
  color: var(--uh-gold-light);
}

/* Bottom Program Picker */
.program-picker-area {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.picker-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.program-nav-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.prog-tab-btn {
  padding: 10px 4px;
  border-radius: var(--radius-md);
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 800;
  background: var(--surface-card);
  border: 1.5px solid var(--surface-border);
  color: var(--text-muted);
  text-align: center;
  transition: all 0.2s;
}

.prog-tab-btn.active {
  background: var(--bg-light);
  border-color: var(--uh-gold);
  color: #1a1a1a;
  box-shadow: 0 0 16px rgba(255, 182, 0, 0.25);
}

/* ==========================================================================
   PAGE 5: JOB OPPORTUNITIES
   ========================================================================== */
.jobs-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}

.selected-job-hero-card {
  background: var(--surface-card);
  border: 1.5px solid var(--surface-border-gold);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-kiosk);
}

.selected-job-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.sel-tag {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--uh-gold);
}

.sel-posted-date {
  font-size: 11px;
  color: var(--text-muted);
}

.sel-job-title {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
}

.sel-job-employer {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 10px;
}

/* 2x2 Specs Grid */
.job-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}

.spec-cell {
  background: rgba(0, 79, 110, 0.05);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  display: flex;
  flex-direction: column;
}

.spec-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
}

.spec-val {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
}

.sel-job-desc {
  font-size: 12px;
  color: var(--uhmc-slate);
  line-height: 1.4;
  margin-bottom: 12px;
}

/* QR card inside job card */
.job-apply-qr-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--surface-border-subtle);
  border-radius: var(--radius-md);
  padding: 8px 12px;
}

.job-qr-box {
  width: 54px;
  height: 54px;
  background: #ffffff;
  border-radius: var(--radius-sm);
  padding: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.job-qr-box svg {
  width: 38px;
  height: 38px;
}

.job-qr-box span {
  font-size: 6px;
  font-weight: 800;
  color: var(--text-muted);
}

.job-apply-text h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: var(--text-primary);
}

.job-apply-text p {
  font-size: 11px;
  color: var(--text-muted);
}

/* Lower Section: Job listings */
.jobs-list-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.jobs-count-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}

.jobs-updated-tag {
  font-size: 11px;
  color: var(--uh-gold-light);
  font-weight: 600;
}

/* Filter chips */
.job-filter-chips {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.job-filter-chips::-webkit-scrollbar {
  display: none;
}

.job-pill {
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  background: rgba(0, 79, 110, 0.06);
  border: 1px solid rgba(0, 79, 110, 0.2);
  color: var(--uhmc-primary);
  white-space: nowrap;
  transition: all 0.2s;
}

.job-pill.active {
  background: var(--uhmc-primary);
  border-color: var(--uh-gold);
  color: #ffffff;
}

/* Job rows */
.jobs-rows-container {
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
  max-height: 180px;
}

.job-row-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface-card);
  border: 1.5px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  cursor: pointer;
  transition: all 0.15s;
}

.job-row-item:hover {
  background: var(--surface-card-hover);
}

.job-row-item.selected {
  background: var(--uhmc-primary);
  border-color: var(--uh-gold);
  box-shadow: 0 0 12px rgba(255, 182, 0, 0.25);
}

.job-row-left {
  display: flex;
  flex-direction: column;
}

.row-job-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}

.row-job-meta {
  font-size: 11px;
  color: var(--text-muted);
}

.row-job-right {
  font-size: 10px;
  color: var(--text-dim);
  white-space: nowrap;
}

/* Pagination */
.jobs-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 4px;
}

.page-btn {
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  background: var(--uhmc-primary);
  border: 1px solid var(--surface-border);
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
}

.page-btn:active {
  background: var(--uh-green-primary);
}

#job-page-info {
  font-size: 12px;
  color: var(--text-muted);
}

/* ==========================================================================
   PAGE 6: EVENTS & NEWS
   ========================================================================== */
.events-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}

.featured-event-hero {
  background: var(--surface-card);
  border: 1.5px solid var(--surface-border-gold);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-kiosk);
}

.event-flyer-art {
  height: 120px;
  background: linear-gradient(135deg, #093758 0%, #031c2e 100%);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.art-badge {
  display: inline-block;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--uh-gold);
  color: var(--uh-gold-light);
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-bottom: 6px;
  width: fit-content;
}

.flyer-art-content h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
}

.flyer-art-content p {
  font-size: 11px;
  color: var(--uhmc-slate);
}

.featured-event-content {
  padding: 14px 16px;
}

.event-tags-row {
  display: flex;
  gap: 6px;
  margin-bottom: 6px;
}

.tag-featured {
  background: var(--uhmc-primary);
  border: 1px solid var(--uh-gold);
  color: var(--uh-gold-light);
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}

.tag-cat {
  background: rgba(255, 255, 255, 0.08);
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 2px 6px;
  border-radius: 4px;
}

.featured-event-title {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.featured-event-loc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--uh-gold-light);
  margin-bottom: 8px;
}

.featured-event-summary {
  font-size: 12px;
  color: var(--uhmc-slate);
  line-height: 1.4;
  margin-bottom: 12px;
}

.event-rsvp-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--surface-border-subtle);
  border-radius: var(--radius-md);
  padding: 8px 12px;
}

.event-qr-box {
  width: 52px;
  height: 52px;
  background: #ffffff;
  border-radius: var(--radius-sm);
  padding: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.event-qr-box svg {
  width: 36px;
  height: 36px;
}

.event-qr-box span {
  font-size: 6px;
  font-weight: 800;
  color: var(--text-muted);
}

.rsvp-text h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: var(--text-primary);
}

.rsvp-text p {
  font-size: 11px;
  color: var(--text-muted);
}

/* Event Time Filter Tabs */
.event-time-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.event-time-btn {
  padding: 8px 4px;
  border-radius: var(--radius-md);
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 800;
  background: var(--surface-card);
  border: 1.5px solid var(--surface-border);
  color: var(--text-muted);
  text-align: center;
  transition: all 0.2s;
}

.event-time-btn.active {
  background: var(--uhmc-primary);
  border-color: var(--uh-gold);
  color: #ffffff;
  box-shadow: 0 0 14px rgba(255, 182, 0, 0.25);
}

/* Event items list */
.events-cards-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  max-height: 200px;
}

.event-card-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface-card);
  border: 1.5px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 10px 14px;
}

.event-date-col {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--uh-green-primary);
  border: 1px solid var(--surface-border-gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.event-date-month {
  font-size: 9px;
  font-weight: 800;
  color: var(--uh-gold-light);
  text-transform: uppercase;
}

.event-date-day {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
}

.event-item-info {
  flex: 1;
}

.event-item-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}

.event-item-desc {
  font-size: 11px;
  line-height: 1.35;
  color: var(--text-dim);
  margin-top: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-item-sub {
  font-size: 11px;
  color: var(--text-muted);
}

/* ==========================================================================
   PAGE 7: STUDENT SURVEY
   ========================================================================== */
.survey-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  position: relative;
}

.survey-progress-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.survey-step-line {
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-label {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 800;
  color: var(--text-primary);
}

.survey-progress-bar {
  width: 120px;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 99px;
  overflow: hidden;
}

.survey-progress-fill {
  height: 100%;
  background: var(--uh-gold);
  border-radius: 99px;
  transition: width 0.3s ease;
}

.survey-privacy-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-muted);
}

.survey-question-block h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.3;
}

.survey-art-card {
  height: 110px;
  background: linear-gradient(135deg, rgba(0, 79, 110, 0.45) 0%, rgba(255, 182, 0, 0.15) 100%);
  border: 1px dashed var(--surface-border-gold);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.survey-art-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.survey-art-icon {
  font-size: 36px;
}

.survey-art-subtitle {
  font-size: 12px;
  font-weight: 700;
  color: var(--uh-gold-light);
}

.survey-instruction {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* 2-Column Options Grid */
.survey-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.survey-opt-btn {
  background: var(--surface-card);
  border: 1.5px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 14px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  transition: all 0.15s;
}

.survey-opt-btn:active {
  transform: scale(0.98);
}

.survey-opt-btn.checked {
  background: var(--uhmc-primary);
  border-color: var(--uh-gold);
  color: #ffffff;
  box-shadow: 0 0 14px rgba(255, 182, 0, 0.25);
}

.opt-checkmark {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1.5px solid var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  flex-shrink: 0;
}

.survey-opt-btn.checked .opt-checkmark {
  background: var(--uh-gold);
  border-color: var(--uh-gold);
  color: var(--text-muted);
}

/* Other (type it) dashed button */
.survey-opt-btn.dashed-opt {
  border-style: dashed;
  border-color: var(--uh-gold);
}

.survey-actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 10px;
}

.survey-btn-skip {
  padding: 12px 24px;
  border-radius: var(--radius-md);
  background: var(--surface-card);
  border: 1.5px solid var(--surface-border);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
}

.survey-btn-next {
  padding: 12px 32px;
  border-radius: var(--radius-md);
  background: var(--uhmc-primary);
  border: 2px solid var(--uh-gold);
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  box-shadow: 0 0 16px rgba(255, 182, 0, 0.3);
}

/* Results View Overlay */
.survey-results-view {
  position: absolute;
  inset: 0;
  background: rgba(0, 49, 60, 0.98);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  z-index: 10;
  overflow-y: auto;
}

.survey-results-view.hidden {
  display: none;
}

.results-badge {
  background: var(--uh-green-primary);
  border: 1px solid var(--uh-gold);
  color: var(--uh-gold-light);
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.results-head h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin: 8px 0 4px;
}

.results-head p {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.results-bars-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.result-bar-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.result-label-line {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
}

.bar-track {
  height: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--uh-green-primary), var(--uh-gold));
  border-radius: 99px;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.results-done-btn {
  padding: 12px 24px;
  background: var(--uhmc-primary);
  border: 2px solid var(--uh-gold);
  border-radius: var(--radius-md);
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  margin-top: auto;
}

/* ==========================================================================
   PAGE 8: EMBEDDED UHMC WEBSITE
   ========================================================================== */
.website-container {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.browser-window-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--bg-light);
  border: 1.5px solid var(--surface-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-kiosk);
}

/* Guard Notice */
.browser-guard-notice {
  background: var(--bg-light);
  border-bottom: 1px solid var(--surface-border-subtle);
  padding: 6px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.guard-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 800;
  color: #10b981;
}

.guard-sub {
  font-size: 10px;
  color: var(--text-dim);
}

/* Address Bar */
.browser-address-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-light-dim);
  border-bottom: 1px solid var(--surface-border);
  padding: 8px 12px;
}

.address-box {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 600;
}

.address-box svg {
  color: var(--uh-gold);
}

.readonly-badge {
  font-size: 10px;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Controls Bar */
.browser-controls-row {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--uhmc-primary-dark);
  border-bottom: 1px solid var(--surface-border);
  padding: 6px 12px;
}

.b-ctrl-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--surface-border);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  transition: all 0.15s;
}

.b-ctrl-btn:active {
  background: var(--uh-green-primary);
  border-color: var(--uh-gold);
}

/* Browser Viewport */
.browser-viewport {
  flex: 1;
  overflow-y: auto;
  background: var(--bg-light);
  padding: 14px;
}

.portal-quick-launch {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.launch-hero {
  background: linear-gradient(135deg, rgba(0, 79, 110, 0.6) 0%, rgba(0, 49, 60, 0.4) 100%);
  border: 1px solid var(--surface-border-gold);
  border-radius: var(--radius-md);
  padding: 14px;
}

.launch-tag {
  font-size: 10px;
  font-weight: 800;
  color: var(--uh-gold-light);
  text-transform: uppercase;
}

.launch-hero h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  margin: 4px 0 2px;
}

.launch-hero p {
  font-size: 11px;
  color: var(--uhmc-slate);
}

.web-destinations-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.web-dest-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface-card);
  border: 1.5px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  cursor: pointer;
  transition: all 0.15s;
}

.web-dest-card:hover {
  background: var(--uhmc-primary-light);
  border-color: var(--uh-gold);
}

.web-dest-card:active {
  transform: scale(0.99);
}

.dest-icon {
  font-size: 22px;
}

.dest-info {
  flex: 1;
}

.dest-info h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}

.dest-info p {
  font-size: 11px;
  color: var(--text-muted);
}

.dest-arrow {
  color: var(--uh-gold);
  font-weight: 700;
}

/* Browser Session Bar */
.browser-session-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-light);
  border-top: 1px solid var(--surface-border);
  padding: 8px 12px;
  gap: 10px;
}

.session-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: var(--text-muted);
}

.session-notice svg {
  color: #f59e0b;
  flex-shrink: 0;
}

.btn-end-session {
  background: var(--bg-light);
  border: 1.5px solid #ef4444;
  color: #dc2626;
  font-size: 11px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.btn-end-session:active {
  background: #ef4444;
  color: #ffffff;
}

/* ==========================================================================
   GLOBAL FOOTER (Present on Screens 2â€“8 per wireframes)
   ========================================================================== */
.kiosk-footer {
  height: var(--footer-height);
  min-height: var(--footer-height);
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 79, 110, 0.95);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--surface-border);
  z-index: 30;
}

/* Screen 1 hides global footer */
#kiosk-app.at-attract .kiosk-footer {
  display: none;
}

.footer-left {
  display: flex;
  align-items: center;
}

.idle-return-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.idle-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--uh-gold);
  box-shadow: 0 0 8px var(--uh-gold);
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-touch-btn {
  background: var(--uhmc-primary);
  border: 1.5px solid var(--uhmc-primary-light);
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  transition: all 0.15s;
}

.footer-touch-btn:hover {
  background: var(--uhmc-primary-light);
  border-color: var(--uh-gold);
}

.footer-touch-btn:active {
  background: var(--uhmc-primary-dark);
  border-color: var(--uh-gold);
  color: var(--uh-gold-light);
}

#btn-nav-exit {
  background: var(--uhmc-coral);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* ==========================================================================
   MODALS (Accessibility, Help, Virtual Keyboard)
   ========================================================================== */
.kiosk-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.kiosk-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.kiosk-modal-card {
  width: 100%;
  max-width: 460px;
  background: var(--surface-card);
  border: 2px solid var(--uh-gold);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
}

.modal-header {
  padding: 16px 20px;
  background: #080f15;
  border-bottom: 1px solid var(--surface-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-icon {
  font-size: 20px;
}

.modal-header h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
}

.modal-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #ffffff;
}

.modal-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.a11y-option-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--surface-border-subtle);
  padding-bottom: 14px;
}

.a11y-option-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.a11y-option-row h4 {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.a11y-option-row p {
  font-size: 11px;
  color: var(--text-muted);
}

.a11y-toggle-btn {
  background: var(--surface-card);
  border: 1.5px solid var(--surface-border);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.a11y-toggle-btn.active {
  background: var(--uh-green-primary);
  border-color: var(--uh-gold);
  color: #ffffff;
}

.a11y-size-buttons {
  display: flex;
  gap: 6px;
}

.size-btn {
  background: var(--surface-card);
  border: 1px solid var(--surface-border);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
}

.size-btn.active {
  background: var(--uh-gold);
  color: var(--text-muted);
  border-color: #ffffff;
}

/* Help Body */
.help-body {
  gap: 14px;
}

.help-item {
  display: flex;
  gap: 12px;
  background: rgba(0, 79, 110, 0.05);
  padding: 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--surface-border-subtle);
}

.help-bullet {
  font-size: 20px;
}

.help-item h4 {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.help-item p {
  font-size: 11px;
  color: var(--uhmc-slate);
  line-height: 1.4;
}

.modal-footer {
  padding: 12px 20px;
  background: #080f15;
  border-top: 1px solid var(--surface-border);
  display: flex;
  justify-content: flex-end;
}

.modal-done-btn {
  background: var(--bg-light);
  border: 2px solid var(--uh-gold);
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 800;
  padding: 8px 20px;
  border-radius: var(--radius-md);
}

/* Virtual Keyboard */
.keyboard-card {
  max-width: 500px;
}

.keyboard-input-display {
  width: 100%;
  background: var(--bg-light);
  border: 1.5px solid var(--uh-gold);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
}

.virtual-keyboard {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}

.kbd-row {
  display: flex;
  justify-content: center;
  gap: 5px;
}

.kbd-key {
  min-width: 34px;
  height: 40px;
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kbd-key:active {
  background: var(--uh-gold);
  color: var(--text-muted);
}

.kbd-key.space-key {
  width: 180px;
}

.kbd-key.back-key {
  width: 60px;
  background: #334155;
}

/* ==========================================================================
   HIGH CONTRAST & ACCESSIBILITY MODIFIERS
   ========================================================================== */
body.high-contrast {
  --bg-dark: #000000;
  --bg-kiosk: #000000;
  --surface-card: #050505;
  --surface-card-hover: #121212;
  --surface-border: #ffff00;
  --surface-border-subtle: #ffff00;
  --surface-border-gold: #ffff00;
  --text-primary: #002030;
  --text-muted: #ffff99;
  --uh-gold: #ffff00;
  --uh-gold-light: #ffff00;
}

body.large-text {
  font-size: 110%;
}

body.xlarge-text {
  font-size: 125%;
}

body.ada-reach #kiosk-app {
  justify-content: flex-end;
}

/* Program selector now sits at the top, over the header's gradient: keep its label readable */
.program-picker-area .picker-label {
  color: var(--uhmc-navy);
}

/* QR code at the bottom right of the directory map */
.map-qr-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  width: 92px;
  padding: 4px;
  background: #ffffff;
  border: 1.5px solid var(--surface-border);
  border-radius: var(--radius-md);
  box-shadow: 0 6px 16px rgba(0, 49, 60, 0.35);
}

.map-qr-card img {
  display: block;
  width: 84px;
  height: 84px;
}

.map-qr-card span {
  font-size: 9px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  color: var(--uhmc-navy);
}
