
  body {
  margin: 0;
  padding: 0;
  background-color: #121317;
  font-family: 'Century Gothic', sans-serif;
  color: white;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}


  .screen-center {
   
   
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
  }


  .nc-row {
    display: flex;
    flex-direction: row;
    gap: 30px;
    justify-content: center;
  }


  .nc {
  width: 475px;
  padding: 24px;
  border-radius: 12px;
  background: linear-gradient(to bottom, #1A1C1F 0%, #2B2F36 100%);

  
  box-shadow:
    4px 4px 10px rgba(0, 0, 0, 0.7),
    -4px -4px 10px rgba(255, 255, 255, 0.025);
  
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all 0.2s ease-in-out;
}



  .nc-header {
  font-size: 24pt;
  font-weight: 100;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

  .nc-header-id {
    font-size: 24pt;
    font-weight: 100;
    text-transform: uppercase;
    color: #3CA9F4;
  }
  .detail-button {
    font-size: 12pt;
    padding: 4px 10px;
    border-radius: 10px;
    background: #222;
    color: #3CA9F4;
    border: none;
    box-shadow: 4px 4px 8px #1a1a1a, -4px -4px 8px #2a2a2a;
    cursor: pointer;
  }

  .edit-button {
    font-size: 12pt;
    padding: 4px 10px;
    border-radius: 10px;
    background: #222;
    color: #3CA9F4;
    border: none;
    box-shadow: 4px 4px 8px #1a1a1a, -4px -4px 8px #2a2a2a;
    cursor: pointer;
  }
  .nc-subheader {
  color: #b9bbbe;
  font-size: 12pt;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

  .group-section {
    flex: 1;
    overflow-y: auto;
    max-height: 620px;
    padding-right: 8px;
  }
  .group-title {
    color:  #3CA9F4;
    font-size: 14pt;
    margin-top: 10px;
    margin-bottom: 6px;
  }
  .output-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 12px;
  }
  .output-line {
    display: flex;
    justify-content: space-between;
    font-size: 10pt;
    padding: 3px 5px;
    border-radius: 12px;
   
    box-shadow: inset 2px 2px 5px #1b1b1b, inset -2px -2px 5px #2b2b2b;
  }
  .dot-off {
    width: 12px;
    height: 12px;
    background-color: #444;
    border-radius: 50%;
    box-shadow: inset 1px 1px 3px #111, inset -1px -1px 3px #333;
  }

  
.node-index {
  font-size: 8pt;
  color: #ccc;
  margin-right: 4px;
  color: #3CA9F4;
}

.modal {
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6);
}

.modal-content {
  background-color: #2a2a2a;
  margin: 5% auto;
  padding: 20px;
  border-radius: 10px;
  max-width: 600px;
}

.modal-content-1 {
  background-color: #2a2a2a;
  margin: 5% auto;
  padding: 20px;
  border-radius: 10px;
  max-width: 50%;
}


  .page-header {
    font-family: 'Century Gothic', sans-serif;
    font-weight: 100;
    text-align: center;
    margin: 10px 0;
    font-size: 34px;
    
    color: #3CA9F4;
  }


  .modal-wrapper {
    display: none; /* hidden until opened */
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    font-family: 'Century Gothic', sans-serif;
  }
  
  .modal-wrapper .modal-content {
    background:transparent;
    padding: 24px;
    border-radius: 16px;
    max-width: 720px;
    margin: 80px auto;
    position: relative;
    /*border: 1px solid #3CA9F4;*/
    box-shadow:
      4px 4px 12px rgba(0, 0, 0, 0.8),
      -2px -2px 8px rgba(255, 255, 255, 0.03);
  }
  
  /* Main NC Card */
  .modal-wrapper .nc {
    width: 475px;
    padding: 24px;
    border-radius: 16px;
    background: linear-gradient(to bottom, #1A1C1F 0%, #2B2F36 100%);
    box-shadow:
      inset 2px 2px 4px rgba(255, 255, 255, 0.02),
      6px 6px 12px rgba(0, 0, 0, 0.6),
      -6px -6px 12px rgba(255, 255, 255, 0.015);
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: all 0.2s ease-in-out;
  }
  
  .modal-wrapper .nc-header {
    font-size: 22pt;
    font-weight: 100;
    color: #3CA9F4;
    margin-bottom: 6px;
  }
  
  .modal-wrapper .nc-subheader {
    font-size: 10pt;
    color: #888B91;
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
  }
  
  .modal-wrapper .output-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  
  .modal-wrapper .output-line {
    background-color: #2B2F34;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 11pt;
    color: #C4C6CC;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow:
      inset 1px 1px 2px rgba(255, 255, 255, 0.02),
      inset -1px -1px 2px rgba(0, 0, 0, 0.3);
    transition: background 0.2s ease;
  }
  
  .modal-wrapper .output-line:hover {
    background-color: #353A42;
  }
  
  .modal-wrapper .dot-off {
    width: 12px;
    height: 12px;
    background-color: #3CA9F4;
    border-radius: 50%;
    box-shadow: 0 0 4px #3CA9F4;
  }
  
  /* Modal Grid of Fields */
  .modal-wrapper .nc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    
    justify-content: center;
    background: linear-gradient(to bottom, #1A1C1F 0%, #2B2F36 100%);
    box-shadow:
      inset 2px 2px 4px rgba(255, 255, 255, 0.02),
      6px 6px 12px rgba(0, 0, 0, 0.6),
      -6px -6px 12px rgba(255, 255, 255, 0.015);
      border-radius: 16px;
    flex-direction: column;
    
    transition: all 0.2s ease-in-out;
  }
  
  .modal-wrapper .nc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 10pt;
    cursor: pointer;
    transition: box-shadow 0.15s;
    box-shadow:
      inset 1px 1px 2px rgba(255, 255, 255, 0.01),
      inset -1px -1px 2px rgba(0, 0, 0, 0.3);
  }
  
  .modal-wrapper .nc-row:hover {
    box-shadow:
      inset 1px 1px 2px rgba(255, 255, 255, 0.04),
      inset -1px -1px 2px rgba(0, 0, 0, 0.5);
  }
  
  .modal-wrapper .nc-row-label {
    color: #3CA9F4;
    font-size: 8pt;
    margin-right: 6px;
  }
  
  .modal-wrapper .nc-footer {
    grid-column: span 2;
    text-align: center;
    padding-top: 12px;
    font-size: 10pt;
    color: #888;
  }
  
  .modal-wrapper .nc-row.dimmed {
    opacity: 0.35;
    pointer-events: none;
  }
  
  /* Commit button inside modal */
  .modal-wrapper .commit-btn {
    background-color: #3CA9F4;
    color: #121317;
    font-size: 10pt;
    height: 100%;
    aspect-ratio: 1;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin-right: 6px;
    box-shadow:
      3px 3px 6px rgba(0, 0, 0, 0.4),
      -3px -3px 6px rgba(255, 255, 255, 0.05);
    transition: all 0.15s ease;
  }
  
  .modal-wrapper .commit-btn:hover {
    background-color: #5BD3FF;
    color: #000;
  }
  
  .modal-wrapper .commit-btn:active {
    box-shadow:
      inset 2px 2px 4px rgba(0, 0, 0, 0.6),
      inset -2px -2px 4px rgba(255, 255, 255, 0.05);
  }
  
  /* Modal top-right controls */
  .modal-wrapper .modal-controls {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 10px;
  }
  
  .modal-wrapper .close-btn {
    background: #2a2f38;
    color: #C4C6CC;
    border: none;
    font-size: 10pt;
    border-radius: 6px;
    padding: 6px 12px;
    cursor: pointer;
    transition: background-color 0.2s;
  }
  
  .modal-wrapper .close-btn:hover {
    background-color: #3CA9F4;
    color: white;
  }

  .modal-wrapper .container {
        display: flex;
        gap: 40px;
        justify-content: center;
        align-items: center;
}

.modal-wrapper .neocard {
    width: 350px;
    height: 595px;
    border-radius: 40px;
    background: linear-gradient(to bottom, #40454e 0%, #1c222c 100%);
    border: 5px solid #9f9fa0;  /* crisp dark gray border */
    box-shadow:
    0 0 30px rgba(0, 0, 0, 0.2),     /* softened ambient shadow */
    -1px -1px 2px rgba(255, 255, 255, 0.015); /* subtle top-left light */
    border: 1px solid #0d0d0e;
    transition: box-shadow 0.2s ease;
}

.modal-wrapper .card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
  margin-top: 20px;
  width: 100%;
}

.modal-wrapper .card-item {
  color: white;
  font-size: 11pt;
  align-self: center;
  text-align: right;
  padding-right: 8px;
  padding-left: 10px;
  
}

.modal-wrapper .card-item-1 {
  color: white;
  font-size: 11pt;
  align-self: center;
  text-align: left;
  padding-right: 8px;
  padding-left: 20px;
  
}

.modal-wrapper .card-input {
  background-color:transparent;
  border: 1px solid #2a2a2a;
  color: #ccc;
  font-size: 10pt;
  padding: 6px 10px;
  border-radius: 6px;
  width: 250px;
  box-sizing: border-box;
}

.modal-wrapper .card-input-1 {
  background-color:transparent;
  border: 1px solid #2a2a2a;
  color: #ccc;
  font-size: 10pt;
  padding: 6px 10px;
  border-radius: 6px;
  width: 350px;
  box-sizing: border-box;
  margin-right: 20px;
}

.modal-wrapper .card-select {
  background-color: #40454e;  /* dark gray background */
  border: 1px solid rgb(40, 50, 70);
  color: #ffffff;             /* white text */
  font-size: 10pt;
  padding: 6px 10px;
  border-radius: 6px;
  width: 230px;
  box-sizing: border-box;
  appearance: none;           /* Optional: clean cross-browser style */
}

.nc-row.dimmed, .card-item.dimmed {
  opacity: 0.4;
  pointer-events: none;
}

.dimmed,
.dimmed select,
select.dimmed {
  opacity: 0.4;
  pointer-events: none;
}

.neo-button {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  background: linear-gradient(145deg, #68a8f5, #032657); /* Blue gradient */
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Century Gothic', sans-serif;
  font-size: 14px;
  color: white;
  font-weight: 500;
  box-shadow:
    6px 6px 12px rgba(0, 0, 0, 0.4),
    -6px -6px 12px rgba(255, 255, 255, 0.1),
    inset 0 0 6px rgba(255, 255, 255, 0.05);
    border: 2px solid #68a8f5; /* crisp dark border */
  cursor: pointer;
  transition: box-shadow 0.2s ease-in-out, transform 0.2s;
}


.neo-button:hover {
  box-shadow:
    8px 8px 16px rgba(0, 0, 0, 0.45),
    -4px -4px 8px rgba(255, 255, 255, 0.15);
  transform: scale(1.03);
}

.neo-button:active {
  box-shadow:
    inset 2px 2px 5px rgba(0, 0, 0, 0.6),
    inset -2px -2px 5px rgba(255, 255, 255, 0.1);
  transform: scale(0.98);
}

.neo-button.dimmed {
  opacity: 0.4;
  pointer-events: none;
  filter: grayscale(40%);
}

.nc-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 8px;
}

.nc-header {
  font-size: 1.2em;
  font-weight: 100;
}



.tooltip {
    position: absolute;
    background-color: black;
    color: white;
    padding: 6px 10px;
    font-size: 12pt;
    border: 1px solid #68a8f5;;
    border-radius: 6px;
    white-space: nowrap;
    z-index: 1001;
    display: none;
    pointer-events: none;
    transition: opacity 0.2s;
}








