/* Your Global Styles */

.brand-container {
    display: none !important;
}



/* AntDesign FontAwesome Integration */
span.anticon[class*="fa-"] {
    /* 
       1. Override AntDesign's font-family (!important)
       2. Use the correct FontAwesome family defined by the specific FA classes (e.g. .fa-brands, .fa-duotone)
          via their internal CSS variable --_fa-family.
       3. Fallback to "Font Awesome 7 Pro" if the variable isn't set.
    */
    font-family: var(--_fa-family, "Font Awesome 7 Pro") !important;
    
    /* Ensure the font weight defined by FA classes (e.g. .fa-thin = 100) is respected */
    font-weight: var(--fa-style, 900) !important;

    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* AntDesign FontAwesome Integration - EXPLICIT OVERRIDES */

/* Base Styles for Wrapper Span */
span.anticon[class*="fa-"] {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Base Styles for Pseudo-Elements */
span.anticon[class*="fa-"]::before,
span.anticon[class*="fa-"]::after {
    display: inline-block;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-style: normal;
    font-variant: normal;
    font-family: inherit !important; /* Fallback */
    font-weight: inherit !important; /* Fallback */
}

/* --- 1. Brands --- */
span.anticon.fa-brands::before {
    font-family: "Font Awesome 7 Brands", "Font Awesome 6 Brands", "Font Awesome 5 Brands" !important;
    font-weight: 400 !important;
}

/* --- 2. Standard Pro (Solid, Regular, Light, Thin) --- */
span.anticon.fa-solid::before,
span.anticon.fa-regular::before,
span.anticon.fa-light::before,
span.anticon.fa-thin::before {
    font-family: "Font Awesome 7 Pro", "Font Awesome 6 Pro", "Font Awesome 5 Pro" !important;
}

span.anticon.fa-solid::before { font-weight: 900 !important; }
span.anticon.fa-regular::before { font-weight: 400 !important; }
span.anticon.fa-light::before { font-weight: 300 !important; }
span.anticon.fa-thin::before { font-weight: 100 !important; }

/* --- User Menu Dropdown Styles --- */
.user-menu-trigger {
    padding-top: 4px !important; /* Move dropdown closer to trigger to avoid hover-loss */
}

.user-menu-trigger .ant-dropdown-menu-item {
    border-radius: 4px !important;
    padding: 8px 12px !important;
    margin: 2px 0 !important;
}

.user-menu-trigger .ant-dropdown-menu-item:hover {
    background-color: #f5f5f5 !important;
}

/* --- 3. Duotone (Solid, Regular, Light, Thin) --- */
span.anticon.fa-duotone::before, span.anticon.fa-duotone::after,
span.anticon.fa-duotone-solid::before, span.anticon.fa-duotone-solid::after,
span.anticon.fa-duotone-regular::before, span.anticon.fa-duotone-regular::after,
span.anticon.fa-duotone-light::before, span.anticon.fa-duotone-light::after,
span.anticon.fa-duotone-thin::before, span.anticon.fa-duotone-thin::after {
    font-family: "Font Awesome 7 Duotone", "Font Awesome 6 Duotone", "Font Awesome 5 Duotone" !important;
}

span.anticon.fa-duotone::before, span.anticon.fa-duotone::after,
span.anticon.fa-duotone-solid::before, span.anticon.fa-duotone-solid::after { font-weight: 900 !important; }

span.anticon.fa-duotone-regular::before, span.anticon.fa-duotone-regular::after { font-weight: 400 !important; }
span.anticon.fa-duotone-light::before, span.anticon.fa-duotone-light::after { font-weight: 300 !important; }
span.anticon.fa-duotone-thin::before, span.anticon.fa-duotone-thin::after { font-weight: 100 !important; }
