body {
    margin: 10px;
}
 
/* ---------- Menubar ---------- */
.menubar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
}
.menubar > span:first-child { flex: 1; }
.menubar > span:not(:first-child) { margin-left: 15px; }
.menubar a { text-decoration: none; font-weight: 600; }
 
/* ---------- Header banner ---------- */
.header-info { margin: 0 0 14px; }
.top-banner {
    position: relative;
    padding: 16px 18px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: linear-gradient(135deg, #e0f2ff 0%, #ffffff 60%);
    box-shadow: 0 6px 18px rgba(2, 6, 23, 0.08);
}
.top-banner::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 6px; height: 100%;
    background: #3b82f6;
    border-radius: 6px 0 0 6px;
}
 
/* ---------- The Table  ---------- */
.main-table {
    display: table;
    border-collapse: collapse;
    width: 100%; 
    table-layout: auto; 
    font-size: 14px;
}

.main-table-menu {
    display: table;
    border-collapse: collapse;
    width: auto; 
    table-layout: auto; 
    font-size: 14px;
}
 
/* Headers */
#footer-table, .main-table thead th {
    position: sticky;
    top: 0;
    background-color: #879bcc;
    color: #000;
    padding: 12px 15px;
    border: 1px solid #808080;
    text-align: left;
    z-index: 10;
    cursor: default;
}
 
.main-table thead th.canHide {
    cursor: pointer;
}
 
.main-table thead th:hover {
    background-color: #768ab8;
}
 
/* Table Cells */
#footer-table td, .main-table td {
    padding: 8px 6px;
    border: 1px solid #ccc;
    white-space: nowrap; 
    overflow: hidden;
    text-overflow: ellipsis; /* Keeps long names from breaking layout */
}
 
#footer-table td {
               background-color:#bfd8ff;
               border: 1px solid #ccc;
}
 
table.footer-table  {
               padding:0px;
}
 
 
/* Column Width Definitions */
.cell-toggle { width: 40px; text-align: center; }
.col-no      { width: 40px; }
 
.col-desc {
    /* 1. Allow the cell to grow vertically */
    white-space: normal !important; 
    
    /* 2. Tell the browser where it's allowed to break words */
    word-wrap: break-word; 
    overflow-wrap: break-word;
    
    /* 3. Ensure long technical strings (like file paths) break */
    word-break: break-all; 
    
    /* 4. Set a width so the browser knows when to start wrapping */
    width: 400px; 
}
 
/* ---------- Utilities ---------- */
button .toggle-button {
    cursor: pointer;
    width: 24px;
    height: 24px;
    padding: 0;
    line-height: 1;
}
 
.hidden-col {
    display: none !important;
}
 
.small-font {
    font-size: 85%;
}
 
.restoreColumn {
    color: #3b82f6;
    font-weight: bold;
    cursor: pointer;
}
 
.courier-text { 
  font-family: "Courier New", Courier, monospace;    
}
 
.main-table .cell-no-with-indent {
    display: none;
}
 
.main-table th.clickable:hover, .main-table th.cell-hide:hover   {
    background-color: #e0e0e0;  /* light gray */
    transition: background-color 0.2s ease;
}
 
 
th.max-width{
               max-width: 20%;
               color:red;         
}
 
 
table.robot-batch {
    table-layout: fixed;
    width: 100%;
}
 
.robot-batch th, .robot-batch td {
    white-space: normal;
    overflow-wrap: break-word;
}
 
 
