/**
 * NAVBAR BUTTONS VISIBILITY
 * Ensures Theme Toggle and Menu Button are always visible with proper icons
 */

/* Theme Toggle - Always Visible */
.theme-toggle {
    display: flex !important; visibility: visible !important; opacity: 1 !important; align-items: center !important; justify-content: center !important; min-width: 40px !important; min-height: 40px !important; background: transparent !important; border: 1px solid var(--border-color) !important; color: var(--text-color) !important; padding: 10px 12px !important; border-radius: 8px !important; cursor: pointer !important; }

.theme-toggle i,
.theme-toggle .fas,
.theme-toggle .fa-moon,
.theme-toggle .fa-sun {
    font-size: 1.3rem !important;
    line-height: 1 !important;
    width: auto !important;
    height: auto !important;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: inherit !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

/* Menu Button Icon */
.menu-btn i,
.menu-btn .fas,
.menu-btn .fa-bars {
    font-size: 1.3rem !important;
    line-height: 1 !important;
    width: auto !important;
    height: auto !important;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: inherit !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

/* Ensure buttons are properly positioned beside logo */
.navbar-buttons .theme-toggle,
.navbar-buttons .menu-btn {
    flex-shrink: 0 !important; margin: 0 !important; }

/* Also ensure visibility if buttons are in nav-links (standard structure) */
.nav-links .theme-toggle,
.nav-links .menu-btn {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    max-width: 36px !important;
    max-height: 36px !important;
    background: transparent !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-color) !important;
    padding: 0 !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    margin-left: 8px !important;
    flex-shrink: 0 !important;
    overflow: hidden !important;
}

.nav-links .theme-toggle i,
.nav-links .theme-toggle .fas,
.nav-links .theme-toggle .fa-moon,
.nav-links .theme-toggle .fa-sun,
.nav-links .menu-btn i,
.nav-links .menu-btn .fas,
.nav-links .menu-btn .fa-bars {
    font-size: 1rem !important;
    line-height: 1 !important;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    visibility: visible !important;
    opacity: 1 !important;
    display: inline-block !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    color: inherit !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-rendering: optimizeLegibility !important;
}

body.dark-mode .nav-links .theme-toggle,
body.dark-mode .nav-links .menu-btn {
    border-color: var(--dark-border-color) !important;
    color: var(--dark-text-color) !important;
}
