#system_view {
    display: block;
    left: 10px;
    top: 110px;
    flex: 1;
    padding: 5px;
    background: #eeeeee;
    border: 0px solid black;
    margin: 0px;
    z-index: 20;
}

#system_view.hidden {
    display: none;
}

.close-box {
    display: inline;
    font-size: 18px;
    font-weight: bold;
    border: none;
    background: transparent;
    color: #333;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.2s ease, color 0.2s ease;
}

.close-box:hover {
  background: #eee;
  color: #c00;
}

.close-box:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(200, 0, 0, 0.3);
}

.sys-label {
    vertical-align: top;
    display: inline-block;
    height: 32px;
    color: black;
    font-size: 24px;
    font-weight: bold;
}

.system_canvas_sidebar {
    display: flex;
    width: 300px;
    flex-direction: column;
    height: calc(100vh - 180px);
}

.system_button_box {
    display: block
}

.system_canvas_scroll {
    display: inline-block;
    vertical-align: top;
    flex: 1;
    width: 300px;
    margin: 0px;
    border: 0px solid black;
    overflow-y: scroll;
    overflow-x: scroll;
    scrollbar-width: thin;               /* Firefox */
    scrollbar-color: #888 #f0f0f0;       /* Firefox */
    background-color: black;
}

/* WebKit (Chrome, Edge, Safari) */
.system_canvas_scroll::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.system_canvas_scroll::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 4px;
}

.system_canvas_scroll::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 6px;
    border: 2px solid #f0f0f0; /* Matches track for inset look */
}

.system_canvas_scroll::-webkit-scrollbar-thumb:hover {
    background-color: #666;
}

#sys_list_view {
    display: flex;
    flex-direction: row;
}

#sys_list_view.hidden {
    display: none;
}

#system_canvas {
    width: 300px;
    height: 700px;
    background: black;
}

.sys_info {
    /*
    display: inline-block;
    vertical-align: top;
    color: black;
    width: 55%;
    */
    background-color: #fdfdfd;
    padding: 16px;
    border-radius: 10px;
    color: #222;
    font-family: 'Segoe UI', sans-serif;
    min-width: 500px;
    flex: 1;
    margin-left: 10px;
    margin-right: 10px;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;

    max-height: calc(100vh - 200px);
    overflow-y: auto;
}


.view_radio_selector {
    display: inline-block;
    font-size: 20px;
    color: black;
}

.system_info_block {
    display: block;
    height: 120px;
}

#system-button-box {
  padding: 6px 8px;
  background-color: #f5f5f5;  /* Light neutral background */
  border-top: 1px solid #ccc; /* Optional separation from content above */
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1)
    
}

/*
.body_section {
    padding: 10px;
}

.body_header {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}
    */

.body_name {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
}

.body_section {
    background-color: #fafafa;
    padding: 10px;
    border-radius: 6px;
    margin-top: 10px;
    border: 1px solid #e2e2e2;
}

.body_header {
    font-weight: bold;
    margin-bottom: 6px;
    font-size: 1.1em;
    color: #2d5d87;
}

.body_section table {
    width: 100%;
    border-collapse: collapse;
}

.body_section td {
    padding: 4px 8px;
    vertical-align: top;
}

.body_section td:first-child {
    font-weight: bold;
    color: #444;
    width: 40%;
}

.body_section td:nth-child(2) {
    color: #333;
}

.body_section td[style*="rgb(229, 193, 105)"] {
    color: #b8860b !important; /* goldenrod shade to fit light background */
}

#hr-diagram {
    position: relative;
    height: 240px;
    width: 212px;
}
#hr-canvas {
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 20;
    width: 212px;
    height: 240px;
}

.core_properties_flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

#hr-diagram img {
    width: 212px;
    height: 240px;
}
