.special-table.attendances .table-container {
    height: 500px !important;
    overflow-y: auto;
}


/* Default for small screens */
.full-wrapper {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 360px;  /* default small screen (roughly 720p / 2) */
    max-height: 400px;  /* prevent it from being too tall */
    overflow: hidden;
}

/* Responsive iframe inside wrapper */
.full-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* 720p screens */
@media screen and (min-height: 720px) {
    .full-wrapper {
        min-height: 360px;
        max-height: 400px;
    }
}

/* 1080p screens */
@media screen and (min-height: 1080px) {
    .full-wrapper {
        min-height: 540px;
        max-height: 600px;  /* prevent excessive height */
    }
}

/* 2160p screens (4K) */
@media screen and (min-height: 2160px) {
    .full-wrapper {
        min-height: 1080px;
        max-height: 1200px;  /* cap very tall screens */
    }
}
