* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
  background: linear-gradient(135deg, #000, #003179);
  min-height: 100vh;
 /* display: flex;
  align-items: center;
  justify-content: center;*/
}

a {
    color: #307e45;
    }

a:focus {
    outline: 1px dotted #be2414;
      outline-offset: 5px;
      border-radius: 5px;
    }

.logo-group a,
.logo-group a:visited {
    display: flex;
    align-items: center;
    text-decoration: none;
    }

.logo {
    width: 40px;
    margin-right: 10px;
    }

.logo-lines {
    display: grid;
    }

.logo-line-one {
    font-weight:200;
    margin-right:10px;
    font-size: 16px;
    text-decoration: none;
    color: #e0e0e0;
    }

.logo-line-two {
    font-weight:700;
    font-size: 16px;
    text-decoration: none;
    color: #fff;
    }

h1 {
    font-size:40px;
    color: #333;
    }

/* Login Page Styles */
.login-container {
  width: 100%;
  max-width: 450px;
  padding: 20px;
  margin: auto;
}

.login-box {
  background: white;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.login-box h1 {
    color: #002356;
      margin-bottom: 0;
      text-align: center;
      font-size: 2em;
      font-weight: 200;
}

.login-box h2 {
    color: #003077;
      margin-bottom: 30px;
      font-size: 2.5em;
      font-weight: 700;
      margin-top: 0px;
      text-align: center;
    }

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-weight: 500;
}

.form-group input {
  width: 100%;
  padding: 12px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-size: 16px;
  transition: border-color 0.3s;
}

.form-group input:focus {
  outline: none;
  border-color: #667eea;
}

button[type="submit"] {
  padding: 14px;
  /*
   width: 100%;
   background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  background: linear-gradient(135deg, #000, #003179);*/
  background: linear-gradient(-60deg, #144c21, #307e45);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s;
}

button[type="submit"]:hover {
  transform: translateY(-2px);
}

.error-message {
  background: #fee;
  color: #c33;
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 20px;
  border-left: 4px solid #c33;
}

.help-links {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
  text-align: center;
  font-size: 14px;
}

.help-links p {
  color: #666;
  margin-bottom: 10px;
  font-size: 14px;
}

.help-links ul {
  list-style: none;
  margin: 0;
}

.help-links li {
  margin: 8px 0;
  text-align: center;
}

.help-links a {
  /*color: #667eea;*/
  color: #307e45;
  text-decoration: none;
  font-size: 14px;
}

.help-links a:hover {
  text-decoration: underline;
}

.forgot-links {
    margin-top: 20px;
    text-align: center;
    font-size: 13px;;
    }

.forgot-links a {
    text-align: center;
    color: #307e45;
    text-decoration: none;
    margin-right: 15px;
    }

.forgot-links a:hover {
    text-decoration: underline;
    }

/* Dashboard Styles */
.dashboard-container {
  background: white;
  min-height: 100vh;
  width: 100%;
}

header {
 /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  background: linear-gradient(135deg, #000, #003179);*/
  background: linear-gradient(-60deg, #144c21, #307e45);
  color: white;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header h1 {
  font-size: 24px;
}

header nav a {
  color: white;
  text-decoration: none;
  padding: 8px 16px;
  border: 2px solid white;
  border-radius: 6px;
  transition: all 0.3s;
}

header nav a:hover,
header nav a:focus {
  background: white;
  color: #002f73;
}

main {
  max-width: 1700px;
  margin: 0 auto;
  padding: 40px 20px;
  min-height: calc(100vh - 140px);
 /*min-width: 1000px;*/
}

.scan-form {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 12px;
  margin-bottom: 30px;
}

.scan-form h2 {
  margin-bottom: 20px;
  color: #333;
}

#results {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 12px;
}

#results h2 {
  margin-bottom: 20px;
  color: #333;
}

#resultsContent pre {
  background: #fff;
  padding: 20px;
  border-radius: 6px;
  overflow-x: auto;
  font-size: 12px;
  line-height: 1.5;
}

/* Results Table Styles */
.summary {
  background: #fff;
  padding: 20px;
  border-radius: 6px;
  margin-bottom: 20px;
}

.summary p {
  margin: 8px 0;
}

.results-table {
  width: 100%;
  background: white;
  border-collapse: collapse;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.results-table thead {
 /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
 background: linear-gradient(135deg, #000, #003179);*/
 background: linear-gradient(-60deg, #144c21, #307e45);
  color: white;
}

.results-table th {
  padding: 12px;
  text-align: left;
  font-weight: 600;
}

.results-table td {
  padding: 12px;
  border-bottom: 1px solid #e0e0e0;
  text-align: center;
}

.results-table tbody tr:hover {
  background: #f9f9f9;
}

.results-table tbody tr:last-child td {
  border-bottom: none;
}

.results-table a {
  color: #307e45;
  text-decoration: none;
  word-break: break-all;
  word-break: inherit;
  margin: 5px 0;
}

.results-table a:hover {
  text-decoration: underline;
}

/* Score Column Styling */
.score-cell {
    text-align: center;
    padding: 12px !important;
    font-size: 18px;
    border-radius: 6px;
    }

.score-excellent {
  background: #ecfdf5;
  color: #1F7A3F;
}

.score-good {
  background: #dbeafe;
  color: #1e40af;
}

.score-fair {
  background: #fef3c7;
  color: #b45309;
}

.score-poor {
  background: #fee2e2;
  color: #991b1b;
}

.score-400 {
  background-color: #e9ecef;
  color: #6c757d;
  cursor: help;
  opacity: 0.7;
}

.score-400 strong::after {
    content: " *";
    font-size: 0.8em;
    }

.score-400:hover {
    opacity: 1;
    transition: opacity 0.2s ease;
    title: "Not scanned due to invalid/missing URL";
    }

.success {
  color: #1F7A3F;
  font-weight: 600;
}

.warning {
  color: #8B1E1E;
  font-weight: 600;
}

.error-row {
  background: #fee;
}

.error-row td {
  color: #c33;
}

/* Page Detail Styles */
.page-detail {
  max-width: 1200px;
  margin: 0 auto;
}

.page-info {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 30px;
}

.page-info p {
  margin: 10px 0;
}

.scan-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.stat-box {
  background: white;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.stat-box h3 {
  font-size: 48px;
  margin: 0 0 10px 0;
  color: #667eea;
}

.stat-box.success h3 {
  color: #22c55e;
}

.stat-box.warning h3 {
  color: #ef4444;
}

.stat-box p {
  margin: 0;
  color: #666;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.success-message {
  background: #ecfdf5;
  border: 2px solid #22c55e;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
}

.success-message h3 {
  color: #22c55e;
  margin: 0 0 10px 0;
}

.violations-section {
  margin-top: 30px;
}

.violation-card {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
}

.violation-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 15px;
}

.violation-header h4 {
  margin: 0;
  color: #333;
  flex: 1;
}

.impact-badge {
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.impact-critical {
  background: #fee;
  color: #8B1E1E;
}

.impact-serious {
  background: #fef3e0;
  color: #B45309;
}

.impact-moderate {
  background: #fef9e0;
  color: #A07C2C;
}

.impact-minor {
  background: #eff6ff;
  color: #666;
}

.violation-description {
  color: #666;
  margin: 10px 0;
}

#score-spedometer {
    width: 50px;
    margin-right: 10px;
    }

path.low {
    fill: #8B1E1E;
    }

path.serious {
    fill: #B45309;
    }

path.moderate {
    fill: #A07C2C;
    }

path.full {
    fill: #1F7A3F;
    }

#minor-icon {
    width: 45px;
    margin-right: 10px;
    }

#moderate-icon {
    width: 45px;
    margin-right: 10px;
    }

#serious-icon {
    width: 45px;
    margin-right: 10px;
    }

#critical-icon {
    width: 45px;
    margin-right: 10px;
    }

.tag {
  display: inline-block;
  background: #f3f4f6;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  margin-right: 5px;
  color: #666;
}

.nodes-list {
  margin: 20px 0;
}

.node-detail {
  background: #f9f9f9;
  border-left: 3px solid #667eea;
  padding: 15px;
  margin-bottom: 10px;
  border-radius: 4px;
}

.node-detail summary {
  cursor: pointer;
  font-weight: 600;
  color: #667eea;
}

.node-detail summary:hover {
  color: #764ba2;
}

.node-content {
  margin-top: 15px;
}

.node-content pre {
  background: #fff;
  padding: 15px;
  border-radius: 4px;
  overflow-x: auto;
  border: 1px solid #e0e0e0;
}

.node-content code {
  font-family: 'Courier New', monospace;
  font-size: 13px;
  line-height: 1.5;
}

.node-content ul {
  margin: 10px 0;
  padding-left: 20px;
}

.learn-more {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #e0e0e0;
}

.learn-more a {
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
}

.learn-more a:hover {
  text-decoration: underline;
}

/* App Layout with Sidebar */
.app-layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #f5f5f5;
  width: 100%;
}

.app-header {
  /*background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
   background: linear-gradient(135deg, #000, #003179);
  color: white;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.app-header h1 {
  /* font-size: 20px; */
  margin: 0;
}

.app-header nav {
  display: flex;
  gap: 15px;
}

.app-header nav a {
  color: white;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 6px;
  transition: background 0.3s;
  align-content: center;
}

.app-header nav a:hover {
  /*background: rgba(255,255,255,0.2);*/
}

.app-body {
  display: flex;
  flex: 1;
}

.sidebar {
  width: 280px;
  background: white;
  border-right: 1px solid #e0e0e0;
  padding: 30px 0;
}

.website-name {
  padding: 0 25px 20px 25px;
  border-bottom: 1px solid #e0e0e0;
}

.website-name h2 {
    margin: 0;
      font-size: 24px;
      color: #333;
      border-bottom: unset;
}

.website-url {
  margin: 0;
  font-size: 13px;
  color: #666;
  word-break: break-all;
}

.sidebar-nav {
  padding: 20px 0;
}

.sidebar-nav a {
  display: block;
  padding: 12px 25px;
  color: #307e45;
  text-decoration: none;
  transition: all 0.3s;
  border-left: 10px solid transparent;
}

.sidebar-nav a:hover,
.sidebar-nav a:focus {
  background: #f9f9f9;
  color: #002f74;
}

.sidebar-nav a.active {
    background: #f3f7fd;
    color: #002f74;
    border-left-color: #002f74;
    font-weight: 600;
    }

.main-content {
  flex: 1;
  padding: 40px;
  overflow-y: auto;
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.scan-button {
 /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  background: linear-gradient(135deg, #000, #003179);*/
  background: linear-gradient(-60deg, #144c21, #307e45);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.2s;
}

.scan-button:hover {
  transform: translateY(-2px);
}

.scan-button-large {
  /*background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
   background: linear-gradient(135deg, #000, #003179);*/
   background: linear-gradient(-60deg, #144c21, #307e45);
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  transition: transform 0.2s;
}

.scan-button-large:hover {
  transform: translateY(-2px);
}

.empty-state {
  background: white;
  padding: 60px;
  border-radius: 12px;
  text-align: center;
}

.empty-state h2 {
  color: #333;
  margin: 0 0 15px 0;
}

.empty-state p {
  color: #666;
  margin: 0 0 30px 0;
}

.overview-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  background: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.stat-card h3 {
  margin: 0 0 8px 0;
  font-size: 36px;
  color: #667eea;
}

.stat-card h3.success {
  color: #22c55e;
}

.stat-card h3.warning {
  color: #ef4444;
}

.stat-card p {
  margin: 0;
  color: #666;
  font-size: 14px;
}

.last-scan-info {
  background: white;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 30px;
}

.last-scan-info p {
  margin: 8px 0;
  color: #666;
}

.top-issues {
  background: white;
  padding: 25px;
  border-radius: 8px;
}

.top-issues h2 {
  margin: 0 0 20px 0;
  color: #333;
}

.pages-header-info {
  background: white;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.pages-header-info p {
  margin: 8px 0;
  color: #666;
}

.pages-list {
  background: white;
  padding: 25px;
  border-radius: 8px;
}

.scan-status {
 /* background: #eff6ff;*/
  background: #edf2fa;
  border: 2px solid #9cb8e0;
  padding: 20px;
  border-radius: 8px;
  margin-top: 20px;
  text-align: center;
  margin-bottom: 20px;
}

.scan-status p {
  margin: 0;
  color: #003179;
  font-weight: 600;
}

.settings-section {
  background: white;
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.settings-section h2 {
  margin: 0 0 20px 0;
  color: #333;
}

.settings-info p {
  margin: 10px 0;
  color: #666;
}

.invite-form {
  margin: 20px 0;
}

.message {
  padding: 15px;
  border-radius: 6px;
  margin: 15px 0;
}

.message.info {
  background: #eff6ff;
  color: #3b82f6;
  border: 1px solid #3b82f6;
}

.team-list {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
}

.team-list h3 {
  margin: 0 0 15px 0;
  color: #333;
}

.coming-soon {
  color: #999;
  font-style: italic;
}

/* Dashboard Styles */
.permission-notification {
  margin-bottom: 30px;
}

.dashboard-welcome h2,
.permission-notification h2 {
  margin: 0 0 10px 0;
  color: #333;
}

.dashboard-welcome p,
.permission-notification p {
  margin: 0;
  color: #666;
}

.websites-grid {
  background: white;
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
}

.websites-table {
  width: 100%;
  border-collapse: collapse;
}

.websites-table thead {
  background: #f9f9f9;
}

.websites-table th {
  padding: 15px 20px;
  text-align: left;
  font-weight: 600;
  /*color: #333;*/
  border-bottom: 2px solid #e0e0e0;
}

.websites-table td {
  padding: 20px;
  border-bottom: 1px solid #f0f0f0;
  color: #666;
}

.websites-table tbody tr:hover {
  background: #fafafa;
}

.websites-table tbody tr:last-child td {
  border-bottom: none;
}

.website-name-link {
  /*color: #1076c0;*/
  color: #307e45;
  text-decoration: underline;
  font-weight: 600;
  font-size: 16px;
}

.website-name-link:hover {
  text-decoration: underline;
}

.website-url-cell {
  color: #999;
  font-size: 14px;
}

.badge {
    display: block;
      padding: 8px 16px;
      border-radius: 20px;
      font-size: 16px;
      font-weight: 700;
      min-width: 60px;
      text-align: center;
      margin: auto;
}

.badge-success {
  background: #ecfdf5;
  color: #307E45;
}

.badge-warning {
    background: #ffeeed;
      color: #be2414;
}

.badge-gray {
  background: #f3f4f6;
  color: #6b6b6b;
}

.badge-info {
  background: #faeeed;
  color: #c02010;
}

.text-muted {
  color: #999;
  font-style: italic;
}

.btn-small {
  display: inline-block;
  /*background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
   background: linear-gradient(135deg, #000, #003179);*/
   background: linear-gradient(-60deg, #144c21, #307e45);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 12px;
    border: 1px solid #144c21;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-small:hover {
  transform: translateY(-1px);
}

.role-help {
      background: #f9f9f9;
      padding: 16px;
      border-radius: 6px;
      border-left: 4px solid #1076c0;
    }
    
    .role-help p {
      margin: 8px 0;
      color: #666;
      font-size: 13px;
    }
    
    .role-help p:last-child {
      margin-bottom: 0;
    }
    
    .role-help strong {
      color: #333;
    }
    
    .form-row {
      display: flex;
      gap: 12px;
      align-items: flex-end;
    }
    
    .message.success {
      background: #ecfdf5;
      color: #22c55e;
      border: 1px solid #22c55e;
    }


.automated-scanning-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  gap: 20px;
}

.automated-scanning-header h1 {
  margin: 0;
  color: #333;
  /* font-size: 32px; */
}

.automated-score {
   /* background: white;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);*/
    text-align: center;
    }

.score-group {
    margin-bottom: 5px;
    }

.score-number {
    font-size: 40px;
    font-weight: 500;
    color: #1F7A3F;
    }

.score-label {
    font-size: 40px;
    color: #1F7A3F;
    font-weight: 500;
    }

.score-title {
    color: #666;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    }

.impact-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.impact-stat-box {
  background: white;
  padding: 25px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  /* border-left: 5px solid #ddd;*/
}

.impact-stat-group {
    display: flex;
    text-align: left;
    margin-bottom: 10px;
    align-items: center;
    justify-content: center;
    }

.impact-stat-box p {
  margin: 0 0 5px 0;
  font-size: 36px;
  font-weight: 700;
}

.impact-stat-box a,
p.impact-stat-title {
  margin: 0;
  color: #666;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
}

.impact-stat-box.impact-critical {
  border-left-color: #8B1E1E;
}

.impact-stat-box.impact-critical h3,
.critical {
  color: #8B1E1E;
}

.impact-stat-box.impact-serious,
.serious {
  border-left-color: #B45309;
}

.impact-stat-box.impact-serious h3 {
  color: #B45309;
}

.impact-stat-box.impact-moderate {
  border-left-color: #A07C2C;
}

.impact-stat-box.impact-moderate h3,
.moderate {
    color: #A07C2C;
    /* color: #198754; */
    }

.impact-stat-box.impact-minor {
  /* border-left-color: #666;*/
}

.impact-stat-box.impact-minor h3,
.minor {
  color: #666;
}

.total-violations-box {
  background: white;
  padding: 16px 20px;
  border-radius: 6px;
  margin-bottom: 30px;
  /*border-left: 4px solid #666;*/
  text-align: center;
}

.total-violations-box p {
  margin: 0;
  color: #333;
  font-size: 20px;
}

.fix-score-section {
  background: white;
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 30px;
}

.fix-score-section h2,
.bottom-section-box h2 {
    margin: 0 0 5px 0;
    color: #333;
    font-size: 24px;
    }

.fix-score-section p {
    margin: 0 0 15px 0;
    }

.violations-list {
  gap: 15px;
  display: flex;
  flex-wrap: wrap;
}

.violation-fix-card {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 6px;
     width: 48%;
    }

.violation-fix-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex: 1;
}

.violation-fix-info h4 {
  margin: 0 0 8px 0;
  color: #333;
  font-size: 15px;
}

.violation-fix-description {
  margin: 0;
  color: #666;
  font-size: 13px;
}

.difficulty-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.difficulty-badge.difficulty-5 {
  background: #fee;
  color: #c33;
}

.difficulty-badge.difficulty-4 {
  background: #fef3e0;
  color: #d97706;
}

.difficulty-badge.difficulty-3 {
  background: #fef9e0;
  color: #ca8a04;
}

.difficulty-badge.difficulty-2 {
  background: #eff6ff;
  color: #3b82f6;
}

.add-task-btn {
  padding: 8px 16px;
  background: white;
  border: 2px solid #1076c0;
  color: #1076c0;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s;
  white-space: nowrap;
}

.add-task-btn:hover {
  background: #1076c0;
  color: white;
}

.no-violations-message {
  padding: 40px 20px;
  text-align: center;
  color: #999;
  font-style: italic;
}

.monitoring-section {
  background: white;
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.monitoring-content {
  flex: 1;
}

.monitoring-content p {
  margin: 0;
  color: #333;
  font-size: 15px;
  line-height: 1.5;
}

.monitoring-content strong {
  color: #1076c0;
}

.view-all-btn {
  display: inline-block;
  padding: 10px 20px;
  /*background: linear-gradient(135deg, #000, #003179);*/
  background: linear-gradient(-60deg, #144c21, #307e45);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.2s;
  white-space: nowrap;
}

.view-all-btn:hover {
  transform: translateY(-2px);
}

.bottom-sections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.bottom-section-box {
  background: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.bottom-section-box h3 {
  margin: 0 0 8px 0;
  color: #333;
  font-size: 18px;
}

.section-subtitle {
  margin: 0 0 20px 0;
  color: #666;
  font-size: 13px;
  font-style: italic;
}

.pages-list-low,
.pages-list-recent {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.page-item {
  display: grid;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background: #f9f9f9;
  border-radius: 4px;
  gap: 10px;
}

.page-item a {
  flex: 1;
  color: #307e45;
  text-decoration: none;
  font-size: 13px;
  word-break: break-word;
}

.page-item a:hover {
  text-decoration: underline;
}

.document-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.page-score {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.page-score.score-excellent {
  background: #ecfdf5;
  color: #047857;
}

.page-score.score-good {
  background: #dbeafe;
  color: #1e40af;
}

.page-score.score-fair {
  background: #fef3c7;
  color: #b45309;
}

.page-score.score-poor {
  background: #fee2e2;
  color: #991b1b;
}

.page-violations {
  display: inline-block;
  padding: 4px 10px;
  background: #fee;
  color: #c33;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.view-all-link {
  display: inline-block;
  color: #307e45;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.view-all-link:hover {
  text-decoration: underline;
}

.no-data-message {
  padding: 0px 0px 30px;
  text-align: left;
  color: #06c;
  font-style: italic;
  margin: 0;
}

.actions-btn {
    padding: 10px;
    }

.btn-link:not(:disabled):not(.disabled)::before {
  border: 2px solid transparent;
  border-radius: 50px;
  bottom: calc((.25rem + 2px) * -1);
  content: '';
  display: block;
  left: calc((.25rem + 2px) * -1);
  position: absolute;
  right: calc((.25rem + 2px) * -1);
  top: calc((.25rem + 2px) * -1);
  transition: color 0.15s ease-in-out,background-color 0.15s ease-in-out,border-color 0.15s ease-in-out,box-shadow 0.15s ease-in-out;
}

.dropdown-menu {
    --bs-dropdown-zindex: 1000;
    --bs-dropdown-min-width: 7rem;
    --bs-dropdown-padding-x: 0;
    --bs-dropdown-padding-y: .5rem;
    --bs-dropdown-font-size: 1rem;
    --bs-dropdown-color: var(--bs-body-color);
    --bs-dropdown-bg: var(--bs-body-bg);
    --bs-dropdown-border-color: var(--bs-border-color-translucent);
    --bs-dropdown-border-radius: var(--bs-border-radius);
    --bs-dropdown-border-width: 0;
    position: absolute;
    z-index: var(--bs-dropdown-zindex);
    display: none;
    min-width: var(--bs-dropdown-min-width);
    padding: var(--bs-dropdown-padding-y) var(--bs-dropdown-padding-x);
    margin: 0;
    font-size: var(--bs-dropdown-font-size);
    color: var(--bs-dropdown-color);
    text-align: left;
    list-style: none;
    background-color: var(--bs-dropdown-bg);
    background-clip: padding-box;
    border: var(--bs-dropdown-border-width) solid var(--bs-dropdown-border-color);
    border-radius: var(--bs-dropdown-border-radius);
}

.dropdown-menu.show {
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
  position: fixed;
  inset: 0px 0px auto auto;
  margin: 0px;
  transform: translate3d(-79px, 264px, 0px);
  display: block;
    background: white;
}


.impact-stat-box.clickable {
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.impact-stat-box.clickable:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.impact-stat-box.clickable a {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
  width: 100%;
}


.sort-icon {
  display: inline-block;
  margin-left: 6px;
  font-size: 12px;
  color: #999;
  cursor: pointer;
  user-select: none;
  vertical-align: middle;
}

.sort-icon.active-asc::before {
  content: "▲";
  color: #fff;
}

.sort-icon.active-desc::before {
  content: "▼";
  color: #fff;
}

.sort-icon:not(.active-asc):not(.active-desc)::before {
  content: "⬍";
  color: #fff;
}

th {
  cursor: pointer;
  user-select: none;
}

th:hover .sort-icon {
  color: #666;
}

.filter-section {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.filter-group {
  display: flex;
  gap: 8px;
  align-items: center;
}

.filter-group label,
.page-detail-left form label {
  font-weight: 600;
  color: #333;
  white-space: nowrap;
}

.filter-group select,
.page-detail-left form select {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: white;
  font-size: 14px;
  cursor: pointer;
}

.filter-group select:hover,
.page-detail-left form select:hover {
  border-color: #999;
}

.filter-group select:focus,
.page-detail-left form select:focus {
  outline: none;
  border-color: #333;
  box-shadow: 0 0 0 2px rgba(51, 51, 51, 0.1);
}

.clear-filters-btn {
  padding: 8px 16px;
  background: #f0f0f0;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  color: #333;
  transition: background 0.2s;
}

.clear-filters-btn:hover {
  background: #e0e0e0;
}

.clear-filters-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.active-filters-info {
  font-size: 13px;
  color: #666;
  font-style: italic;
}

.incomplete-section {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 2px solid #fef3e0;
}

.incomplete-section h3 {
  color: #c94f1f;
  margin-bottom: 10px;
}

.incomplete-description {
  color: #666;
  font-style: italic;
  margin-bottom: 20px;
  padding: 15px;
  background: #fef9e0;
  border-left: 4px solid #ca8a04;
  border-radius: 4px;
}

.incomplete-card {
  background: #fffbf0;
  border: 1px solid #fef3e0;
  border-left: 4px solid #ca8a04;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
}

.incomplete-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 15px;
}

.incomplete-header h4 {
  margin: 0;
  color: #333;
  flex: 1;
}

.incomplete-node summary {
  color: #c94f1f;
}

.incomplete-node summary:hover {
  color: #a2204a;
}

/* Ensure impact badge for incomplete items displays correctly */
.incomplete-card .impact-badge.impact-unknown {
  background: #f3f4f6;
  color: #666;
}


/* settings page */
.settings-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid #e0e0e0;
  margin-bottom: 30px;
  /*background: white;*/
  border-radius: 8px 8px 0 0;
  overflow: hidden;
}

.tab-button {
  padding: 16px 24px;
  background: #f9f9f9;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: #307e45;
  transition: all 0.3s;
  border-bottom: 3px solid transparent;
}

.tab-button:hover {
  background: #f0f0f0;
  color: #333;
}

.tab-button.active {
  background: white;
  color: #1076c0;
  border-bottom-color: #1076c0;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.website-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
}

.form-group input,
.form-group select {
  padding: 12px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-size: 16px;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #1076c0;
}

.form-help {
  font-size: 13px;
  color: #666;
  margin-top: 6px;
}

.static-field {
  padding: 12px;
  background: #f9f9f9;
  border-radius: 6px;
  color: #666;
  margin: 0;
}

.btn-primary {
  padding: 14px 20px;
 /* background: linear-gradient(135deg, #000, #003179);*/
  background: linear-gradient(-60deg, #144c21, #307e45);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s;
  width: fit-content;
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.invite-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
}

.invite-form .form-group {
  flex-direction: row;
  gap: 12px;
  align-items: flex-end;
}

.invite-form input {
  flex: 1;
}

.invite-info {
  animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#formError {
  margin-bottom: 16px;
}

#submitBtn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.delete-section {
  border: 2px solid #fee;
  background: #fffbfb;
}

.delete-warning {
  background: #fee;
  border-left: 4px solid #c33;
  padding: 20px;
  border-radius: 6px;
  margin-bottom: 30px;
}

.delete-warning h3 {
  color: #c33;
  margin: 0 0 12px 0;
}

.delete-warning p {
  color: #333;
  margin: 8px 0;
}

.delete-warning ul {
  margin: 12px 0;
  padding-left: 20px;
  color: #333;
}

.delete-warning li {
  margin: 4px 0;
}

.delete-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.confirmation-label {
  background: #f9f9f9;
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 12px;
  color: #333;
}

.confirmation-input {
  padding: 12px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-size: 16px;
  font-family: monospace;
}

.confirmation-input:focus {
  outline: none;
  border-color: #c33;
}

.btn-delete {
  padding: 14px 20px;
  background: #c33;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  width: fit-content;
}

.btn-delete:hover:not(:disabled) {
  background: #a22;
  transform: translateY(-2px);
}

.btn-delete:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.success-notification {
  background: #ecfdf5;
  border: 2px solid #22c55e;
  color: #22c55e;
  padding: 16px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-weight: 600;
}

/* add website */
.website-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  
  .form-group {
    display: flex;
    flex-direction: column;
  }
  
  .form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
  }
  
  .form-group input,
  .form-group select {
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
  }
  
  .form-group input:focus,
  .form-group select:focus {
    outline: none;
    border-color: #1076c0;
  }
  
  .form-help {
    font-size: 13px;
    color: #666;
    margin-top: 6px;
  }
  
  .form-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
  }
  
  .btn-primary {
    flex: 1;
    padding: 14px 20px;
    /*background: linear-gradient(135deg, #000, #003179);*/
    background: linear-gradient(-60deg, #144c21, #307e45);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
  }
  
  .btn-primary:hover {
    transform: translateY(-2px);
  }
  
  .btn-secondary {
    flex: 1;
    padding: 14px 20px;
    background: #f0f0f0;
    color: #333;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
  }
  
  .btn-secondary:hover {
    background: #e0e0e0;
  }
  
  .info-box {
    background: #eff6ff;
    border: 2px solid #3b82f6;
    border-radius: 8px;
    padding: 20px;
    margin-top: 30px;
  }
  
  .info-box h3 {
    color: #1076c0;
    margin: 0 0 10px 0;
  }
  
  .info-box p {
    color: #333;
    margin: 0;
    line-height: 1.6;
  }

/* manage team */
.invite-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
  }
  
  .form-row {
    display: flex;
    gap: 12px;
    align-items: flex-end;
  }
  
  .form-group {
    display: flex;
    flex-direction: column;
  }
  
  .form-group label {
    font-weight: 600;
    margin-bottom: 13px;
    color: #333;
    font-size: 14px;
  }
  
  .form-group input,
  .form-group select {
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
  }
  
  .form-group input:focus,
  .form-group select:focus {
    outline: none;
    border-color: #1076c0;
  }
  
  .form-actions {
    display: flex;
    gap: 12px;
  }
  
  .btn-primary {
    padding: 12px 24px;
   /* background: linear-gradient(135deg, #000, #003179);*/
    background: linear-gradient(-60deg, #144c21, #307e45);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
    white-space: nowrap;
  }
  
  .btn-primary:hover {
    transform: translateY(-2px);
  }
  
  .role-help {
    background: #f9f9f9;
    padding: 16px;
    border-radius: 6px;
    border-left: 4px solid #1076c0;
  }
  
  .role-help p {
    margin: 8px 0;
    color: #666;
    font-size: 13px;
  }
  
  .role-help p:last-child {
    margin-bottom: 0;
  }
  
  .role-help strong {
    color: #333;
  }
  
  .message {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-weight: 600;
  }
  
  .message.success {
    background: #ecfdf5;
    color: #22c55e;
    border: 1px solid #22c55e;
  }
  
  .message.error {
    background: #fee;
    color: #c33;
    border: 1px solid #c33;
  }
  
  .team-members-table {
    margin-top: 20px;
  }
  
  .role-select {
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
  }
  
  .role-select:focus {
    outline: none;
    border-color: #1076c0;
  }
  
  .btn-remove {
    padding: 6px 12px;
    background: #fee;
    color: #c33;
    border: 1px solid #c33;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
  }
  
  .btn-remove:hover {
    background: #f99;
    color: white;
  }

/* home */
.dashboard-actions {
    margin-bottom: 30px;
    display: flex;
    justify-content: flex-end;
  }
  
  .btn-add-website {
    display: inline-block;
    padding: 12px 24px;
    /* background: linear-gradient(135deg, #000, #003179);*/
     background: linear-gradient(-60deg, #144c21, #307e45);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: transform 0.2s;
  }
  
  .btn-add-website:hover {
    transform: translateY(-2px);
  }
  
  .empty-state .btn-primary {
    display: inline-block;
    padding: 14px 30px;
    /* background: linear-gradient(135deg, #000, #003179);*/
     background: linear-gradient(-60deg, #144c21, #307e45);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    margin-top: 20px;
    transition: transform 0.2s;
  }
  
  .empty-state .btn-primary:hover {
    transform: translateY(-2px);
  }
  
  .success-notification {
    background: #ecfdf5;
    border: 2px solid #22c55e;
    color: #22c55e;
    padding: 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-weight: 600;
  }
  .score-badge {
      display: block;
        padding: 8px 16px;
        border-radius: 20px;
        font-size: 16px;
        font-weight: 700;
        min-width: 60px;
        text-align: center;
        margin: auto;
  }

  .score-badge.score-excellent {
      background: #e1f8e7;
        color: #047857;
  }

  .score-badge.score-good {
    background: #dbeafe;
    color: #1e40af;
  }

  .score-badge.score-fair {
    background: #fef3c7;
    color: #b45309;
  }

  .score-badge.score-poor {
    background: #fee2e2;
    color: #991b1b;
  }

/* footer */
footer {
    display: flex;
    padding: 20px 20px;
    justify-content: space-between;
    width: 100%;
    font-size: 12px;
    background: whitesmoke;
    border-top: 1px solid #e2e2e2;
    }

.utility-links,
.utility-copyright,
.utility-links a,
.utility-copyright a {
    margin: 0 10px;
    color: #6b6b6b;
    text-decoration: none;
    }

.utility-links a:hover,
.utility-copyright a:hover {
    color: #307e45;
    text-decoration: underline;
    }

/* page details */
.back-button {
    display: block;
    margin-bottom: 10px;
    }

select#pageSize {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    font-size: 14px;
    cursor: pointer;
    }

#pager button {
  padding: 8px 16px;
  background: #f0f0f0;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  color: #333;
  transition: background 0.2s;
    }

#pager button:hover {
    background: #e0e0e0;
    }

.back-button {
  display: inline-block;
  margin-bottom: 20px;
  color: #307e45;
  text-decoration: none;
  font-weight: 500;
  cursor: pointer;
}

.back-button:hover {
  text-decoration: underline;
}

.page-detail-header {
  margin-bottom: 30px;
}

.page-detail-header h1 {
  margin: 0 0 10px 0;
}

.page-url-info {
  margin: 0;
  color: #666;
  font-size: 14px;
}

.page-url-info a {
  color: #307e45;
  text-decoration: none;
}

.page-url-info a:hover {
  text-decoration: underline;
}

.page-detail-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 30px;
}

@media (max-width: 800px) {
  .page-detail-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* TABS */
.page-detail-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
  border-bottom: 2px solid #eee;
}

.tab-btn {
  padding: 10px 16px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #666;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s;
}

.tab-btn:hover {
  color: #333;
}

.tab-btn.active {
  color: #1076c0;
  border-bottom-color: #1076c0;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* STATS GRID */
.detail-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 30px;
}

.detail-stat-box {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  align-content: center;
}

.stat-score-large {
  font-size: 36px;
  font-weight: 700;
  color: #1076c0;
  margin-bottom: 2px;
}

.stat-label {
  font-size: 12px;
  color: #999;
  margin-bottom: 8px;
}

.stat-title {
  font-size: 14px;
  color: #666;
  font-weight: 500;
}

.stat-conformance {
  font-size: 30px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

/* VIOLATIONS SUMMARY */
.violations-summary {
  margin-bottom: 40px;
}

.violations-summary h3 {
  margin: 0 0 15px 0;
  font-size: 16px;
  color: #333;
  font-weight: 600;
}

.violation-summary-card {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 12px;
}

.violation-summary-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.violation-summary-header h4 {
  margin: 0;
  font-size: 14px;
  color: #333;
  font-weight: 600;
}

.impact-badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
}

.violation-summary-meta {
  font-size: 13px;
  color: #666;
  margin-bottom: 8px;
}

.meta-divider {
  margin: 0 6px;
  color: #ddd;
}

.violation-summary-criteria {
  margin-bottom: 12px;
}

.tag {
  display: inline-block;
  padding: 4px 8px;
  background: #f5f5f5;
  border-radius: 3px;
  font-size: 12px;
  color: #666;
  margin-right: 6px;
  margin-bottom: 4px;
}

.violation-summary-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-secondary {
  color: #666;
}

.btn-secondary:hover:not(:disabled) {
  background: #f5f5f5;
  border-color: #999;
}

.btn-small:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.code-snippet-section,
.fix-instructions-section {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;
  font-size: 13px;
}

.code-snippet-section pre,
.fix-instructions-section pre {
  background: #f9f9f9;
  padding: 10px;
  border-radius: 20px;
  overflow-x: auto;
  font-size: 12px;
}

.code-snippet-section ul,
.fix-instructions-section ul {
  margin: 8px 0;
  padding-left: 20px;
}

.code-snippet-section li,
.fix-instructions-section li {
  margin: 4px 0;
  color: #666;
}

.btn-show-all {
  display: block;
  width: 100%;
  padding: 12px;
  background: white;
  border: 1px solid #1076c0;
  color: #1076c0;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 10px;
  transition: all 0.2s;
}

.btn-show-all:hover {
  background: #f0f7ff;
}

/* CHART */
.violations-chart-container {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  margin-top: 40px;
}

.violations-chart-container h3 {
  margin: 0 0 15px 0;
  font-size: 16px;
  color: #333;
  font-weight: 600;
}

.chart-help-text {
  font-size: 13px;
  color: #999;
  margin-top: 10px;
}

/* RIGHT COLUMN */
.page-detail-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: fit-content;
}

.btn-primary {
  padding: 12px 16px;
  /* background: linear-gradient(135deg, #000, #003179);*/
   background: linear-gradient(-60deg, #144c21, #307e45);
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

/* PAGE META SECTION */
.page-meta-section {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 16px;
}

.meta-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 13px;
}

.meta-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.meta-label {
  color: #666;
  font-weight: 500;
}

.meta-value {
  color: #333;
  font-weight: 600;
}

/* NOTES SECTION */
.page-notes-section {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 16px;
}

.page-notes-section h4 {
  margin: 0 0 12px 0;
  font-size: 14px;
  color: #333;
  font-weight: 600;
}

.page-notes-section textarea {
  width: 100%;
  min-height: 120px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 13px;
  font-family: inherit;
  resize: vertical;
}

/* MODAL */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-content {
  background: white;
  border-radius: 8px;
  padding: 30px;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #999;
}

.modal-close:hover {
  color: #333;
}

/* SUCCESS & ERROR MESSAGES */
.success-message {
  background: #ecfdf5;
  border: 1px solid #86efac;
  border-radius: 6px;
  padding: 16px;
  color: #047857;
}

.success-message h3 {
  margin: 0 0 8px 0;
  font-size: 16px;
}

.success-message p {
  margin: 0;
  font-size: 14px;
}

.error-message {
  background: #fee;
  border: 1px solid #fca5a5;
  border-radius: 6px;
  padding: 16px;
  color: #991b1b;
}

.error-message h4 {
  margin: 0 0 8px 0;
  font-size: 14px;
}

.error-message p {
  margin: 0;
  font-size: 13px;
}

.coming-soon {
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 40px;
  text-align: center;
  color: #999;
}

.coming-soon p {
  margin: 0;
  font-size: 14px;
}

.text-muted {
  color: #6b6b6b;
}

.violation-card {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 12px;
}

.violation-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.violation-header h4 {
  margin: 0;
  font-size: 14px;
  color: #333;
  font-weight: 600;
}

.violation-description {
  margin: 10px 0;
  font-size: 13px;
  color: #666;
}

.nodes-list {
  margin: 12px 0;
}

.node-detail {
  margin: 8px 0;
  padding: 10px;
  background: #f9f9f9;
  border-radius: 4px;
  cursor: pointer;
}

.node-detail summary {
  font-size: 13px;
  color: #333;
  font-weight: 500;
}

.node-detail summary:hover {
  color: #307e45;
}

.node-content {
  margin-top: 10px;
  font-size: 12px;
}

.node-content p {
  margin: 10px 0 5px 0;
  color: #666;
}

.node-content pre {
  background: white;
  padding: 10px;
  border-radius: 3px;
  overflow-x: auto;
  margin: 5px 0;
}

.node-content pre code {
  font-family: 'Monaco', 'Menlo', monospace;
  font-size: 11px;
}

.node-content ul {
  margin: 8px 0;
  padding-left: 20px;
}

.node-content li {
  margin: 4px 0;
  color: #666;
  font-size: 12px;
}

.learn-more {
  margin-top: 10px;
  font-size: 13px;
}

.learn-more a {
  color: #307e45;
  text-decoration: none;
  font-weight: 500;
}

.learn-more a:hover {
  text-decoration: underline;
}

/* Overview Page */

.overview-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.overview-box {
  background: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.overview-box.full-width {
  grid-column: 1 / -1;
}

.overview-box-title {
  margin: 0 0 8px 0;
  font-size: 18px;
  color: #333;
  font-weight: 600;
}

.overview-subtitle {
  margin: 0 0 20px 0;
  color: #666;
  font-size: 13px;
}

.doughnut-section {
    display: grid;
    grid-template-columns: 180px 1fr;
    grid-template-rows: auto auto;
    gap: 30px;
    align-items: start;
}

.doughnut-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 180px;
  height: 180px;
  grid-row: 1;
  grid-column: 1;
}

.doughnut-container canvas {
  max-width: 100%;
  max-height: 100%;
}

.violation-summary {
    grid-row: 1;
    grid-column: 2;
    width: 100%;
}

.violation-links {
  grid-row: 2;
  grid-column: 1 / -1;
  width: 100%;
}

.violation-summary-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e0e0e0;
}

.violation-count {
  font-size: 36px;
  font-weight: 700;
  color: #333;
  line-height: 1;
  margin-bottom: 5px;
}

.violation-label {
  font-size: 13px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.violation-breakdown {
  list-style: none;
  padding: 0;
  margin: 0 0 0px 0;
}

.violation-breakdown li {
  display: flex;
  align-items: center;
  padding: 8px 0;
  font-size: 13px;
  color: #666;
}

.violation-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 10px;
  flex-shrink: 0;
}

.violation-dot.critical {
  background-color: #8B1E1E;
}

.violation-dot.serious {
  background-color: #B45309;
}

.violation-dot.moderate {
  background-color: #A07C2C;
}

.violation-dot.minor {
  background-color: #0066CC;
}

.violation-dot-label {
  color: #666;
}

.recommendations-link {
  display: inline-block;
  color: #1076c0;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 15px;
}

.recommendations-link:hover {
  text-decoration: underline;
}

.violation-links {
  grid-row: 2;
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 0px;
  text-align: center;
}

.btn-see-all {
  display: inline-block;
  padding: 10px 20px;
 /* background: linear-gradient(135deg, #000, #003179);*/
  background: linear-gradient(-60deg, #144c21, #307e45);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.2s;
  margin-top: 15px;
}

.btn-see-all:hover {
  transform: translateY(-2px);
}

.placeholder-content {
  padding: 60px 20px;
  text-align: center;
  color: #999;
}

.placeholder-content p {
  margin: 0;
  font-style: italic;
}

.changes-link {
  display: inline-block;
  color: #1076c0;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.changes-link:hover {
  text-decoration: underline;
}

/* Violation Fix Card Styles (from automated-scanning page) */
.violations-list {
  margin-top: 20px;
}

.violation-fix-header {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}

.violation-fix-info h3,
.violation-fix-info h4 {
  margin: 0 0 8px 0;
  color: #333;
  font-size: 14px;
}

.violation-fix-description {
  margin: 0;
  color: #666;
  font-size: 13px;
}

.difficulty-badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.difficulty-badge.difficulty-5 {
  background: #fee;
  color: #8B1E1E;
}

.difficulty-badge.difficulty-4 {
  background: #fef3e0;
  color: #B45309;
}

.difficulty-badge.difficulty-3 {
  background: #fcf8e7;
  color: #9F6500;
}

.difficulty-badge.difficulty-2 {
  background: #eff6ff;
  color: #0066CC;
}

.add-task-btn {
  padding: 8px 16px;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
  color: #333;
  transition: all 0.2s;
  white-space: nowrap;
}

.add-task-btn:hover {
  background: linear-gradient(-60deg, #144c21, #307e45);
  border-color: #999;
}

.no-violations-message {
  padding: 0px 20px 0 0;
  text-align: center;
  color: #06c;
  font-style: italic;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 800px) {
  .overview-grid-2col {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .doughnut-section {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 20px;
  }

  .doughnut-container {
    grid-row: 1;
    grid-column: 1;
  }

  .violation-summary {
    grid-row: 2;
    grid-column: 1;
  }

  .violation-links {
    grid-row: 3;
    grid-column: 1;
  }

  .violation-fix-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .violation-fix-header {
    flex-direction: column;
    width: 100%;
  }

  .add-task-btn {
    align-self: flex-start;
  }
}


/* Task Management Styles */
.task-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  border-bottom: 2px solid #e0e0e0;
}

.task-tabs .tab {
  padding: 12px 20px;
  text-decoration: none;
  color: #666;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.task-tabs .tab:hover {
  color: #333;
  background: #f5f5f5;
}

.task-tabs .tab.active {
  color: #0066cc;
  border-bottom-color: #0066cc;
  font-weight: 600;
}

.task-tabs .badge {
  background: #666;
  color: white;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.task-tabs .tab.active .badge {
  background: #0066cc;
}

.severity-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.severity-critical {
  background: #8B1E1E;
  color: white;
}

.severity-serious {
  background: #B8570D;
  color: white;
}

.severity-moderate {
    background: #A07C2C;
      color: #fff;
}

.severity-minor {
  background: #666;
  color: white;
}

.status-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: capitalize;
}

.status-todo {
  background: #6c757d;
  color: white;
}

.status-in-progress {
  background: #0dcaf0;
  color: #000;
}

.status-ready-for-review {
  background: #0d6efd;
  color: white;
}

.status-on-hold {
  background: #ffc107;
  color: #000;
}

.status-resolved {
  background: #198754;
  color: white;
}

.badge-success {
    background: #e1f8e7;
      color: #047857;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  overflow-y: auto;
}

.modal-content {
  background-color: #fefefe;
  margin: 5% auto;
  padding: 30px;
  border: 1px solid #888;
  border-radius: 8px;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
}

.modal-content h2 {
  margin-top: 0;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  line-height: 20px;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #000;
}

.form-group {
  margin-bottom: 0px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
}

.form-group textarea {
  resize: vertical;
}

.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.form-actions button {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}


.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
}

.invite-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
}

.invite-form .form-group input,
.invite-form .form-group select {
  padding: 8px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  font-size: 14px;
}

.invite-form .form-group input:focus,
.invite-form .form-group select:focus {
  outline: none;
  border-color: #1076c0;
  box-shadow: 0 0 0 3px rgba(16, 118, 192, 0.1);
}

.invite-form .form-group label {
  font-weight: 600;
  font-size: 13px;
  color: #333;
}

.form-actions {
  display: flex;
  gap: 8px;
}

.btn-primary {
  padding: 10px 20px;
 /* background: linear-gradient(135deg, #000, #003179);*/
  background: linear-gradient(-60deg, #144c21, #307e45);
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 49, 121, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

/* Account Dropdown */
.account-dropdown-container {
  position: relative;
}

.account-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: none;
  border: 2px solid white;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  color: inherit;
  transition: all 0.2s ease;
}

.account-dropdown-trigger:hover,
.account-dropdown-trigger:focus {
  background-color: rgba(255, 255, 255, 0.25);
  outline: none;
}

.account-dropdown-trigger:focus {
  box-shadow: 0 0 0 3px rgba(48, 126, 69, 0.25);
}

.account-dropdown-trigger svg {
  width: 24px;
  height: 24px;
}

.account-label {
  font-weight: 500;
}

/* Dropdown Menu */
.account-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  min-width: 200px;
  z-index: 1000;
  margin-top: 0.5rem;
}

.account-dropdown-menu.open {
  display: block;
}

.account-dropdown-menu .dropdown-item {
  display: block;
  padding: 0.75rem 1rem;
  color: #307e45;
  /* color: #002a68; */
  text-decoration: none;
  transition: background-color 0.2s ease;
  border-bottom: 1px solid #f0f0f0;
}

.account-dropdown-menu .dropdown-item:last-child {
  border-bottom: none;
}

.account-dropdown-menu .dropdown-item:hover {
  background-color: #f5f5f5;
}

.account-dropdown-menu .dropdown-item:focus {
  background-color: #f5f5f5;
  outline: none;
  box-shadow: inset 0 0 0 3px rgba(48, 126, 69, 0.25);
}

.account-dropdown-menu .logout-item:hover,
.account-dropdown-menu .logout-item:focus {
  background-color: #fee;
  color: #c00;
}

/* Close dropdown when clicking outside */
body.dropdown-open {
  /* Used to manage state */
}

/* my account page */
.page-container {
   max-width: 800px;
   margin: 0 auto;
   padding: 2rem;
   width: calc(100vw);
 }

 .page-header.my-account {
   margin-bottom: 2rem;
   display: block;
 }

 .page-subtitle {
   margin: 0;
   color: #666;
   font-size: 1.1rem;
 }

 .alert {
   padding: 1rem;
   margin-bottom: 1.5rem;
   border-radius: 4px;
   border-left: 4px solid;
 }

 .alert-success {
   background-color: #f0f8f4;
   border-color: #30a055;
   color: #1a5a2f;
 }

 .form-container {
   background: white;
   border: 1px solid #ddd;
   border-radius: 4px;
   padding: 2rem;
 }

 .my-information-form {
   display: flex;
   flex-direction: column;
   gap: 2rem;
 }

 .form-section {
   border: none;
   padding: 0;
   margin: 0;
 }

 .form-section legend {
   font-size: 1.25rem;
   font-weight: 600;
   margin-bottom: 1rem;
   padding: 0;
   color: #333;
   border-bottom: 2px solid #f0f0f0;
   padding-bottom: 0.5rem;
 }

 .form-group {
   margin-bottom: 1.5rem;
 }

 .form-group label {
   display: block;
   margin-bottom: 0.5rem;
   font-weight: 500;
   color: #333;
 }

 .form-group input {
   width: 100%;
   padding: 0.75rem;
   border: 1px solid #002E71;
   border-radius: 4px;
   /*font-size: 1rem;*/
   transition: border-color 0.2s ease;
   font-family: inherit;
 }

 .form-group input:focus {
   outline: none;
   border-color: #8A0C0C;
   box-shadow: 0 0 0 3px rgba(138, 12, 12, 0.15);
 }

 .form-group input:disabled {
   background-color: #f5f5f5;
   cursor: not-allowed;
   color: #999;
 }

 .form-text {
   display: block;
   margin-top: 0.25rem;
   color: #666;
   font-size: 0.9rem;
 }

 .form-row {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
   gap: 1rem;
 }

 .form-actions {
   display: flex;
   gap: 1rem;
   margin-top: 2rem;
   padding-top: 2rem;
   border-top: 1px solid #f0f0f0;
 }

 .btn {
   padding: 0.75rem 1.5rem;
   border: none;
   border-radius: 4px;
   font-size: 1rem;
   font-weight: 500;
   cursor: pointer;
   text-decoration: none;
   display: inline-block;
   transition: all 0.2s ease;
   text-align: center;
 }

 .btn-primary {
   background-color: #30a055;
   color: white;
 }

 .btn-primary:hover,
 .btn-primary:focus {
   background-color: #258a46;
   box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
 }

 .btn-primary:focus {
   outline: none;
   box-shadow: 0 0 0 3px rgba(48, 126, 69, 0.25);
 }

 .btn-secondary {
   background-color: #f0f0f0;
   color: #333;
   border: 1px solid #ddd;
 }

 .btn-secondary:hover,
 .btn-secondary:focus {
   background-color: #e8e8e8;
 }

 .btn-secondary:focus {
   outline: none;
   box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
 }

 @media (max-width: 768px) {
   .page-container {
     padding: 1rem;
   }

   .form-container {
     padding: 1rem;
   }

   .form-row {
     grid-template-columns: 1fr;
   }

   .form-actions {
     flex-direction: column;
   }

   .btn {
     width: 100%;
   }
 }


/* ToS */
.effective-date {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-style: italic;
}

.intro {
    background-color: #f9f9f9;
    border-left: 4px solid #003179;
    padding: 20px;
    margin: 30px 0;
    font-size: 14px;
    line-height: 1.8;
}

.intro p {
    margin-bottom: 12px;
}

.intro p:last-child {
    margin-bottom: 0;
}

h2 {
    font-size: 24px;
    color: #003179;
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
}

h3 {
    font-size: 18px;
    color: #333;
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: 600;
}

h4 {
    font-size: 16px;
    color: #555;
    margin-top: 20px;
    margin-bottom: 12px;
    font-weight: 600;
}

p {
    margin-bottom: 15px;
}

ul, ol {
    margin: 15px 0 15px 30px;
}

li {
    margin-bottom: 10px;
    text-align: justify;
}

li ul, li ol {
    margin-top: 10px;
    margin-bottom: 10px;
}

strong {
   /* color: #003179;*/
}

.definition {
    margin-bottom: 15px;
}

.definition-term {
    font-weight: 600;
    color: #003179;
}

.highlight-box {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 20px;
    margin: 20px 0;
    border-radius: 4px;
}

.warning-box {
    background-color: #f8d7da;
    border-left: 4px solid #dc3545;
    padding: 20px;
    margin: 20px 0;
    border-radius: 4px;
}

.success-box {
    background-color: #d4edda;
    border-left: 4px solid #28a745;
    padding: 20px;
    margin: 20px 0;
    border-radius: 4px;
}

table {
    width: 100%;
    border-collapse: collapse;
   /* margin: 20px 0;*/
}

th {
    background-color: #003179;
    color: white;
    padding: 12px;
    text-align: left;
    font-weight: 600;
}

td {
    border: 1px solid #ddd;
    padding: 12px;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

.hr {
    border: none;
    border-top: 2px solid #e0e0e0;
    margin: 30px 0;
}

.footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #e0e0e0;
    text-align: center;
    color: #666;
    font-size: 14px;
}

.toc {
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    padding: 20px;
    margin: 30px 0;
    border-radius: 4px;
}

.toc h3 {
    margin-top: 0;
}

.toc ul {
    list-style-type: none;
    margin-left: 0;
}

.toc li {
    margin-bottom: 8px;
}

.toc a {
    color: #003179;
    text-decoration: none;
}

.toc a:hover {
    text-decoration: underline;
}

code {
    background-color: #f5f5f5;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

.checklist {
    background-color: #ecfdf5;
    border: 1px solid #86efac;
    padding: 20px;
    margin: 30px 0;
    border-radius: 4px;
}

.checklist h3 {
    margin-top: 0;
    color: #22c55e;
}

.checklist ul {
    list-style-type: none;
    margin-left: 0;
}

.checklist li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.checklist li:before {
    content: "☑";
    position: absolute;
    left: 0;
    color: #22c55e;
}

@media (max-width: 768px) {
    .container {
        padding: 40px 20px;
    }
    
    h1 {
        font-size: 24px;
    }
    
    h2 {
        font-size: 20px;
    }
    
    h3 {
        font-size: 16px;
    }
}

@media print {
    body {
        background-color: white;
    }
    
    .container {
        box-shadow: none;
        padding: 0;
        max-width: 100%;
    }
    
    h2 {
        page-break-after: avoid;
    }
    
    p, ul, ol {
        page-break-inside: avoid;
    }
}

.success-box {
    background-color: #d4edda;
    border-left: 4px solid #28a745;
    padding: 20px;
    margin: 20px 0;
    border-radius: 4px;
}

.info-box {
    background-color: #eff6ff;
    border-left: 4px solid #3b82f6;
    padding: 20px;
    margin: 20px 0;
    border-radius: 4px;
}

.hr {
    border: none;
    border-top: 2px solid #e0e0e0;
    margin: 30px 0;
}

.contact-box {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 25px;
    margin: 30px 0;
}

.contact-box h3 {
    margin-top: 0;
}

.contact-item {
    margin-bottom: 15px;
    font-size: 16px;
}

.contact-item strong {
    display: block;
    margin-bottom: 5px;
}

.feature-list {
    column-count: 2;
    column-gap: 30px;
}

.feature-item {
    break-inside: avoid;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-item strong {
    display: block;
    margin-bottom: 5px;
    color: #003179;
}

.onecol {
    max-width: 800px;
    }

.actions-dropdown .dropdown-menu {
    display: none;
    }

.actions-dropdown.open .dropdown-menu {
    display: grid;
    background-color: #fff;
    border: 1px solid #bcbcbc;
    border-radius: 5px;
    padding: 10px;
    text-align: center;
    }

.pages-header-info-group {
    display: flex;
    gap: 20px;
    }

.scan-details-box {
    display: inline-flex;
    flex-grow: 3;
    gap: 10px;
    background: #edeff1;
    border: solid 1px #ddd;
    }


/* Status badge styles on document page */
.status-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 500;
  }
  
  .status-discovered { background: #e3f2fd; color: #1168D2; }
  .status-reviewed { background: #f3e5f5; color: #7b1fa2; }
  .status-needs-remediation { background: #fff3e0; color: #C43C00; }
  .status-in-progress { background: #FFFFED; color: #BD5100; }
  .status-remediated { background: #e8f5e9; color: #2A7D3C; }
  .status-approved { background: #e0f2f1; color: #00796b; }
  .status-uploaded { background: #E6F8DF; color: #2e7d32; }
  .status-na { background: #f5f5f5; color: #616161; }
  .status-default { background: #e0e0e0; color: #424242; }
  
  /* Modal styles */
  .modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
  }
  
  .modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 8px;
  }
  
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
  }
  
  .close:hover,
  .close:focus {
    color: #000;
  }

.button-group {
    gap: 20px;
      display: inline-flex;
}
