.quick-heading-box {
  background: white;
  border-radius: 8px;
  padding: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  height: 100%;
  overflow: hidden;
}

.quick-heading-box .header-row {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: stretch;
  margin: 0;
  padding: 0;
  width: 100%;
}

.quick-heading-box .heading {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  color: white;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 10px 15px;
  margin: 0;
  border-top-left-radius: 8px;
  position: relative;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  min-width: 80px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 42px;
}

.quick-heading-box .heading::after {
  content: '';
  position: absolute;
  right: -10px;
  top: 0;
  width: 0;
  height: 0;
  border-left: 10px solid #2a5298;
  border-top: 21px solid transparent;
  border-bottom: 21px solid transparent;
  z-index: 1;
}

.quick-heading-box .subheading {
  font-size: 18px;
  font-weight: 600;
  color: #2c3e50;
  margin: 0;
  padding: 10px 15px;
  text-align: left;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(42, 82, 152, 0.05) 0%, rgba(30, 60, 114, 0.02) 100%);
  border-top-right-radius: 8px;
}

.quick-heading-box table {
  width: 100%;
  margin: 15px 0 12px 0;
}

.quick-heading-box table th,
.quick-heading-box table td {
  padding: 4px 15px;
  text-align: left;
  border-bottom: 1px solid var(--gray);
  font-size: 14px;
}

.quick-heading-box table th {
  font-weight: 600;
  color: var(--dark-blue);
}

/* Icon action buttons in table */
.quick-heading-box table td.text-center {
  padding: 4px 8px;
  width: 40px;
}

.quick-heading-box table td a {
  color: var(--app-primary);
  transition: color 0.2s ease;
}

.quick-heading-box table td a:hover {
  color: var(--app-primary-hover);
}

.quick-heading-box .inspiration {
  text-align: right;
  color: var(--light-blue);
  font-size: 14px;
  padding: 0 15px 15px 15px;
}

.quick-heading-box .inspiration a {
  color: var(--light-blue);
  text-decoration: none;
}

.quick-heading-box .inspiration a:hover {
  text-decoration: underline;
}

/* Scrollable container for long lists */
.completed-concepts-scroll {
  max-height: 360px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(42, 82, 152, 0.3) transparent;
}

.completed-concepts-scroll::-webkit-scrollbar {
  width: 6px;
}

.completed-concepts-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.completed-concepts-scroll::-webkit-scrollbar-thumb {
  background: rgba(42, 82, 152, 0.3);
  border-radius: 3px;
}

.completed-concepts-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(42, 82, 152, 0.5);
}

/* Sticky header inside scroll container */
.completed-concepts-scroll thead {
  position: sticky;
  top: 0;
  z-index: 1;
}

.completed-concepts-scroll thead th {
  background: white;
  box-shadow: 0 1px 0 var(--gray);
}

.completed-date {
  white-space: nowrap;
  color: #6b7280;
  font-size: 13px;
}

/* Status badges for completed concepts */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.status-current {
  color: #166534;
  background: rgba(22, 101, 52, 0.08);
}

.status-deprecated {
  color: #92400e;
  background: rgba(146, 64, 14, 0.08);
}

.status-obsolete {
  color: #991b1b;
  background: rgba(153, 27, 27, 0.08);
}

.status-redirect {
  color: #6b21a8;
  background: rgba(107, 33, 168, 0.08);
}
