/* Prevent text selection and highlighting */
.max_user_content_width.not_centered,
.max_user_content_width.not_centered * {
    -webkit-user-select: none;  /* Chrome, Safari */
    -moz-user-select: none;     /* Firefox */
    -ms-user-select: none;      /* IE/Edge */
    user-select: none;          /* Standard */
    -webkit-touch-callout: none; /* iOS Safari */
}

/* Optional: disable text selection on touch devices */
.max_user_content_width.not_centered {
    -webkit-tap-highlight-color: transparent;
}

/* Optional: prevent right-click context menu */
.max_user_content_width.not_centered {
    pointer-events: auto; /* allow interaction */
}


.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 */
    }
}
