/* Simple reset */
body, h1, div {
    
    margin: 0;
    padding: 0;
}

header {
    background: #333;
    color: #fff;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between; /* Align items to the sides */
    align-items: center;
}
a {
    color: white;
}

.full-width-image{
  width: 300%;
  height: auto;  
 }

.config-tab {
    padding: 10px;
    margin-right: 5px;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    cursor: pointer;
}

.config-tab.active {
    background-color: #007bff;
    color: white;
    border: 1px solid #0056b3;
}
/*** Table Styling ***/
#sessions-container table, .showflow-table {
    border-collapse: collapse;
    width: 100%;
}

#sessions-container th, #sessions-container td, .showflow-table th, .showflow-table td  {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
    background-color: #f6f7f9;
    white-space: pre-line; /* Preserve line breaks in cell content */
}

#sessions-container th, .showflow-table th {
    background-color: #f2f2f2;
    color: #333;
}
.showflow-table {
    table-layout: fixed;
    min-width: 100%; /* Ensures table is at least as wide as its container */
    width: auto; /* Allows table to grow beyond container width */
    border-collapse: collapse;
}
.showflow-table th:not(:first-child),
.showflow-table td:not(:first-child) {
    min-width: 200px; /* Adjust this value as needed */
    width: 200px; /* Fixed width */
}

.showflow-table th:first-child,
.showflow-table td:first-child {
    min-width: 150px; /* Fixed width for date column */
    width: 150px;
}
.showflow-table th, .showflow-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
    vertical-align: top;
    white-space: pre-line;
}

.showflow-table th {
    background-color: #f2f2f2;
    color: #333;
}

.showflow-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.showflow-table tr:hover {
    background-color: #eaeaea;
}
.time-range {
    font-weight: bold;
    margin-bottom: 4px;
    white-space: nowrap;
}

.av-info-header {
    font-size: 0.9em;
    color: #777;
}

.av-notes {
    color: #555;
    white-space: nowrap;
}

.session-name {
    white-space: nowrap;
}
/*** Styles for the schedule container ***/
#schedule-container {
    grid-column: 1 / -1; /* Spans from the first to the last column */
    grid-row: 1 / -1; /* Spans from the first to the last row */
    /* Additional styling as needed */
}


#schedule-container table {
    border-collapse: collapse;
    width: 100%;
}

#schedule-container th, #schedule-container td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

#schedule-container th {
    background-color: #f2f2f2;
    color: #333;
}

#schedule-container tr:nth-child(even) {
    background-color: #f9f9f9;
}

#schedule-container tr:hover {
    background-color: #eaeaea;
}


#svg-placeholder {
    height: 300px;
    background: #f3f3f3;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.session-name {
    font-weight: bold;
    margin-top: 2px;
    margin-bottom: 2px;
    color: #333;
}
.table-wrapper {
    max-height: 80vh; /* 80% of viewport height */
    width: 100%; /* Fix the width to the parent container */
    max-width: 100%; /* Ensure it doesn't exceed parent width */
    overflow-y: auto; /* Vertical scrollbar when needed */
    overflow-x: auto; /* Horizontal scrollbar when needed */
    position: relative;
}