body {
    font-family:Verdana, Geneva, Tahoma, sans-serif;
    background-color: white;
    margin: 0px;
    padding: 0px;
    overflow: hidden;
}

#login-content {
    display: grid;
    grid-template-columns: 40% 60%;
    box-sizing: border-box;

}

#login-content img {
    width: 100%;
}

#login-content div {

    padding: 10px;
    text-align: center;
}

#login-content input {
    font-size: 24px;
    width: 80%;
    border: 2px solid purple;
    padding: 5px;
    box-sizing: border-box;
}

#login-content button {
    font-size: 24px;
    background-color: rgb(0, 219, 7);
    border: 3px solid rgb(156, 22, 223);
    color: white;
    font-weight: bold;
    border-radius: 10px;
    padding-left: 20px;
    padding-right: 20px;
}

#login-title {
    font-family: cursive;
    font-weight: bold;
}

.grid-container {
    padding: 0px;
    margin: 0px;
    display: grid;
    grid-template-columns: 400px auto 250px;
}

.grid-item {
    padding: 10px;
}

#ws-header {
    grid-column-start: 1;
    grid-column-end: 4;
    display: grid;
    grid-template-columns: 30% 40% 30%;
    margin: 0px;
    padding: 0px;
}
#ws-header div{
    box-sizing: border-box;
    background-color: white;
    padding-left: 10px;
    padding-right: 10px;
}

#ws-header-left {
    padding: 5px;
}

#ws-header-center {
    text-align: center;
    padding: 2px;
    margin: 0px;
}

#ws-header-right {
    text-align: right;
    padding: 5px;
}

#ws-breadcrumbs {
    grid-column-start: 1;
    grid-column-end: 4;
    background-color: rgb(255, 255, 255);
    padding: 5px;
    text-align: left;
    font-family:Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: bolder;
    color: rgb(85, 85, 100);
}

#ws-footer {
    grid-column-start: 1;
    grid-column-end: 4;
    padding: 0px;
    margin: 0px;
    font-size: 12px;
    color: slategrey;
    text-align: center;
    font-weight: bold;
    position: absolute;
    bottom: 0px;
    width: 100%;
    background-color: black;
}
#ws-footer a {
    color: slateblue;
    font-size: 12px;
}

#nuts-image {
    height: 40px;
    padding: 0px;
}

#ws-configpanel {
    background-color: rgb(193, 204, 217);
    display: flex;
    flex-direction: column;
    border-top-right-radius: 8px;
    height: calc(100vh - 90px);
    overflow-y: auto;
}

#ws-configpanel input {
    size: 10;
    width: 10;
}

#ws-jobpanel {
    border-top-left-radius: 8px;
    border-top: 1px solid black;
    border-left: 1px solid black;
    background-color: white;
    height: calc(100vh - 90px);
    overflow-y: auto;
    overflow-x: clip;
}

#ws-preview {
    background-color: white;
    box-sizing: border-box;
    height: calc(100vh - 90px);
    overflow-y: auto;
}

.bold {
    font-weight: bold;
}

.ctext {
    text-align: center;
}
a {
    color: blue;
    font-size: small;
}
#exit-link {
    color: rgb(173, 173, 173);
    font-size: smaller;
}

.config-grid {
    display: grid;
    grid-template-columns: 40% 60%;
    margin-top: 10px;
    padding-bottom: 50px;
}

.config-grid div {
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 12px;
}

.config-grid input {
    width: 40%;
}

.half {
    width: 40%;
}

.config-grid hr {
    width: 100%;
    margin: 0px;
    padding: 0px;
}

.dropzone {
    padding: 5px;
    text-align: center;
    border-radius: 10px;
    cursor: pointer;
    border: 1px dashed black;
    margin: 5px;
    background-color: lightgray;
}


.blackout {
    width: 100%;
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    background-color: rgba(0, 0, 0, 0.256);
    z-index: 1000;
}

.popover {
    width: 50%;
    position: absolute;
    top: 90px;
    left: 25%;
    background-color: rgb(255, 255, 255);
    display: grid;
    grid-template-columns: 50% 50%;
    margin: auto 0;
    padding: 20px;
    border-radius: 10px;
    border: 2px solid black;
    box-shadow: 5px 5px 5px rgb(95, 95, 95);
}

.popover div {
    padding: 10px;
}

.span2 {
    grid-column-start: 1;
    grid-column-end: 3;
}
.textright {
    text-align: right;
}
.textleft {
    text-align: left;
}
.textcenter {
    text-align: center;
}

.bold {
    font-weight: bold;
}

.vcenter {
   align-items:center;
}

/* Tooltip container */
.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted rgb(52, 51, 141); /* If you want dots under the hoverable text */
}

.cam-preset {
    border: 1px solid rgb(0, 0, 255);
    padding: 2px;
    border-radius: 3px;
    background-color: rgb(175, 222, 255);
    cursor:pointer;
    margin-left: 2px;
    margin-top: 2px;
}

.cam-preset-container {
    display: flex;
    flex-wrap: wrap;
}

/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: #555;
  color: #fff;
  text-align: left;
  padding: 5px;
  border-radius: 6px;

  /* Position the tooltip text */
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;

  /* Fade in tooltip */
  opacity: 0;
  transition: opacity 0.3s;
}



/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

/* Assembly card styling */
.assembly-card {
  border: 1px solid #bbb;
  border-radius: 6px;
  padding: 10px;
  margin-bottom: 8px;
  background: #f9f9f9;
}

/* Reset padding for child divs inside modals — .popover div forces 10px on all descendants */
.assembly-card div,
.assembly-card-row {
  padding: 0;
}

/* Library picker item hover highlight */
.lib-pick-item:hover {
  background: #e8f4fd;
}