@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* =============================================
   CSS VARIABLES — ElevateIQ Brand Theme
   =============================================*/
:root {
  --orange: #FF8A3D;
  --orange-dark: #F2701C;
  --blue: #3FD0FF;
  --blue-dark: #16A6E0;
  --pink: #EC2F7B;
  --pink-light: #F86BA5;
  --ink: #EAF2FF;
  --muted: #9FB0CC;
  --line: rgba(255,255,255,0.12);
  --card-bg: rgba(14,20,38,0.60);
  --glass-bg: rgba(14,20,38,0.60);
  --glass-border: rgba(255,255,255,0.12);
  --ink-soft: #9FB0CC;
  --ink-faint: #7E8CA8;
}

/* =============================================
   RESET & BASE STYLES
   Apply box-sizing reset, zero margins/padding, and set the default
   branding typography stack for all layout elements across the app.
   =============================================*/
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

html, body {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
}

body {
  background:
    radial-gradient(circle at 15% 15%, rgba(63,208,255,0.22), transparent 45%),
    radial-gradient(circle at 85% 85%, rgba(242,112,28,0.20), transparent 45%),
    radial-gradient(circle at 85% 15%, rgba(236,47,123,0.17), transparent 40%),
    linear-gradient(160deg, #06091A 0%, #0B1226 50%, #10091E 100%);
  background-attachment: fixed;
  color: var(--ink);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
}

a { color: inherit; }

/* Legacy orb divs — hidden since we use CSS radial-gradients now */
.bg-canvas, .orb { display: none !important; }

/* =============================================
   NAVBAR
   =============================================*/
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 60px;
  background: linear-gradient(90deg, rgba(6, 14, 34, 0.95) 0%, rgba(13, 11, 40, 0.95) 100%);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.40);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 42px;
  width: auto;
  padding-right: 8px;
  border-radius: 0;
  border: none;
  box-shadow: none;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.03);
}

/* Old logo-dot (kept for compatibility) */
.logo-dot {
  display: none;
}

/* Nav links */
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: #9FB0CC;
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  position: relative;
  transition: color 0.25s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 50%; bottom: -8px;
  transform: translateX(-50%);
  width: 0; height: 3px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--orange), var(--blue));
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--orange);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 80%;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1100;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--ink);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Nav right (auth buttons) */
.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-login {
  text-decoration: none;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.25s ease;
}

.btn-login:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 15px rgba(255, 138, 61, 0.2);
}

/* =============================================
   BUTTONS
   =============================================*/
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--orange);
  box-shadow: 0 4px 15px rgba(255, 138, 61, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--orange-dark);
  box-shadow: 0 6px 20px rgba(255, 138, 61, 0.45);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 50px;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid var(--line);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-ghost:hover {
  border-color: var(--blue);
  background: rgba(255,255,255,0.10);
  transform: translateY(-2px);
}

/* =============================================
   SECTIONS
   =============================================*/
.section {
  position: relative;
  z-index: 2;
  max-width: 1140px;
  margin: auto;
  padding: 140px 6vw 100px;
}

.section-head {
  text-align: center;
  margin-bottom: 56px;
}

.section-head .label {
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 700;
}

.section-head h1,
.section-head h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  margin-top: 10px;
}

.section-head p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* =============================================
   GLASSMORPHISM CARDS
   =============================================*/
.glass-card {
  position: relative;
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 22px;
  padding: 30px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 16px 48px rgba(0,0,0,0.40),
    inset 0 1px rgba(255,255,255,0.10),
    inset 0 -1px rgba(255,255,255,0.04);
  transition: all 0.40s cubic-bezier(0.22,1,0.36,1);
}

/* Gradient border shimmer */
.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(236,47,123,0.55), rgba(63,208,255,0.55));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Hover shimmer sweep */
.glass-card::after {
  content: '';
  position: absolute;
  top: -120%; left: -60%;
  width: 60%; height: 320%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.22), transparent);
  transform: rotate(25deg);
  transition: left 0.9s ease;
}

.glass-card:hover::after { left: 150%; }

.glass-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(255,138,61,0.35);
  box-shadow:
    0 28px 60px rgba(0,0,0,0.50),
    0 0 36px rgba(236,47,123,0.16),
    0 0 28px rgba(63,208,255,0.14),
    inset 0 1px rgba(255,255,255,0.14);
}

/* =============================================
   AUTH PAGES
   =============================================*/
.auth-wrap {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 120px 6vw 60px;
}

@media (max-width: 768px) {
  .auth-wrap {
    flex-direction: column;
    gap: 30px;
  }
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: rgba(14,20,38,0.65);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 24px;
  padding: 44px 38px;
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  box-shadow: 0 24px 60px rgba(0,0,0,0.50), inset 0 1px rgba(255,255,255,0.08);
}

.auth-card h1 {
  font-size: 28px;
  font-weight: 800;
  text-align: center;
  color: var(--ink);
}

.auth-card .sub {
  margin: 10px 0 28px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

/* Form fields */
.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1.5px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  color: var(--ink);
  outline: none;
  font-size: 14px;
  font-family: inherit;
  backdrop-filter: blur(10px);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #7E8CA8;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(63,208,255,0.18);
  background: rgba(255,255,255,0.07);
}

.auth-submit {
  width: 100%;
  margin-top: 6px;
  padding: 14px;
  border-radius: 12px;
}

.auth-foot {
  margin-top: 22px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

.auth-foot a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 700;
}

.auth-foot a:hover { text-decoration: underline; }

/* Alert messages */
.msg {
  display: none;
  margin-top: 15px;
  padding: 12px 14px;
  border-radius: 10px;
  text-align: center;
  font-size: 13px;
}

.msg.error {
  background: rgba(236,47,123,0.12);
  color: #f86ba5;
  border: 1px solid rgba(236,47,123,0.30);
}

.msg.success {
  background: rgba(63,208,255,0.12);
  color: #9bdeff;
  border: 1px solid rgba(63,208,255,0.30);
}

/* =============================================
   FOOTER
   =============================================*/
footer {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 32px 6vw;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: var(--ink-faint);
  font-size: 13px;
  line-height: 1.6;
}

footer a {
  color: var(--orange);
  text-decoration: none;
}

/* =============================================
   ANIMATIONS
   =============================================*/
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

/* =============================================
   RESPONSIVE — Mobile
   =============================================*/
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 860px) {
  nav { padding: 12px 20px; }
  .menu-toggle {
    display: flex;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 80px;
    right: -100%;
    width: 260px;
    height: calc(100vh - 80px);
    background: rgba(14, 20, 38, 0.95);
    backdrop-filter: blur(25px);
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    padding: 40px 30px;
    gap: 24px;
    transition: right 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1000;
  }
  .nav-links.active {
    display: flex !important;
    right: 0;
  }
}

@media (max-width: 600px) {
  .auth-card { padding: 32px 22px; }
  .section { padding: 110px 5vw 80px; }
}

@media (max-width: 860px) {
  .nav-right {
    gap: 8px;
  }
  .btn-login, .nav-right .btn-primary {
    padding: 8px 16px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .nav-right .btn-primary {
    display: none; /* Hide Sign up button on extra small screens to save space */
  }
}

/* =============================================
   PAGE INTRO PRELOADER
   =============================================*/
.preloader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #060913;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.8s;
  visibility: visible;
}

.preloader-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =============================================
   AMBIENT BACKGROUND VIDEO
   =============================================*/
.video-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  opacity: 0.15;
  pointer-events: none;
  transform: translateZ(0);
  will-change: opacity;
  backface-visibility: hidden;
}

@media (max-width: 768px) {
  .video-bg {
    object-fit: cover;
    opacity: 0.12;
  }
}

/* Contact Page Layout & Responsiveness */
.contact-grid {
  max-width: 900px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  padding: 40px;
  margin: auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding-right: 40px;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px 20px;
  }
  .contact-info {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-right: 0;
    padding-bottom: 30px;
  }
}

/* Scroll reveal triggers */
.scroll-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.scroll-reveal.reveal-active {
  opacity: 1;
  transform: translateY(0);
}

/* Card hover glow accent */
.glass-card {
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease !important;
}
.glass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(63, 208, 255, 0.3) !important;
  box-shadow: 0 12px 40px rgba(63, 208, 255, 0.1) !important;
}

/* Solution Tabs styling */
.sol-tab {
  padding: 10px 24px;
  border-radius: 100px;
  border: 1px solid var(--glass-border);
  background: rgba(255,255,255,0.02);
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}
.sol-tab:hover {
  background: rgba(255,255,255,0.06);
  color: #fff;
  border-color: rgba(255,255,255,0.2);
}
.sol-tab.active {
  background: var(--blue);
  color: #060913;
  border-color: var(--blue);
  box-shadow: 0 0 16px rgba(63,208,255,0.35);
  font-weight: 700;
}
@keyframes fadeUpStep {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Premium Click & Action Animations */
@keyframes navClickScale {
  0% { transform: scale(1); }
  35% { transform: scale(0.92); opacity: 0.85; }
  100% { transform: scale(1); }
}

.nav-links a.nav-clicked {
  animation: navClickScale 0.25s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

/* Smooth physically-responsive click feedbacks on active actions */
.nav-links a:active {
  color: var(--orange);
}

.btn-login:active,
.btn-primary:active,
.btn-ghost:active,
.logo:active,
nav .menu-toggle:active {
  transform: scale(0.95) translateY(0px) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
  transition: transform 0.08s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

/* Premium Alive-Card Animations */
.alive-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), 
              box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), 
              border-color 0.3s ease;
}

/* Image Zoom */
.alive-card img {
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}
.alive-card:hover img {
  transform: scale(1.08) !important;
}

/* Icon Badge Spring */
.alive-card .icon-badge {
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.alive-card:hover .icon-badge {
  transform: scale(1.15) rotate(10deg);
}

/* List Item Slide */
.alive-card li {
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.alive-card:hover li {
  transform: translateX(6px);
}
/* Staggered delay for list items to feel organic */
.alive-card:hover li:nth-child(1) { transition-delay: 0.02s; }
.alive-card:hover li:nth-child(2) { transition-delay: 0.06s; }
.alive-card:hover li:nth-child(3) { transition-delay: 0.10s; }
.alive-card:hover li:nth-child(4) { transition-delay: 0.14s; }
.alive-card:hover li:nth-child(5) { transition-delay: 0.18s; }

/* Custom theme shadow glows */
.alive-card.it-card:hover {
  transform: translateY(-10px) scale(1.01);
  border-color: rgba(63, 208, 255, 0.4) !important;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 
              0 0 40px rgba(63, 208, 255, 0.18),
              inset 0 1px rgba(255,255,255,0.15) !important;
}

.alive-card.nonit-card:hover {
  transform: translateY(-10px) scale(1.01);
  border-color: rgba(255, 107, 0, 0.4) !important;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 
              0 0 40px rgba(255, 107, 0, 0.18),
              inset 0 1px rgba(255,255,255,0.15) !important;
}

select option {
  background-color: #0c1928 !important;
  color: #ffffff !important;
}

/* Spinner Loader styling */
.spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 0.8s linear infinite;
  margin-right: 8px;
  vertical-align: middle;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Password eye button styles */
.password-wrapper {
  position: relative;
  width: 100%;
}
.password-wrapper input {
  padding-right: 46px !important;
}
.password-toggle {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #ff8a3d; /* Orange accent */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  z-index: 10;
  transition: opacity 0.2s;
}
.password-toggle:hover {
  opacity: 0.8;
}
/* Hide default Edge reveal button to avoid duplicates */
input[type="password"]::-ms-reveal {
  display: none !important;
}
input[type="password"]::-webkit-credentials-auto-fill-button {
  filter: invert(62%) sepia(85%) saturate(1478%) hue-rotate(345deg) brightness(103%) contrast(101%) !important;
}

/* =============================================
   RESPONSIVE DESIGN OVERRIDES
   =============================================*/
@media (max-width: 992px) {
  nav {
    padding: 16px 30px;
  }
  .nav-links {
    gap: 20px;
  }
}

@media (max-width: 860px) {
  nav {
    padding: 16px 20px;
  }
  .menu-toggle {
    display: flex;
    order: 3;
    margin-left: 15px;
  }
  .nav-right {
    order: 2;
    margin-left: auto;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    transform: translateX(100%);
    width: 250px;
    height: 100vh;
    background: linear-gradient(180deg, rgba(6, 14, 34, 0.98) 0%, rgba(13, 11, 40, 0.98) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    padding: 80px 30px 30px;
    box-shadow: -5px 0 30px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
    z-index: 1000;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-links.active {
    transform: translateX(0);
  }
  
  .nav-links a {
    font-size: 16px;
    padding: 10px 0;
    display: block;
  }
  
  .nav-right {
    display: none !important;
  }
  
  .mobile-auth {
    display: block !important;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .mobile-auth a {
    color: var(--primary) !important;
    font-weight: 700;
  }
}

.mobile-auth {
  display: none;
}

/* =============================================
   PRINT MEDIA RULES — Professional PDF / Paper Reporting
   =============================================*/
@media print {
  html, body {
    background: #ffffff !important;
    color: #000000 !important;
    font-size: 12px !important;
  }

  /* Hide headers, sidebars, background videos, search options, and navigation buttons */
  nav, 
  .sidebar, 
  .video-bg, 
  .bg-canvas,
  button,
  .btn-primary,
  .btn-edit,
  .btn-ghost,
  .report-header-toolbar,
  .sidebar-link,
  .no-print,
  #dashTitle,
  #dashSub {
    display: none !important;
  }

  /* Force all report elements, texts, and icons to solid black */
  #reportOutputCard,
  #reportOutputCard *,
  #reportOutputCard h1,
  #reportOutputCard h2,
  #reportOutputCard h3,
  #reportOutputCard h4,
  #reportOutputCard p,
  #reportOutputCard span,
  #reportOutputCard div,
  #reportOutputCard table,
  #reportOutputCard th,
  #reportOutputCard td {
    color: #000000 !important;
  }

  /* Unfold primary wrappers */
  .dash-container {
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    width: 100% !important;
  }

  .dash-content {
    margin-left: 0 !important;
    padding: 0 !important;
    width: 100% !important;
  }

  /* Hide all dashboard pages except the reports parent view */
  .section-panel {
    display: none !important;
  }
  .section-panel#panel_reports {
    display: block !important;
  }

  /* Expand the report wrapper cards */
  #reportOutputCard.glass-card {
    display: block !important;
    background: #ffffff !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    color: #000000 !important;
    width: 100% !important;
  }

  /* Display the print-only header template */
  #reportOutputCard .print-header {
    display: flex !important;
  }

  /* Inline visual graphs layout */
  #reportChartsRow {
    display: flex !important;
    flex-direction: row !important;
    gap: 15px !important;
    margin-bottom: 25px !important;
    page-break-inside: avoid;
    width: 100% !important;
  }

  #chartWrapper1, 
  #chartWrapper2 {
    background: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 10px !important;
    padding: 10px !important;
    height: 250px !important;
    flex: 1 1 45% !important;
    box-shadow: none !important;
  }

  /* Table styling overrides for printers */
  table {
    border-collapse: collapse !important;
    width: 100% !important;
    color: #000000 !important;
    margin-top: 15px !important;
    page-break-inside: auto;
  }

  tr {
    page-break-inside: avoid !important;
    page-break-after: auto !important;
  }

  th, td {
    border: 1px solid #d3d3d3 !important;
    padding: 6px 10px !important;
    font-size: 11px !important;
    color: #000000 !important;
    background: transparent !important;
    text-align: left !important;
  }

  th {
    background-color: #f7f7f7 !important;
    font-weight: 700 !important;
  }

  /* Badge styling overrides for monochrome paper printing */
  .badge {
    border: 1px solid #666666 !important;
    background: transparent !important;
    color: #000000 !important;
    padding: 1px 6px !important;
    font-size: 10px !important;
    border-radius: 4px !important;
    text-transform: uppercase !important;
  }
}

