/* Theme Toggle Specific Styles */
.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--card-bg, #FFFFFF);
    border: 2px solid var(--border-primary, #E5E7E9);
    color: var(--text-primary, #2C3E50);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 50;
}

.theme-toggle:hover {
    background-color: var(--accent-primary, #7C9A92);
    color: white;
    transform: scale(1.05);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.theme-toggle:hover svg {
    transform: rotate(180deg);
}

/* Ensure icons are visible/hidden correctly */
.theme-hidden {
    display: none !important;
}

/* Dark mode specific styles for the toggle button */
.dark .theme-toggle {
    background-color: #1a365d;
    /* Dark Blue */
    border-color: #2c5282;
    color: #e2e8f0;
}

.dark .theme-toggle:hover {
    background-color: #2c5282;
}