.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.theme-toggle__track {
    width: 60px;
    height: 30px;
    background: #e5e7eb;
    border-radius: 15px;
    position: relative;
    transition: background 0.3s ease;
}

.theme-toggle.dark .theme-toggle__track {
    background: #374151;
}

.theme-toggle__thumb {
    width: 26px;
    height: 26px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.theme-toggle.dark .theme-toggle__thumb {
    transform: translateX(30px);
    background: #1f2937;
}

.theme-toggle__icon {
    font-size: 14px;
    transition: opacity 0.2s ease;
}

.theme-toggle:hover {
    transform: scale(1.05);
}

.theme-toggle:active {
    transform: scale(0.95);
}
