#partBuilderForm {
    min-height: 100%;
    padding-bottom: 60px; /*height of footer*/
}

.PB_footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: VAR(--background-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.stepIndicator {
    height: 26px;
    width: auto;
    margin: 2px 2px;
    padding: 0px 10px;
    background-color: #bbbbbb;
    border: none;
    border-radius: 5px;
    display: inline-block;
    opacity: 0.5;
}

.stepIndicator.active {
    opacity: 1;
    background-color: blueviolet;
    color: white;
}


#profileStep h3 {
    justify-self: center;
}

.reviewInfo {
    text-align: left;
    word-wrap: normal;
    font-size: 1rem;
}
.reviewTable {
    font-size: 0.8rem;
}

#PB_templateList {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 700px;
}
#templatePanel {
    display: flex;
    flex-direction: row;
}

.templateCard {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    cursor: pointer;
    overflow:hidden;
    min-width: 250px;
}
.templateCard img {
    max-height: 85px;
}
.templateCard span {
    margin: 10px;
}
.templateCard:hover {
    background-color: VAR(--header-hover-color);
}

.diagram {
    width: 75%;
    max-width: 700px;
    height:auto;
}
.diagram img {
    width: 100%;
    height:auto;
    display: block;
    border-radius: 10px;
    border: none;
    box-shadow: 0px 0px 10px #000;
}
/* Responsive changes below 600px viewport width */
@media (max-width: 600px) {
  #templatePanel {
    flex-direction: column;    /* Stack children vertically */
  }
  .diagram {
    width: 100%;
  }

}



/******************** data table *************************/
.dataTable {
    width: 40vw;
    border: 2px solid black;
    background-color: #DDD;
    overflow-y: auto;
    table-layout: fixed;
}
.dataTable tr th, td {
    border: 1px solid black;
    color: black;
    text-align: center;
}
.dataTable tr th {
    background-color: blueviolet;
    color: #FFF;
}
.dataTable tr[disabled="false"]:hover {
    background-color: #AAA;
    cursor:pointer;
}
.dataTable tr:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

.dataTable tr[selected="true"] {
    background-color: #85bfda;
}
.dataTable tr[disabled="true"] {
    background-color: #BBB;
    position: relative;     /* required for the tooltip to appear relative to the row */
}
.dataTable tr[disabled="true"] > td {
    color: #444;
}

.dataTable tr .tooltip-text {
    top:revert;
  top: 25px;
  left: 20px;
  right: revert;
}

.dataTable td input {
    background-color: transparent;
    padding: 0px;
    margin: 0px;
    border-radius: 0px;
    border: none;
    box-shadow: none;
    font-size: 1em;
    text-align: center;
    color:#000;
    width: 100%;
}

.dataTable select {
    background-color: transparent;
    padding: 0px;
    margin: 0px;
    border-radius: 0px;
    border: none;
    box-shadow: none;
    font-size: 1em;
    text-align: center;
    color:#000;
    width: 100%;
}

#PB_materialTable_noLC td:nth-child(4),
#PB_materialTable_noLC th:nth-child(4),
#PB_materialTable_noLC td:nth-child(5),
#PB_materialTable_noLC th:nth-child(5),
#PB_materialTable_noLC td:nth-child(6),
#PB_materialTable_noLC th:nth-child(6),
#PB_materialTable_LC td:nth-child(4),
#PB_materialTable_LC th:nth-child(4),
#PB_materialTable_LC td:nth-child(5),
#PB_materialTable_LC th:nth-child(5),
#PB_materialTable_LC td:nth-child(6),
#PB_materialTable_LC th:nth-child(6) {
    display: none;
}


/******************* svg viewer *************************/
.wizardStep {
    margin: 20px;
    display:flex;
    flex-direction: row;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.vectorViewer {
    margin:15px;
    padding: 0;
    display: inline-block;
    /*flex-direction: column;*/
    width: 40vw;
    line-height: 0; /* remove gaps between SVGs */
}



/* Enforce square shape with max height using a wrapper div */
.svgWrapper {
  aspect-ratio: 1 / 1;
  width: 100%;
  max-height: 80vh;
  height: auto;
  display: flex;
}

.vectorViewer svg {
    display: block;
    width: 100%;
    border-style: solid;
    border-width: 2px;
    border-color: #000;
}
#PB_Create_SVG {
    background-color: #DDD;
    width: 100%;
    height: 100%;
    display: block;
}
#PB_Create_SVG_legend {
    background-color: #FFF;

    width: 100%;
  height: auto;
  display: block;
}



/* Responsive changes below 700px viewport width */
@media (max-width: 700px) {
  .wizardStep {
    flex-direction: column;    /* Stack children vertically */
    /*align-items: center;       /* Optional: center children horizontally */
  }

  .vectorViewer {
    width: 90vw;               /* Expand vectorViewer to 90% of viewport width */
  }

  .dataTable {
    width: 90vw;
    }
}

