/* Basic reset */
/* Main container for the matrix */
.event_checklist_matrix-container {
    display: flex;
    flex-direction: column;
    width: 300px; /* Fixed width of the container */
    height: 400px; /* Fixed height of the container */
    overflow: hidden; /* Hide overflow to control scrolling */
    border: 1px solid #ccc;
}

/* Header row for member names */
.event_checklist_header-row {
    display: flex;
    position: sticky;
    top: 0;
    background-color: #f3f3f3;
    z-index: 10;
}

.event_checklist_corner {
    width: 200px; /* Adjust the width of the corner */
    background-color: darkslategray;
}

.event_checklist_member {
    display: flex;
    height: 40px;
    align-items: center;
    justify-content: center;
    width: 200px; /* Minimum width for scrolling */
    min-width: 200px; /* Minimum width for scrolling */
    background-color: darkslategray;
    color: white;
    font-weight: bold;
    font-size: 8pt;
}

/* Scrollable container for items and matrix */
.event_checklist_scroll-container {
    display: flex;
    overflow: auto; /* Enable scrolling for overflow content */
    width: 100%; /* Ensure it takes the full width of the parent */
    height: calc(100% - 40px); /* Adjust height based on header height */
}

/* Side column for items */
.event_checklist_side-column {
    display: flex;
    flex-direction: column;
    position: sticky;
    left: 0;
    z-index: 5;
    background-color: #f3f3f3;
}

.event_checklist_item {
    font-size: 8pt;
    width: 200px; /* Adjust the width of items */
    text-align: left;
    padding-left: 10px;
    height: 40px; /* Minimum height for scrolling */
    line-height: 40px; /* Minimum height for scrolling */
    display: flex;
    align-items: center;
    align-content: center;
    color: #333333;
    background-color: whitesmoke;
    border-bottom: 1px solid lightgrey;
}

.event_checklist_item_header {
    color: white;
    background-color: #333333;
    border-bottom: 1px solid #333333;
}

/* Matrix for checkboxes */
.event_checklist_matrix {
    display: flex;
    flex-direction: column;
    /*min-width: 600px; *//* Set a minimum width larger than container width */
    width: auto; /* Allow the width to expand based on content */
}

.event_checklist_row {
    display: flex;
}

.event_checklist_cell {
    font-size: 8pt;
    text-align: center;
    height: 40px;
    line-height: 40px;
    border-bottom: 1px solid lightgrey;
    /*min-width: 150px; /* Ensure cells are wide enough for scrolling */
    width: 200px; /* Ensure cells are wide enough for scrolling */
    display: flex;
    align-items: center;
    background-color: white;
    justify-content: center;
}
