/* ULTRA COMPACT MOBILE HEADER - Final Fix */

@media screen and (max-width: 768px) {
    /* Force ultra-compact header */
    .site-header .header-top {
        padding: 4px 0 !important;
        min-height: 32px !important;
        max-height: 40px !important;
        overflow: hidden !important;
    }
    
    .site-header .header-top-content {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 5px !important;
        align-items: center !important;
        justify-content: space-between !important;
        height: 32px !important;
    }
    
    .site-header .quick-links {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 3px !important;
        justify-content: flex-start !important;
        flex: 0 1 auto !important;
        overflow: hidden !important;
    }
    
    .site-header .header-contact {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 3px !important;
        justify-content: flex-end !important;
        flex: 0 1 auto !important;
    }
    
    .site-header .header-top a {
        font-size: 0 !important;
        margin: 0 !important;
        padding: 4px !important;
        line-height: 1 !important;
        white-space: nowrap !important;
        display: inline-flex !important;
        align-items: center !important;
    }
    
    /* Only show icons on mobile, hide text */
    .site-header .header-top .dashicons {
        width: 16px !important;
        height: 16px !important;
        font-size: 16px !important;
        margin: 0 !important;
    }
    
    /* Hide welcome message completely */
    .site-header .welcome-message {
        display: none !important;
    }
    
    /* Hide dashboard link text, keep icon */
    .site-header .dashboard-link,
    .site-header .logout-link,
    .site-header .register-link,
    .site-header .login-link {
        width: 24px !important;
        height: 24px !important;
        justify-content: center !important;
    }
}

@media screen and (max-width: 480px) {
    .site-header .header-top {
        padding: 3px 0 !important;
        max-height: 30px !important;
    }
    
    .site-header .header-top-content {
        height: 24px !important;
    }
    
    .site-header .header-top .dashicons {
        width: 14px !important;
        height: 14px !important;
        font-size: 14px !important;
    }
}
