/* Enhanced styling for error tables */
.error-table-wrapper {
  margin-bottom: 2.5rem;
}
.error-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  line-height: 1.5;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  border-radius: 6px;
  overflow: hidden;
}
.error-table thead th {
  background: #f7f9fc;
  color: #2a3f54;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 12px 15px;
  border-bottom: 2px solid #d0d7de;
}
.error-table tbody th,
.error-table tbody td {
  padding: 10px 15px;
  border-bottom: 1px solid #e9ecef;
}
.error-table tbody tr:nth-child(odd) {
  background-color: #ffffff;
}
.error-table tbody tr:nth-child(even) {
  background-color: #fafbfc;
}
.error-table tbody tr:hover {
  background-color: #eef3f8;
}
.error-table .category-header th {
  background: #e8edf3;
  color: #2a3f54;
  font-weight: 600;
  text-align: center;
  font-size: 0.9rem;
  padding: 10px 15px;
  border-bottom: 1px solid #cbd5e0;
  letter-spacing: 0.02em;
}
/* Value column width */
.error-table th:first-child,
.error-table td:first-child {
  width: 150px;
}
/* Constant column width */
.error-table th:nth-child(2),
.error-table td:nth-child(2) {
  width: 280px;
}
/* Code style inside table */
.error-table code.none {
  background: #f1f3f5;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.9em;
  color: #333;
}
.error-table td code.none {
  background: transparent;
  padding: 0;
  font-weight: 500;
}
/* Table of Contents styles */
#toc-list {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
#toc-list li a {
  display: inline-block;
  background: #f2f4f7;
  border: 1px solid #d9dfe6;
  border-radius: 20px;
  padding: 6px 16px;
  color: #2a3f54;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s, border-color 0.2s;
}
#toc-list li a:hover {
  background: #e0e7f0;
  border-color: #aebbc9;
}
/* Search box */
.search-box {
  margin: 1.5rem 0 1.2rem;
  position: relative;
}
.search-box input {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #d0d7de;
  border-radius: 6px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.search-box input:focus {
  border-color: #6b8cce;
  box-shadow: 0 0 0 2px rgba(107,140,206,0.2);
}
.search-box .clear-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: #999;
}
.search-box .clear-btn:hover {
  color: #333;
}
/* Section header sticky */
.framework-header {
  position: sticky;
  top: 0;
  background: white;
  z-index: 1;
  padding: 0.8rem 0;
  border-bottom: 1px solid #e9ecef;
  margin-bottom: 0.8rem;
}
.framework-header h3 {
  margin: 0;
  font-size: 1.4rem;
  color: #1a2b3c;
}
/* Wrapper for sections to allow spacing */
.framework-block {
  margin-bottom: 3rem;
}
hr.separator {
  margin: 2rem 0;
  border: none;
  border-top: 1px solid #e0e4e8;
}
