/* Replace "Help Desk" text with POMEN logo in admin navbar */
a.navbar__logo {
    text-indent: -9999px;
    overflow: hidden;
    white-space: nowrap;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 180px !important;
    height: 60px !important;
    background-image: url('https://support.pomen.io/img/pomenlogo.png') !important;
    background-size: 140px auto !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    padding: 10px 15px !important;
    margin: 0 !important;
}

/* Hide any child elements inside navbar__logo */
a.navbar__logo * {
    display: none !important;
    visibility: hidden !important;
}

/* Ensure the navbar has proper styling */
.navbar__logo {
    font-size: 0 !important;
    line-height: 0 !important;
}

/* Adjust navbar header to accommodate logo */
.navbar__header,
.navbar-header {
    min-height: 60px;
    display: flex;
    align-items: center;
}

/* Hide logo completely when sidebar is collapsed/on small screens */
@media (max-width: 991px) {
    a.navbar__logo {
        display: none !important;
    }

    .navbar__header,
    .navbar-header {
        min-height: 50px;
    }
}

/* ===== ADMIN FOOTER CUSTOMIZATION ===== */

/* Hide the original HESK footer text */
footer p,
footer a[href*="hesk.com"],
.footer p,
.footer a[href*="hesk.com"],
.main-footer p,
.main-footer a[href*="hesk.com"] {
    display: none !important;
}

/* Add custom POMEN footer */
footer::after,
.footer::after,
.main-footer::after {
    content: '©2025 POMEN AUTODATA SDN BHD All Rights Reserved';
    display: block;
    text-align: center;
    padding: 15px;
    color: #666;
    font-size: 14px;
}

/* Style the footer container */
footer,
.footer,
.main-footer {
    background-color: #f5f5f5 !important;
    border-top: 1px solid #ddd;
    min-height: 50px;
    display: flex !important;
    align-items: center;
    justify-content: center;
}