

.processMapViewerContent {
    transition: transform 0.1s ease-out;
    cursor: grab;
    display: flex;
    justify-content: center;
    overflow: auto;
    width: 100%;
    height: 100%;
    align-items: center;
  }
  .overallcontainer{
 max-height: 100%; 
 height: 70vh
  }
//   ::ng-deep.center {
//     vertical-align: middle
// }
::ng-deep.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  vertical-align: middle;
  // -moz-font-feature-settings: 'liga';
  // -moz-osx-font-smoothing: grayscale;
}

  .processMapViewerContentRotate {
    transition: transform 0.1s ease-out;
    cursor: grab;
    display: flex;
    justify-content: center;
    overflow: auto;
    width: 100%;
    height: 100%;
    align-items: start;
  }
  
  .processMapViewerContent:active,
  .processMapViewerContentRotate:active {
    cursor: grabbing;
  }
  
  #buttonArea {
    position: absolute;
    z-index: 100;
    display: flex;
    flex-direction: column;
  }
  
  .actionBtn {
    background: #f9f9f9;
    color: #8c8c8c !important;
    box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.3);
    border: 1px solid #cacaca;
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 5px;
    display:flex;
  }
  
  .ProcessSelect {
    box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.3);
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 5px;
    position: absolute;
    margin-left: 55px;
    width: 210px;
    // padding-left: 10px;
    z-index: 1;
  }
  
  .SelectedSubProcess {
    margin-left: 260px;
    justify-content: flex-start;
    color:var(--action-primary-default) !important;
    width: 100%;
    height: 32px;
    display: flex;
    align-items: center;
    margin-top: 5px;
    position: absolute;
    padding-left: 10px;
    z-index: 1;
  }
 
//   .SelectedSubProcess {
//     display: block; 
//     width: 100%; 
//     margin-top: 10px; 
//     position: absolute;
//   padding-left: 69px;
//   margin-top: 40px;
//   color:var(--action-primary-default) !important;
// }

  
  svg {
    width: 100%;
    height: 100%;
  }
  ::ng-deep .mat-mdc-select-value-text{
    font-size: 12px;
    padding-left: 20px;
  }
  
  .processMapViewerDiv {
    padding-top: 60px;
    width: 100%;
    height: 100%;
    padding: 5px;
  }
  
  .mat-select-value {
    display: table-cell;
    max-width: 0;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-left:20px;
}

mat-select {
    width: auto;

    white-space: nowrap;
}

mat-option {

    // min-width: 140px;
    white-space: nowrap;
    min-height: 40px;
    border-radius: 6px;
}
::ng-deep .mat-mdc-select-arrow svg {
  left: unset !important; 
  right: 30% !important; 
}

// ::ng-deep .mat-mdc-select-arrow svg{
//   left:0 !important;
//   right:30% !important;

// }

.mat-mdc-select-panel-below div.mat-mdc-select-panel {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    transform-origin: bottom center;
}

::ng-deep .mat-mdc-select-panel-above div.mat-mdc-select-panel {
    padding-top: 2px;
}

// ::ng-deep .mat-mdc-select-value-text {
//     padding-left: 20px;

// }

::ng-deep div.mat-mdc-select-panel{
    padding-top:0;
   
  }
::ng-deep .mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text {
    color: white;
}
::ng-deep .mat-internal-form-field>label {
    color: var(--mat-sys-inverse-surface) !important;
    padding-left: 0px !important;
}

::ng-deep .mat-mdc-option .mat-pseudo-checkbox {
--mat-pseudo-checkbox-minimal-selected-checkmark-color: white !important; 
  color: white !important; 
}
::ng-deep .mat-mdc-option.mdc-list-item--selected {
    background-color: var(--action-primary-default) !important;

}
::ng-deep .mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple) .mdc-list-item__primary-text {
  color:white !important;
}
.option{
    font-size: 12px;
}

// Phase 6 — approval-workflow step detail panel
.workflowStepsPanelBackdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
}

.workflowStepsPanel {
  background: var(--surface-primary, #fff);
  color: var(--text-primary, #212121);
  width: 420px;
  max-width: 90%;
  max-height: 70%;
  border-radius: 6px;
  box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.workflowStepsPanelHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-bottom: 1px solid #e0e0e0;
  font-size: 13px;
  font-weight: 600;
}

.workflowStepsPanelBody {
  padding: 10px 12px;
  overflow-y: auto;
}

.workflowStepsLoading,
.workflowStepsEmpty {
  font-size: 12px;
  color: #757575;
  padding: 12px 0;
}

.workflowStepsTable {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;

  th, td {
    text-align: left;
    padding: 4px 6px;
    border-bottom: 1px solid #eeeeee;
  }

  th {
    color: #757575;
    font-weight: 600;
  }
}

.workflowStepsPanelFooter {
  padding: 8px 12px;
  border-top: 1px solid #e0e0e0;
  display: flex;
  justify-content: flex-end;
}

.openDocumentBtn {
  background: var(--action-primary-default, #1976d2);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 12px;
  cursor: pointer;
}

// Phase 7 — instance-traceability overlay controls
.actionBtnActive {
  background: var(--action-primary-default, #1976d2) !important;
  color: #fff !important;
}

.instanceTraceBar {
  position: absolute;
  z-index: 100;
  top: 145px;
  left: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
  background: #f9f9f9;
  box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.3);
  border: 1px solid #cacaca;
  border-radius: 4px;
  padding: 4px 6px;
}

.instanceTraceInput {
  width: 100px;
  font-size: 12px;
  padding: 4px 6px;
  border: 1px solid #cacaca;
  border-radius: 3px;
}

.instanceTraceStatus {
  font-size: 11px;
  color: #757575;
  white-space: nowrap;
}

.instanceTraceStatusError {
  color: #c62828;
}

.instanceTraceLegend {
  font-size: 11px;
  color: #616161;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.legendSwatch {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  margin-left: 6px;
}

.legendVisited {
  background: #bbdefb;
  border: 1px solid #1976d2;
}

.legendCurrent {
  background: #ffe0b2;
  border: 1px solid #e65100;
}

.legendFuture {
  background: #f5f5f5;
  border: 1px dashed #9e9e9e;
}