/* ==========================================================================
   Variables
   ========================================================================== */
:root {
  /* Colors */
  --color-primary: #e3ae7e;
  --color-primary-rgb: 227, 174, 126;
  --color-secondary: #4478a6;
  --color-dark: #000000;
  --color-light: #ffffff;
  --color-gray-100: #f5f5f5;
  --color-gray-200: #e0e0e0;
  --color-gray-800: #333333;
  --color-gray-900: #1a1a1a;
  --color-gray-medium: #404040;
  
  /* Spacing */
  --spacing-xs: 5px;
  --spacing-sm: 10px;
  --spacing-md: 20px;
  --spacing-lg: 30px;
  
  /* Borders */
  --border-radius: 8px;
  
  /* Transitions */
  --transition-default: all 0.3s ease;
  
  /* Shadows */
  --box-shadow-sm: 0 0 5px rgba(227, 174, 126, 0.3);
  
  /* Dimensions */
  --max-width-sm: 600px;
  --max-width-lg: 100%;
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */
body {
  font-family: 'Arial';
  background-color: var(--color-gray-medium);
  color: var(--color-light);
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4 {
  font-family: 'Arial';
  color: var(--color-light);
  margin-top: 0;
}

/* ==========================================================================
   Layout & Container
   ========================================================================== */
.container {
  max-width: var(--max-width-sm);
  margin: 0 auto;
}

.container-fluid {
  width: var(--max-width-lg);
}

.full-screen-content {
  width: 100%;
  height: 100vh;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.management-view .dashboard-content {
  background-color: transparent !important;
  border: none;
  box-shadow: none;
  padding: 0;
  margin: 0;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-md) var(--spacing-sm);
  position: relative;
  min-height: 150px;
  text-align: center;
  border-bottom: 1px solid var(--color-primary);
}

.welcome-message {
  position: absolute;
  left: 30px;
  top: 50%;
  text-align: left;
}

.last-assessment {
  font-style: italic;
  font-size: 12px;
}

.logo-container {
  position: relative;
  left: auto;
  transform: none;
  margin-right: var(--spacing-md);
}

.logo {
  max-width: 160px;
  max-height: 80px;
  width: auto;
  margin-top: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
}

.nav-links {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: var(--spacing-md);
}

.nav-links a {
  color: var(--color-light);
  text-decoration: none;
  font-size: 16px;
  padding: 8px var(--spacing-md);
  border-radius: var(--border-radius);
  transition: var(--transition-default);
  font-family: 'Arial';
}

.nav-links a:hover {
  color: var(--color-primary);
  background-color: rgba(var(--color-primary-rgb), 0.1);
}

.section-header {
  font-size: 2rem;
  color: var(--color-light);
  margin: var(--spacing-lg) 0 var(--spacing-md);
  padding-bottom: var(--spacing-sm);
  border-bottom: 1px solid var(--color-primary);
  font-weight: bold;
}

.management-view .section-header {
  border-bottom: none;
  margin-bottom: var(--spacing-sm);
}

.section-title {
  text-align: center;
  padding: var(--spacing-md);
  background: var(--color-dark);
  color: var(--color-light);
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  margin: 0;
}

.signum-insights {
  font-family: 'Cinzel', serif;
  color: var(--color-primary);
  font-size: 20px;
  display: block;
  margin-bottom: 5px;
}

/* ==========================================================================
   Header & Navigation Layout
   ========================================================================== */
.header {
  position: relative;
  height: 80px;
  padding: 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--color-primary);
  background-color: var(--color-dark);
}

/* Logo in center */
.logo-container {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 50%;
  margin-top: -60px;
  z-index: 2;
}

.logo {
  max-width: 220px;
  max-height: 100px;
  width: auto;
}

/* Left side with product info and navigation */
.header-left {
  display: flex;
  flex-direction: row; /* Change to row to place items side by side */
  align-items: center; /* Center items vertically */
  z-index: 1;
  max-width: 45%; /* Increased for more space */
}

.header-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-right: 25px;
  min-width: 150px;
}

/* Product navigation - vertical stack */
.product-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-left: 1px solid var(--color-gray-800);
  padding-left: 20px;
  gap: 0;
}


.product-btn {
  margin: 0;
  padding: 1px 0;
  text-decoration: none;
  color: var(--color-primary);
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: var(--transition-default);
  white-space: nowrap;
  line-height: 1.5;
}

.product-btn.active {
  color: var(--color-light);
}

/* Product name styling */
.signum-insights {
  font-family: 'Cinzel', serif;
  color: var(--color-primary);
  font-size: 20px;
  margin-bottom: 2px;
  line-height: 1;
}

.last-assessment {
  font-style: italic;
  font-size: 12px;
  margin-top: 0;
  line-height: 1;
}

/* Right side with hamburger */
.header-right {
  z-index: 1;
}

/* Hamburger menu styling */
.nav-hamburger {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--color-light);
  cursor: pointer;
}

.nav-menu {
  position: absolute;
  top: 80px;
  right: 20px;
  background-color: var(--color-gray-900);
  border: 1px solid var(--color-primary);
  border-radius: var(--border-radius);
  display: none;
  z-index: 1100;
  min-width: 180px;
}

.nav-menu.show {
  display: block;
  z-index: 1100;
}

.nav-menu a {
  display: block;
  color: var(--color-light);
  padding: var(--spacing-sm) var(--spacing-md);
  text-decoration: none;
  border-bottom: 1px solid var(--color-gray-800);
  text-align: left; /* Ensure left alignment */
}

.nav-menu a:last-child {
  border-bottom: none;
}

.nav-menu a:hover {
  background-color: rgba(var(--color-primary-rgb), 0.1);
}

/* Additional elements shown in your image */
.video-guides {
  position: absolute;
  right: 100px;
  font-size: 14px;
  color: var(--color-light);
  text-decoration: none;
}

/* Media queries for responsive design */
@media (max-width: 768px) {
  .header {
    padding: 0 15px;
  }
  
  .logo-container {
    position: relative;
    transform: none;
    left: auto;
    margin: 0 auto;
    order: 1;
  }
  
  .header-left {
    flex-direction: column; /* Stack vertically on mobile */
    max-width: none;
    width: 100%;
    margin-top: 10px;
    align-items: center;
  }
  
  .header-info {
    align-items: center;
    margin-right: 0;
    margin-bottom: 10px;
  }
  
  .product-nav {
    align-items: center;
    border-left: none;
    padding-left: 0;
  }
  
  .header-right {
    order: 3;
    position: absolute;
    top: 15px;
    right: 15px;
  }
  
  .video-guides {
    display: none;
  }
}

/* ==========================================================================
   Forms & Inputs
   ========================================================================== */
.login-form {
  background-color: var(--color-gray-900);
  color: var(--color-light);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius);
  border: 1px solid var(--color-primary);
  max-width: var(--max-width-sm);
  margin: 0 auto;
}

.login select {
    width: 100%;
    min-width: 300px;
    white-space: normal;
    word-wrap: break-word;
    height: auto;
    padding: 10px;
}

.login-form input[type="text"],
.login-form input[type="email"],
.login-form input[type="password"],
.login-form select,
.login-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: var(--spacing-md);
  border: 1px solid var(--color-gray-800);
  border-radius: var(--border-radius);
  background-color: #34495e;
  color: var(--color-light);
  font-size: 16px;
}

.login-form input:focus,
.login-form select:focus {
  border-color: var(--color-primary);
  outline: none;
  box-shadow: var(--box-shadow-sm);
}

.questionnaire-layout {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: var(--spacing-lg);
  padding: var(--spacing-lg);
}

.question-section {
  background: var(--color-light);
  border-radius: var(--border-radius);
  padding: var(--spacing-lg);
  color: var(--color-dark);
}

.question-section h4 {
  color: var(--color-dark);
}

.question h4 {
  font-size: 1.4rem; /* Increase question text size */
  margin-bottom: 1.5rem;
  color: var(--color-dark);
  line-height: 1.4;
}

.question-text {
  color: var(--color-dark);
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.question-answer {
  color: var(--color-gray-800);
  font-size: 0.85rem;
  font-style: italic;
}

.question-item.current {
  background-color: rgba(227, 174, 126, 0.15);
  border-left: 3px solid #e3ae7e;
}

.question-number {
  font-weight: bold;
  color: #e3ae7e;
  margin-bottom: 4px;
}

.question-history {
  background: var(--color-light);
  border-radius: var(--border-radius);
  max-height: 80vh;
  overflow-y: auto;
}

.question-item {
  padding: 12px;
  border-bottom: 1px solid var(--color-gray-200);
  color: var(--color-dark);
  cursor: pointer; /* Show pointer cursor on hover */
  transition: background-color 0.2s ease;
}

.question-item:hover {
  background-color: rgba(227, 174, 126, 0.1); /* Use primary color with opacity */
  border-left: 3px solid #e3ae7e; /* Add left border with primary color */
}
.question-item.resume-progress {
  background-color: #f8f9fa;
  border-bottom: 2px solid #e3ae7e;
  font-weight: bold;
}

.question-text {
  color: var(--color-dark);
}

.question-answer {
  color: var(--color-gray-800);
  font-size: 0.9em;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  background-color: var(--color-primary);
  color: var(--color-dark);
  border: 1px solid transparent;
  border-radius: var(--border-radius);
  font-weight: bold;
  transition: var(--transition-default);
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
}

.btn:hover {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-secondary {
  background-color: transparent;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
}

.btn-secondary:hover {
  background-color: var(--color-primary);
  color: var(--color-dark);
}

.yes-no-button {
  background-color: var(--color-primary);
  color: var(--color-dark);
  padding: var(--spacing-sm) var(--spacing-md);
  border: 1px solid transparent;
  border-radius: var(--border-radius);
  font-weight: bold;
  transition: var(--transition-default);
  cursor: pointer;
  position: relative;
}

.yes-no-button:hover,
.yes-no-button.active {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.show-details-btn {
    display: block;
    width: 100%;
    padding: 0.75rem;
    margin-top: 1rem;
    background: var(--color-secondary);
    color: var(--color-light);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition-default);
}

.show-details-btn:hover {
    opacity: 0.9;
}

/* ==========================================================================
   Alerts & Messages
   ========================================================================== */
.alert {
  background-color: var(--color-gray-900);
  border: 1px solid var(--color-primary);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-md);
  color: var(--color-light);
}

.flashed-messages {
  margin: var(--spacing-md) 0;
}

/* ==========================================================================
   Tables
   ========================================================================== */
.table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
}

.table th,
.table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--color-gray-800);
  color: var(--color-dark);
}

.table th {
  background-color: var(--color-dark);
  color: var(--color-light);
  font-weight: bold;
}

.table tbody tr:nth-child(odd) {
  background-color: var(--color-light);
}

.table tbody tr:nth-child(even) {
  background-color: var(--color-gray-200);
}

.table tbody tr:hover {
  background-color: rgba(var(--color-primary-rgb), 0.8);
}

/* ==========================================================================
   Admin Questionnaire Management Dashboard
   ========================================================================== */
/* Dashboard Table Improvements */

/* Target specifically the tables in the admin dashboard sections */
.user-progress .table,
.user-management .table,
.questionnaire-management .table {
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #444;
}

/* Make vertical lines more visible */
.user-progress .table th,
.user-progress .table td,
.user-management .table th,
.user-management .table td,
.questionnaire-management .table th,
.questionnaire-management .table td {
  border: 1px solid #444;
  padding: 10px;
  align-content: center;
}

.management-view .user-management .table tbody tr td,
.management-view .user-progress .table tbody tr td,
.management-view .questionnaire-management .table tbody tr td {
  padding: 4px 5px;
  vertical-align: middle;
}

/* Ensure header is styled properly */
.user-progress .table th,
.user-management .table th,
.questionnaire-management .table th {
  background-color: var(--color-dark);
  color: var(--color-light);
  font-weight: bold;
  border-bottom: 2px solid var(--color-primary);
}

/* Row styling - remove hover highlight */
.user-progress .table tbody tr:hover,
.user-management .table tbody tr:hover,
.questionnaire-management .table tbody tr:hover {
  background-color: inherit;
}

/* Alternate row colors, but don't highlight on hover */
.user-progress .table tbody tr:nth-child(odd),
.user-management .table tbody tr:nth-child(odd),
.questionnaire-management .table tbody tr:nth-child(odd) {
  background-color: var(--color-light);
}

.user-progress .table tbody tr:nth-child(even),
.user-management .table tbody tr:nth-child(even),
.questionnaire-management .table tbody tr:nth-child(even) {
  background-color: var(--color-gray-200);
}

/* Style the modify button in user management to not take full width */

.btn-modify {
  background-color: var(--color-primary);
  color: var(--color-dark);
  border-radius: var(--border-radius);
  text-decoration: none;
  transition: var(--transition-default);
}

.btn-modify:hover {
  background-color: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

/* Make sure the assignment checkboxes in questionnaire management are visible */
.questionnaire-management .table input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 0 auto;
  display: block;
}

.btn-danger {
  background-color: #DC2626 !important;
  color: #ffffff !important;
  border: 1px solid #DC2626;
}

.btn-danger:hover {
  background-color: transparent !important;
  color: #DC2626 !important;
  border-color: #DC2626;
}

.user-management .table td {
  padding: 4px 5px !important;  /* Reduce padding in table cells */
}

.user-management .table td .btn {
  font-variant: all-petite-caps; 
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.gold-divider {
  border: 0;
  height: 1px;
  background-color: var(--color-primary);
  margin: var(--spacing-lg) 0;
  opacity: 0.5;
}

/* ==========================================================================
   Password Visibility Toggle
   ========================================================================== */
   .password-container {
    position: relative;
  }
  
  .password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #666;
    z-index: 10;
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    background: transparent;
    border: none;
    padding: 0;
  }
  
  .password-toggle:hover {
    color: var(--color-primary);
  }
  
  /* Eye icons using CSS */
  .eye-icon::before {
    content: "👁️";
    font-size: 16px;
  }
  
  .eye-slash-icon::before {
    content: "🔒";
    font-size: 16px;
  }

/* ==========================================================================
   MFA Setup
   ========================================================================== */
   .qr-code-container {
    background-color: var(--color-light);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: var(--spacing-md) auto;
    width: fit-content;
  }
  
  .qr-code-container img {
    width: 200px;
    height: 200px;
    display: block;
  }
  
  .mfa-form-container {
    max-width: 400px;
    margin: var(--spacing-lg) auto;
  }
  
  .mfa-form-container label {
    display: block;
    margin-bottom: var(--spacing-sm);
    color: var(--color-light);
  }
  
  .mfa-form-container input {
    width: 100%;
    padding: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    background-color: var(--color-light);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--border-radius);
    color: var(--color-dark);
    font-size: 1.2em;
    text-align: center;
    letter-spacing: 0.2em;
  }
  
  .mfa-form-container input:focus {
    border-color: var(--color-primary);
    box-shadow: var(--box-shadow-sm);
    outline: none;
  }
  
  .mfa-form-container button {
    width: 100%;
    margin-top: var(--spacing-md);
  }

/* ==========================================================================
   404 Page Styles
   ========================================================================== */

/* 404 Page Container – fills the viewport, no scrolling, with background image & filter */
.error-404-container {
  position: relative;
  background: url('../images/Standoff.jpg') no-repeat center center;
  background-size: cover;
  height:83vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--color-light);
  padding: 20px;
}

/* Background overlay filter to mute the image */
.error-404-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

/* Ensure all children appear above the overlay */
.error-404-container > * {
  position: relative;
  z-index: 1;
}

/* Error message styling */
.error-message {
  font-size: 1.5rem;
  margin: 20px 0 40px;
  color: var(--color-light);
}

/* Venn Diagram Container */
.ven-diagram-container {
  position: relative;
  width: 600px;
  height: 600px;
  margin: 0 auto 30px;
}

/* Base styles for all circles */
.circle {
  position: absolute;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
  font-size: 0.8rem;  /* slightly smaller font for labels */
  color: var(--color-light);
  mix-blend-mode: multiply;
  word-break: break-word;
  width: 350px;
  height: 350px;
}

/* Circle One: “We broke something” (Gold tint) */
.circle-one {
  /* Center this circle at (300,200) in the 600x600 container */
  left: 125px;  /* 300 - 175 */
  top: 25px;    /* 200 - 175 */
  background: rgba(227, 174, 126, 0.4);
  border: 2px solid #e3ae7e;
}

/* Circle Two: “You can't type” (Blue tint) */
.circle-two {
  /* Center this circle at (200,400) */
  left: 25px;   /* 200 - 175 */
  top: 225px;   /* 400 - 175 */
  background: rgba(68, 120, 166, 0.4);
  border: 2px solid #4478a6;
}

/* Circle Three: “You are trying to hack us” (Gray tint) */
.circle-three {
  /* Center this circle at (400,400) */
  left: 225px;  /* 400 - 175 */
  top: 225px;   /* 400 - 175 */
  background: rgba(64, 64, 64, 0.4);
  border: 2px solid #404040;
}

/* "404" text placed at the center of convergence (approximately at (300,300)) */
.ven-center {
  position: absolute;
  top: 340px;
  left: 300px;
  transform: translate(-50%, -50%);
}

.center-label {
  font-size: 4rem;
  font-weight: bold;
  color: var(--color-primary);
  /* Increased drop shadow for a darker, more pronounced effect */
  text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.9);
}

/* Increase font size for all circle labels */
.circle .circle-label {
  font-size: 1.2rem;  /* Increase as needed */
  position: relative; /* Allows for positional tweaks */
  z-index: 2;         /* Ensure they appear above the circle background */
}

/* For the top circle (circle-one) */
.circle-one .circle-label {
  top: -30px !important;  
}

/* For the left circle (circle-two) */
.circle-two .circle-label {
  left: -40px !important;
  top: 10px !important;
}

/* For the right circle (circle-three) */
.circle-three .circle-label {
  left: 40px !important;
  top: 20px !important;
}

/* ==========================================================================
   Ask Lumi
   ========================================================================== */
   .lumi-help {
    border-radius: 12px;
    background-color: rgba(227, 174, 126, 0.1);
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--color-primary);
}

.lumi-container {
    display: flex;
    flex-direction: column;
}

.lumi-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.lumi-image {
    width: 80px;
    height: auto;
    margin-right: 15px;
}

.lumi-header h5 {
    margin: 0;
    font-weight: 600;
}

.lumi-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
}

.btn-lumi {
    background-color: var(--color-primary);
    color: var(--color-dark);
    border: none;
    flex: 1;
    min-width: 140px;
    transition: var(--transition-default);
    font-weight: 550;
}

.btn-lumi:hover {
    background-color: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.lumi-response {
    background-color: var(--color-light);
    border-radius: 8px;
    border-left: 4px solid var(--color-primary);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* For mobile responsiveness */
@media (max-width: 768px) {
    .lumi-buttons {
        flex-direction: column;
    }
    
    .btn-lumi {
        width: 100%;
    }
    
    .lumi-header {
        flex-direction: column;
        text-align: center;
    }
    
    .lumi-image {
        margin-right: 0;
        margin-bottom: 10px;
    }
}
/* ==========================================================================
   Lucky Error Page Styles
   ========================================================================== */
   .lucky-error-container {
    position: relative;
    background: url('../images/boots_up.png') no-repeat center center;
    background-size: cover;
    height: 83vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--color-light);
    padding: 20px;
  }
  
  /* Red overlay with gradient for dramatic effect */
  .red-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      180deg,
      rgba(139, 0, 0, 0) 0%,
      rgba(139, 0, 0, 0.3) 50%,
      rgba(139, 0, 0, 0.5) 100%
    );
    opacity: 0;
    animation: overlayFade 2s ease-in forwards 0.5s;
    pointer-events: none;
  }
  
  /* Wasted text styling */
  .wasted {
    opacity: 0;
    font-size: 7rem;
    font-weight: bold;
    color: var(--color-light);
    text-shadow: 
      0 0 20px rgba(0,0,0,0.8),
      5px 5px 10px rgba(139,0,0,0.8);
    animation: wastedFade 2s ease-in forwards 0.5s;
    transform: rotate(-5deg);
    z-index: 2;
  }
  
  /* Return button styling */
  .return-btn {
    opacity: 0;
    background-color: var(--color-primary);
    color: var(--color-dark);
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.2rem;
    cursor: pointer;
    margin-top: 2rem;
    animation: buttonFade 1s ease-in forwards 2.5s;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition-default);
    z-index: 2;
  }
  
  .return-btn:hover {
    background-color: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  }
  
  /* Dust effect */
  .dust {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
      radial-gradient(circle at center,
        rgba(255,255,255,0.1) 0%,
        transparent 10%);
    background-size: 3px 3px;
    animation: dustFloat 20s linear infinite;
    pointer-events: none;
  }
  
  /* Animations */
  @keyframes wastedFade {
    0% { 
      opacity: 0;
      transform: scale(0.8) rotate(-5deg);
    }
    100% { 
      opacity: 1;
      transform: scale(1) rotate(-5deg);
    }
  }
  
  @keyframes overlayFade {
    0% { opacity: 0; }
    100% { opacity: 1; }
  }
  
  @keyframes buttonFade {
    0% { 
      opacity: 0;
      transform: translateY(20px);
    }
    100% { 
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes dustFloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(-100%); }
  }

.category-header {
    background-color: #222;
    color: white;
    font-weight: bold;
    text-align: center;
    border-bottom: 2px solid var(--color-primary);
    padding: 8px 4px;
}

.column-header {
    font-size: 0.9rem;
    font-weight: bold;
    text-align: center;
    background-color: #333;
    color: #fff;
    line-height: 1.3;
    padding: 8px 3px;
    min-width: 100px;
    max-width: 120px;
}

.questionnaire-category {
    background-color: rgba(227, 174, 126, 0.1);
    border: 1px solid #444;
    border-radius: var(--border-radius);
    padding: 15px;
    height: 100%;
}

.questionnaire-category-title {
    color: var(--color-primary);
    border-bottom: 1px solid var(--color-primary);
    padding-bottom: 8px;
    margin-bottom: 12px;
}

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

.questionnaire-card {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.questionnaire-card a {
    color: white;
    text-decoration: none;
    display: block;
    width: 100%;
}

.questionnaire-card:hover {
    background-color: rgba(227, 174, 126, 0.2);
}

.assignment-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.assignment-checkbox {
    width: 20px !important;
    height: 20px !important;
}

.badge-warning {
    background-color: #e3ae7e;
    color: #000;
}

.badge-success {
    background-color: #28a745;
    color: #fff;
}

.table-responsive {
    overflow-x: auto;
}

.table th, .table td {
    vertical-align: middle;
}

.yesno-question-form .d-flex.justify-content-end {
    display: none !important; /* Use !important to override any inline styles */
}

.button-group {
    margin: 20px auto 30px;
    justify-content: center;
}

@media (max-width: 992px) {
    .column-header {
        min-width: 80px;
        font-size: 0.8rem;
    }
}