/* ERP Logout Styling - Simple and Effective */

/* Hide all logout-related elements */
#user-action-menu a[href*="logout"],
#user-action-menu a[href*="logoff"],
#user-action-menu a[href*="signout"],
.user-menu .dropdown-item[href*="logout"],
.user-menu .dropdown-item[href*="logoff"],
.user-menu .dropdown-item[href*="signout"] {
    display: none !important;
}

/* ERP Return Button - Neutral styling */
.erp-return-btn {
    color: var(--body-color) !important;
    font-weight: 500;
    transition: color 0.2s ease;
    background-color: transparent !important;
    border: none;
    text-decoration: none;
    cursor: pointer;
    display: block;
    width: 100%;
    padding: 8px 16px;
}

.erp-return-btn:hover {
    color: var(--body-color) !important;
    text-decoration: none;
    background-color: rgba(0,0,0,0.05) !important;
}

.erp-return-btn:active {
    background-color: rgba(0,0,0,0.1) !important;
}

/* Ensure no pseudo-elements create arrows */
.erp-return-btn::before,
.erp-return-btn::after {
    content: none !important;
}

/* ERP Replaced elements */
.erp-replaced {
    color: var(--body-color) !important;
    background-color: transparent !important;
}

.erp-replaced:hover {
    color: var(--body-color) !important;
    background-color: transparent !important;
}

/* Hide footer elements - Simple approach */
#page-footer,
.page-footer,
footer,
.footer,
.footer-content,
.site-footer,
.main-footer,
.moodle-footer {
    display: none !important;
}

/* Hide specific tour reset element */
#resetpagetour,
a#resetpagetour {
    display: none !important;
}

/* Hide elements with specific text content */
div:contains("Setel ulang tur pengguna di halaman ini"),
div:contains("Reset user tour on this page"),
span:contains("Setel ulang tur pengguna di halaman ini"),
span:contains("Reset user tour on this page"),
p:contains("Setel ulang tur pengguna di halaman ini"),
p:contains("Reset user tour on this page"),
a:contains("Setel ulang tur pengguna di halaman ini"),
a:contains("Reset user tour on this page") {
    display: none !important;
}