.card-header {
  background-color: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
}
.card-body {
  padding: 1.5rem;
}
.breadcrumb {
  margin-bottom: 1rem;
}
.breadcrumb-item + .breadcrumb-item::before {
  content: ">";
  padding: 0 0.5rem;
  color: #6c757d;
}
.breadcrumb-item a {
  color: #007bff;
  text-decoration: none;
}
.breadcrumb-item a:hover {
  text-decoration: underline;
}
.breadcrumb-item.active {
  color: #6c757d;
}
.card-header {
  background-color: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
}
.card-body {
  padding: 1.5rem;
}
.breadcrumb {
  margin-bottom: 1rem;
}
.breadcrumb-item + .breadcrumb-item::before {
  content: ">";
  padding: 0 0.5rem;
  color: #6c757d;
}
.breadcrumb-item a {
  color: #007bff;
  text-decoration: none;
}
.breadcrumb-item a:hover {
  text-decoration: underline;
}
.breadcrumb-item.active {
  color: #6c757d;
}

/* Project Navigation Styles */
.project-nav {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.04);
  position: sticky;
  top: 20px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}

.project-nav .nav-section {
  border-bottom: 1px solid #e9ecef;
}

.project-nav .nav-section:last-child {
  border-bottom: none;
}

.project-nav .nav-header {
  background: #00888b;
  color: white;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 14px;
  margin: 0;
}

.project-nav .nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.project-nav .nav-list li {
  border-bottom: 1px solid #f8f9fa;
}

.project-nav .nav-list li:last-child {
  border-bottom: none;
}

.project-nav .nav-link {
  display: block;
  padding: 12px 16px;
  color: #495057;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.project-nav .nav-link:hover {
  background-color: #f8f9fa;
  color: #00888b;
  text-decoration: none;
  border-left-color: #00888b;
}

.project-nav .nav-link.active {
  background-color: #e8f7fa;
  color: #00888b;
  border-left-color: #00888b;
  font-weight: 500;
}

/* Project Information Styles */
.info-group {
  margin-bottom: 1.5rem;
}

.info-label {
  display: block;
  font-weight: 600;
  color: #495057;
  font-size: 14px;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-value {
  font-size: 16px;
  color: #212529;
  line-height: 1.5;
}

.info-value.text-muted {
  color: #6c757d !important;
  font-style: italic;
}

.info-value .text-muted {
  font-size: 14px;
  margin-top: 2px;
}

/* Risk Profile Styles */
.risk-profile-header {
  text-align: center;
}

.risk-title {
  background-color: #28a745;
  color: white;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 20px;
  font-weight: 600;
  margin: 0;
  display: inline-block;
}

.risk-tabs {
  display: flex;
  background-color: #fd7e14;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.tab-item {
  flex: 1;
  padding: 12px 16px;
  text-align: center;
  color: white;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.tab-item.active {
  background-color: #28a745;
}

.tab-item:hover:not(.active) {
  background-color: rgba(255,255,255,0.1);
}

.risk-description {
  background-color: #17a2b8;
  color: white;
  padding: 16px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
}

.risk-table-container {
  background: white;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.risk-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}

.risk-table th {
  background-color: #f8f9fa;
  padding: 16px;
  font-weight: 700;
  font-size: 18px;
  color: #212529;
  text-align: left;
  border-bottom: 2px solid #dee2e6;
}

.risk-category-header {
  width: 25%;
  border-right: 1px solid #dee2e6;
}

.description-header {
  width: 75%;
}

.risk-table td {
  padding: 16px;
  vertical-align: top;
  border-bottom: 1px solid #dee2e6;
}

.risk-table tr:last-child td {
  border-bottom: none;
}

.risk-category {
  background-color: #f8f9fa;
  font-weight: 600;
  color: #495057;
  border-right: 1px solid #dee2e6;
  width: 25%;
}

.risk-description-cell {
  background-color: #fff3cd;
  color: #856404;
  line-height: 1.6;
  font-size: 14px;
  width: 75%;
}

.risk-description-cell:empty {
  min-height: 50px;
}
.risk-simple {
  background-color: #d4edda;
  color: #155724;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 600;
}
.risk-major {
  background-color: #f8d7da;
  color: #721c24;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 600;
}

/* Ratings Tab Styles */
.ratings-instructions {
  background-color: #17a2b8;
  color: white;
  padding: 16px;
  border-radius: 6px;
  font-size: 16px;
  line-height: 1.6;
}

.ratings-usage {
  background-color: #17a2b8;
  color: white;
  padding: 16px;
  border-radius: 6px;
  font-size: 16px;
  line-height: 1.6;
}

.risk-matrix-container {
  display: flex;
  justify-content: center;
  overflow-x: auto;
}

.risk-matrix-table {
  border-collapse: collapse;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  background: white;
  border-radius: 6px;
  overflow: hidden;
  margin: 0 auto;
}

.risk-matrix-table th,
.risk-matrix-table td {
  border: 2px solid #495057;
  padding: 12px 16px;
  text-align: center;
  font-weight: 600;
}

.matrix-corner {
  background-color: #f8f9fa;
  color: #495057;
  font-size: 14px;
  width: 120px;
}

.matrix-complexity-header {
  background-color: #f8f9fa;
  color: #495057;
  font-size: 16px;
}

.complexity-col {
  background-color: #f8f9fa;
  color: #495057;
  font-size: 14px;
  width: 100px;
}

.size-row {
  background-color: #f8f9fa;
  color: #495057;
  font-size: 14px;
  font-weight: 700;
}

.matrix-cell {
  font-size: 14px;
  font-weight: 600;
  width: 100px;
}

.matrix-cell.simple {
  background-color: #d4edda;
  color: #155724;
}

.matrix-cell.integrated {
  background-color: #fff3cd;
  color: #856404;
}

.matrix-cell.major {
  background-color: #f8d7da;
  color: #721c24;
}

/* Tab content styling */
.nav-tabs .nav-link {
  background-color: #fd7e14;
  color: white;
  border: none;
  margin-right: 2px;
  border-radius: 6px 6px 0 0;
}

.nav-tabs .nav-link.active {
  background-color: #28a745;
  color: white;
  border: none;
}

.nav-tabs .nav-link:hover:not(.active) {
  background-color: rgba(253, 126, 20, 0.8);
  color: white;
  border: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .risk-matrix-table {
    font-size: 12px;
  }
  
  .matrix-corner,
  .complexity-col,
  .matrix-cell {
    width: 80px;
    padding: 8px;
  }
}

/* Size Tab Styles */
.size-instructions {
  background-color: #17a2b8;
  color: white;
  padding: 16px;
  border-radius: 6px;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.size-table-container {
  background: white;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.size-guidelines-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  background: white;
}

.size-guidelines-table th,
.size-guidelines-table td {
  border: 1px solid #dee2e6;
  padding: 12px 16px;
  text-align: center;
  vertical-align: middle;
}

.size-category-header {
  background-color: #f8f9fa;
  color: #495057;
  font-weight: 700;
  font-size: 16px;
  width: 15%;
}

.size-metric-header {
  background-color: #f8f9fa;
  color: #495057;
  font-weight: 700;
  font-size: 14px;
  width: 21.25%;
  line-height: 1.3;
}

.size-category {
  background-color: #f8f9fa;
  color: #495057;
  font-weight: 700;
  font-size: 16px;
}

.size-value {
  background-color: white;
  color: #212529;
  font-weight: 500;
  font-size: 14px;
}

/* Responsive adjustments for size table */
@media (max-width: 992px) {
  .size-guidelines-table {
    font-size: 12px;
  }
  
  .size-guidelines-table th,
  .size-guidelines-table td {
    padding: 8px 12px;
  }
  
  .size-metric-header {
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  .size-table-container {
    overflow-x: auto;
  }
  
  .size-guidelines-table {
    min-width: 600px;
  }
}

/* Complexity Tab Styles */
.complexity-instructions {
  background-color: #17a2b8;
  color: white;
  padding: 16px;
  border-radius: 6px;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.complexity-table-container {
  background: white;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.complexity-guidelines-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  background: white;
}

.complexity-guidelines-table th,
.complexity-guidelines-table td {
  border: 1px solid #dee2e6;
  padding: 16px;
  vertical-align: top;
}

.complexity-category-header {
  background-color: #f8f9fa;
  color: #495057;
  font-weight: 700;
  font-size: 18px;
  text-align: center;
  width: 25%;
}

.complexity-description-header {
  background-color: #f8f9fa;
  color: #495057;
  font-weight: 700;
  font-size: 18px;
  text-align: center;
  width: 75%;
}

.complexity-category {
  background-color: #f8f9fa;
  color: #495057;
  font-weight: 700;
  font-size: 16px;
  text-align: center;
}

.complexity-description {
  background-color: white;
  color: #212529;
  font-size: 16px;
  line-height: 1.6;
  text-align: left;
}

/* Responsive adjustments for complexity table */
@media (max-width: 992px) {
  .complexity-guidelines-table {
    font-size: 14px;
  }
  
  .complexity-guidelines-table th,
  .complexity-guidelines-table td {
    padding: 12px;
  }
  
  .complexity-category-header,
  .complexity-description-header {
    font-size: 16px;
  }
  
  .complexity-category {
    font-size: 14px;
  }
  
  .complexity-description {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .complexity-table-container {
    overflow-x: auto;
  }
  
  .complexity-guidelines-table {
    min-width: 500px;
  }
}

/* Assessment Tab Styles */
.assessment-form-container {
  background: white;
  border-radius: 6px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  border: 1px solid #dee2e6;
}

.assessment-row {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #dee2e6;
}

.assessment-row:last-child {
  border-bottom: none;
}

.assessment-label {
  flex: 0 0 200px;
  font-weight: 600;
  color: #495057;
  margin: 0;
  padding-right: 20px;
}

.assessment-control {
  flex: 1;
}

.assessment-dropdown {
  border: 1px solid #ced4da;
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 14px;
  background-color: #f8f9fa;
}

.risk-rating-display {
  padding: 8px 12px;
  font-size: 14px;
  color: #495057;
}

.risk-auto {
  background-color: #ffc107;
  color: #212529;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 600;
}

.risk-integrated {
  background-color: #fff3cd;
  color: #856404;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 600;
}

.assessment-matrix-container {
  display: flex;
  justify-content: center;
  overflow-x: auto;
}

.assessment-matrix-table {
  border-collapse: collapse;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  background: white;
  border-radius: 6px;
  overflow: hidden;
  margin: 0 auto;
}

.assessment-matrix-table th,
.assessment-matrix-table td {
  border: 2px solid #495057;
  padding: 12px 16px;
  text-align: center;
  font-weight: 600;
}

.highlighted, .highlight-row td:first-child {
  background-color: #ffc107 !important;
  color: #212529 !important;
}

.signoff-section {
  background: white;
  border-radius: 6px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  border: 1px solid #dee2e6;
}

.signoff-title {
  margin-bottom: 15px;
  color: #495057;
  font-weight: 600;
}

.signoff-table {
  width: 100%;
  border-collapse: collapse;
}

.signoff-table th,
.signoff-table td {
  border: 1px solid #dee2e6;
  padding: 12px;
  text-align: left;
}

.signoff-table th {
  background-color: #f8f9fa;
  font-weight: 600;
  color: #495057;
}

.signoff-role {
  color: #495057;
}

.signoff-status.auto-fill {
  background-color: #ffc107;
  color: #212529;
  padding: 4px 8px;
  border-radius: 3px;
  font-weight: 600;
  display: inline-block;
}

/* Responsive adjustments for assessment */
@media (max-width: 768px) {
  .assessment-row {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .assessment-label {
    flex: none;
    margin-bottom: 8px;
  }
  
  .assessment-control {
    width: 100%;
  }
}
/* Competency Styles */
.competency-instructions {
  background-color: #17a2b8;
  color: white;
  padding: 20px;
  border-radius: 6px;
  font-size: 16px;
  line-height: 1.6;
}

.competency-instructions u {
  text-decoration: underline;
  font-weight: 600;
}

.competency-table-container {
  background: white;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  border: 1px solid #dee2e6;
}

.competency-levels-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  background: white;
}

.competency-levels-table th,
.competency-levels-table td {
  border: 1px solid #dee2e6;
  padding: 12px 16px;
  vertical-align: top;
  text-align: left;
}

.level-code-header {
  background-color: #f8f9fa;
  color: #495057;
  font-weight: 700;
  font-size: 16px;
  width: 10%;
  text-align: center;
}

.level-title-header {
  background-color: #f8f9fa;
  color: #495057;
  font-weight: 700;
  font-size: 16px;
  width: 20%;
  text-align: center;
}

.level-description-header {
  background-color: #f8f9fa;
  color: #495057;
  font-weight: 700;
  font-size: 16px;
  width: 70%;
  text-align: center;
}

.level-code {
  background-color: #f8f9fa;
  color: #495057;
  font-weight: 700;
  font-size: 16px;
  text-align: center;
}

.level-title {
  background-color: #f8f9fa;
  color: #495057;
  font-weight: 600;
  font-size: 16px;
  text-align: center;
}

.level-description {
  background-color: white;
  color: #212529;
  font-size: 16px;
  line-height: 1.5;
}

/* Responsive adjustments for competency table */
@media (max-width: 992px) {
  .competency-levels-table {
    font-size: 14px;
  }
  
  .competency-levels-table th,
  .competency-levels-table td {
    padding: 10px 12px;
  }
  
  .level-code-header,
  .level-title-header,
  .level-description-header {
    font-size: 14px;
  }
  
  .level-code,
  .level-title {
    font-size: 14px;
  }
  
  .level-description {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .competency-table-container {
    overflow-x: auto;
  }
  
  .competency-levels-table {
    min-width: 600px;
  }
  
  .competency-instructions {
    padding: 16px;
    font-size: 14px;
  }
}

/* Tab content styling */
.nav-tabs .nav-link {
  background-color: #fd7e14;
  color: white;
  border: none;
  margin-right: 2px;
  border-radius: 6px 6px 0 0;
}

.nav-tabs .nav-link.active {
  background-color: #28a745;
  color: white;
  border: none;
}

.nav-tabs .nav-link:hover:not(.active) {
  background-color: rgba(253, 126, 20, 0.8);
  color: white;
  border: none;
}

/* Minimum Tab Styles */
.minimum-instructions {
  background-color: #17a2b8;
  color: white;
  padding: 20px;
  border-radius: 6px;
  font-size: 16px;
  line-height: 1.6;
}

.minimum-instructions u {
  text-decoration: underline;
  font-weight: 600;
}

.minimum-table-container {
  background: white;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  border: 1px solid #dee2e6;
}

.minimum-requirements-container {
  background: white;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  border: 1px solid #dee2e6;
}

.minimum-requirements-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  background: white;
}

.minimum-requirements-table th,
.minimum-requirements-table td {
  border: 1px solid #dee2e6;
  padding: 12px 16px;
  vertical-align: middle;
  text-align: center;
}

.risk-rating-header {
  background-color: #fd7e14;
  color: white;
  font-weight: 700;
  font-size: 16px;
  width: 25%;
}

.competency-header {
  background-color: #28a745;
  color: white;
  font-weight: 700;
  font-size: 16px;
}

.role-header {
  background-color: #28a745;
  color: white;
  font-weight: 700;
  font-size: 16px;
  width: 25%;
}

.risk-rating {
  background-color: #f8f9fa;
  color: #495057;
  font-weight: 600;
  font-size: 16px;
}

.competency-level {
  background-color: white;
  color: #495057;
  font-weight: 600;
  font-size: 16px;
}

.integrated-row .risk-rating.highlighted,
.integrated-row .competency-level.highlighted {
  background-color: #fff3cd;
  color: #856404;
  font-weight: 700;
}

.project-rating {
  background-color: #fff3cd;
  color: #856404;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 700;
}

.minimum-levels-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  background: white;
}

.minimum-levels-table th,
.minimum-levels-table td {
  border: 1px solid #dee2e6;
  padding: 12px 16px;
  vertical-align: top;
  text-align: left;
}

.competency-action-section {
  background: white;
  border-radius: 6px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  border: 1px solid #dee2e6;
}

.competency-levels-button {
  text-align: center;
}

.competency-levels-button .btn {
  padding: 12px 24px;
  font-weight: 600;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.lookup-info {
  display: flex;
  justify-content: center;
  align-items: center;
}

.lookup-box {
  background-color: #fd7e14;
  color: white;
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Responsive adjustments for minimum tab */
@media (max-width: 992px) {
  .minimum-levels-table {
    font-size: 14px;
  }
  
  .minimum-levels-table th,
  .minimum-levels-table td {
    padding: 10px 12px;
  }
  
  .competency-action-section {
    padding: 15px;
  }
  
  .lookup-box {
    font-size: 12px;
    padding: 10px 16px;
  }
}

@media (max-width: 768px) {
  .minimum-table-container {
    overflow-x: auto;
  }
  
  .minimum-levels-table {
    min-width: 600px;
  }
  
  .minimum-instructions {
    padding: 16px;
    font-size: 14px;
  }
  
  .competency-action-section .row {
    text-align: center;
  }
  
  .competency-action-section .col-md-6 {
    margin-bottom: 15px;
  }
  
  .lookup-info {
    justify-content: center;
  }
}

/* Adjustments Tab Styles */
.adjustments-legend {
  display: flex;
  gap: 20px;
  align-items: center;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.legend-color {
  width: 20px;
  height: 20px;
  border-radius: 3px;
  border: 1px solid #dee2e6;
}

.legend-color.revise-up {
  background-color: #fff3cd;
}

.legend-color.revise-down {
  background-color: #d4edda;
}

.legend-text {
  font-size: 14px;
  font-weight: 500;
  color: #495057;
}

.adjustments-table-container {
  background: white;
  border-radius: 6px;
  overflow-x: auto;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  border: 1px solid #dee2e6;
}

.adjustments-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  background: white;
  min-width: 1000px;
}

.adjustments-table th,
.adjustments-table td {
  border: 1px solid #dee2e6;
  padding: 8px 12px;
  vertical-align: middle;
  text-align: center;
  font-size: 14px;
}

.discipline-header {
  background-color: #6c757d;
  color: white;
  font-weight: 700;
  width: 15%;
}

.default-override-header {
  background-color: #6c757d;
  color: white;
  font-weight: 700;
  width: 10%;
}

.project-size-header,
.complexity-header {
  background-color: #6c757d;
  color: white;
  font-weight: 700;
  width: 12%;
}

.discipline-risk-header {
  background-color: #6c757d;
  color: white;
  font-weight: 700;
  width: 12%;
}

.competency-levels-header {
  background-color: #28a745;
  color: white;
  font-weight: 700;
}

.role-sub-header {
  background-color: #28a745;
  color: white;
  font-weight: 700;
  width: 10%;
}

.discipline-name {
  text-align: left;
  font-weight: 600;
  color: #495057;
}

.default-status {
  background-color: #f8f9fa;
  color: #495057;
  font-weight: 500;
}

.override-status {
  background-color: #fff3cd;
  color: #856404;
  font-weight: 600;
}

.project-param select {
  border: none;
  background: transparent;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  padding: 2px 4px;
}

.override-param-up, .override-param-up select {
  background-color: #fff3cd;
  color: #856404;
  font-weight: 600;
}
.override-param-down, .override-param-down select {
  background-color: #eafaed;
  color: #506e57;
  font-weight: 600;
}

.risk-rating-result,
.competency-result {
  font-weight: 600;
  color: #495057;
}

.override-result-down {
  background-color: #eafaed;
  color: #506e57;
  font-weight: 700;
}
.override-result-up {
  background-color: #fff3cd;
  color: #856404;
  font-weight: 700;
}

.override-row {
  background-color: rgba(255, 243, 205, 0.3);
}

.revise-up-row {
  background-color: rgba(255, 243, 205, 0.5);
}

/* Sign-off Section */
.adjustments-signoff {
  background: white;
  border-radius: 6px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  border: 1px solid #dee2e6;
}

.signoff-title {
  margin-bottom: 15px;
  font-weight: 700;
  color: #495057;
}

.signoff-table-container {
  border: 1px solid #dee2e6;
  border-radius: 4px;
  overflow: hidden;
}

.signoff-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  background: white;
}

.signoff-table td {
  border: 1px solid #dee2e6;
  padding: 12px 16px;
  vertical-align: middle;
}

.signoff-role {
  background-color: #f8f9fa;
  color: #495057;
  font-weight: 600;
  width: 40%;
}

.signoff-action {
  background-color: white;
  color: #495057;
  font-weight: 500;
  width: 30%;
  text-align: center;
}

.signoff-button {
  background-color: white;
  width: 30%;
  text-align: center;
}

.signoff-button .btn {
  padding: 6px 20px;
  font-weight: 600;
  border-radius: 4px;
}

/* Responsive adjustments for adjustments tab */
@media (max-width: 992px) {
  .adjustments-legend {
    gap: 15px;
  }
  
  .legend-text {
    font-size: 13px;
  }
  
  .adjustments-table {
    font-size: 13px;
  }
  
  .adjustments-table th,
  .adjustments-table td {
    padding: 6px 8px;
  }
  
  .adjustments-signoff {
    padding: 15px;
  }
}

@media (max-width: 768px) {
  .adjustments-legend {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .adjustments-table {
    min-width: 1200px;
  }
  
  .signoff-table td {
    padding: 10px 12px;
  }
}
/* Document Controls Only */
.document-controls {
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 6px;
  border: 1px solid #dee2e6;
}

.search-container .input-group-text {
  background-color: white;
  border-right: none;
  color: #6c757d;
}

.search-container .form-control {
  border-left: none;
  padding-left: 0;
}
.form-control:focus {
  border-color: #ced4da;
  box-shadow: none;
}
.form-select:focus {
  border-color: #ced4da;
  box-shadow: none;
}
table#table-doc-list tbody tr td {vertical-align: middle;}

table#table-doc-list tbody tr td select {
  border: none;
  background: white;
  padding: 0;
  -webkit-appearance: auto;
}

table#table-doc-list tbody tr td select:focus {
  border: none;
  box-shadow: none;
}
.document-number {
  font-family: 'Courier New', monospace;
  font-size: 0.875rem;
}

/* ============================================
   FIXED HEADER & INDEPENDENT SCROLLING LAYOUT
   ============================================ */

/* Fixed Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Body padding to compensate fixed header */
body {
  padding-top: 80px; /* Adjust based on actual header height */
}

/* Project pages layout with independent scrolling */
.page-content.project-layout {
  height: calc(100vh - 80px); /* Full viewport minus header */
  overflow: hidden; /* Prevent page scroll */
}

.page-content.project-layout .container-fluid {
  height: 100%;
  padding: 0;
}

.page-content.project-layout .row {
  height: 100%;
  margin: 0;
}

/* Left column - Project Nav (independent scroll) */
.page-content.project-layout .col-lg-2 {
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 20px 15px;
  background-color: #f8f9fa;
  border-right: 1px solid #dee2e6;
}

/* Right column - Content (independent scroll) */
.page-content.project-layout .col-lg-10 {
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 20px;
}

/* Project-nav sticky styles - now handled in main .project-nav definition */
