.grade-table {
        border-collapse: collapse;
        width: 100%;
    }
    
    td,
    th {
        border: 1px solid #dad7f3;
        text-align: left;
        padding: 8px;
    }
    
    tr:nth-child(even) {
        background-color: #dddddd;
}

.house-point {
    position: relative;
    background-color:#29235c;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    z-index: 1;
    border-radius: 20px;
}



/* Main styles for the results table */
.results-table {
    width: 100%;
    border-collapse: collapse;
    color: #332e63;
    /* rgb(51, 46, 99) */
    font-family: sans-serif;
    /* Improves readability */
}

/* Common styles for all header and data cells */
.results-table th,
.results-table td {
    border: 1px solid #ccc;
    /* rgb(204, 204, 204) */
    padding: 8px;
    text-align: center;
    /* Default alignment is center */
}

/* Specific style for header cells */
.results-table th {
    font-weight: bold;
    background-color: #f8f8f8;
    /* Adds a light background for clarity */
}

/* Override: The first cell in each row should be left-aligned */
.results-table th:first-child,
.results-table td:first-child {
    text-align: left;
}



/* Container to hold the iframe and maintain its aspect ratio */
.responsive-iframe-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    /* This creates a 16:9 aspect ratio (9 / 16 = 0.5625) */
    padding-top: 56.25%;
}

/* Styles for the iframe itself */
.responsive-iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
