.grid-container {
    display: grid;
    gap: 10px;
    overflow-x: auto;
    grid-template-columns: auto auto repeat(20, auto);
}

/* Styles for specific types of cells */
.member-name, .team-name {
    position: sticky;
    left: 0;
    z-index: 3; /* Increase z-index to overlap other cells */
    background-color: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 200px !important; /* Adjust as needed */
    border-radius: 8px; /* Adjusted for better appearance */
}

.verify-placeholder {
    background-color: #C5C6C7;
    border-radius: 8px; /* Adjusted for better appearance */
}

.team-score, .individual-score {
    font-weight: bold;
    position: sticky;
    left: 150px; /* Adjust to the width of the first column */
    z-index: 3; /* Same z-index to ensure overlap */
    background-color: white; /* Background to hide cells underneath */
    border-radius: 8px; /* Adjusted for better appearance */
    /* Additional styling if needed */
}

/* Adjust z-index for headers */
.team-header, .question-header {
    z-index: 2;
    background-color: #f8f9fa;
    text-align: center;
    font-weight: bold;
    padding: 5px;
    border: 1px solid #dee2e6;
    border-radius: 8px; /* Adjusted for better appearance */
}

.no-answer-past {
    background-color: #f0f0f0; /* Light grey to indicate disabled state */
    /*color: #ccc;*/
    border-radius: 8px; /* Adjusted for better appearance */
}

/* Ensure team name headers are on top */
.team-name {
    z-index: 4; /* Highest to stay on top */
    background-color: #C5C6C7;
    text-align: center;
    font-weight: bold;
    padding: 5px;
    border: 1px solid #C3C4C5;
    border-radius: 8px; /* Adjusted for better appearance */
}

.disabled-cell {
    background-color: #f0f0f0; /* Light grey to indicate disabled state */
    color: #ccc;
    cursor: not-allowed;
    pointer-events: none; /* Prevents click events on the cell */
    border-radius: 8px; /* Adjusted for better appearance */
}

.question-header.cell .question_number {
    border-radius: 8px; /* Adjusted for better appearance */
}

.active_question_number {
    background-color: #5072de;
    color: white;
    border-radius: 8px; /* Adjusted for better appearance */
}

/* Styles for score cells */
.score-cell {
    cursor: pointer;
    padding: 5px;
    text-align: center;
    border-radius: 8px; /* Adjusted for better appearance */
}

/* State styles for score cells (neutral, correct, incorrect) */
.neutral {
    background-color: #d6e8ff; /* Neutral state */
    border-radius: 8px; /* Adjusted for better appearance */
}

.correct {
    background-color: green !important; /* Correct state */
    color: white;
    /* Put a check mark inside */
    background-image: url("../assets/check.png");
    background-size: 100% 100%;
    border-radius: 8px; /* Adjusted for better appearance */
}

.incorrect {
    background-color: red !important; /* Incorrect state */
    color: white;
    /* Put an X inside */
    background-image: url("../assets/x.png");
    background-size: 100% 100%;
    border-radius: 8px; /* Adjusted for better appearance */
}

.disabled {
    background-color: #959595; /* Light grey to indicate disabled state */
    color: #ccc;
    cursor: not-allowed;
    pointer-events: none; /* Prevents click events on the cell */
    border-radius: 8px; /* Adjusted for better appearance */
}

/* Styles for all cells */
.cell {
    width: 50px; /* Initial fixed width */
    height: 50px; /* Initial height */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #dee2e6;
    border-radius: 8px; /* Adjusted for better appearance */
}

/* Styles for larger cells when resized */
.large-cell {
    width: 70px; /* Larger width */
    height: 70px; /* Larger height */
    border-radius: 10px; /* Adjusted for better appearance */
}
