/* Floating theme toggle button */
.theme-toggle-button {
    position: fixed;
    top: 100px; /* distance from top; adjust to your navbar height */
    left: 20px; /* distance from right edge */
    z-index: 999; /* make sure it's above other elements */
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background-color: #222; /* dark by default */
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: background-color 0.3s, color 0.3s;
}

/* Light mode styling for the button */
body.light-mode .theme-toggle-button {
    background-color: #f5f5f5;
    color: #222;
}
