/* -----------------------------------------------------------
   MOS GLOBAL ADMIN THEME — SAFE FOR ALL GURU ADMIN PAGES
------------------------------------------------------------ */

/* MOS soft green header for ALL Guru admin tables */
table.adminlist thead tr,
table.adminlist thead th,
.table thead tr,
.table thead th {
    background-color: #dfffe0 !important;
    color: #111 !important;
    border-bottom: 3px solid #7bbf7b !important;
    border-top: 3px solid #7bbf7b !important;
    padding: 6px 4px !important;
    font-size: 12px !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
}

/* Improve readability of all Guru admin tables */
table.adminlist td {
    padding: 6px 5px !important;
    font-size: 12px !important;
    color: #222 !important;
}

/* Remove Joomla blue hover highlight */
table.adminlist tr:hover td {
    background: #f3fff4 !important;
}
@media print {

    /* MOS LOGO AT TOP OF PRINT PAGE */
    body:before {
        content: "";
        display: block;
        width: 260px;
        height: 80px;
        margin-bottom: 5px;
        background-image: url('https://www.mosaiconlineschool.com/images/mos-logo-2026-glossary.png');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: left top;
    }

    /* CLEAN TITLE UNDER LOGO */
    body:after {
        content: "Mosaic Online School";
        display: block;
        font-size: 20px;
        font-weight: bold;
        margin: 5px 0 15px 0;
        color: #111;
    }

    /* REMOVE ALL JOOMLA ADMIN CHROME */
    #j-sidebar-container,
    #j-sidebar-container *,
    #j-main-container > aside,
    aside,
    aside *,
    .sidebar,
    .sidebar *,
    .sidebar-left,
    .sidebar-left *,
    .sidebar-container,
    .sidebar-container *,
    .sidebar-wrapper,
    .sidebar-wrapper *,
    .container-sidebar,
    .container-sidebar *,
    .subhead,
    .subhead *,
    .navbar,
    .navbar *,
    .header,
    .header *,
    .container-header,
    .container-header *,
    .page-header,
    .page-header *,
    .page-title,
    .page-title *,
    .brand-title,
    .brand-title *,
    .site-title,
    .site-title *,
    .toggler,
    .toggler *,
    .toggler-bar,
    .toggler-bar *,
    .toggler-btn,
    .toggler-btn * {
        display: none !important;
        visibility: hidden !important;
    }

    /* KEEP ONLY THE REPORT AREA */
    .container-component,
    .container-component * {
        display: block !important;
        visibility: visible !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* REMOVE USERWAY ACCESSIBILITY WIDGET (FLOATING + INLINE ♿ ICON) */
    #userwayAccessibilityIcon,
    .uwy,
    .userway,
    .userway-widget,
    .userway_buttons_wrapper,
    .userway_p1,
    .userway_p2,
    .userway_overlay,
    .userway-trigger,
    .userway-icon,
    ._access-icon,
    ._access-icon *,
    ._access,
    ._access * {
        display: none !important;
        visibility: hidden !important;
    }

    /* REMOVE PRINTED URLS (CHROME-SAFE VERSION) */
    a[href]:after,
    a[href]::after,
    a[href]:before,
    a[href]::before,
    a[href^="http"]:after,
    a[href^="http"]::after {
        content: "" !important;
        display: none !important;
    }

    /* REMOVE JOOMLA VERSION + REVISION */
    body::before,
    body::after {
        /* NOTE: body:before is overwritten above with logo */
    }

    /* FORCE LANDSCAPE */
    @page {
        size: landscape;
        margin: 10mm;
    }
}
/* FIX: Prevent Teacher column from stretching on Commissions Pending page */
body.com_guru.view-guruCommissions.task-pending table.adminlist td:first-child {
    max-width: 220px !important;
    white-space: normal !important;
    word-break: break-word !important;
}
