/* Page Switch Button & Theme Switch Styles */
.page-switch {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 10px;
    align-items: center;
}

.page-switch-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: 10px 15px;
    border-radius: 12px;
    backdrop-filter: var(--glass-blur);
    box-shadow: var(--shadow-sm);
    font-size: 0.9rem;
    transition: var(--transition);
}

.page-switch-btn:hover {
    background: var(--accent-gradient);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Theme toggle button within page switch */

.theme-toggle-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: var(--glass-blur);
    box-shadow: var(--shadow-sm);
}

.theme-toggle-btn:hover {
    transform: translateY(-2px) rotate(15deg);
    box-shadow: var(--shadow-md);
    background: var(--accent-gradient);
    color: white;
}

/* Theme button icon visibility - RESET ALL PREVIOUS STYLES */
.theme-toggle-btn .fa-sun,
#themeToggle .fa-sun,
.theme-toggle .fa-sun {
    display: inline-block;
}

.theme-toggle-btn .fa-moon,
#themeToggle .fa-moon,
.theme-toggle .fa-moon {
    display: inline-block;
}

/* Let JavaScript handle icon visibility */

/* Remove .theme-toggle class entirely as we're standardizing on .theme-switch */



/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .page-switch {
        top: 80px;
        right: 20px;
    }
    
    .page-switch-btn {
        font-size: 0;
        padding: 10px;
    }
    
    .page-switch-btn i {
        font-size: 0.9rem; /* Restore icon size */
    }
    
    .page-switch-btn span {
        display: none; /* Hide text in mobile */
    }
    
    .theme-switch,
    .theme-toggle {
        bottom: 70px;
    }
}
